summaryrefslogtreecommitdiff
path: root/vp8/common/treecoder.h
diff options
context:
space:
mode:
Diffstat (limited to 'vp8/common/treecoder.h')
-rw-r--r--vp8/common/treecoder.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/vp8/common/treecoder.h b/vp8/common/treecoder.h
index edb4b5775..d22b7c570 100644
--- a/vp8/common/treecoder.h
+++ b/vp8/common/treecoder.h
@@ -12,6 +12,10 @@
#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_