Move __PHYSFS_strdup() declaration up with other string helpers.
authorRyan C. Gordon <icculus@icculus.org>
Thu, 25 Feb 2016 00:40:17 -0500
changeset 1370 75ac8ab59394
parent 1369 07608593ec07
child 1371 da48b9ff4c9b
Move __PHYSFS_strdup() declaration up with other string helpers.
src/physfs_internal.h
--- a/src/physfs_internal.h	Wed Feb 24 11:15:00 2016 -0500
+++ b/src/physfs_internal.h	Thu Feb 25 00:40:17 2016 -0500
@@ -247,6 +247,11 @@
  */
 int __PHYSFS_strnicmpASCII(const char *s1, const char *s2, PHYSFS_uint32 l);
 
+/*
+ * Like strdup(), but uses the current PhysicsFS allocator.
+ */
+char *__PHYSFS_strdup(const char *str);
+
 
 /*
  * The current allocator. Not valid before PHYSFS_init is called!
@@ -631,11 +636,6 @@
  */
 int __PHYSFS_platformSetDefaultAllocator(PHYSFS_Allocator *a);
 
-/*
- * Like strdup(), but uses the current PhysicsFS allocator.
- */
-char *__PHYSFS_strdup(const char *str);
-
 #ifdef __cplusplus
 }
 #endif