* kdb_dbm.c (krb5_dbm_db_create): move dirname, pagname
authorMark Eichin <eichin@mit.edu>
Fri, 21 Jul 1995 04:06:09 +0000 (04:06 +0000)
committerMark Eichin <eichin@mit.edu>
Fri, 21 Jul 1995 04:06:09 +0000 (04:06 +0000)
declarations to the top of function, so it compiles...

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

src/lib/kdb/ChangeLog
src/lib/kdb/kdb_dbm.c

index 2788a436e5ed7496dbaf009edbaa77837e787741..289c2d94fc1e9c472c96be906957871477cab392 100644 (file)
@@ -1,3 +1,7 @@
+Thu Jul 20 23:59:18 1995  Mark Eichin  <eichin@cygnus.com>
+
+       * kdb_dbm.c (krb5_dbm_db_create): move dirname, pagname
+       declarations to the top of function, so it compiles...
 
 Mon Jul 17 15:17:53 EDT 1995   Paul Park       (pjpark@mit.edu)
        * fetch_mkey.c - Remove inclusion of kdbint.h and add handling of
index 0394089756900e4ea8afd513c46ec20f9987e7af..4357c54ccf52c27aefce91ec0c54b53c11dacebd 100644 (file)
@@ -1158,8 +1158,12 @@ krb5_dbm_db_create(context, db_name)
     register krb5_error_code retval = 0;
 #ifndef ODBM
     DBM *db;
+#else
+    char *dirname;
+    char *pagname;
 #endif
 
+
     if ((retval = k5dbm_init_context(context)))
        return(retval);
     
@@ -1170,9 +1174,6 @@ krb5_dbm_db_create(context, db_name)
     else
        KDBM_CLOSE(context->db_context, db);
 #else /* OLD DBM */
-    char *dirname;
-    char *pagname;
-
     dirname = gen_dbsuffix(db_name, ".dir");
     if (!dirname)
        return ENOMEM;