return kret;
}
-static krb5_error_code KRB5_CALLCONV krb5_fcc_lock(krb5_context context,
- krb5_ccache id)
+static krb5_error_code KRB5_CALLCONV
+krb5_fcc_lock(krb5_context context, krb5_ccache id)
{
krb5_error_code ret = 0;
krb5_fcc_data *data = (krb5_fcc_data *) id->data;
return ret;
}
-static krb5_error_code KRB5_CALLCONV krb5_fcc_unlock(krb5_context context,
- krb5_ccache id)
+static krb5_error_code KRB5_CALLCONV
+krb5_fcc_unlock(krb5_context context, krb5_ccache id)
{
krb5_error_code ret = 0;
krb5_fcc_data *data = (krb5_fcc_data *) id->data;
int debug=0;
-static void init_structs(void)
+static void
+init_structs(void)
{
static int add=0x12345;
test_creds.authdata = NULL;
}
-static krb5_error_code init_test_cred(krb5_context context)
+static krb5_error_code
+init_test_cred(krb5_context context)
{
krb5_error_code kret;
unsigned int i;
return kret;
}
-static void free_test_cred(krb5_context context)
+static void
+free_test_cred(krb5_context context)
{
krb5_free_principal(context, test_creds.client);
#define CHECK_FAIL(experr, kret, msg) \
if (experr != kret) { CHECK(kret, msg);}
-static void cc_test(krb5_context context, const char *name, krb5_flags flags)
+static void
+cc_test(krb5_context context, const char *name, krb5_flags flags)
{
krb5_ccache id, id2;
krb5_creds creds;
/*
* Checks if a credential type is registered with the library
*/
-static int check_registered(krb5_context context, const char *prefix)
+static int
+check_registered(krb5_context context, const char *prefix)
{
char name[300];
krb5_error_code kret;
}
-static void do_test(krb5_context context, const char *prefix)
+static void
+do_test(krb5_context context, const char *prefix)
{
char name[300];
printf("Test on %s passed\n", name);
}
-static void test_misc(krb5_context context)
+static void
+test_misc(krb5_context context)
{
/* Tests for certain error returns */
krb5_error_code kret;
extern const krb5_cc_ops krb5_mcc_ops;
extern const krb5_cc_ops krb5_fcc_ops;
-int main (void)
+int
+main(void)
{
krb5_context context;
krb5_error_code kret;