X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=libhashkit%2Fcommon.h;h=5cf8b9f53e47cad78724be2180257fcf173ab2d0;hb=3d528ab093189ae2bee0aa7e79f07789d82c02d9;hp=0a7ac845eac15291e1636f94cb3cba51884af969;hpb=dec0636927f5d0ae4cf06ad2710d022990419879;p=awesomized%2Flibmemcached diff --git a/libhashkit/common.h b/libhashkit/common.h index 0a7ac845..5cf8b9f5 100644 --- a/libhashkit/common.h +++ b/libhashkit/common.h @@ -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 #include #include @@ -22,7 +16,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 +28,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