From: John Kohl Date: Mon, 23 Apr 1990 10:43:05 +0000 (+0000) Subject: need to use DECLARG macros X-Git-Tag: krb5-1.0-alpha2~846 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=93b90a134c233996a77a2f314343d3a5cc390c2b;p=krb5.git need to use DECLARG macros add prototype header files. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@549 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/kdb/fetch_mkey.c b/src/lib/kdb/fetch_mkey.c index ce0b11f17..138c14197 100644 --- a/src/lib/kdb/fetch_mkey.c +++ b/src/lib/kdb/fetch_mkey.c @@ -21,6 +21,8 @@ static char rcsid_fetch_mkey_c[] = #include #include #include +#include +#include /* these are available to other funcs, and the pointers may be reassigned */ @@ -42,11 +44,14 @@ char *krb5_mkey_pwd_prompt2 = KRB5_KDC_MKEY_2; */ krb5_error_code -krb5_db_fetch_mkey(mname, eblock, fromkeyboard, key) -krb5_principal mname; -krb5_encrypt_block *eblock; -krb5_boolean fromkeyboard; -krb5_keyblock *key; +krb5_db_fetch_mkey(DECLARG(krb5_principal, mname), + DECLARG(krb5_encrypt_block *, eblock), + DECLARG(krb5_boolean, fromkeyboard), + DECLARG(krb5_keyblock *,key)) +OLDDECLARG(krb5_principal, mname) +OLDDECLARG(krb5_encrypt_block *, eblock) +OLDDECLARG(krb5_boolean, fromkeyboard) +OLDDECLARG(krb5_keyblock *,key) { krb5_error_code retval; char password[BUFSIZ];