diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2008-08-25 11:19:33 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2008-08-25 11:19:33 +0000 |
commit | 7e19113351a1da5cb3622489d855e0566b9a2c67 (patch) | |
tree | 0403eb4872320d615a7c95a7f8aa90ffd58e3628 /cpukit/libcsupport/src/scandir.c | |
parent | 2008-08-25 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-7e19113351a1da5cb3622489d855e0566b9a2c67.tar.bz2 |
Stop using old-style function-definitions.
Diffstat (limited to 'cpukit/libcsupport/src/scandir.c')
-rw-r--r-- | cpukit/libcsupport/src/scandir.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/cpukit/libcsupport/src/scandir.c b/cpukit/libcsupport/src/scandir.c index 7d75a4e155..827402988f 100644 --- a/cpukit/libcsupport/src/scandir.c +++ b/cpukit/libcsupport/src/scandir.c @@ -73,11 +73,11 @@ static char sccsid[] = "@(#)scandir.c 5.10 (Berkeley) 2/23/91"; ((sizeof (struct dirent) - (NAME_MAX+1)) + (((dp)->d_namlen+1 + 3) &~ 3)) int -scandir(dirname, namelist, select, dcomp) - const char *dirname; - struct dirent ***namelist; - int (*select)(struct dirent *); - int (*dcomp)(const struct dirent **, const struct dirent **); +scandir( + const char *dirname, + struct dirent ***namelist, + int (*select)(struct dirent *), + int (*dcomp)(const struct dirent **, const struct dirent **)) { register struct dirent *d = NULL; register struct dirent *p = NULL; |