X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=tests%2Fplus.cpp;h=c0c6bb9503713eb3271b4c86ae24dfd567be8285;hb=2a34f4dcac48917e41a1b6aee37edbe886aa9f7b;hp=f9cbdd5e748b8b72afea8a81522df9b7ce899c83;hpb=55b5455291498ef63c1c34976552d58708a74732;p=awesomized%2Flibmemcached diff --git a/tests/plus.cpp b/tests/plus.cpp index f9cbdd5e..c0c6bb95 100644 --- a/tests/plus.cpp +++ b/tests/plus.cpp @@ -12,9 +12,10 @@ #include #include #include -#include "server.h" -#include "test.h" +#include + +#include #include #include @@ -29,7 +30,7 @@ extern "C" { test_return_t mget_result_function(memcached_st *memc); test_return_t basic_behavior(memcached_st *memc); test_return_t mget_test(memcached_st *memc); - memcached_return_t callback_counter(memcached_st *, + memcached_return_t callback_counter(const memcached_st *, memcached_result_st *, void *context); } @@ -150,9 +151,9 @@ test_return_t basic_master_key_test(memcached_st *memc) } /* Count the results */ -memcached_return_t callback_counter(memcached_st *, - memcached_result_st *, - void *context) +memcached_return_t callback_counter(const memcached_st *, + memcached_result_st *, + void *context) { unsigned int *counter= static_cast(context);