summaryrefslogtreecommitdiffstats
path: root/src/glx/x11/indirect.h
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2005-01-28 19:00:54 +0000
committerIan Romanick <[email protected]>2005-01-28 19:00:54 +0000
commit16c3c7401846bbc7c300e6a9b433584ec5b68699 (patch)
treeb34e784e5b84cf802a50fae6d1544aae4bd28b14 /src/glx/x11/indirect.h
parent8d27148bbd13fbc8192f9c5aeeb9b39b92f1045d (diff)
Refactor the code to emit multiple-inclusion protection to
FilterGLAPISpecBase. Since the size_h mode of glX_proto_size.py will be used to generate multiple header files, add an option to specify the define that is used for multiple-inclusion protection. The changes to the header files in this commit are just a side-effect of the changes to the Python scripts.
Diffstat (limited to 'src/glx/x11/indirect.h')
-rw-r--r--src/glx/x11/indirect.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/glx/x11/indirect.h b/src/glx/x11/indirect.h
index f5ffe1c483b..cb14dbc75e8 100644
--- a/src/glx/x11/indirect.h
+++ b/src/glx/x11/indirect.h
@@ -26,6 +26,8 @@
* SOFTWARE.
*/
+#if !defined( _INDIRECT_H_ )
+# define _INDIRECT_H_
/**
* \file
@@ -35,10 +37,6 @@
* \author Ian Romanick <[email protected]>
*/
-#if !defined( _INDIRECT_H_ )
-# define _INDIRECT_H_
-
-
# if __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 3)
# define HIDDEN __attribute__((visibility("hidden")))
# else
@@ -522,4 +520,5 @@ extern HIDDEN void __indirect_glMultiDrawArraysEXT(GLenum mode, GLint * first, G
extern HIDDEN void __indirect_glMultiDrawElementsEXT(GLenum mode, const GLsizei * count, GLenum type, const GLvoid ** indices, GLsizei primcount);
extern HIDDEN void __indirect_glActiveStencilFaceEXT(GLenum face);
# undef HIDDEN
+
#endif /* !defined( _INDIRECT_H_ ) */