diff options
author | Greg Hudson <ghudson@mit.edu> | 2009-10-31 03:03:54 +0000 |
---|---|---|
committer | Greg Hudson <ghudson@mit.edu> | 2009-10-31 03:03:54 +0000 |
commit | 21254625b6ce94e8340756c6cbd6b603fcfe720e (patch) | |
tree | 7fb61725a2bcc1a872a4faadbfc8ef4a44e714a7 /src/lib/krb5/krb/t_kerb.c | |
parent | 2656878f3e966c309a486f7827f231a6f982a318 (diff) | |
download | krb5-21254625b6ce94e8340756c6cbd6b603fcfe720e.zip krb5-21254625b6ce94e8340756c6cbd6b603fcfe720e.tar.gz krb5-21254625b6ce94e8340756c6cbd6b603fcfe720e.tar.bz2 |
In lib/krb5/krb, ensure all function definition headers are in ANSI
style and have the function name at the beginning of a line.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23102 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 | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/src/lib/krb5/krb/t_kerb.c b/src/lib/krb5/krb/t_kerb.c index 4652825..0f27ce9 100644 --- a/src/lib/krb5/krb/t_kerb.c +++ b/src/lib/krb5/krb/t_kerb.c @@ -25,7 +25,8 @@ void test_parse_name (krb5_context, const char *); void test_set_realm (krb5_context, const char *, const char *); void usage (char *); -void test_string_to_timestamp(krb5_context ctx, char *ktime) +void +test_string_to_timestamp(krb5_context ctx, char *ktime) { krb5_timestamp timestamp; time_t t; @@ -40,7 +41,8 @@ void test_string_to_timestamp(krb5_context ctx, char *ktime) printf("Parsed time was %s", ctime(&t)); } -void test_425_conv_principal(krb5_context ctx, char *name, char *inst, char *realm) +void +test_425_conv_principal(krb5_context ctx, char *name, char *inst, char *realm) { krb5_error_code retval; krb5_principal princ; @@ -62,7 +64,8 @@ void test_425_conv_principal(krb5_context ctx, char *name, char *inst, char *rea krb5_free_principal(ctx, princ); } -void test_524_conv_principal(krb5_context ctx, char *name) +void +test_524_conv_principal(krb5_context ctx, char *name) { krb5_principal princ = 0; krb5_error_code retval; @@ -89,7 +92,8 @@ fail: krb5_free_principal (ctx, princ); } -void test_parse_name(krb5_context ctx, const char *name) +void +test_parse_name(krb5_context ctx, const char *name) { krb5_error_code retval; krb5_principal princ = 0, princ2 = 0; @@ -124,7 +128,8 @@ fail: krb5_free_principal(ctx, princ2); } -void test_set_realm(krb5_context ctx, const char *name, const char *realm) +void +test_set_realm(krb5_context ctx, const char *name, const char *realm) { krb5_error_code retval; krb5_principal princ = 0; @@ -154,7 +159,8 @@ fail: krb5_free_principal(ctx, princ); } -void usage(char *progname) +void +usage(char *progname) { fprintf(stderr, "%s: Usage: %s 425_conv_principal <name> <inst> <realm\n", progname, progname); |