From: John Kohl Date: Fri, 29 Mar 1991 13:31:35 +0000 (+0000) Subject: need size_t with GNUC for the moment.. X-Git-Tag: krb5-1.0-alpha4~6 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=64d420d4f1bad747b6e08a28d3ca3abb28681677;p=krb5.git need size_t with GNUC for the moment.. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1971 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/include/fake-stdlib.h b/src/include/fake-stdlib.h index 2afdbdb98..2ea2a4364 100644 --- a/src/include/fake-stdlib.h +++ b/src/include/fake-stdlib.h @@ -138,7 +138,12 @@ long atol P((char *)); int bcmp P((char *, char *, int )); int bcopy P((const char *, char *, int )); int bzero P((char *, int )); +#ifdef __GNUC__ +#include +void *calloc P((size_t, size_t)); +#else char *calloc P((unsigned , unsigned )); +#endif void closelog P((void )); int creat P((char *, int )); char *crypt P((char *, char *)); @@ -162,7 +167,11 @@ int exect P((char *, char * [], char * [])); int exit P((int )); char *fcvt P((double , int , int *, int *)); int ffs P((int )); +#ifdef __GNUC__ +void free P((void *)); +#else int free P((char *)); +#endif double frexp P((double , int *)); char *gcvt P((double , int , char *)); struct disktab *getdiskbyname P((char *)); @@ -221,7 +230,11 @@ long random P((void )); int rcmd P((char **, u_short , char *, char *, char *, int *)); char *re_comp P((char *)); int re_exec P((char *)); +#ifdef __GNUC__ +void *realloc P((void *, size_t )); +#else char *realloc P((char *, unsigned )); +#endif int rexec P((char **, u_short , char *, char *, char *, int *)); int rresvport P((int *)); int ruserok P((char *, int , char *, char *));