summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorJohn Kohl <jtkohl@mit.edu>1991-02-17 11:54:02 +0000
committerJohn Kohl <jtkohl@mit.edu>1991-02-17 11:54:02 +0000
commit6a3091425d7092d6ab42290376ebdd83a4b63047 (patch)
tree448ab2576f1d797d37fc2cee9f37616af53c387d /src/include
parent3c18d68f968aaed15b6e802dd99ffc7e7c9faad2 (diff)
avoid problems with #defined memcpy, memset
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1713 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/include')
-rw-r--r--src/include/fake-stdlib.h18
1 files 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