aboutsummaryrefslogtreecommitdiff
path: root/nis/ypclnt.c
diff options
context:
space:
mode:
Diffstat (limited to 'nis/ypclnt.c')
-rw-r--r--nis/ypclnt.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/nis/ypclnt.c b/nis/ypclnt.c
index 3e05cf9..8e24ca4 100644
--- a/nis/ypclnt.c
+++ b/nis/ypclnt.c
@@ -42,8 +42,10 @@ static char __ypdomainname[MAXHOSTNAMELEN + 1] = "\0";
__libc_lock_define_initialized (static, ypbindlist_lock)
static dom_binding *__ypbindlist = NULL;
+extern void xdr_free (xdrproc_t proc, char *objp);
+
static int
-__yp_bind (char *domain, dom_binding ** ypdb)
+__yp_bind (const char *domain, dom_binding ** ypdb)
{
struct sockaddr_in clnt_saddr;
struct ypbind_resp ypbr;