summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/util/u_video.h
diff options
context:
space:
mode:
authorEmil Velikov <emil.velikov@collabora.com>2015-11-25 20:43:03 +0000
committerEmil Velikov <emil.l.velikov@gmail.com>2016-03-09 17:21:39 +0000
commit373f118c6c750d717fd0727fc3fc191828714c6f (patch)
tree09eebda7e8291ed3cd01960aaa84728a9c36a114 /src/gallium/auxiliary/util/u_video.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 <jfonseca@vmware.com> Cc: Brian Paul <brianp@vmware.com> Cc: Alexander von Gluck IV <kallisti5@unixzen.com> Signed-off-by: Emil Velikov <emil.velikov@collabora.com> Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
Diffstat (limited to 'src/gallium/auxiliary/util/u_video.h')
-rw-r--r--src/gallium/auxiliary/util/u_video.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gallium/auxiliary/util/u_video.h b/src/gallium/auxiliary/util/u_video.h
index ddc00216105..9196afc11be 100644
--- a/src/gallium/auxiliary/util/u_video.h
+++ b/src/gallium/auxiliary/util/u_video.h
@@ -28,10 +28,6 @@
#ifndef U_VIDEO_H
#define U_VIDEO_H
-#ifdef __cplusplus
-extern "C" {
-#endif
-
#include "pipe/p_defines.h"
#include "pipe/p_video_enums.h"
@@ -40,6 +36,10 @@ extern "C" {
#include "util/u_debug.h"
#include "util/u_math.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
static inline enum pipe_video_format
u_reduce_video_profile(enum pipe_video_profile profile)
{