Permalink
Browse files

Fix missing prototype warning

  • Loading branch information...
b4winckler committed Jul 23, 2010
1 parent 7f753e8 commit 1fac0e217a673ddf70b3ddb44ef5b81bea2c81a5
Showing with 12 additions and 6 deletions.
  1. +2 −6 src/proto.h
  2. +10 −0 src/proto/os_macosx.pro
View
@@ -288,12 +288,8 @@ extern char *vim_SelFile __ARGS((Widget toplevel, char *prompt, char *init_path,
#ifdef MACOS_CONVERT
# include "os_mac_conv.pro"
#endif
-#if defined(MACOS_X_UNIX) && defined(FEAT_CLIPBOARD) && !defined(FEAT_GUI)
-/* functions in os_macosx.m */
-void clip_mch_lose_selection(VimClipboard *cbd);
-int clip_mch_own_selection(VimClipboard *cbd);
-void clip_mch_request_selection(VimClipboard *cbd);
-void clip_mch_set_selection(VimClipboard *cbd);
+#ifdef MACOS_X
+# include "os_macosx.pro"
#endif
#ifdef __BORLANDC__
View
@@ -1,3 +1,13 @@
/* os_macosx.pro */
+/* functions in os_macosx.m */
+
+#if defined(FEAT_CLIPBOARD) && !defined(FEAT_GUI)
+void clip_mch_lose_selection(VimClipboard *cbd);
+int clip_mch_own_selection(VimClipboard *cbd);
+void clip_mch_request_selection(VimClipboard *cbd);
+void clip_mch_set_selection(VimClipboard *cbd);
+#endif
+
void macosx_fork __ARGS((void));
+
/* vim: set ft=c : */

0 comments on commit 1fac0e2

Please sign in to comment.