Commit f96cdca4e7c65af37ba2abad77853bff12aff744

Philipp Wiesemann 2017-04-02T21:33:42

Mir: Changed two internal functions to be static.

diff --git a/src/video/mir/SDL_mirwindow.c b/src/video/mir/SDL_mirwindow.c
index 62cdbd7..41bd252 100644
--- a/src/video/mir/SDL_mirwindow.c
+++ b/src/video/mir/SDL_mirwindow.c
@@ -36,7 +36,7 @@
 
 #include "SDL_mirdyn.h"
 
-int
+static int
 IsMirWindowValid(MIR_Window* mir_window)
 {
     if (!MIR_mir_window_is_valid(mir_window->window)) {
@@ -47,7 +47,7 @@ IsMirWindowValid(MIR_Window* mir_window)
     return 1;
 }
 
-MirPixelFormat
+static MirPixelFormat
 FindValidPixelFormat(MIR_Data* mir_data)
 {
     unsigned int pf_size = 32;