From e608c5c3dedf12092a9461994260af709ba6622e Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Thu, 25 Feb 2016 00:40:17 -0500 Subject: [PATCH] Move __PHYSFS_strdup() declaration up with other string helpers. --- src/physfs_internal.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/physfs_internal.h b/src/physfs_internal.h index af69b4c..2691e3f 100644 --- a/src/physfs_internal.h +++ b/src/physfs_internal.h @@ -247,6 +247,11 @@ int __PHYSFS_stricmpASCII(const char *s1, const char *s2); */ 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 @@ void __PHYSFS_platformReleaseMutex(void *mutex); */ int __PHYSFS_platformSetDefaultAllocator(PHYSFS_Allocator *a); -/* - * Like strdup(), but uses the current PhysicsFS allocator. - */ -char *__PHYSFS_strdup(const char *str); - #ifdef __cplusplus } #endif