summaryrefslogtreecommitdiff
path: root/src/utils/physfsrwops.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-04-18 16:44:23 +0300
committerAndrei Karas <akaras@inbox.ru>2013-04-18 16:44:23 +0300
commitc6c19ae251b6004a0972a0e5cc1750b79abaeb4a (patch)
tree921f7a1a952195b40233f8d552f27fb745f8cffe /src/utils/physfsrwops.h
parent4bfeee3b4b6c2f58c0231fd5fe7e4c7c6042dc91 (diff)
downloadmv-c6c19ae251b6004a0972a0e5cc1750b79abaeb4a.tar.gz
mv-c6c19ae251b6004a0972a0e5cc1750b79abaeb4a.tar.bz2
mv-c6c19ae251b6004a0972a0e5cc1750b79abaeb4a.tar.xz
mv-c6c19ae251b6004a0972a0e5cc1750b79abaeb4a.zip
improve physfsrwops file.
Diffstat (limited to 'src/utils/physfsrwops.h')
-rw-r--r--src/utils/physfsrwops.h8
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 */