diff options
author | Trond Norbye <trond.norbye@gmail.com> | 2010-09-13 14:27:18 +0200 |
---|---|---|
committer | Trond Norbye <trond.norbye@gmail.com> | 2010-09-13 14:27:18 +0200 |
commit | 19a3233e3e645a7f4db7822625a0f57337bffe37 (patch) | |
tree | 418771c43694f00edb734ae0cb93f0a6f60f8311 | |
parent | c63b3f26c9e8d0214d3e1c70fb761f7700d61d2d (diff) | |
download | libmemcached-19a3233e3e645a7f4db7822625a0f57337bffe37.tar.gz |
Don't include system headers within an extern C block
-rw-r--r-- | libhashkit/common.h | 8 |
1 files 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 <assert.h> @@ -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); |