aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/include/pipe/p_video_enums.h
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2015-11-25 20:43:03 +0000
committerEmil Velikov <[email protected]>2016-03-09 17:21:39 +0000
commit373f118c6c750d717fd0727fc3fc191828714c6f (patch)
tree09eebda7e8291ed3cd01960aaa84728a9c36a114 /src/gallium/include/pipe/p_video_enums.h
parent69d389c52f91e4d36e740f804a36b50af657a786 (diff)
gallium: do not wrap header inclusion in
Add one missing extern C guard within include/pipe/p_video_enums.h, and remove the wrapping throughout gallium. On Haiku one could even use the gallium debug_printf() although that's another topic. v2: Leave dbghelp.h as is (Jose) Cc: Jose Fonseca <[email protected]> Cc: Brian Paul <[email protected]> Cc: Alexander von Gluck IV <[email protected]> Signed-off-by: Emil Velikov <[email protected]> Reviewed-by: Jose Fonseca <[email protected]>
Diffstat (limited to 'src/gallium/include/pipe/p_video_enums.h')
-rw-r--r--src/gallium/include/pipe/p_video_enums.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gallium/include/pipe/p_video_enums.h b/src/gallium/include/pipe/p_video_enums.h
index 9a20146f43e..aff7842a888 100644
--- a/src/gallium/include/pipe/p_video_enums.h
+++ b/src/gallium/include/pipe/p_video_enums.h
@@ -28,6 +28,10 @@
#ifndef PIPE_VIDEO_ENUMS_H
#define PIPE_VIDEO_ENUMS_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
enum pipe_video_format
{
PIPE_VIDEO_FORMAT_UNKNOWN = 0,
@@ -87,4 +91,8 @@ enum pipe_video_entrypoint
PIPE_VIDEO_ENTRYPOINT_ENCODE
};
+#if defined(__cplusplus)
+}
+#endif
+
#endif /* PIPE_VIDEO_ENUMS_H */