From: John Kohl Date: Sun, 17 Feb 1991 11:54:02 +0000 (+0000) Subject: avoid problems with #defined memcpy, memset X-Git-Tag: krb5-1.0-alpha4~259 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6a3091425d7092d6ab42290376ebdd83a4b63047;p=krb5.git avoid problems with #defined memcpy, memset git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1713 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/include/fake-stdlib.h b/src/include/fake-stdlib.h index 1ef9b2d69..4af20da42 100644 --- a/src/include/fake-stdlib.h +++ b/src/include/fake-stdlib.h @@ -658,13 +658,17 @@ void qsort P((char * , unsigned , unsigned , int (* )())); #endif /* MIPS/Ultrix */ #ifdef ibm032 -extern char *memcpy(char *, const char *, int); -extern char *memset(char *, int, int); -extern char *malloc(unsigned int); -extern char *realloc(char *, unsigned int); -extern void free(char *); -extern void abort(void); -extern char *getenv(const char *); +#ifndef memcpy +extern char *memcpy P((char *, const char *, int)); +#endif +#ifndef memset +extern char *memset P((char *, int, int)); +#endif +extern char *malloc P((unsigned int)); +extern char *realloc P((char *, unsigned int)); +extern void free P((char *)); +extern void abort P((void)); +extern char *getenv P((const char *)); #endif /* ibm032 */ #undef P