diff --git a/src/video/cocoa/SDL_cocoamouse.m b/src/video/cocoa/SDL_cocoamouse.m index 5680ef58c..e9d832d64 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;