Don't define functions manually, but pull in the appropriate include
authorTheodore Tso <tytso@mit.edu>
Tue, 8 Nov 1994 04:19:42 +0000 (04:19 +0000)
committerTheodore Tso <tytso@mit.edu>
Tue, 8 Nov 1994 04:19:42 +0000 (04:19 +0000)
files (com_err.h, krb5/ext-proto.h, krb5/los-proto.h, etc.)

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4640 dc483132-0cff-0310-8789-dd5450dbe970

src/kdc/ChangeLog
src/kdc/kerberos_v4.c

index 1d0fea7b82bf65d17ebc2fda6c529ea77739cc65..a6521f1a58914ccd8c385530384fe5df29f5b2f9 100644 (file)
@@ -1,5 +1,9 @@
 Mon Nov  7 22:11:01 1994  Theodore Y. Ts'o  (tytso@dcl)
 
+       * kerberos_v4.c: Don't define functions manually, but pull in the
+       appropriate include files (com_err.h, krb5/ext-proto.h,
+       krb5/los-proto.h, etc.)
+
        * kdc_util.c (kdc_process_tgs_req): Fix lineage check so that we
                don't fail if we're cross-authenticating with a realm with
                the same length as our own.  ('||' should have been '&&')
index 6c4228947d2457f07a17e64f9fe1d779f2a135db..82aca95ffcebb8972b3c1eedc21118ee8dd61c81 100644 (file)
@@ -391,18 +391,15 @@ main(argc, argv)
 #include <krb5/wordsize.h>
 #include <krb5/mit-des.h>
 #include <krb5/kdb.h>
+#include <krb5/ext-proto.h>
+#include <krb5/los-proto.h>
+#include <com_err.h>
 #include "extern.h"            /* to pick up master_princ */
 
 static krb5_error_code retval; 
 static krb5_data *response;
-void com_err(), sleep();
+
 void kerberos_v4(), kerb_err_reply();
-#ifdef HAS_STDLIB_H
-#include <stdlib.h>
-#else
-char *free(), *malloc();
-#endif
-krb5_error_code krb5_timeofday(), krb5_get_default_realm();
  
 krb5_error_code
 process_v4( pkt, client_fulladdr, is_secondary, resp)