Sfoglia il codice sorgente

Make Cocoa_HandleTitleButtonEvent() static since it's not used anywhere else

Sam Lantinga 4 anni fa
parent
commit
dfd3f30e88
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/video/cocoa/SDL_cocoamouse.m

+ 1 - 1
src/video/cocoa/SDL_cocoamouse.m

@@ -353,7 +353,7 @@ Cocoa_InitMouse(_THIS)
     return 0;
 }
 
-void
+static void
 Cocoa_HandleTitleButtonEvent(_THIS, NSEvent *event)
 {
     SDL_Window *window;