From 8e291ddfb2b1e16d6c0355b2f92c6ac7d2241a06 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Tue, 25 Mar 2008 00:19:55 +0000 Subject: [PATCH] Fix this patch: * md5.h: Add extern "C" when compiled with C++. From-SVN: r133502 --- include/md5.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/md5.h b/include/md5.h index c8602ee1400..b3ff4e14538 100644 --- a/include/md5.h +++ b/include/md5.h @@ -21,10 +21,6 @@ #ifndef _MD5_H #define _MD5_H 1 -#ifdef __cplusplus -extern "C" { -#endif - #include #if defined HAVE_LIMITS_H || _LIBC @@ -76,6 +72,10 @@ typedef uintptr_t md5_uintptr; typedef unsigned long int md5_uintptr; #endif +#ifdef __cplusplus +extern "C" { +#endif + /* Structure to save state of computation between the single steps. */ struct md5_ctx { -- 2.30.2