From: Ezra Peisach Date: Tue, 15 Aug 1995 21:20:25 +0000 (+0000) Subject: * prof_parse.c (strip_line,parse_line): Declare as static X-Git-Tag: krb5-1.0-beta6~1306 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6fcccb7f01145e80bfae2724a2909e59d5ea13cb;p=krb5.git * 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 --- diff --git a/src/util/profile/ChangeLog b/src/util/profile/ChangeLog index f35fad43b..2c53cbad2 100644 --- a/src/util/profile/ChangeLog +++ b/src/util/profile/ChangeLog @@ -1,3 +1,9 @@ +Tue Aug 15 17:17:40 1995 Ezra Peisach + + * 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 * 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 * prof_int.h added _MACINTOSH conditional * test_parse.c added _MACINTOSH conditional -======= Fri Jun 9 19:00:19 1995 * 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 8327da498..3f71b920e 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 1e281e0b2..fde563fac 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; {