Next pass in removing gettext (solve warnings on lion, we don't use GETTEXT anyways).
[awesomized/libmemcached] / libhashkit / common.h
index 0a7ac845eac15291e1636f94cb3cba51884af969..4dece00f2337b6d52bfeb27386e3786724f0e079 100644 (file)
@@ -6,15 +6,9 @@
  * the COPYING file in the parent directory for full text.
  */
 
-/**
- * @file
- * @brief System Include Files
- */
-
-#ifndef HASHKIT_COMMON_H
-#define HASHKIT_COMMON_H
+#pragma once
 
-#include "config.h"
+#include <config.h>
 
 #include <assert.h>
 #include <errno.h>
 #include <stdlib.h>
 #include <math.h>
 
-#include "hashkit.h"
+#include <libhashkit-1.0/hashkit.h>
+#include <libhashkit/is.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
 
 HASHKIT_LOCAL
 void md5_signature(const unsigned char *key, unsigned int length, unsigned char *result);
@@ -30,4 +29,6 @@ void md5_signature(const unsigned char *key, unsigned int length, unsigned char
 HASHKIT_LOCAL
 int update_continuum(hashkit_st *hashkit);
 
-#endif /* HASHKIT_COMMON_H */
+#ifdef __cplusplus
+}
+#endif