From a360460b04abbd361b5f36f0dd353769db5c018c Mon Sep 17 00:00:00 2001 From: ragge <> Date: Fri, 20 Jun 2008 15:21:06 +0000 Subject: [PATCH] Remove obsolete (and erroneous) #if statement that caused all compilers except for gcc to get the wrong prototype. Ok millert@ --- src/include/stdlib.h | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/include/stdlib.h b/src/include/stdlib.h index 34548af6..513dde19 100644 --- a/src/include/stdlib.h +++ b/src/include/stdlib.h @@ -1,4 +1,4 @@ -/* $OpenBSD: stdlib.h,v 1.42 2008/06/13 21:04:24 landry Exp $ */ +/* $OpenBSD: stdlib.h,v 1.43 2008/06/20 15:21:06 ragge Exp $ */ /* $NetBSD: stdlib.h,v 1.25 1995/12/27 21:19:08 jtc Exp $ */ /*- @@ -213,11 +213,7 @@ void unsetenv(const char *); #endif #if __BSD_VISIBLE -#if defined(alloca) && (alloca == __builtin_alloca) && (__GNUC__ < 2) -void *alloca(int); /* built-in for gcc */ -#else -void *alloca(size_t); -#endif /* __GNUC__ */ +void *alloca(size_t); char *getbsize(int *, long *); char *cgetcap(char *, const char *, int);