From e5a64c624d6bbdf3598f55742dffec17717f53a7 Mon Sep 17 00:00:00 2001 From: Mark Eichin Date: Thu, 16 Jun 1994 06:20:47 +0000 Subject: [PATCH] cleaner malloc handling git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3847 dc483132-0cff-0310-8789-dd5450dbe970 --- src/isode/h/general.h | 31 ++++++++----------------------- 1 file changed, 8 insertions(+), 23 deletions(-) diff --git a/src/isode/h/general.h b/src/isode/h/general.h index feaa247f4..94233fa5e 100644 --- a/src/isode/h/general.h +++ b/src/isode/h/general.h @@ -3,24 +3,6 @@ /* * $Header$ * - * - * $Log$ - * Revision 1.1 1994/06/10 03:29:17 eichin - * autoconfed isode for kerberos work - * - * Revision 1.1 94/06/10 03:17:42 eichin - * autoconfed isode for kerberos work - * - * Revision 1.3 1994/06/07 23:08:23 eichin - * hide calloc/malloc/realloc from ultrix too - * - * Revision 1.1 1994/05/31 20:37:55 eichin - * reduced-isode release from /mit/isode/isode-subset/src - * - * Revision 8.0 91/07/17 12:33:44 isode - * Release 7.0 - * - * */ /* @@ -161,14 +143,17 @@ char *mktemp (); #endif /* SVR4 */ #ifdef __STDC__ -#include +#include +#else +/* ultrix cc isn't STD but has stdlib.h, with malloc... */ +#ifdef mips +#include #else #ifndef _AIX -#ifndef mips char *calloc (), *malloc (), *realloc (); -#endif -#endif -#endif +#endif /* _AIX */ +#endif /* mips */ +#endif /* __STDC__ */ #ifndef BSDSTRS -- 2.26.2