Update test vtable functions to match proper function prototypes.
authorEzra Peisach <epeisach@mit.edu>
Wed, 27 Jul 2011 02:13:15 +0000 (02:13 +0000)
committerEzra Peisach <epeisach@mit.edu>
Wed, 27 Jul 2011 02:13:15 +0000 (02:13 +0000)
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

index 115eed1e2110f00b644eb9c2a2e7ccf286f8d2b3..6370f2788a77fbb8947501c2e1c636828cff7fc2 100644 (file)
@@ -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 = {