From: Ezra Peisach Date: Wed, 27 Jul 2011 02:13:15 +0000 (+0000) Subject: Update test vtable functions to match proper function prototypes. X-Git-Tag: krb5-1.10-alpha1~315 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7b79f046621b57262b55a5ed4ef61ee9c8ba9cdc;p=krb5.git Update test vtable functions to match proper function prototypes. Also - add return values when appropriate. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25060 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/util/profile/test_vtable.c b/src/util/profile/test_vtable.c index 115eed1e2..6370f2788 100644 --- a/src/util/profile/test_vtable.c +++ b/src/util/profile/test_vtable.c @@ -89,11 +89,12 @@ full_cleanup(void *cbdata) assert(cbdata == &full_cbdata); } -static void +static long full_copy(void *cbdata, void **ret_cbdata) { assert(cbdata == &full_cbdata); *ret_cbdata = &full_cbdata; + return 0; } struct iterator { @@ -202,6 +203,7 @@ static long full_flush(void *cbdata) { assert(cbdata == &full_cbdata); + return 0; } struct profile_vtable basic_vtable = {