projects
/
m6w6
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
Added missing constant.
[m6w6/libmemcached]
/
libhashkit
/
common.h
diff --git
a/libhashkit/common.h
b/libhashkit/common.h
index 0a7ac845eac15291e1636f94cb3cba51884af969..b2aaf0e21524bf7f1998bac5dc77a6051e35139c 100644
(file)
--- a/
libhashkit/common.h
+++ b/
libhashkit/common.h
@@
-6,14
+6,13
@@
* the COPYING file in the parent directory for full text.
*/
* the COPYING file in the parent directory for full text.
*/
-/**
- * @file
- * @brief System Include Files
- */
-
#ifndef HASHKIT_COMMON_H
#define HASHKIT_COMMON_H
#ifndef HASHKIT_COMMON_H
#define HASHKIT_COMMON_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#include "config.h"
#include <assert.h>
#include "config.h"
#include <assert.h>
@@
-30,4
+29,8
@@
void md5_signature(const unsigned char *key, unsigned int length, unsigned char
HASHKIT_LOCAL
int update_continuum(hashkit_st *hashkit);
HASHKIT_LOCAL
int update_continuum(hashkit_st *hashkit);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* HASHKIT_COMMON_H */
#endif /* HASHKIT_COMMON_H */