Replace usage of strsep with POSIX strtok_r()
This commit is contained in:
@@ -183,14 +183,6 @@
|
||||
*/
|
||||
@ISC_PLATFORM_QUADFORMAT@
|
||||
|
||||
/***
|
||||
*** String functions.
|
||||
***/
|
||||
/*
|
||||
* If the system needs strsep(), ISC_PLATFORM_NEEDSTRSEP will be defined.
|
||||
*/
|
||||
@ISC_PLATFORM_NEEDSTRSEP@
|
||||
|
||||
/*
|
||||
* If the system needs strlcpy(), ISC_PLATFORM_NEEDSTRLCPY will be defined.
|
||||
*/
|
||||
|
||||
@@ -32,13 +32,6 @@
|
||||
|
||||
ISC_LANG_BEGINDECLS
|
||||
|
||||
char *
|
||||
isc_string_separate(char **stringp, const char *delim);
|
||||
|
||||
#ifdef ISC_PLATFORM_NEEDSTRSEP
|
||||
#define strsep isc_string_separate
|
||||
#endif
|
||||
|
||||
#ifdef ISC_PLATFORM_NEEDMEMMOVE
|
||||
#define memmove(a,b,c) bcopy(b,a,c)
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user