Fix this patch:

* md5.h: Add extern "C" when compiled with C++.

From-SVN: r133502
This commit is contained in:
Ian Lance Taylor 2008-03-25 00:19:55 +00:00
parent 538de5e6f0
commit 8e291ddfb2

View File

@ -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
{