summaryrefslogtreecommitdiff
path: root/md5_utils.h
diff options
context:
space:
mode:
authorJames Zern <jzern@google.com>2014-01-18 12:16:11 -0800
committerJames Zern <jzern@google.com>2014-01-23 19:42:59 -0800
commit25cfd8e8c4f845d5c29435c934c8ba329f3aa7ba (patch)
tree998b777facf6df75237b0e3d380d89b9e06df6e2 /md5_utils.h
parenta5d23f547a4ae7a0a5b17c0a22f196b5fff6584f (diff)
downloadlibvpx-25cfd8e8c4f845d5c29435c934c8ba329f3aa7ba.tar.gz
top-level: add extern "C" to headers
Change-Id: I5164df72aff84eca0ace56032c5373f04053c6a5
Diffstat (limited to 'md5_utils.h')
-rw-r--r--md5_utils.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/md5_utils.h b/md5_utils.h
index 9935eae6d..bd4991b3a 100644
--- a/md5_utils.h
+++ b/md5_utils.h
@@ -23,6 +23,10 @@
#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]);
+#ifdef __cplusplus
+} // extern "C"
+#endif
+
#endif // MD5_UTILS_H_