From c6c19ae251b6004a0972a0e5cc1750b79abaeb4a Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 18 Apr 2013 16:44:23 +0300 Subject: improve physfsrwops file. --- src/utils/physfsrwops.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/utils/physfsrwops.h') diff --git a/src/utils/physfsrwops.h b/src/utils/physfsrwops.h index 6faa52a0e..c7d85bd22 100644 --- a/src/utils/physfsrwops.h +++ b/src/utils/physfsrwops.h @@ -41,7 +41,7 @@ * @return A valid SDL_RWops structure on success, NULL on error. Specifics * of the error can be gleaned from PHYSFS_getLastError(). */ -SDL_RWops *PHYSFSRWOPS_openRead(const char *fname) A_WARN_UNUSED; +SDL_RWops *PHYSFSRWOPS_openRead(const char *const fname) A_WARN_UNUSED; /** * Open a platform-independent filename for writing, and make it accessible @@ -53,7 +53,7 @@ SDL_RWops *PHYSFSRWOPS_openRead(const char *fname) A_WARN_UNUSED; * @return A valid SDL_RWops structure on success, NULL on error. Specifics * of the error can be gleaned from PHYSFS_getLastError(). */ -SDL_RWops *PHYSFSRWOPS_openWrite(const char *fname) A_WARN_UNUSED; +SDL_RWops *PHYSFSRWOPS_openWrite(const char *const fname) A_WARN_UNUSED; /** * Open a platform-independent filename for appending, and make it accessible @@ -65,7 +65,7 @@ SDL_RWops *PHYSFSRWOPS_openWrite(const char *fname) A_WARN_UNUSED; * @return A valid SDL_RWops structure on success, NULL on error. Specifics * of the error can be gleaned from PHYSFS_getLastError(). */ -SDL_RWops *PHYSFSRWOPS_openAppend(const char *fname) A_WARN_UNUSED; +SDL_RWops *PHYSFSRWOPS_openAppend(const char *const fname) A_WARN_UNUSED; /** * Make a SDL_RWops from an existing PhysicsFS file handle. You should @@ -77,7 +77,7 @@ SDL_RWops *PHYSFSRWOPS_openAppend(const char *fname) A_WARN_UNUSED; * @return A valid SDL_RWops structure on success, NULL on error. Specifics * of the error can be gleaned from PHYSFS_getLastError(). */ -SDL_RWops *PHYSFSRWOPS_makeRWops(PHYSFS_file *handle) A_WARN_UNUSED; +SDL_RWops *PHYSFSRWOPS_makeRWops(PHYSFS_file *const handle) A_WARN_UNUSED; #endif /* include-once blocker */ -- cgit v1.2.3-60-g2f50