Alloca fix for ConvexOS-11.0.
authorJim Meyering <jim@meyering.net>
Thu, 15 Jun 1995 14:55:26 +0000 (14:55 +0000)
committerJim Meyering <jim@meyering.net>
Thu, 15 Jun 1995 14:55:26 +0000 (14:55 +0000)
lib/regex.c

index e1d5066..a4959ef 100644 (file)
@@ -227,7 +227,11 @@ init_syntax_once ()
 #include <alloca.h>
 #else /* not __GNUC__ or HAVE_ALLOCA_H */
 #ifndef _AIX /* Already did AIX, up at the top.  */
+#if defined (__STDC__) && __STDC__
 void *alloca ();
+#else
+char *alloca ();
+#endif
 #endif /* not _AIX */
 #endif /* not HAVE_ALLOCA_H */ 
 #endif /* not __GNUC__ */