X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=tests%2Fplus.cpp;h=dc075478c9fdec7b9c4091c6912c2cd311b7b2ce;hb=49e9e4b85ebfe5f5cbe6f8aea4b6f3a2417a465b;hp=1b90a1d690c9324192566a8c14c99d453221032a;hpb=561e53e6a21751b7adfc7ef8312244aae14868c4;p=m6w6%2Flibmemcached diff --git a/tests/plus.cpp b/tests/plus.cpp index 1b90a1d6..dc075478 100644 --- a/tests/plus.cpp +++ b/tests/plus.cpp @@ -26,6 +26,9 @@ extern "C" { test_return basic_master_key_test(memcached_st *memc); test_return mget_result_function(memcached_st *memc); test_return mget_test(memcached_st *memc); + memcached_return callback_counter(memcached_st *, + memcached_result_st *, + void *context); void *world_create(void); void world_destroy(void *p); } @@ -100,9 +103,9 @@ test_return basic_master_key_test(memcached_st *memc) } /* Count the results */ -static memcached_return callback_counter(memcached_st *ptr __attribute__((unused)), - memcached_result_st *result __attribute__((unused)), - void *context) +memcached_return callback_counter(memcached_st *, + memcached_result_st *, + void *context) { unsigned int *counter= static_cast(context);