summaryrefslogtreecommitdiff
path: root/src/gallium
diff options
context:
space:
mode:
authorJosé Fonseca <jrfonseca@tungstengraphics.com>2008-03-23 18:30:53 +0000
committerJosé Fonseca <jrfonseca@tungstengraphics.com>2008-03-23 18:38:31 +0000
commit312cbc5a5c7416745976c2281a9bbce6e3332965 (patch)
treed1b837bc473b18b03f9e441adf5cb6cba09f2d66 /src/gallium
parent301b187ca9a811b608894d20bab934af0a10b8ab (diff)
gallium: wrap decls in extern "C"
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/softpipe/sp_winsys.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/gallium/drivers/softpipe/sp_winsys.h b/src/gallium/drivers/softpipe/sp_winsys.h
index fc372dba27..291825dfe2 100644
--- a/src/gallium/drivers/softpipe/sp_winsys.h
+++ b/src/gallium/drivers/softpipe/sp_winsys.h
@@ -37,6 +37,12 @@
#include "pipe/p_compiler.h" /* for boolean */
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
enum pipe_format;
struct softpipe_winsys {
@@ -60,4 +66,8 @@ struct pipe_screen *
softpipe_create_screen(struct pipe_winsys *);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* SP_WINSYS_H */