mirror of git://sourceware.org/git/glibc.git
parent
3655715ba5
commit
f863a5a5af
|
|
@ -1,5 +1,7 @@
|
||||||
2004-09-07 Ulrich Drepper <drepper@redhat.com>
|
2004-09-07 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
|
* io/fts.c (fts_open): Remove uses of __P.
|
||||||
|
|
||||||
* include/stdlib.h: No need to use __THROW in this header.
|
* include/stdlib.h: No need to use __THROW in this header.
|
||||||
|
|
||||||
2004-09-06 Roland McGrath <roland@frob.com>
|
2004-09-06 Roland McGrath <roland@frob.com>
|
||||||
|
|
|
||||||
4
io/fts.c
4
io/fts.c
|
|
@ -88,7 +88,7 @@ FTS *
|
||||||
fts_open(argv, options, compar)
|
fts_open(argv, options, compar)
|
||||||
char * const *argv;
|
char * const *argv;
|
||||||
register int options;
|
register int options;
|
||||||
int (*compar) __P((const FTSENT **, const FTSENT **));
|
int (*compar) (const FTSENT **, const FTSENT **);
|
||||||
{
|
{
|
||||||
register FTS *sp;
|
register FTS *sp;
|
||||||
register FTSENT *p, *root;
|
register FTSENT *p, *root;
|
||||||
|
|
@ -106,7 +106,7 @@ fts_open(argv, options, compar)
|
||||||
if ((sp = malloc((u_int)sizeof(FTS))) == NULL)
|
if ((sp = malloc((u_int)sizeof(FTS))) == NULL)
|
||||||
return (NULL);
|
return (NULL);
|
||||||
memset(sp, 0, sizeof(FTS));
|
memset(sp, 0, sizeof(FTS));
|
||||||
sp->fts_compar = (int (*) __P((const void *, const void *))) compar;
|
sp->fts_compar = (int (*) (const void *, const void *)) compar;
|
||||||
sp->fts_options = options;
|
sp->fts_options = options;
|
||||||
|
|
||||||
/* Logical walks turn on NOCHDIR; symbolic links are too hard. */
|
/* Logical walks turn on NOCHDIR; symbolic links are too hard. */
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue