summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2008-03-25 00:19:55 +0000
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2008-03-25 00:19:55 +0000
commit2903a145dfd216bcd8dfbdaae22f1c3c501502b3 (patch)
tree85cd718f0c0608e8808b3d254a1bc92ebcbff1c3 /include
parent06f2e3c68e4f31e2efca41ecee92c441acfc044d (diff)
downloadgcc-2903a145dfd216bcd8dfbdaae22f1c3c501502b3.tar.gz
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
Diffstat (limited to 'include')
-rw-r--r--include/md5.h8
1 files 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 <stdio.h>
#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
{