projects
/
awesomized
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
Turned up warnings in code
[awesomized/libmemcached]
/
libmemcached
/
common.h
diff --git
a/libmemcached/common.h
b/libmemcached/common.h
index 5993e57c58b37a6ad0945641d562f51b372800f3..3ad6c3d8e2376fbc6ef54f091b5a9bc71feb638c 100644
(file)
--- a/
libmemcached/common.h
+++ b/
libmemcached/common.h
@@
-22,11
+22,11
@@
#include <sys/un.h>
#include <netinet/tcp.h>
#include <sys/un.h>
#include <netinet/tcp.h>
-#if TIME_WITH_SYS_TIME
+#if
def
TIME_WITH_SYS_TIME
# include <sys/time.h>
# include <time.h>
#else
# include <sys/time.h>
# include <time.h>
#else
-# if HAVE_SYS_TIME_H
+# if
def
HAVE_SYS_TIME_H
# include <sys/time.h>
# else
# include <time.h>
# include <sys/time.h>
# else
# include <time.h>
@@
-81,7
+81,7
@@
typedef enum {
MEM_VERIFY_KEY= (1 << 10),
/* 11 used for weighted ketama */
MEM_KETAMA_WEIGHTED= (1 << 11),
MEM_VERIFY_KEY= (1 << 10),
/* 11 used for weighted ketama */
MEM_KETAMA_WEIGHTED= (1 << 11),
- MEM_BINARY_PROTOCOL= (1 << 12)
,
+ MEM_BINARY_PROTOCOL= (1 << 12)
} memcached_flags;
/* Hashing algo */
} memcached_flags;
/* Hashing algo */