From: Trond Norbye Date: Mon, 13 Sep 2010 12:27:18 +0000 (+0200) Subject: Don't include system headers within an extern C block X-Git-Tag: 0.44~2^2~3 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=19a3233e3e645a7f4db7822625a0f57337bffe37;p=m6w6%2Flibmemcached Don't include system headers within an extern C block --- diff --git a/libhashkit/common.h b/libhashkit/common.h index b2aaf0e2..dff3ab0b 100644 --- a/libhashkit/common.h +++ b/libhashkit/common.h @@ -9,10 +9,6 @@ #ifndef HASHKIT_COMMON_H #define HASHKIT_COMMON_H -#ifdef __cplusplus -extern "C" { -#endif - #include "config.h" #include @@ -23,6 +19,10 @@ extern "C" { #include "hashkit.h" +#ifdef __cplusplus +extern "C" { +#endif + HASHKIT_LOCAL void md5_signature(const unsigned char *key, unsigned int length, unsigned char *result);