projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
538de5e
)
Fix this patch:
author
Ian Lance Taylor
<ian@gcc.gnu.org>
Tue, 25 Mar 2008 00:19:55 +0000
(
00:19
+0000)
committer
Ian Lance Taylor
<ian@gcc.gnu.org>
Tue, 25 Mar 2008 00:19:55 +0000
(
00:19
+0000)
* md5.h: Add extern "C" when compiled with C++.
From-SVN: r133502
include/md5.h
patch
|
blob
|
history
diff --git
a/include/md5.h
b/include/md5.h
index c8602ee140033f7894720f5b0cc93acd64a2e6b4..b3ff4e14538dc67c3a07d16db7ff057c6359553e 100644
(file)
--- 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
{