Skip to content

Commit

Permalink
Move __PHYSFS_strdup() declaration up with other string helpers.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Feb 25, 2016
1 parent 0278c30 commit e608c5c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/physfs_internal.h
Expand Up @@ -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!
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit e608c5c

Please sign in to comment.