From: Ezra Peisach Date: Tue, 26 Jun 2001 21:10:17 +0000 (+0000) Subject: * server_glue_v1.c: Include misc.h for prototypes X-Git-Tag: krb5-1.3-alpha1~1276 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7c59e431859cd041853d669da0fc4b47ebe52357;p=krb5.git * server_glue_v1.c: Include misc.h for prototypes * ovsec_kadmd.c: Declare usage() and display_status() static. Flush out static prototype for display_status_1(). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13514 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/kadmin/server/ChangeLog b/src/kadmin/server/ChangeLog index 92cf811d0..a76578751 100644 --- a/src/kadmin/server/ChangeLog +++ b/src/kadmin/server/ChangeLog @@ -1,3 +1,10 @@ +2001-06-26 Ezra Peisach + + * server_glue_v1.c: Include misc.h for prototypes. + + * ovsec_kadmd.c: Declare usage() and display_status() static. + Flush out static prototype for display_status_1(). + 2001-06-21 Ezra Peisach * ovsec_kadmd.c: Change prototype for process_chpw_request diff --git a/src/kadmin/server/ovsec_kadmd.c b/src/kadmin/server/ovsec_kadmd.c index a0752badc..d82a69b63 100644 --- a/src/kadmin/server/ovsec_kadmd.c +++ b/src/kadmin/server/ovsec_kadmd.c @@ -128,7 +128,7 @@ krb5_error_code process_chpw_request(krb5_context context, void *server_handle, * Modifies: */ -void usage() +static void usage() { fprintf(stderr, "Usage: kadmind [-r realm] [-m] [-nofork] " "[-port port-number]\n"); @@ -152,9 +152,9 @@ void usage() * displayed on stderr, each preceeded by "GSS-API error : " and * followed by a newline. */ -static void display_status_1(); +static void display_status_1(char *, OM_uint32, int); -void display_status(msg, maj_stat, min_stat) +static void display_status(msg, maj_stat, min_stat) char *msg; OM_uint32 maj_stat; OM_uint32 min_stat; diff --git a/src/kadmin/server/server_glue_v1.c b/src/kadmin/server/server_glue_v1.c index c0bec26e6..dfd6430f1 100644 --- a/src/kadmin/server/server_glue_v1.c +++ b/src/kadmin/server/server_glue_v1.c @@ -1,5 +1,6 @@ #define USE_KADM5_API_VERSION 1 #include +#include "misc.h" /* * In server_stubs.c, kadmind has to be able to call kadm5 functions