summaryrefslogtreecommitdiff
path: root/src/utils/sdl2helper.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/sdl2helper.h')
-rw-r--r--src/utils/sdl2helper.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/utils/sdl2helper.h b/src/utils/sdl2helper.h
index 869fc1d21..7d2743815 100644
--- a/src/utils/sdl2helper.h
+++ b/src/utils/sdl2helper.h
@@ -49,7 +49,8 @@ namespace SDL
bool getWindowWMInfo(SDL_Window *const window, SDL_SysWMinfo *const info);
SDL_Thread *createThread(SDL_ThreadFunction fn,
- const char *const name, void *const data);
+ const char *restrict const name,
+ void *restrict const data);
} // namespace SDL
#endif // USE_SDL2