X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;ds=sidebyside;f=libhashkit%2Fcommon.h;h=73b198f589aa05c5ce640c9e5b6377b00125e206;hb=1c26bb24f73e277073ca3dc266c78a19fc954e21;hp=0a7ac845eac15291e1636f94cb3cba51884af969;hpb=c67da677fe0944d3d2d3ff46e65fc3bc775404ae;p=m6w6%2Flibmemcached diff --git a/libhashkit/common.h b/libhashkit/common.h index 0a7ac845..73b198f5 100644 --- a/libhashkit/common.h +++ b/libhashkit/common.h @@ -6,15 +6,10 @@ * the COPYING file in the parent directory for full text. */ -/** - * @file - * @brief System Include Files - */ - #ifndef HASHKIT_COMMON_H #define HASHKIT_COMMON_H -#include "config.h" +#include #include #include @@ -22,7 +17,11 @@ #include #include -#include "hashkit.h" +#include + +#ifdef __cplusplus +extern "C" { +#endif HASHKIT_LOCAL void md5_signature(const unsigned char *key, unsigned int length, unsigned char *result); @@ -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 */