diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2008-03-25 00:19:55 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2008-03-25 00:19:55 +0000 |
commit | 8e291ddfb2b1e16d6c0355b2f92c6ac7d2241a06 (patch) | |
tree | 85cd718f0c0608e8808b3d254a1bc92ebcbff1c3 /include/md5.h | |
parent | 538de5e6f0e8418d3c24f3096726c6818f2d4749 (diff) | |
download | gcc-8e291ddfb2b1e16d6c0355b2f92c6ac7d2241a06.zip gcc-8e291ddfb2b1e16d6c0355b2f92c6ac7d2241a06.tar.gz gcc-8e291ddfb2b1e16d6c0355b2f92c6ac7d2241a06.tar.bz2 |
Fix this patch:
* md5.h: Add extern "C" when compiled with C++.
From-SVN: r133502
Diffstat (limited to 'include/md5.h')
-rw-r--r-- | include/md5.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/md5.h b/include/md5.h index c8602ee..b3ff4e1 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 { |