X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=libhashkit%2Fcommon.h;h=b2aaf0e21524bf7f1998bac5dc77a6051e35139c;hb=adfe7cbc9924a6407e02609ea2b517e4b699d269;hp=0a7ac845eac15291e1636f94cb3cba51884af969;hpb=c67da677fe0944d3d2d3ff46e65fc3bc775404ae;p=m6w6%2Flibmemcached diff --git a/libhashkit/common.h b/libhashkit/common.h index 0a7ac845..b2aaf0e2 100644 --- a/libhashkit/common.h +++ b/libhashkit/common.h @@ -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 @@ -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 */