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 17/20] getrpcent.3: fix prototype
Date: Tue, 20 May 2014 08:20:21 +0200 [thread overview]
Message-ID: <537AF425.7040409@gmail.com> (raw)
In-Reply-To: <1400540546-25578-18-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
Thanks. Applied!
Cheers,
Michael
On 05/20/2014 01:02 AM, Rasmus Villemoes wrote:
> The argument to getrpcbyname() is const.
> ---
> man3/getrpcent.3 | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/man3/getrpcent.3 b/man3/getrpcent.3
> index 760b5ab..f25f7eb 100644
> --- a/man3/getrpcent.3
> +++ b/man3/getrpcent.3
> @@ -15,7 +15,7 @@ RPC entry
>
> .BI "struct rpcent *getrpcent(void);"
>
> -.BI "struct rpcent *getrpcbyname(char *" name );
> +.BI "struct rpcent *getrpcbyname(const char *" name );
>
> .BI "struct rpcent *getrpcbynumber(int " number );
>
>
--
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
next prev parent reply other threads:[~2014-05-20 6:20 UTC|newest]
Thread overview: 46+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-19 23:02 [PATCH 00/20] More prototype fixes Rasmus Villemoes
[not found] ` <1400540546-25578-1-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
2014-05-19 23:02 ` [PATCH 01/20] open.2: spfix Rasmus Villemoes
[not found] ` <1400540546-25578-2-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
2014-05-20 5:16 ` Michael Kerrisk (man-pages)
2014-05-19 23:02 ` [PATCH 02/20] set_mempolicy.2: Fix prototype for set_mempolicy(2) Rasmus Villemoes
[not found] ` <1400540546-25578-3-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
2014-05-20 5:16 ` Michael Kerrisk (man-pages)
2014-05-19 23:02 ` [PATCH 03/20] remap_file_pages.2: Fix prototype Rasmus Villemoes
[not found] ` <1400540546-25578-4-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
2014-05-20 5:16 ` Michael Kerrisk (man-pages)
2014-05-19 23:02 ` [PATCH 04/20] swapon.2: remove header from synopsis Rasmus Villemoes
[not found] ` <1400540546-25578-5-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
2014-05-20 6:59 ` Michael Kerrisk (man-pages)
2014-05-19 23:02 ` [PATCH 05/20] a64l.3: fix prototype for a64l() Rasmus Villemoes
[not found] ` <1400540546-25578-6-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
2014-05-20 5:16 ` Michael Kerrisk (man-pages)
2014-05-19 23:02 ` [PATCH 06/20] argz_*: Fix prototypes Rasmus Villemoes
[not found] ` <1400540546-25578-7-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
2014-05-20 5:16 ` Michael Kerrisk (man-pages)
2014-05-19 23:02 ` [PATCH 07/20] adjtime.3: add required header Rasmus Villemoes
[not found] ` <1400540546-25578-8-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
2014-05-20 5:16 ` Michael Kerrisk (man-pages)
2014-05-19 23:02 ` [PATCH 08/20] bstring.3: Fix prototypes Rasmus Villemoes
[not found] ` <1400540546-25578-9-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
2014-05-20 5:16 ` Michael Kerrisk (man-pages)
2014-05-19 23:02 ` [PATCH 09/20] dl_iterate_phdr.3: tfix Rasmus Villemoes
[not found] ` <1400540546-25578-10-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
2014-05-20 5:16 ` Michael Kerrisk (man-pages)
2014-05-19 23:02 ` [PATCH 10/20] inet_net_pton.3: srcfix, cfix Rasmus Villemoes
[not found] ` <1400540546-25578-11-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
2014-05-20 7:01 ` Michael Kerrisk (man-pages)
2014-05-19 23:02 ` [PATCH 11/20] envz_add.3: fix prototypes Rasmus Villemoes
[not found] ` <1400540546-25578-12-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
2014-05-20 5:19 ` Michael Kerrisk (man-pages)
2014-05-19 23:02 ` [PATCH 12/20] fpathconf.3: fix prototype Rasmus Villemoes
[not found] ` <1400540546-25578-13-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
2014-05-20 5:19 ` Michael Kerrisk (man-pages)
2014-05-19 23:02 ` [PATCH 13/20] fseek.3: " Rasmus Villemoes
[not found] ` <1400540546-25578-14-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
2014-05-20 6:05 ` Michael Kerrisk (man-pages)
2014-05-19 23:02 ` [PATCH 14/20] gcvt.3: " Rasmus Villemoes
[not found] ` <1400540546-25578-15-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
2014-05-20 6:03 ` Michael Kerrisk (man-pages)
2014-05-19 23:02 ` [PATCH 15/20] getaddrinfo_a.3: " Rasmus Villemoes
[not found] ` <1400540546-25578-16-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
2014-05-20 6:07 ` Michael Kerrisk (man-pages)
2014-05-19 23:02 ` [PATCH 16/20] getnameinfo.3: " Rasmus Villemoes
[not found] ` <1400540546-25578-17-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
2014-05-20 7:02 ` Michael Kerrisk (man-pages)
2014-05-19 23:02 ` [PATCH 17/20] getrpcent.3: " Rasmus Villemoes
[not found] ` <1400540546-25578-18-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
2014-05-20 6:20 ` Michael Kerrisk (man-pages) [this message]
2014-05-19 23:02 ` [PATCH 18/20] getspnam.3: " Rasmus Villemoes
[not found] ` <1400540546-25578-19-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
2014-05-20 6:35 ` Michael Kerrisk (man-pages)
2014-05-19 23:02 ` [PATCH 19/20] getutent.3: fix prototypes Rasmus Villemoes
[not found] ` <1400540546-25578-20-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
2014-05-20 6:36 ` Michael Kerrisk (man-pages)
2014-05-19 23:02 ` [PATCH 20/20] getrpcport.3: add #include and fix prototype Rasmus Villemoes
[not found] ` <1400540546-25578-21-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
2014-05-20 6:45 ` Michael Kerrisk (man-pages)
2014-05-19 23:58 ` [PATCH 00/20] More prototype fixes Rasmus Villemoes
[not found] ` <87a9aduxqt.fsf-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
2014-05-20 7:05 ` Michael Kerrisk (man-pages)
2014-05-20 5:15 ` Michael Kerrisk (man-pages)
2014-05-20 7:09 ` Michael Kerrisk (man-pages)
[not found] ` <537AFFA5.2000505-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2014-05-20 7:13 ` 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=537AF425.7040409@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).