un c99'ify, from Anders.Magnusson@ltu.se
authorLove Hörnquist Åstrand <lha@kth.se>
Wed, 29 Sep 2004 11:17:13 +0000 (11:17 +0000)
committerLove Hörnquist Åstrand <lha@kth.se>
Wed, 29 Sep 2004 11:17:13 +0000 (11:17 +0000)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14271 ec53bebd-3082-4978-b11e-865c3cabbd6b

admin/list.c

index 57744f10d58b031c16f49f2df4bd47cdf3dc7845..9718d29e7acea3983b5696c156649cbded6d0464 100644 (file)
@@ -43,6 +43,7 @@ do_list(struct list_options *opt, const char *keytab_string)
     krb5_keytab keytab;
     krb5_keytab_entry entry;
     krb5_kt_cursor cursor;
+    rtbl_t table;
 
     /* XXX specialcase the ANY type */
     if(strncasecmp(keytab_string, "ANY:", 4) == 0) {
@@ -76,7 +77,6 @@ do_list(struct list_options *opt, const char *keytab_string)
 
     printf ("%s:\n\n", keytab_string);
        
-    rtbl_t table;
     table = rtbl_create();
     rtbl_add_column_by_id(table, 0, "Vno", RTBL_ALIGN_RIGHT);
     rtbl_add_column_by_id(table, 1, "Type", 0);