From 7b79f046621b57262b55a5ed4ef61ee9c8ba9cdc Mon Sep 17 00:00:00 2001 From: Ezra Peisach Date: Wed, 27 Jul 2011 02:13:15 +0000 Subject: [PATCH] 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 --- src/util/profile/test_vtable.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 = { -- 2.26.2