From 75b6d5a52d445e3e187a04d071e80bd825d50c74 Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Wed, 17 Jan 2001 02:05:52 +0000 Subject: [PATCH] * str_conv.c (krb5_keysalt_iterate): Always use the prototype for function-pointer argument ITERATOR. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12907 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/kadm5/ChangeLog | 5 +++++ src/lib/kadm5/str_conv.c | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/lib/kadm5/ChangeLog b/src/lib/kadm5/ChangeLog index 9ae8fc869..a44a5cee9 100644 --- a/src/lib/kadm5/ChangeLog +++ b/src/lib/kadm5/ChangeLog @@ -1,3 +1,8 @@ +2001-01-16 Ken Raeburn + + * str_conv.c (krb5_keysalt_iterate): Always use the prototype for + function-pointer argument ITERATOR. + 2000-10-17 Ezra Peisach * admin.h (KADM5_PW_FIRST_PROMPT): Get rid of casts from diff --git a/src/lib/kadm5/str_conv.c b/src/lib/kadm5/str_conv.c index 16ad5346c..131d15e8a 100644 --- a/src/lib/kadm5/str_conv.c +++ b/src/lib/kadm5/str_conv.c @@ -376,8 +376,7 @@ krb5_keysalt_iterate(ksaltlist, nksalt, ignoresalt, iterator, arg) krb5_key_salt_tuple *ksaltlist; krb5_int32 nksalt; krb5_boolean ignoresalt; - krb5_error_code (*iterator) KRB5_NPROTOTYPE((krb5_key_salt_tuple *, - krb5_pointer)); + krb5_error_code (*iterator) (krb5_key_salt_tuple *, krb5_pointer); krb5_pointer arg; { int i; -- 2.26.2