]> git.mxchange.org Git - flightgear.git/blobdiff - XGL/xgl.h
Removed an extra #ifdef __cplusplus, then "}", #endif
[flightgear.git] / XGL / xgl.h
index 9546127c658bed25b96561308658ead1f15410d8..17edd57e9132a36296108104f7250a5851fc1f7e 100644 (file)
--- a/XGL/xgl.h
+++ b/XGL/xgl.h
@@ -2,6 +2,11 @@
 #define _XGL_H
 
 
+#ifdef __cplusplus                                                          
+extern "C" {                            
+#endif                                   
+
+
 #include <GL/gl.h>
 #include <GL/glu.h>
 #include <stdio.h>
@@ -820,10 +825,12 @@ void xglDeleteTexturesEXT           ( GLsizei n, GLuint *textures ) ;
 void xglGenTexturesEXT              ( GLsizei n, GLuint *textures ) ;
 void xglPrioritizeTexturesEXT       ( GLsizei n, GLuint *textures, GLclampf *priorities ) ;
 
-#ifdef __cplusplus
-}; 
 #endif
 
+
+#ifdef __cplusplus
+}
 #endif
 
+
 #endif /* _XGL_H */