diff options
author | Emil Velikov <[email protected]> | 2015-11-25 20:43:03 +0000 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2016-03-09 17:21:39 +0000 |
commit | 373f118c6c750d717fd0727fc3fc191828714c6f (patch) | |
tree | 09eebda7e8291ed3cd01960aaa84728a9c36a114 /src/gallium/auxiliary/tgsi | |
parent | 69d389c52f91e4d36e740f804a36b50af657a786 (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/tgsi')
-rw-r--r-- | src/gallium/auxiliary/tgsi/tgsi_sanity.h | 4 | ||||
-rw-r--r-- | src/gallium/auxiliary/tgsi/tgsi_text.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi_sanity.h b/src/gallium/auxiliary/tgsi/tgsi_sanity.h index 1ff7874b8ce..b78d1aba714 100644 --- a/src/gallium/auxiliary/tgsi/tgsi_sanity.h +++ b/src/gallium/auxiliary/tgsi/tgsi_sanity.h @@ -28,12 +28,12 @@ #ifndef TGSI_SANITY_H #define TGSI_SANITY_H +#include "pipe/p_compiler.h" + #if defined __cplusplus extern "C" { #endif -#include "pipe/p_compiler.h" - struct tgsi_token; /* Check the given token stream for errors and common mistakes. diff --git a/src/gallium/auxiliary/tgsi/tgsi_text.h b/src/gallium/auxiliary/tgsi/tgsi_text.h index 6a306e6b674..a34565795a9 100644 --- a/src/gallium/auxiliary/tgsi/tgsi_text.h +++ b/src/gallium/auxiliary/tgsi/tgsi_text.h @@ -28,12 +28,12 @@ #ifndef TGSI_TEXT_H #define TGSI_TEXT_H +#include "pipe/p_compiler.h" + #if defined __cplusplus extern "C" { #endif -#include "pipe/p_compiler.h" - struct tgsi_token; boolean |