summaryrefslogtreecommitdiffstats
path: root/src/util
diff options
context:
space:
mode:
authorTheodore Tso <tytso@mit.edu>1995-09-23 00:00:54 +0000
committerTheodore Tso <tytso@mit.edu>1995-09-23 00:00:54 +0000
commit00c02009e1de3020b631b9b33a70c8e197189150 (patch)
tree63d5e1537e32d8db43bddf8f11533cef5d2be89c /src/util
parent5da2c58670198084c1bd3f0f18adb446aa2552ef (diff)
downloadkrb5-00c02009e1de3020b631b9b33a70c8e197189150.tar.gz
krb5-00c02009e1de3020b631b9b33a70c8e197189150.tar.xz
krb5-00c02009e1de3020b631b9b33a70c8e197189150.zip
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. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6817 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/util')
-rw-r--r--src/util/profile/ChangeLog7
-rw-r--r--src/util/profile/prof_init.c4
-rw-r--r--src/util/profile/prof_int.h16
3 files changed, 18 insertions, 9 deletions
diff --git a/src/util/profile/ChangeLog b/src/util/profile/ChangeLog
index 6602bb14d..dd07438ac 100644
--- a/src/util/profile/ChangeLog
+++ b/src/util/profile/ChangeLog
@@ -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
diff --git a/src/util/profile/prof_init.c b/src/util/profile/prof_init.c
index c0d10f689..581605adb 100644
--- a/src/util/profile/prof_init.c
+++ b/src/util/profile/prof_init.c
@@ -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;
diff --git a/src/util/profile/prof_int.h b/src/util/profile/prof_int.h
index 3f71b920e..48ec888db 100644
--- a/src/util/profile/prof_int.h
+++ b/src/util/profile/prof_int.h
@@ -11,6 +11,13 @@
#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));
-
-
-
-
-