Commit dfd3f30e88dcb4cb48635ae2a3734322b85a568c

Sam Lantinga 2021-07-27T14:27:37

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

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/video/cocoa/SDL_cocoamouse.m b/src/video/cocoa/SDL_cocoamouse.m
index 5680ef5..e9d832d 100644
--- a/src/video/cocoa/SDL_cocoamouse.m
+++ b/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;