Fixing spec file for release.
[awesomized/libmemcached] / libhashkit / common.h
index 0a7ac845eac15291e1636f94cb3cba51884af969..b2aaf0e21524bf7f1998bac5dc77a6051e35139c 100644 (file)
@@ -6,14 +6,13 @@
  * the COPYING file in the parent directory for full text.
  */
 
-/**
- * @file
- * @brief System Include Files
- */
-
 #ifndef HASHKIT_COMMON_H
 #define HASHKIT_COMMON_H
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 #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);
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* HASHKIT_COMMON_H */