From: Ezra Peisach Date: Mon, 25 Sep 2000 16:13:07 +0000 (+0000) Subject: * t_kerb.c: Add prototypes for test functions X-Git-Tag: krb5-1.3-alpha1~1886 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5e6a9b3cc32e61c88f7fee3e3c3111093c16f842;p=krb5.git * t_kerb.c: Add prototypes for test functions Cleans up gcc warnings. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12669 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb5/krb/ChangeLog b/src/lib/krb5/krb/ChangeLog index e39d0f61e..014042b1c 100644 --- a/src/lib/krb5/krb/ChangeLog +++ b/src/lib/krb5/krb/ChangeLog @@ -1,3 +1,7 @@ +2000-09-25 Ezra Peisach + + * t_kerb.c: Add prototypes for test functions. + 2000-08-29 Ken Raeburn * get_creds.c (krb5_get_credentials_core): If the supplied enctype diff --git a/src/lib/krb5/krb/t_kerb.c b/src/lib/krb5/krb/t_kerb.c index a08ac6d5e..89242d9cd 100644 --- a/src/lib/krb5/krb/t_kerb.c +++ b/src/lib/krb5/krb/t_kerb.c @@ -16,15 +16,22 @@ #include "com_err.h" -void test_string_to_timestamp(ctx, time) +void test_string_to_timestamp KRB5_PROTOTYPE((krb5_context, char *)); +void test_425_conv_principal KRB5_PROTOTYPE((krb5_context, char *, char*, char *)); +void test_524_conv_principal KRB5_PROTOTYPE((krb5_context, char *)); +void test_parse_name KRB5_PROTOTYPE((krb5_context, const char *)); +void test_set_realm KRB5_PROTOTYPE((krb5_context, const char *, const char *)); +void usage KRB5_PROTOTYPE((char *)); + +void test_string_to_timestamp(ctx, ktime) krb5_context ctx; - char *time; + char *ktime; { krb5_timestamp timestamp; time_t t; krb5_error_code retval; - retval = krb5_string_to_timestamp(time, ×tamp); + retval = krb5_string_to_timestamp(ktime, ×tamp); if (retval) { com_err("krb5_string_to_timestamp", retval, 0); return;