make more code conditional on BACKWARD_COMPAT
authorJohn Carr <jfc@mit.edu>
Wed, 12 Dec 1990 07:23:32 +0000 (07:23 +0000)
committerJohn Carr <jfc@mit.edu>
Wed, 12 Dec 1990 07:23:32 +0000 (07:23 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1537 dc483132-0cff-0310-8789-dd5450dbe970

src/kdc/kerberos_v4.c

index 6eefdd822cc653c8038cfcdca1db72b97c1c77c9..43950c46dc952152ff9c303017391d0fa8ceec1a 100644 (file)
@@ -51,8 +51,10 @@ int     f;
 /* XXX several files in libkdb know about this */
 char *progname;
 
+#ifndef BACKWARD_COMPAT
 static Key_schedule master_key_schedule;
 static C_Block master_key;
+#endif
 
 static struct timeval kerb_time;
 static Principal a_name_data;  /* for requesting user */
@@ -111,6 +113,7 @@ static long pause_int = -1;
 /* static void check_db_age(); */
 static void hang();
 
+#ifndef BACKWARD_COMPAT
 /*
  * Print usage message and exit.
  */
@@ -123,7 +126,6 @@ static void usage()
     exit(1);
 }
 
-#ifndef BACKWARD_COMPAT
 main(argc, argv)
     int     argc;
     char  **argv;