Browse Source

haiku: Changed internal variable to be static.

Philipp Wiesemann 7 years ago
parent
commit
07b0df0a22
2 changed files with 1 additions and 3 deletions
  1. 1 1
      src/main/haiku/SDL_BeApp.cc
  2. 0 2
      src/main/haiku/SDL_BeApp.h

+ 1 - 1
src/main/haiku/SDL_BeApp.cc

@@ -45,7 +45,7 @@ extern "C" {
 #include "../../thread/SDL_systhread.h"
 
 /* Flag to tell whether or not the Be application is active or not */
-int SDL_BeAppActive = 0;
+static int SDL_BeAppActive = 0;
 static SDL_Thread *SDL_AppThread = NULL;
 
 static int

+ 0 - 2
src/main/haiku/SDL_BeApp.h

@@ -31,8 +31,6 @@ extern int SDL_InitBeApp(void);
 /* Quit the Be Application, if there's nothing left to do */
 extern void SDL_QuitBeApp(void);
 
-/* Flag to tell whether the app is active or not */
-extern int SDL_BeAppActive;
 /* vi: set ts=4 sw=4 expandtab: */
 
 #ifdef __cplusplus