From b61345a1add0789a12fe341563374d64b5134771 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sun, 7 Oct 2001 20:26:31 +0000 Subject: Update. 2001-10-04 Ben Collins * sysdeps/generic/inttypes.h: Fix typo (define, not defined) in decleration of __need_wchar_t. 2001-10-03 Jakub Jelinek * string/bits/string2.h (__strsep_g): Add prototype. (__strsep): Use it. * string/Versions (__strsep): Remove. * sysdeps/generic/strsep.c (__strsep_g): Add alias to __strsep. 2001-10-07 Ulrich Drepper * manua/llio.texi: Clarify file references added by mmap. Patch by Marcus Brinkmann . --- string/bits/string2.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'string/bits/string2.h') diff --git a/string/bits/string2.h b/string/bits/string2.h index 0078af90bb..aafb578915 100644 --- a/string/bits/string2.h +++ b/string/bits/string2.h @@ -1087,6 +1087,8 @@ __strtok_r_1c (char *__s, char __sep, char **__nextp) #if !defined _HAVE_STRING_ARCH_strsep || defined _FORCE_INLINES # ifndef _HAVE_STRING_ARCH_strsep + +extern char *__strsep_g (char **__stringp, __const char *__delim); # define __strsep(s, reject) \ __extension__ \ ({ char __r0, __r1, __r2; \ @@ -1100,8 +1102,8 @@ __strtok_r_1c (char *__s, char __sep, char **__nextp) ? __strsep_2c (s, __r0, __r1) \ : (((__const char *) (reject))[3] == '\0' \ ? __strsep_3c (s, __r0, __r1, __r2) \ - : __strsep (s, reject)))) \ - : __strsep (s, reject)); }) + : __strsep_g (s, reject)))) \ + : __strsep_g (s, reject)); }) # endif __STRING_INLINE char *__strsep_1c (char **__s, char __reject); -- cgit v1.2.3