summaryrefslogtreecommitdiff
path: root/data/vim/sigaltstack.diff
blob: e1a9457e0f935a0eabefdfce5f1f98a093874fd3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
diff -ru vim71/src/os_unix.c vim71+iPhone/src/os_unix.c
--- vim71/src/os_unix.c	2007-05-09 19:41:58.000000000 +0000
+++ vim71+iPhone/src/os_unix.c	2008-01-01 12:27:46.000000000 +0000
@@ -753,12 +753,6 @@
     if (signal_stack != NULL)
     {
 # ifdef HAVE_SIGALTSTACK
-#  ifdef __APPLE__
-	/* missing prototype.  Adding it to osdef?.h.in doesn't work, because
-	 * "struct sigaltstack" needs to be declared. */
-	extern int sigaltstack __ARGS((const struct sigaltstack *ss, struct sigaltstack *oss));
-#  endif
-
 #  ifdef HAVE_SS_BASE
 	sigstk.ss_base = signal_stack;
 #  else