linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
To: libtirpc-devel@lists.sourceforge.net
Cc: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>,
	Steve Dickson <SteveD@redhat.com>,
	linux-nfs@vger.kernel.org
Subject: [PATCH v2 2/7] getrpcent: Fix compilation on glibc
Date: Fri, 24 Apr 2015 02:27:37 +0200	[thread overview]
Message-ID: <1429835262-16861-3-git-send-email-rep.dot.nop@gmail.com> (raw)
In-Reply-To: <1429835262-16861-1-git-send-email-rep.dot.nop@gmail.com>

 implicit declaration of function '_yp_check' [-Wimplicit-function-declaration]

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
---
 src/getrpcent.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/getrpcent.c b/src/getrpcent.c
index 6da006a..fbb2da4 100644
--- a/src/getrpcent.c
+++ b/src/getrpcent.c
@@ -108,7 +108,7 @@ getrpcbynumber(number)
 	if (d == 0)
 		return (0);
 #ifdef	YP
-        if (!__yp_nomap && _yp_check(&d->domain)) {
+        if (!__yp_nomap && __yp_check(&d->domain)) {
                 sprintf(adrstr, "%d", number);
                 reason = yp_match(d->domain, "rpc.bynumber", adrstr, strlen(adrstr),
                                   &d->current, &d->currentlen);
@@ -175,7 +175,7 @@ setrpcent(f)
 	if (d == 0)
 		return;
 #ifdef	YP
-        if (!__yp_nomap && _yp_check(NULL)) {
+        if (!__yp_nomap && __yp_check(NULL)) {
                 if (d->current)
                         free(d->current);
                 d->current = NULL;
@@ -199,7 +199,7 @@ endrpcent()
 	if (d == 0)
 		return;
 #ifdef	YP
-        if (!__yp_nomap && _yp_check(NULL)) {
+        if (!__yp_nomap && __yp_check(NULL)) {
         	if (d->current && !d->stayopen)
                         free(d->current);
                 d->current = NULL;
@@ -228,7 +228,7 @@ getrpcent()
 	if (d == 0)
 		return(NULL);
 #ifdef	YP
-        if (!__yp_nomap && _yp_check(&d->domain)) {
+        if (!__yp_nomap && __yp_check(&d->domain)) {
                 if (d->current == NULL && d->currentlen == 0) {
                         reason = yp_first(d->domain, "rpc.bynumber",
                                           &d->current, &d->currentlen,
-- 
2.1.4


  parent reply	other threads:[~2015-04-24  0:27 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-24  0:27 [PATCH v2 0/7] Rebase, resend Bernhard Reutner-Fischer
2015-04-24  0:27 ` [PATCH v2 1/7] delete src/config.h Bernhard Reutner-Fischer
2015-04-24  0:27 ` Bernhard Reutner-Fischer [this message]
2015-04-24  0:27 ` [PATCH v2 3/7] Make sure to include config.h Bernhard Reutner-Fischer
2015-04-24  0:27 ` [PATCH v2 4/7] configure.ac: Allow for disabling NIS Bernhard Reutner-Fischer
2016-06-02 14:51   ` [Libtirpc-devel] " Chuck Lever
2015-04-24  0:27 ` [PATCH v2 5/7] configure.ac: Allow for disabling auth DES Bernhard Reutner-Fischer
2015-04-24  0:27 ` [PATCH v2 6/7] getrpcport: rephrase host lookup Bernhard Reutner-Fischer
2015-04-24  0:27 ` [PATCH v2 7/7] headers: if 0 out some unbuilt functions Bernhard Reutner-Fischer
2015-04-29 21:18 ` [Libtirpc-devel] [PATCH v2 0/7] Rebase, resend Steve Dickson

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=1429835262-16861-3-git-send-email-rep.dot.nop@gmail.com \
    --to=rep.dot.nop@gmail.com \
    --cc=SteveD@redhat.com \
    --cc=libtirpc-devel@lists.sourceforge.net \
    --cc=linux-nfs@vger.kernel.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).