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 *),