summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Dickson <steved@redhat.com>2022-08-02 14:55:33 -0400
committerSteve Dickson <steved@redhat.com>2022-08-02 14:55:33 -0400
commit490ba51956e3935d9e4b0b36c6cc927ac305b673 (patch)
tree110291e393a533964cc0866d26f079c3bd242f05
parentfa153d634228216fc162e5d6583a7035af2c40ba (diff)
downloadti-rpc-490ba51956e3935d9e4b0b36c6cc927ac305b673.tar.gz
Removed a warning:
rpcb_clnt.c:224:21: error: argument 'netid' doesn't match prototype const char *host, *netid; Signed-off-by: Steve Dickson <steved@redhat.com>
-rw-r--r--src/rpcb_clnt.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rpcb_clnt.c b/src/rpcb_clnt.c
index 1b5b04c..9a9de69 100644
--- a/src/rpcb_clnt.c
+++ b/src/rpcb_clnt.c
@@ -221,7 +221,8 @@ extern pthread_mutex_t rpcbaddr_cache_lock;
static struct address_cache *
copy_of_cached(host, netid)
- const char *host, *netid;
+ const char *host;
+ char *netid;
{
struct address_cache *cptr, *copy = NULL;