From 2903a145dfd216bcd8dfbdaae22f1c3c501502b3 Mon Sep 17 00:00:00 2001 From: ian Date: Tue, 25 Mar 2008 00:19:55 +0000 Subject: Fix this patch: * md5.h: Add extern "C" when compiled with C++. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@133502 138bc75d-0d04-0410-961f-82ee72b054a4 --- include/md5.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'include') 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 { -- cgit v1.2.1