Thank you, Rasmus. Applied. Cheers, Michael On 05/21/2014 04:57 PM, Rasmus Villemoes wrote: > The alphasort and versionsort functions take arguments of type const > struct dirent **, not const void *. > > Signed-off-by: Rasmus Villemoes <rv@xxxxxxxxxxxxxxxxxx> > --- > man3/scandir.3 | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/man3/scandir.3 b/man3/scandir.3 > index aee2c86..7fea26e 100644 > --- a/man3/scandir.3 > +++ b/man3/scandir.3 > @@ -73,9 +73,9 @@ a directory for matching entries > .BI "int (*" compar ")(const struct dirent **, const struct dirent **));" > .RE > .sp > -.BI "int alphasort(const void *" a ", const void *" b ); > +.BI "int alphasort(const struct dirent **" a ", const struct dirent **" b ); > .sp > -.BI "int versionsort(const void *" a ", const void *" b ); > +.BI "int versionsort(const struct dirent **" a ", const struct dirent **" b ); > > .BR "#include <fcntl.h>" " /* Definition of AT_* constants */" > .B #include <dirent.h> > -- Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Linux/UNIX System Programming Training: http://man7.org/training/ -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html