X-Git-Url: https://oss.titaniummirror.com/gitweb?p=msp430-binutils.git;a=blobdiff_plain;f=include%2Fmd5.h;fp=include%2Fmd5.h;h=b3ff4e14538dc67c3a07d16db7ff057c6359553e;hp=e8eedb96d60b069a3a76ff44a02656aa2d76e1a2;hb=88750007d7869f178f0ba528f41efd3b74c424cf;hpb=6df9443a374e2b81278c61b8afc0a1eef7db280b diff --git a/include/md5.h b/include/md5.h index e8eedb9..b3ff4e1 100644 --- a/include/md5.h +++ b/include/md5.h @@ -72,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 { @@ -138,4 +142,8 @@ extern int md5_stream (FILE *stream, void *resblock); digest. */ extern void *md5_buffer (const char *buffer, size_t len, void *resblock); +#ifdef __cplusplus +} +#endif + #endif