aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Hoffmann <stefan991@gmail.com>2014-04-04 18:32:27 +0200
committerThiago de Arruda <tpadilha84@gmail.com>2014-04-04 19:09:01 -0300
commit092bdcac90d7d630df8eba341447c96ad0a3b2af (patch)
tree17c0fcf784243946bcc0dc76d370050754e8be27
parent04cdcfa6047feaa735dd38b722bdceb3bb7de373 (diff)
downloadrneovim-092bdcac90d7d630df8eba341447c96ad0a3b2af.tar.gz
rneovim-092bdcac90d7d630df8eba341447c96ad0a3b2af.tar.bz2
rneovim-092bdcac90d7d630df8eba341447c96ad0a3b2af.zip
Removed not defined prototypes in os_unix.h
* reset_signals, vim_handle_signal: signal handling was rewritten, not defined anywhere * related to x clipboard handling, not defined anywhere: * {setup,start,stop,clear}_xterm_clip * stop_xterm_trace * clip_xterm_{own_selection,lose_selection,request_selection,set_selection} * related to XSMP (x session management protocol): * xsmp_{handle_requests,init,close}
-rw-r--r--src/os_unix.h13
-rw-r--r--src/vim.h8
2 files changed, 0 insertions, 21 deletions
diff --git a/src/os_unix.h b/src/os_unix.h
index 64b1a62b22..d98a708285 100644
--- a/src/os_unix.h
+++ b/src/os_unix.h
@@ -7,8 +7,6 @@
void mch_write(char_u *s, int len);
void mch_suspend(void);
void mch_init(void);
-void reset_signals(void);
-int vim_handle_signal(int sig);
int mch_check_win(int argc, char **argv);
int mch_input_isatty(void);
int mch_can_restore_title(void);
@@ -51,16 +49,5 @@ int mch_has_wildcard(char_u *p);
int mch_libcall(char_u *libname, char_u *funcname, char_u *argstring,
int argint, char_u **string_result,
int *number_result);
-void setup_term_clip(void);
-void start_xterm_trace(int button);
-void stop_xterm_trace(void);
-void clear_xterm_clip(void);
-int clip_xterm_own_selection(VimClipboard *cbd);
-void clip_xterm_lose_selection(VimClipboard *cbd);
-void clip_xterm_request_selection(VimClipboard *cbd);
-void clip_xterm_set_selection(VimClipboard *cbd);
-int xsmp_handle_requests(void);
-void xsmp_init(void);
-void xsmp_close(void);
/* vim: set ft=c : */
#endif /* NEOVIM_OS_UNIX_H */
diff --git a/src/vim.h b/src/vim.h
index 26c4ec85b0..7333ea79d7 100644
--- a/src/vim.h
+++ b/src/vim.h
@@ -1418,14 +1418,6 @@ typedef int VimClipboard; /* This is required for the prototypes. */
# undef NBDEBUG
# define nbdebug(a)
-
-/* values for vim_handle_signal() that are not a signal */
-#define SIGNAL_BLOCK -1
-#define SIGNAL_UNBLOCK -2
-#if !defined(UNIX) && !defined(VMS) && !defined(OS2)
-# define vim_handle_signal(x) 0
-#endif
-
/* flags for skip_vimgrep_pat() */
#define VGR_GLOBAL 1
#define VGR_NOJUMP 2