summaryrefslogtreecommitdiff
path: root/src/rpcb_clnt.c
diff options
context:
space:
mode:
authorSteve Dickson <steved@redhat.com>2008-09-16 11:32:31 -0400
committerSteve Dickson <steved@redhat.com>2008-09-16 11:32:31 -0400
commit628788c1cc84c86ee4cb36ee5d4fe8954e90fca5 (patch)
treec6c88fb95dfd3e3a7b13d1cd039c5c9b52264843 /src/rpcb_clnt.c
parent9e7ba0c7a02031294fefadfbca42b3dd5f2d841f (diff)
downloadti-rpc-628788c1cc84c86ee4cb36ee5d4fe8954e90fca5.tar.gz
- Fixed version-info in src/Makefile.am to reflect the correct version
- Fixed some of warnings in: src/auth_time.c, src/clnt_dg.c and src/clnt_raw.c - Added some #ifdef NOTUSED around some code in src/rpbc_clnt.c that was not being used... Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'src/rpcb_clnt.c')
-rw-r--r--src/rpcb_clnt.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/rpcb_clnt.c b/src/rpcb_clnt.c
index 040f4ce..ed16f00 100644
--- a/src/rpcb_clnt.c
+++ b/src/rpcb_clnt.c
@@ -109,7 +109,9 @@ static void delete_cache(struct netbuf *);
static void add_cache(const char *, const char *, struct netbuf *, char *);
static CLIENT *getclnthandle(const char *, const struct netconfig *, char **);
static CLIENT *local_rpcb(void);
+#ifdef NOTUSED
static struct netbuf *got_entry(rpcb_entry_list_ptr, const struct netconfig *);
+#endif
/*
* This routine adjusts the timeout used for calls to the remote rpcbind.
@@ -625,7 +627,7 @@ rpcb_unset(program, version, nconf)
CLNT_DESTROY(client);
return (rslt);
}
-
+#ifdef NOTUSED
/*
* From the merged list, find the appropriate entry
*/
@@ -657,6 +659,7 @@ got_entry(relp, nconf)
}
return (na);
}
+#endif
/*
* Quick check to see if rpcbind is up. Tries to connect over
@@ -725,7 +728,9 @@ __rpcb_findaddr_timed(program, version, nconf, host, clpp, tp)
CLIENT **clpp;
struct timeval *tp;
{
+#ifdef NOTUSED
static bool_t check_rpcbind = TRUE;
+#endif
CLIENT *client = NULL;
RPCB parms;
enum clnt_stat clnt_st;