diff options
Diffstat (limited to 'src/lib/krb5/os/t_std_conf.c')
-rw-r--r-- | src/lib/krb5/os/t_std_conf.c | 30 |
1 files changed, 20 insertions, 10 deletions
diff --git a/src/lib/krb5/os/t_std_conf.c b/src/lib/krb5/os/t_std_conf.c index a3bd795..072ac30 100644 --- a/src/lib/krb5/os/t_std_conf.c +++ b/src/lib/krb5/os/t_std_conf.c @@ -18,7 +18,8 @@ #include "os-proto.h" -static void test_get_default_realm(krb5_context ctx) +static void +test_get_default_realm(krb5_context ctx) { char *realm; krb5_error_code retval; @@ -32,7 +33,8 @@ static void test_get_default_realm(krb5_context ctx) free(realm); } -static void test_set_default_realm(krb5_context ctx, char *realm) +static void +test_set_default_realm(krb5_context ctx, char *realm) { krb5_error_code retval; @@ -44,7 +46,8 @@ static void test_set_default_realm(krb5_context ctx, char *realm) printf("krb5_set_default_realm(%s)\n", realm); } -static void test_get_default_ccname(krb5_context ctx) +static void +test_get_default_ccname(krb5_context ctx) { const char *ccname; @@ -55,7 +58,8 @@ static void test_get_default_ccname(krb5_context ctx) printf("krb5_cc_default_name() returned NULL\n"); } -static void test_set_default_ccname(krb5_context ctx, char *ccname) +static void +test_set_default_ccname(krb5_context ctx, char *ccname) { krb5_error_code retval; @@ -67,7 +71,8 @@ static void test_set_default_ccname(krb5_context ctx, char *ccname) printf("krb5_set_default_ccname(%s)\n", ccname); } -static void test_get_krbhst(krb5_context ctx, char *realm) +static void +test_get_krbhst(krb5_context ctx, char *realm) { char **hostlist, **cpp; krb5_data rlm; @@ -97,7 +102,8 @@ static void test_get_krbhst(krb5_context ctx, char *realm) printf("\n"); } -static void test_locate_kdc(krb5_context ctx, char *realm) +static void +test_locate_kdc(krb5_context ctx, char *realm) { struct addrlist addrs; int i; @@ -148,7 +154,8 @@ static void test_locate_kdc(krb5_context ctx, char *realm) printf("\n"); } -static void test_get_host_realm(krb5_context ctx, char *host) +static void +test_get_host_realm(krb5_context ctx, char *host) { char **realms, **cpp; krb5_error_code retval; @@ -176,7 +183,8 @@ static void test_get_host_realm(krb5_context ctx, char *host) printf("\n"); } -static void test_get_realm_domain(krb5_context ctx, char *realm) +static void +test_get_realm_domain(krb5_context ctx, char *realm) { krb5_error_code retval; char *domain; @@ -190,14 +198,16 @@ static void test_get_realm_domain(krb5_context ctx, char *realm) free(domain); } -static void usage(char *progname) +static void +usage(char *progname) { fprintf(stderr, "%s: Usage: %s [-dc] [-k realm] [-r host] [-C ccname] [-D realm]\n", progname, progname); exit(1); } -int main(int argc, char **argv) +int +main(int argc, char **argv) { int c; krb5_context ctx; |