X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=clients%2Fmemdump.c;h=3b8027fd95d116933307d534d2627fa3faba18f5;hb=07e0de42263978e78c08a2663425f7e6f16f6c7e;hp=3654be2b0d3a9f529b15e83cdfcf0a764be85845;hpb=b539fd56a235cfbbdd12ebc64c66686b518573d0;p=awesomized%2Flibmemcached diff --git a/clients/memdump.c b/clients/memdump.c index 3654be2b..3b8027fd 100644 --- a/clients/memdump.c +++ b/clients/memdump.c @@ -43,10 +43,11 @@ static char *opt_username; static char *opt_passwd; /* Print the keys and counter how many were found */ -static memcached_return_t key_printer(const memcached_st *ptr __attribute__((unused)), +static memcached_return_t key_printer(const memcached_st *ptr, const char *key, size_t key_length, - void *context __attribute__((unused))) + void *context) { + (void)ptr;(void)context; printf("%.*s\n", (uint32_t)key_length, key); return MEMCACHED_SUCCESS;