From 34b2fb221130af772356e47b047854c02b0bdef0 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 18 Dec 2013 11:42:47 +0300 Subject: add restrict into physfscheckutils. --- src/utils/physfscheckutils.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/utils/physfscheckutils.cpp') diff --git a/src/utils/physfscheckutils.cpp b/src/utils/physfscheckutils.cpp index 61e6e68e7..6b443dc65 100644 --- a/src/utils/physfscheckutils.cpp +++ b/src/utils/physfscheckutils.cpp @@ -51,9 +51,9 @@ namespace std::map mRWops; } // namespace -static SDL_RWops *addRWops(SDL_RWops *const rwops, - const char *const name, - const char *const file, +static SDL_RWops *addRWops(SDL_RWops *restrict const rwops, + const char *restrict const name, + const char *restrict const file, const unsigned line) { if (!rwops) @@ -84,8 +84,8 @@ static void deleteRWops(SDL_RWops *const rwops) } } -SDL_RWops *FakePHYSFSRWOPS_openRead(const char *const name, - const char *const file, +SDL_RWops *FakePHYSFSRWOPS_openRead(const char *restrict const name, + const char *restrict const file, const unsigned line) { return addRWops(PHYSFSRWOPS_openRead(name), name, file, line); -- cgit v1.2.3-70-g09d2