Merge in dist fix from Monty
[m6w6/libmemcached] / libhashkit / common.h
index 0a7ac845eac15291e1636f94cb3cba51884af969..dff3ab0bc92eedaad6ffce0abb4ec138f20c5dfa 100644 (file)
@@ -6,11 +6,6 @@
  * the COPYING file in the parent directory for full text.
  */
 
-/**
- * @file
- * @brief System Include Files
- */
-
 #ifndef HASHKIT_COMMON_H
 #define HASHKIT_COMMON_H
 
 
 #include "hashkit.h"
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 HASHKIT_LOCAL
 void md5_signature(const unsigned char *key, unsigned int length, unsigned char *result);
 
 HASHKIT_LOCAL
 int update_continuum(hashkit_st *hashkit);
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* HASHKIT_COMMON_H */