projects
/
awesomized
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
Merge in trond.
[awesomized/libmemcached]
/
clients
/
memdump.c
diff --git
a/clients/memdump.c
b/clients/memdump.c
index 40ab430a4ceca1a0b339569068c02b1b2173217e..3b8027fd95d116933307d534d2627fa3faba18f5 100644
(file)
--- a/
clients/memdump.c
+++ b/
clients/memdump.c
@@
-9,7
+9,8
@@
*
*/
*
*/
-#include "libmemcached/common.h"
+#include "config.h"
+
#include <stdio.h>
#include <stdlib.h>
#include <inttypes.h>
#include <stdio.h>
#include <stdlib.h>
#include <inttypes.h>
@@
-42,10
+43,11
@@
static char *opt_username;
static char *opt_passwd;
/* Print the keys and counter how many were found */
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,
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;
printf("%.*s\n", (uint32_t)key_length, key);
return MEMCACHED_SUCCESS;