summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEzra Peisach <epeisach@mit.edu>1995-08-15 21:20:25 +0000
committerEzra Peisach <epeisach@mit.edu>1995-08-15 21:20:25 +0000
commit6fcccb7f01145e80bfae2724a2909e59d5ea13cb (patch)
tree7a8a9dc08f16f9a23308f613032c63b435dea840
parente0b140108ef0a9e9a3e2fd4268f32c0bdabf2697 (diff)
downloadkrb5-6fcccb7f01145e80bfae2724a2909e59d5ea13cb.tar.gz
krb5-6fcccb7f01145e80bfae2724a2909e59d5ea13cb.tar.xz
krb5-6fcccb7f01145e80bfae2724a2909e59d5ea13cb.zip
* prof_parse.c (strip_line,parse_line): Declare as static
* prof_int.h: Add missing prototypes Cleanup -Wmissing_prototypes complaints git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6533 dc483132-0cff-0310-8789-dd5450dbe970
-rw-r--r--src/util/profile/ChangeLog7
-rw-r--r--src/util/profile/prof_int.h17
-rw-r--r--src/util/profile/prof_parse.c4
3 files changed, 25 insertions, 3 deletions
diff --git a/src/util/profile/ChangeLog b/src/util/profile/ChangeLog
index f35fad43be..2c53cbad2b 100644
--- a/src/util/profile/ChangeLog
+++ b/src/util/profile/ChangeLog
@@ -1,3 +1,9 @@
+Tue Aug 15 17:17:40 1995 Ezra Peisach <epeisach@kangaroo.mit.edu>
+
+ * prof_parse.c (strip_line,parse_line): Declare as static.
+
+ * prof_int.h: Add missing prototypes
+
Thu Jul 6 10:05:47 1995 Ezra Peisach <epeisach@kangaroo.mit.edu>
* prof_file.c: prof_int.h must be included after stdio.h
@@ -7,7 +13,6 @@ Wed July 5 15:52:31 1995 James Mattly <mattly@fusion.com>
* prof_int.h added _MACINTOSH conditional
* test_parse.c added _MACINTOSH conditional
-=======
Fri Jun 9 19:00:19 1995 <tytso@rsx-11.mit.edu>
* configure.in: Remove standardized set of autoconf macros, which
diff --git a/src/util/profile/prof_int.h b/src/util/profile/prof_int.h
index 8327da498e..3f71b920e8 100644
--- a/src/util/profile/prof_int.h
+++ b/src/util/profile/prof_int.h
@@ -79,6 +79,9 @@ extern errcode_t profile_create_node
PROTOTYPE((const char *name, const char *value,
struct profile_node **ret_node));
+extern errcode_t profile_verify_node
+ PROTOTYPE((struct profile_node *node));
+
extern errcode_t profile_add_node
PROTOTYPE ((struct profile_node *section,
const char *name, const char *value,
@@ -121,4 +124,18 @@ extern void profile_release
PROTOTYPE ((profile_t profile));
+extern errcode_t profile_get_values
+ PROTOTYPE ((profile_t profile, const char **names, char ***ret_values));
+extern errcode_t profile_get_string
+ PROTOTYPE((profile_t profile, const char *name, const char *subname,
+ const char *subsubname, const char *def_val,
+ char **ret_string));
+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));
+
+
+
+
diff --git a/src/util/profile/prof_parse.c b/src/util/profile/prof_parse.c
index 1e281e0b2c..fde563fac6 100644
--- a/src/util/profile/prof_parse.c
+++ b/src/util/profile/prof_parse.c
@@ -27,7 +27,7 @@ static char *skip_over_blanks(cp)
return cp;
}
-void strip_line(line)
+static void strip_line(line)
char *line;
{
char *p;
@@ -139,7 +139,7 @@ static errcode_t parse_std_line(line, state)
return 0;
}
-errcode_t parse_line(line, state)
+static errcode_t parse_line(line, state)
char *line;
struct parse_state *state;
{