]> oss.titaniummirror.com Git - msp430-binutils.git/blobdiff - include/md5.h
Merge commit 'upstream/2.20'
[msp430-binutils.git] / include / md5.h
index e8eedb96d60b069a3a76ff44a02656aa2d76e1a2..b3ff4e14538dc67c3a07d16db7ff057c6359553e 100644 (file)
@@ -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