From 19a3233e3e645a7f4db7822625a0f57337bffe37 Mon Sep 17 00:00:00 2001 From: Trond Norbye Date: Mon, 13 Sep 2010 14:27:18 +0200 Subject: [PATCH] Don't include system headers within an extern C block --- libhashkit/common.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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); -- 2.30.2