[PATCH 2/2] sandbox: sdl: make window variable static

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



the `window` variable doesn't seems to be used outside of this file,
thus doesn't need to be exported and can be made static.

Signed-off-by: Jules Maselbas <jmaselbas@xxxxxxxx>
---
 arch/sandbox/os/sdl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/sandbox/os/sdl.c b/arch/sandbox/os/sdl.c
index 0c31b6ce87..e4c6f1a587 100644
--- a/arch/sandbox/os/sdl.c
+++ b/arch/sandbox/os/sdl.c
@@ -18,7 +18,7 @@ static void sdl_perror(const char *what)
 
 static struct sdl_fb_info info;
 static SDL_atomic_t shutdown;
-SDL_Window *window;
+static SDL_Window *window;
 
 static void handle_sdl_events(void)
 {
-- 
2.48.1





[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux