diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2008-07-29 09:25:11 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2008-07-29 09:25:11 +0000 |
commit | df3021ad78330fbee3146f106ad4a2336cf55a35 (patch) | |
tree | 747a3fecbc9859a0df1300ef486cf414c5881886 /cpukit/libcsupport/src/scandir.c | |
parent | 2008-07-29 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-df3021ad78330fbee3146f106ad4a2336cf55a35.tar.bz2 |
Add prototypes.
Diffstat (limited to 'cpukit/libcsupport/src/scandir.c')
-rw-r--r-- | cpukit/libcsupport/src/scandir.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cpukit/libcsupport/src/scandir.c b/cpukit/libcsupport/src/scandir.c index 6cd2c12e8e..904104089a 100644 --- a/cpukit/libcsupport/src/scandir.c +++ b/cpukit/libcsupport/src/scandir.c @@ -155,9 +155,9 @@ cleanup_and_bail: * Alphabetic order comparison routine for those who want it. */ int -alphasort(d1, d2) - const void *d1; - const void *d2; +alphasort( + const void *d1, + const void *d2 ) { return(strcmp((*(struct dirent **)d1)->d_name, (*(struct dirent **)d2)->d_name)); |