]> git.mxchange.org Git - simgear.git/commitdiff
Oops, it doesn't do much good to declare a function as "static" in the .hxx
authorcurt <curt>
Mon, 11 Aug 2003 19:42:08 +0000 (19:42 +0000)
committercurt <curt>
Mon, 11 Aug 2003 19:42:08 +0000 (19:42 +0000)
simgear/screen/extensions.cxx
simgear/screen/extensions.hxx

index c16509f6fabe24e632f67727f6f3c52eda31a41b..75f7d11e7655594004f6fc3340564dc03635469a 100644 (file)
@@ -26,7 +26,7 @@
 
 #include "extensions.hxx"
 
-bool SGSearchExtensionsString(char *extString, char *extName) {
+static bool SGSearchExtensionsString(char *extString, char *extName) {
     // Returns GL_TRUE if the *extName string appears in the *extString string,
     // surrounded by white spaces, or GL_FALSE otherwise.
 
index 43a7e348d8fc8ca97c3be1a48d11cdd3ddf89a3f..8fd83c6edf604eb3a04b5b2fe2637994f2699b34 100644 (file)
@@ -41,7 +41,7 @@ extern "C" {
 #define APIENTRY
 #endif
 
-static bool SGSearchExtensionsString(char *extString, char *extName);
+    // static bool SGSearchExtensionsString(char *extString, char *extName);
 bool SGIsOpenGLExtensionSupported(char *extName);
 
 #ifdef __APPLE__