move libc declarations to separate include fil
authorJohn Kohl <jtkohl@mit.edu>
Mon, 29 Jan 1990 16:15:52 +0000 (16:15 +0000)
committerJohn Kohl <jtkohl@mit.edu>
Mon, 29 Jan 1990 16:15:52 +0000 (16:15 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@180 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/krb/parse.c
src/lib/krb5/krb/unparse.c
src/lib/krb5/os/def_realm.c

index 1dfd605d4d47d0d6f3f24da09cd73af3d11ec24f..29057676cd2b484f90686d59c2b69bd300ef1afd 100644 (file)
@@ -18,11 +18,7 @@ static char rcsid_parse_c [] =
 #include <krb5/copyright.h>
 
 #include <krb5/krb5.h>
-#ifdef __STDC__
-#include <stdlib.h>
-#else
-extern char *malloc(), *index(), *calloc();
-#endif /* __STDC__ */
+#include <krb5/ext-proto.h>
 
 #include <errno.h>
 
index 5f6efa8d6164203390f25858f5fd8506912cccc5..8d8d8cf86580da6534f89ce679a166b92784f0d7 100644 (file)
@@ -19,12 +19,7 @@ static char rcsid_unparse_c[] =
 
 #include <krb5/krb5.h>
 #include <krb5/krb5_err.h>
-#ifdef __STDC__
-#include <stdlib.h>
-#else
-extern char *malloc();
-#include <string.h>
-#endif /* __STDC__ */
+#include <krb5/ext-proto.h>
 
 #include <errno.h>
 
index a4a45e0ee88d30f4288d4171aecddb8accad7544..5e4fa6c3f8be26febf89c40af896103ff10ea10d 100644 (file)
@@ -21,11 +21,7 @@ static char rcsid_def_realm_c[] =
 #include <krb5/krb5_err.h>
 
 #include <stdio.h>
-#ifdef __STDC__
-#include <stdlib.h>
-#else
-extern char *malloc(), *index(), *calloc();
-#endif /* __STDC__ */
+#include <krb5/ext-proto.h>
 
 /*
  Retrieves the default realm to be used if no user-specified realm is