diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-04-18 16:44:23 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-04-18 16:44:23 +0300 |
commit | c6c19ae251b6004a0972a0e5cc1750b79abaeb4a (patch) | |
tree | 921f7a1a952195b40233f8d552f27fb745f8cffe /src/utils/physfsrwops.h | |
parent | 4bfeee3b4b6c2f58c0231fd5fe7e4c7c6042dc91 (diff) | |
download | plus-c6c19ae251b6004a0972a0e5cc1750b79abaeb4a.tar.gz plus-c6c19ae251b6004a0972a0e5cc1750b79abaeb4a.tar.bz2 plus-c6c19ae251b6004a0972a0e5cc1750b79abaeb4a.tar.xz plus-c6c19ae251b6004a0972a0e5cc1750b79abaeb4a.zip |
improve physfsrwops file.
Diffstat (limited to 'src/utils/physfsrwops.h')
-rw-r--r-- | src/utils/physfsrwops.h | 8 |
1 files changed, 4 insertions, 4 deletions
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 */ |