summaryrefslogtreecommitdiff
path: root/include/stdlib.h
diff options
context:
space:
mode:
authorAnders Magnusson <ragge@cvs.openbsd.org>2008-06-20 15:21:07 +0000
committerAnders Magnusson <ragge@cvs.openbsd.org>2008-06-20 15:21:07 +0000
commit20155de3b99b703007ca6c357440ddd81b12a024 (patch)
treec24375e0510efc2b7fc4430f23513bab8911fee2 /include/stdlib.h
parentb7c9717feae7b8a428cde7c24628882a3e1be637 (diff)
Remove obsolete (and erroneous) #if statement that caused all compilers
except for gcc to get the wrong prototype. Ok millert@
Diffstat (limited to 'include/stdlib.h')
-rw-r--r--include/stdlib.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/include/stdlib.h b/include/stdlib.h
index 34548af609f..513dde1920d 100644
--- a/include/stdlib.h
+++ b/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);