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=d5da4f291af551c0b8b79e1d4a9b173d60e5c10e;hpb=7b5ea4fcdf2819e070665ab5610f8b48e3867c10 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