summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/util/u_tests.h
diff options
context:
space:
mode:
authorAlexander von Gluck IV <[email protected]>2015-05-14 17:19:44 -0500
committerAlexander von Gluck IV <[email protected]>2015-05-15 13:55:59 -0400
commit40a8b2f92a8aef25199324046114023c4ed3d772 (patch)
treea19601f773cd88dd084259784513abb3f3146811 /src/gallium/auxiliary/util/u_tests.h
parent3687d752e51829b4723c9abb07ae56d2bbcda570 (diff)
gallium/aux: Add needed extern "C" wrappers
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/util/u_tests.h')
-rw-r--r--src/gallium/auxiliary/util/u_tests.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/util/u_tests.h b/src/gallium/auxiliary/util/u_tests.h
index 49ae54f876b..106b0a0a938 100644
--- a/src/gallium/auxiliary/util/u_tests.h
+++ b/src/gallium/auxiliary/util/u_tests.h
@@ -30,8 +30,16 @@
#include "pipe/p_compiler.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
struct pipe_screen;
void util_run_tests(struct pipe_screen *screen);
+#ifdef __cplusplus
+}
+#endif
+
#endif