summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/scandir.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/scandir.c b/src/scandir.c
index 197f63fd6..ac6dd34cd 100644
--- a/src/scandir.c
+++ b/src/scandir.c
@@ -44,6 +44,11 @@ USA. */
# endif
# endif
+/* This warning added to help identify any hosts that actually use this function... */
+# if defined(__GNUC__)
+# warning Using deprecated scandir() replacement function
+# endif /*__GNUC__*/
+
int
fl_scandir(const char *dir, struct dirent ***namelist,
int (*select)(struct dirent *),