From 86226e4ee7443acb782e35fa8d34999a4a9ad4f2 Mon Sep 17 00:00:00 2001 From: John Carr Date: Wed, 3 Apr 1991 15:38:08 +0000 Subject: [PATCH] Change RT prototypes: char * -> void *; add atof() and atoi() git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1987 dc483132-0cff-0310-8789-dd5450dbe970 --- src/include/fake-stdlib.h | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/src/include/fake-stdlib.h b/src/include/fake-stdlib.h index d52fe3fe6..6b687bc90 100644 --- a/src/include/fake-stdlib.h +++ b/src/include/fake-stdlib.h @@ -677,12 +677,16 @@ extern char *memcpy P((char *, const char *, int)); #ifndef memset extern char *memset P((char *, int, int)); #endif -extern char *calloc P((unsigned int, unsigned int)); -extern char *malloc P((unsigned int)); -extern char *realloc P((char *, unsigned int)); -extern void free P((char *)); +extern void *calloc P((unsigned int, unsigned int)); +extern void *malloc P((unsigned int)); +extern void *realloc P((void *, unsigned int)); +extern void free P((void *)); extern void abort P((void)); extern char *getenv P((const char *)); + +extern double atof P((const char *)); +extern int atoi P((const char *)); + #endif /* ibm032 */ #undef P -- 2.26.2