From 8931c19822cf834815a23679e5bbf7ab79cd6f09 Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Sat, 20 Jan 2001 04:16:01 +0000 Subject: [PATCH] * preauth.c: Don't use PROTOTYPE macro, just always use the prototypes git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12923 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/krb/ChangeLog | 5 +++++ src/lib/krb5/krb/preauth.c | 20 ++++++++++---------- 2 files changed, 15 insertions(+), 10 deletions(-) diff --git a/src/lib/krb5/krb/ChangeLog b/src/lib/krb5/krb/ChangeLog index d1b92df86..169964c80 100644 --- a/src/lib/krb5/krb/ChangeLog +++ b/src/lib/krb5/krb/ChangeLog @@ -1,3 +1,8 @@ +2001-01-19 Ken Raeburn + + * preauth.c: Don't use PROTOTYPE macro, just always use the + prototypes. + 2001-01-19 Tom Yu * preauth.c: Remove uses of KRB5_NPROTOTYPE() macro. diff --git a/src/lib/krb5/krb/preauth.c b/src/lib/krb5/krb/preauth.c index fd49bbfba..38aa82099 100644 --- a/src/lib/krb5/krb/preauth.c +++ b/src/lib/krb5/krb/preauth.c @@ -121,20 +121,20 @@ static krb5_preauth_ops preauth_systems[] = { }; static krb5_error_code find_pa_system - PROTOTYPE((krb5_preauthtype type, krb5_preauth_ops **Preauth_proc)); + (krb5_preauthtype type, krb5_preauth_ops **Preauth_proc); /* some typedef's for the function args to make things look a bit cleaner */ -typedef krb5_error_code (*git_key_proc) PROTOTYPE((krb5_context, - const krb5_enctype, - krb5_data *, - krb5_const_pointer, - krb5_keyblock **)); +typedef krb5_error_code (*git_key_proc) (krb5_context, + const krb5_enctype, + krb5_data *, + krb5_const_pointer, + krb5_keyblock **); -typedef krb5_error_code (*git_decrypt_proc) PROTOTYPE((krb5_context, - const krb5_keyblock *, - krb5_const_pointer, - krb5_kdc_rep * )); +typedef krb5_error_code (*git_decrypt_proc) (krb5_context, + const krb5_keyblock *, + krb5_const_pointer, + krb5_kdc_rep *); krb5_error_code krb5_obtain_padata(context, preauth_to_use, key_proc, key_seed, creds, request) -- 2.26.2