summaryrefslogtreecommitdiff
path: root/src/scandir.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/scandir.c')
-rw-r--r--src/scandir.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/scandir.c b/src/scandir.c
index 5eabafa41..1e52da9d2 100644
--- a/src/scandir.c
+++ b/src/scandir.c
@@ -49,9 +49,9 @@ USA. */
#endif
int
-scandir (const char *dir, struct dirent ***namelist,
- int (*select)(struct dirent *),
- int (*compar)(struct dirent **, struct dirent **))
+fl_scandir(const char *dir, struct dirent ***namelist,
+ int (*select)(struct dirent *),
+ int (*compar)(struct dirent **, struct dirent **))
{
DIR *dp = opendir (dir);
struct dirent **v = NULL;
@@ -120,9 +120,5 @@ scandir (const char *dir, struct dirent ***namelist,
return i;
}
-int alphasort (struct dirent **a, struct dirent **b) {
- return strcmp ((*a)->d_name, (*b)->d_name);
-}
-
#endif
#endif