prof_int.h: added SIZEOF defines for the PC, and added missing
authorTheodore Tso <tytso@mit.edu>
Sat, 23 Sep 1995 00:00:54 +0000 (00:00 +0000)
committerTheodore Tso <tytso@mit.edu>
Sat, 23 Sep 1995 00:00:54 +0000 (00:00 +0000)
prototype for profile_find_node_name()

prof_init.c (profile_get_first_values): Remove unused variables.

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

src/util/profile/ChangeLog
src/util/profile/prof_init.c
src/util/profile/prof_int.h

index 6602bb14dd44702d939c48039d44fdd18a8eb821..dd07438acc1d3581d3907f074bacb90a04201c50 100644 (file)
@@ -1,3 +1,10 @@
+Fri Sep 22 19:51:44 1995  Theodore Y. Ts'o  <tytso@dcl>
+
+       * prof_int.h: added SIZEOF defines for the PC, and added missing
+               prototype for profile_find_node_name()
+
+       * prof_init.c (profile_get_first_values): Remove unused variables.
+
 Mon Sep 11 15:30:52 1995  Ezra Peisach  <epeisach@kangaroo.mit.edu>
 
        * prof_parse.c (dump_profile_to_file): Convert C+ comment to
index c0d10f689fd572ad250ddbf962d2a21ec03907b7..581605adb9bcc0fc66f58253c55f4b5e8b31df80 100644 (file)
@@ -191,11 +191,7 @@ errcode_t profile_get_first_values(profile, names, ret_values)
     void               *state;
     char               *value;
     struct string_list values;
-    const char         **cpp;
-    char                       *dummyvalue;
     char                       *secname;
-    const char                 *mynames[3];
-    
 
     if (profile == 0)
        return PROF_NO_PROFILE;
index 3f71b920e870e8e0cb2d2028107904bb9352a3cd..48ec888dba570e28a9c526e25b43645ef4ecb4fe 100644 (file)
 #define PROTOTYPE(x) ()
 #endif
 
+#if defined(_MSDOS)
+/* From k5-config.h */
+#define SIZEOF_INT      2
+#define SIZEOF_SHORT    2
+#define SIZEOF_LONG     4
+#endif 
+
 #if defined(_MACINTOSH)
 #define NO_SYS_TYPES_H
 #define NO_SYS_STAT_H
@@ -104,6 +111,10 @@ extern errcode_t profile_get_node_parent
 extern errcode_t profile_delete_node_relation
        PROTOTYPE ((struct profile_node *section, const char *name));
 
+extern errcode_t profile_find_node_name
+       PROTOTYPE ((struct profile_node *section, void **state,
+                   char **ret_name));
+
 /* prof_file.c */
 
 extern errcode_t profile_open_file
@@ -134,8 +145,3 @@ extern errcode_t profile_get_integer
        PROTOTYPE((profile_t profile, const char *name, const char *subname,
                        const char *subsubname, int def_val,
                        int *ret_default));
-
-
-
-
-