From: John Kohl Date: Fri, 1 Feb 1991 18:52:18 +0000 (+0000) Subject: malloc changes for new gnu include files X-Git-Tag: krb5-1.0-alpha4~327 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f0d27f199af86011657f592a95ce1bfa9db498e6;p=krb5.git malloc changes for new gnu include files git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1645 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/include/fake-stdlib.h b/src/include/fake-stdlib.h index 20393c06d..1ef9b2d69 100644 --- a/src/include/fake-stdlib.h +++ b/src/include/fake-stdlib.h @@ -193,7 +193,11 @@ char *initstate P((unsigned , char *, int )); int isatty P((int )); double ldexp P((double , int )); int longjmperror P((void )); +#ifdef __STDC__ +void *malloc P((size_t )); +#else char *malloc P((unsigned )); +#endif char *memccpy P((char *, char *, int , int )); char *memchr P((char *, int , int )); int memcmp P((char *, char *, int )); @@ -450,7 +454,11 @@ struct ttyent *getttyent P((void )); struct ttyent *getttynam P((const char * )); unsigned long inet_network P((const char * )); int initgroups P((char * , int )); +#ifdef __STDC__ +void *malloc P((unsigned )); +#else char *malloc P((unsigned )); +#endif char *calloc P((unsigned , unsigned )); char *realloc P((char * , unsigned )); void free P((char * ));