From 6a3091425d7092d6ab42290376ebdd83a4b63047 Mon Sep 17 00:00:00 2001 From: John Kohl Date: Sun, 17 Feb 1991 11:54:02 +0000 Subject: [PATCH] avoid problems with #defined memcpy, memset git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1713 dc483132-0cff-0310-8789-dd5450dbe970 --- src/include/fake-stdlib.h | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) 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 -- 2.26.2