summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/libvpx/source/libvpx/md5_utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/libvpx/source/libvpx/md5_utils.h')
-rw-r--r--chromium/third_party/libvpx/source/libvpx/md5_utils.h14
1 files changed, 11 insertions, 3 deletions
diff --git a/chromium/third_party/libvpx/source/libvpx/md5_utils.h b/chromium/third_party/libvpx/source/libvpx/md5_utils.h
index 81792c4af2a..bd4991b3ad9 100644
--- a/chromium/third_party/libvpx/source/libvpx/md5_utils.h
+++ b/chromium/third_party/libvpx/source/libvpx/md5_utils.h
@@ -20,8 +20,12 @@
* Still in the public domain.
*/
-#ifndef MD5_H
-#define MD5_H
+#ifndef MD5_UTILS_H_
+#define MD5_UTILS_H_
+
+#ifdef __cplusplus
+extern "C" {
+#endif
#define md5byte unsigned char
#define UWORD32 unsigned int
@@ -38,4 +42,8 @@ void MD5Update(struct MD5Context *context, md5byte const *buf, unsigned len);
void MD5Final(unsigned char digest[16], struct MD5Context *context);
void MD5Transform(UWORD32 buf[4], UWORD32 const in[16]);
-#endif /* !MD5_H */
+#ifdef __cplusplus
+} // extern "C"
+#endif
+
+#endif // MD5_UTILS_H_