aboutsummaryrefslogtreecommitdiff
path: root/io/fts.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-09-07 17:28:11 +0000
committerUlrich Drepper <drepper@redhat.com>2004-09-07 17:28:11 +0000
commitf863a5a5aff07502d2842fd52fbc6fde8dffab32 (patch)
treedefeec7ffbacc8bf428bb4c88eec7f2060d0a93f /io/fts.c
parent3655715ba5757a0a6e4b1746b3c0f3df91c9b9de (diff)
downloadglibc-f863a5a5aff07502d2842fd52fbc6fde8dffab32.zip
glibc-f863a5a5aff07502d2842fd52fbc6fde8dffab32.tar.gz
glibc-f863a5a5aff07502d2842fd52fbc6fde8dffab32.tar.bz2
Update.
* io/fts.c (fts_open): Remove uses of __P.
Diffstat (limited to 'io/fts.c')
-rw-r--r--io/fts.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/io/fts.c b/io/fts.c
index 91d2ef6..7ce9351 100644
--- a/io/fts.c
+++ b/io/fts.c
@@ -88,7 +88,7 @@ FTS *
fts_open(argv, options, compar)
char * const *argv;
register int options;
- int (*compar) __P((const FTSENT **, const FTSENT **));
+ int (*compar) (const FTSENT **, const FTSENT **);
{
register FTS *sp;
register FTSENT *p, *root;
@@ -106,7 +106,7 @@ fts_open(argv, options, compar)
if ((sp = malloc((u_int)sizeof(FTS))) == NULL)
return (NULL);
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;
/* Logical walks turn on NOCHDIR; symbolic links are too hard. */