2004-04-24 Ken Raeburn <raeburn@mit.edu>
+ * conv_creds.c (krb524_init_ets, krb524_convert_creds_kdc): Add
+ forward declarations to silence gcc warnings.
+
* init_ctx.c (init_common): In UNIX case, check the return value
from krb5int_initialize_library.
OS and UNIX, but Windows should be okay. */
#ifndef _WIN32
#undef krb524_convert_creds_kdc
+#undef krb524_init_ets
+
+/* Declarations ahead of the definitions will suppress some gcc
+ warnings. */
+void KRB5_CALLCONV krb524_init_ets (void);
+krb5_error_code KRB5_CALLCONV
+krb524_convert_creds_kdc(krb5_context context, krb5_creds *v5creds,
+ struct credentials *v4creds);
+
krb5_error_code KRB5_CALLCONV
krb524_convert_creds_kdc(krb5_context context, krb5_creds *v5creds,
struct credentials *v4creds)
return krb5_524_convert_creds(context, v5creds, v4creds);
}
-#undef krb524_init_ets
void KRB5_CALLCONV krb524_init_ets ()
{
}