summaryrefslogtreecommitdiff
path: root/lib/regex.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/regex.c')
-rw-r--r--lib/regex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/regex.c b/lib/regex.c
index f7e0917b0..e1d5066db 100644
--- a/lib/regex.c
+++ b/lib/regex.c
@@ -227,7 +227,7 @@ init_syntax_once ()
#include <alloca.h>
#else /* not __GNUC__ or HAVE_ALLOCA_H */
#ifndef _AIX /* Already did AIX, up at the top. */
-char *alloca ();
+void *alloca ();
#endif /* not _AIX */
#endif /* not HAVE_ALLOCA_H */
#endif /* not __GNUC__ */