linux-man.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Michael Kerrisk (man-pages)" <mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: Rasmus Villemoes <rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org,
	linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH 18/24] scandir.3: Fix prototypes
Date: Wed, 21 May 2014 20:40:02 +0200	[thread overview]
Message-ID: <537CF302.8090204@gmail.com> (raw)
In-Reply-To: <1400684275-20972-19-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>

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-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
> ---
>  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-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  parent reply	other threads:[~2014-05-21 18:40 UTC|newest]

Thread overview: 52+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-21 14:57 [PATCH 00/24] Yet more prototype fixes Rasmus Villemoes
     [not found] ` <1400684275-20972-1-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
2014-05-21 14:57   ` [PATCH 01/24] inet.3: Fix prototype Rasmus Villemoes
     [not found]     ` <1400684275-20972-2-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
2014-05-21 17:44       ` Michael Kerrisk (man-pages)
2014-05-21 14:57   ` [PATCH 02/24] makecontext.3: " Rasmus Villemoes
     [not found]     ` <1400684275-20972-3-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
2014-05-21 17:45       ` Michael Kerrisk (man-pages)
2014-05-21 14:57   ` [PATCH 03/24] makedev.3: " Rasmus Villemoes
     [not found]     ` <1400684275-20972-4-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
2014-05-21 17:46       ` Michael Kerrisk (man-pages)
2014-05-21 14:57   ` [PATCH 04/24] malloc_trim.3: " Rasmus Villemoes
     [not found]     ` <1400684275-20972-5-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
2014-05-21 17:47       ` Michael Kerrisk (man-pages)
2014-05-21 14:57   ` [PATCH 05/24] mq_getattr.3: " Rasmus Villemoes
     [not found]     ` <1400684275-20972-6-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
2014-05-21 17:49       ` Michael Kerrisk (man-pages)
2014-05-21 14:57   ` [PATCH 06/24] perror.3: Fix declaration Rasmus Villemoes
     [not found]     ` <1400684275-20972-7-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
2014-05-21 17:50       ` Michael Kerrisk (man-pages)
2014-05-21 14:57   ` [PATCH 07/24] pthread_sigqueue.3: Include needed header Rasmus Villemoes
     [not found]     ` <1400684275-20972-8-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
2014-05-21 17:56       ` Michael Kerrisk (man-pages)
2014-05-21 14:57   ` [PATCH 08/24] pthread_attr_set*.3: Constify parameters Rasmus Villemoes
     [not found]     ` <1400684275-20972-9-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
2014-05-22  6:47       ` Michael Kerrisk (man-pages)
2014-05-21 14:57   ` [PATCH 09/24] pthread_cleanup_push_defer_np.3: Mention feature test macro Rasmus Villemoes
     [not found]     ` <1400684275-20972-10-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
2014-05-21 18:06       ` Michael Kerrisk (man-pages)
2014-05-21 14:57   ` [PATCH 10/24] pthread_setname_np.3: Fix prototype Rasmus Villemoes
     [not found]     ` <1400684275-20972-11-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
2014-05-21 18:07       ` Michael Kerrisk (man-pages)
2014-05-21 14:57   ` [PATCH 11/24] pthread_setschedparam.3: Fix prototypes Rasmus Villemoes
     [not found]     ` <1400684275-20972-12-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
2014-05-21 18:08       ` Michael Kerrisk (man-pages)
2014-05-21 14:57   ` [PATCH 12/24] pthread_setschedprio.3: Fix prototype Rasmus Villemoes
     [not found]     ` <1400684275-20972-13-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
2014-05-21 18:08       ` Michael Kerrisk (man-pages)
2014-05-21 14:57   ` [PATCH 13/24] rcmd.3: Fix prototypes Rasmus Villemoes
     [not found]     ` <1400684275-20972-14-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
2014-05-21 18:09       ` Michael Kerrisk (man-pages)
2014-05-21 14:57   ` [PATCH 14/24] re_comp.3: " Rasmus Villemoes
     [not found]     ` <1400684275-20972-15-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
2014-05-21 18:10       ` Michael Kerrisk (man-pages)
2014-05-21 14:57   ` [PATCH 15/24] rexec.3: " Rasmus Villemoes
     [not found]     ` <1400684275-20972-16-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
2014-05-21 18:10       ` Michael Kerrisk (man-pages)
2014-05-21 14:57   ` [PATCH 16/24] rtime.3: Replace header Rasmus Villemoes
     [not found]     ` <1400684275-20972-17-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
2014-05-21 18:14       ` Michael Kerrisk (man-pages)
2014-05-21 14:57   ` [PATCH 17/24] resolver.3: Fix prototypes and extern-declaration Rasmus Villemoes
     [not found]     ` <1400684275-20972-18-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
2014-05-21 18:31       ` Michael Kerrisk (man-pages)
2014-05-21 14:57   ` [PATCH 18/24] scandir.3: Fix prototypes Rasmus Villemoes
     [not found]     ` <1400684275-20972-19-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
2014-05-21 18:40       ` Michael Kerrisk (man-pages) [this message]
2014-05-21 14:57   ` [PATCH 19/24] sigvec.3: Fix prototype Rasmus Villemoes
     [not found]     ` <1400684275-20972-20-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
2014-05-21 18:15       ` Michael Kerrisk (man-pages)
2014-05-21 14:57   ` [PATCH 20/24] setnetgrent.3: " Rasmus Villemoes
     [not found]     ` <1400684275-20972-21-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
2014-05-21 18:15       ` Michael Kerrisk (man-pages)
2014-05-21 14:57   ` [PATCH 21/24] tsearch.3: " Rasmus Villemoes
     [not found]     ` <1400684275-20972-22-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
2014-05-21 18:48       ` Michael Kerrisk (man-pages)
     [not found]         ` <537CF50D.2080400-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2014-05-21 20:02           ` Rasmus Villemoes
     [not found]             ` <87oayqew8p.fsf-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
2014-05-21 20:15               ` Michael Kerrisk (man-pages)
2014-05-21 14:57   ` [PATCH 22/24] getauxval.3: Fix permissions Rasmus Villemoes
     [not found]     ` <1400684275-20972-23-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
2014-05-21 18:17       ` Michael Kerrisk (man-pages)
2014-05-21 14:57   ` [PATCH 23/24] key_setsecret.3: Fix prototypes Rasmus Villemoes
     [not found]     ` <1400684275-20972-24-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
2014-05-21 18:19       ` Michael Kerrisk (man-pages)
2014-05-21 14:57   ` [PATCH 24/24] xdr.3: tfix Rasmus Villemoes
     [not found]     ` <1400684275-20972-25-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
2014-05-21 18:17       ` Michael Kerrisk (man-pages)
2014-05-21 18:13   ` [PATCH 00/24] Yet more prototype fixes Michael Kerrisk (man-pages)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=537CF302.8090204@gmail.com \
    --to=mtk.manpages-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).