summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/util/u_helpers.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/auxiliary/util/u_helpers.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/auxiliary/util/u_helpers.h')
-rw-r--r--src/gallium/auxiliary/util/u_helpers.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/util/u_helpers.h b/src/gallium/auxiliary/util/u_helpers.h
index f25f2807fe5..a9a53e4347a 100644
--- a/src/gallium/auxiliary/util/u_helpers.h
+++ b/src/gallium/auxiliary/util/u_helpers.h
@@ -28,12 +28,12 @@
#ifndef U_HELPERS_H
#define U_HELPERS_H
+#include "pipe/p_state.h"
+
#ifdef __cplusplus
extern "C" {
#endif
-#include "pipe/p_state.h"
-
void util_set_vertex_buffers_mask(struct pipe_vertex_buffer *dst,
uint32_t *enabled_buffers,
const struct pipe_vertex_buffer *src,