From d2d0f28dc720f138e00ceeb70ccb9a68553b98c8 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 18 Dec 2013 11:59:42 +0300 Subject: add restrict into sdl2helper. --- src/utils/sdl2helper.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/utils/sdl2helper.cpp') diff --git a/src/utils/sdl2helper.cpp b/src/utils/sdl2helper.cpp index b36fd8733..ff50e29c8 100644 --- a/src/utils/sdl2helper.cpp +++ b/src/utils/sdl2helper.cpp @@ -88,7 +88,8 @@ bool SDL::getWindowWMInfo(SDL_Window *const window, SDL_SysWMinfo *const info) } SDL_Thread *SDL::createThread(SDL_ThreadFunction fn, - const char *const name, void *const data) + const char *restrict const name, + void *restrict const data) { return SDL_CreateThread(fn, name, data); } -- cgit v1.2.3-60-g2f50