Browse Source

Remove obsolete (and erroneous) #if statement that caused all compilers

except for gcc to get the wrong prototype.  Ok millert@
OPENBSD_4_4
ragge 16 years ago
parent
commit
a360460b04
1 changed files with 2 additions and 6 deletions
  1. +2
    -6
      src/include/stdlib.h

+ 2
- 6
src/include/stdlib.h View File

@ -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 $ */ /* $NetBSD: stdlib.h,v 1.25 1995/12/27 21:19:08 jtc Exp $ */
/*- /*-
@ -213,11 +213,7 @@ void unsetenv(const char *);
#endif #endif
#if __BSD_VISIBLE #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 *getbsize(int *, long *);
char *cgetcap(char *, const char *, int); char *cgetcap(char *, const char *, int);


Loading…
Cancel
Save