#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>
#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>
#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