# SDL: Add missing \`(void)\` in functions params (38d11)

**URL:** <https://discourse.libsdl.org/t/sdl-add-missing-void-in-functions-params-38d11/48319>\
**Category:** SDL Commits\
**Created:** [January 13, 2024, 7:48pm UTC](https://discourse.libsdl.org/t/sdl-add-missing-void-in-functions-params-38d11/48319 "2024-01-13T19:48:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![SDLPushPostBot](https://discourse.libsdl.org/user_avatar/discourse.libsdl.org/sdlpushpostbot/32/4370_2.png) [@SDLPushPostBot](https://discourse.libsdl.org/u/SDLPushPostBot)\
**Post date:** [January 13, 2024, 7:48pm UTC](https://discourse.libsdl.org/t/sdl-add-missing-void-in-functions-params-38d11/48319/1 "2024-01-13T19:48:07Z")

</div>

> <https://github.com/libsdl-org/SDL/commit/38d11e5cc68bc3c20861448572d7ba6e9f2261ee>

```diff
From 38d11e5cc68bc3c20861448572d7ba6e9f2261ee Mon Sep 17 00:00:00 2001
From: Susko3 <[EMAIL REDACTED]>
Date: Tue, 26 Dec 2023 21:18:02 +0100
Subject: [PATCH] Add missing `(void)` in functions params

---
 src/video/windows/SDL_windowsevents.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/video/windows/SDL_windowsevents.c b/src/video/windows/SDL_windowsevents.c
index e58bc390ef12..01a3099e8237 100644
--- a/src/video/windows/SDL_windowsevents.c
+++ b/src/video/windows/SDL_windowsevents.c
@@ -579,7 +579,7 @@ typedef enum
     SDL_MOUSE_EVENT_SOURCE_PEN,
 } SDL_MOUSE_EVENT_SOURCE;
 
-static SDL_MOUSE_EVENT_SOURCE GetMouseMessageSource()
+static SDL_MOUSE_EVENT_SOURCE GetMouseMessageSource(void)
 {
     LPARAM extrainfo = GetMessageExtraInfo();
     /* Mouse data (ignoring synthetic mouse events generated for touchscreens) */

```
