From 89a9e37b7a7a2134cedb6d27db265a8ab774f9d1 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 20 Mar 1998 12:06:55 +0000 Subject: Update. 1998-03-20 11:58 Ulrich Drepper * dirent/Makefile (routines): Add scandir64, alphasort64, and versionsort64. * dirent/alphasort64.c: New file. * dirent/scandir64.c: New file. * dirent/versionsort64.c: New file. * dirent/dirent.h: Add LFS support for scandir, alphasort, and versionsort. * sysdeps/generic/readdir64.c: Rename to __readdir64 and make old name weak alias. * sysdeps/unix/sysv/linux/readdir64.c: Likewise. * dirent/alphasort.c: Use strcoll instead of strcmp. * dirent/scandir.c: Optimize a bit. * dirent/versionsort.c: Pretty print. 1998-03-20 Ulrich Drepper * string/string.h: Add prototype for __strtok_r. --- string/string.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'string/string.h') diff --git a/string/string.h b/string/string.h index 51144696ca..b8c33b00b1 100644 --- a/string/string.h +++ b/string/string.h @@ -1,4 +1,4 @@ -/* Copyright (C) 1991, 92, 93, 95, 96, 97 Free Software Foundation, Inc. +/* Copyright (C) 1991, 92, 93, 95, 96, 97, 98 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -167,9 +167,11 @@ extern char *strcasestr __P ((__const char *__haystack, extern char *strtok __P ((char *__restrict __s, __const char *__restrict __delim)); -#if defined __USE_POSIX || defined __USE_MISC /* Divide S into tokens separated by characters in DELIM. Information passed between calls are stored in SAVE_PTR. */ +extern char *__strtok_r __P ((char *__s, __const char *__delim, + char **__save_ptr)); +#if defined __USE_POSIX || defined __USE_MISC extern char *strtok_r __P ((char *__s, __const char *__delim, char **__save_ptr)); #endif -- cgit v1.2.3