diff options
author | Ezra Peisach <epeisach@mit.edu> | 2000-09-25 16:13:07 +0000 |
---|---|---|
committer | Ezra Peisach <epeisach@mit.edu> | 2000-09-25 16:13:07 +0000 |
commit | 5e6a9b3cc32e61c88f7fee3e3c3111093c16f842 (patch) | |
tree | f98d6e429a296fb3bafa49d1293818523b47994e /src/lib/krb5/krb/t_kerb.c | |
parent | 95585736c8da7a9b3b3b0c2cf7067d9d4c6a107e (diff) | |
download | krb5-5e6a9b3cc32e61c88f7fee3e3c3111093c16f842.zip krb5-5e6a9b3cc32e61c88f7fee3e3c3111093c16f842.tar.gz krb5-5e6a9b3cc32e61c88f7fee3e3c3111093c16f842.tar.bz2 |
* 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
Diffstat (limited to 'src/lib/krb5/krb/t_kerb.c')
-rw-r--r-- | src/lib/krb5/krb/t_kerb.c | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/src/lib/krb5/krb/t_kerb.c b/src/lib/krb5/krb/t_kerb.c index a08ac6d..89242d9 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; |