summaryrefslogtreecommitdiffstats
path: root/src/util/profile
diff options
context:
space:
mode:
authorEzra Peisach <epeisach@mit.edu>2011-07-27 02:13:15 +0000
committerEzra Peisach <epeisach@mit.edu>2011-07-27 02:13:15 +0000
commit7b79f046621b57262b55a5ed4ef61ee9c8ba9cdc (patch)
tree4187320d3a551b13bc1eea59eefd09293c90e4dc /src/util/profile
parent9e1e72a26c692717c87e55675cfaa69f3979e5c6 (diff)
downloadkrb5-7b79f046621b57262b55a5ed4ef61ee9c8ba9cdc.tar.gz
krb5-7b79f046621b57262b55a5ed4ef61ee9c8ba9cdc.tar.xz
krb5-7b79f046621b57262b55a5ed4ef61ee9c8ba9cdc.zip
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
Diffstat (limited to 'src/util/profile')
-rw-r--r--src/util/profile/test_vtable.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/util/profile/test_vtable.c b/src/util/profile/test_vtable.c
index 115eed1e21..6370f2788a 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 = {