projects
/
m6w6
/
libmemcached
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
c63b3f2
)
Don't include system headers within an extern C block
author
Trond Norbye
<trond.norbye@gmail.com>
Mon, 13 Sep 2010 12:27:18 +0000
(14:27 +0200)
committer
Trond Norbye
<trond.norbye@gmail.com>
Mon, 13 Sep 2010 12:27:18 +0000
(14:27 +0200)
libhashkit/common.h
patch
|
blob
|
history
diff --git
a/libhashkit/common.h
b/libhashkit/common.h
index b2aaf0e21524bf7f1998bac5dc77a6051e35139c..dff3ab0bc92eedaad6ffce0abb4ec138f20c5dfa 100644
(file)
--- a/
libhashkit/common.h
+++ b/
libhashkit/common.h
@@
-9,10
+9,6
@@
#ifndef HASHKIT_COMMON_H
#define HASHKIT_COMMON_H
-#ifdef __cplusplus
-extern "C" {
-#endif
-
#include "config.h"
#include <assert.h>
@@
-23,6
+19,10
@@
extern "C" {
#include "hashkit.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
HASHKIT_LOCAL
void md5_signature(const unsigned char *key, unsigned int length, unsigned char *result);