X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=libhashkit%2Fcommon.h;h=5cf8b9f53e47cad78724be2180257fcf173ab2d0;hb=6953f8c1a076b300fe0658a4b82cb835110699d0;hp=b2aaf0e21524bf7f1998bac5dc77a6051e35139c;hpb=dac48f2dbe34915755f8f4f7f88419f47dc9e27f;p=awesomized%2Flibmemcached diff --git a/libhashkit/common.h b/libhashkit/common.h index b2aaf0e2..5cf8b9f5 100644 --- a/libhashkit/common.h +++ b/libhashkit/common.h @@ -6,14 +6,9 @@ * 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 #include #include @@ -21,7 +16,11 @@ extern "C" { #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); @@ -32,5 +31,3 @@ int update_continuum(hashkit_st *hashkit); #ifdef __cplusplus } #endif - -#endif /* HASHKIT_COMMON_H */