summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/libvpx/source/libvpx/vp8/common/treecoder.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/libvpx/source/libvpx/vp8/common/treecoder.h')
-rw-r--r--chromium/third_party/libvpx/source/libvpx/vp8/common/treecoder.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/chromium/third_party/libvpx/source/libvpx/vp8/common/treecoder.h b/chromium/third_party/libvpx/source/libvpx/vp8/common/treecoder.h
index ebf51c5ed65..d22b7c570cb 100644
--- a/chromium/third_party/libvpx/source/libvpx/vp8/common/treecoder.h
+++ b/chromium/third_party/libvpx/source/libvpx/vp8/common/treecoder.h
@@ -9,8 +9,12 @@
*/
-#ifndef __INC_TREECODER_H
-#define __INC_TREECODER_H
+#ifndef VP8_COMMON_TREECODER_H_
+#define VP8_COMMON_TREECODER_H_
+
+#ifdef __cplusplus
+extern "C" {
+#endif
typedef unsigned char vp8bc_index_t; /* probability index */
@@ -87,4 +91,8 @@ void vp8bc_tree_probs_from_distribution(
);
+#ifdef __cplusplus
+} // extern "C"
#endif
+
+#endif // VP8_COMMON_TREECODER_H_