projects
/
awesomized
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
Merge in version update (0.51)
[awesomized/libmemcached]
/
libhashkit
/
common.h
diff --git
a/libhashkit/common.h
b/libhashkit/common.h
index b2aaf0e21524bf7f1998bac5dc77a6051e35139c..5cf8b9f53e47cad78724be2180257fcf173ab2d0 100644
(file)
--- a/
libhashkit/common.h
+++ b/
libhashkit/common.h
@@
-6,14
+6,9
@@
* the COPYING file in the parent directory for full text.
*/
* the COPYING file in the parent directory for full text.
*/
-#ifndef HASHKIT_COMMON_H
-#define HASHKIT_COMMON_H
+#pragma once
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-#include "config.h"
+#include <config.h>
#include <assert.h>
#include <errno.h>
#include <assert.h>
#include <errno.h>
@@
-21,7
+16,11
@@
extern "C" {
#include <stdlib.h>
#include <math.h>
#include <stdlib.h>
#include <math.h>
-#include "hashkit.h"
+#include <libhashkit/hashkit.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
HASHKIT_LOCAL
void md5_signature(const unsigned char *key, unsigned int length, unsigned char *result);
HASHKIT_LOCAL
void md5_signature(const unsigned char *key, unsigned int length, unsigned char *result);
@@
-32,5
+31,3
@@
int update_continuum(hashkit_st *hashkit);
#ifdef __cplusplus
}
#endif
#ifdef __cplusplus
}
#endif
-
-#endif /* HASHKIT_COMMON_H */