summaryrefslogtreecommitdiff
path: root/nis/ypclnt.c
diff options
context:
space:
mode:
Diffstat (limited to 'nis/ypclnt.c')
-rw-r--r--nis/ypclnt.c20
1 files changed, 14 insertions, 6 deletions
diff --git a/nis/ypclnt.c b/nis/ypclnt.c
index 994a53b989..3c4af2e0cf 100644
--- a/nis/ypclnt.c
+++ b/nis/ypclnt.c
@@ -226,7 +226,7 @@ yp_bind (const char *indomain)
return status;
}
-libnsl_hidden_def (yp_bind)
+libnsl_hidden_nolink_def (yp_bind, GLIBC_2_0)
static void
yp_unbind_locked (const char *indomain)
@@ -266,6 +266,7 @@ yp_unbind (const char *indomain)
return;
}
+libnsl_hidden_nolink_def(yp_unbind, GLIBC_2_0)
static int
__ypclnt_call (const char *domain, u_long prog, xdrproc_t xargs,
@@ -406,7 +407,7 @@ yp_get_default_domain (char **outdomain)
return result;
}
-libnsl_hidden_def (yp_get_default_domain)
+libnsl_hidden_nolink_def (yp_get_default_domain, GLIBC_2_0)
int
__yp_check (char **domain)
@@ -424,6 +425,7 @@ __yp_check (char **domain)
return 1;
return 0;
}
+libnsl_hidden_nolink_def(__yp_check, GLIBC_2_0)
int
yp_match (const char *indomain, const char *inmap, const char *inkey,
@@ -468,6 +470,7 @@ yp_match (const char *indomain, const char *inmap, const char *inkey,
return status;
}
+libnsl_hidden_nolink_def(yp_match, GLIBC_2_0)
int
yp_first (const char *indomain, const char *inmap, char **outkey,
@@ -522,6 +525,7 @@ yp_first (const char *indomain, const char *inmap, char **outkey,
return status;
}
+libnsl_hidden_nolink_def(yp_first, GLIBC_2_0)
int
yp_next (const char *indomain, const char *inmap, const char *inkey,
@@ -578,6 +582,7 @@ yp_next (const char *indomain, const char *inmap, const char *inkey,
return status;
}
+libnsl_hidden_nolink_def(yp_next, GLIBC_2_0)
int
yp_master (const char *indomain, const char *inmap, char **outname)
@@ -607,7 +612,7 @@ yp_master (const char *indomain, const char *inmap, char **outname)
return *outname == NULL ? YPERR_YPERR : YPERR_SUCCESS;
}
-libnsl_hidden_def (yp_master)
+libnsl_hidden_nolink_def (yp_master, GLIBC_2_0)
int
yp_order (const char *indomain, const char *inmap, unsigned int *outorder)
@@ -637,6 +642,7 @@ yp_order (const char *indomain, const char *inmap, unsigned int *outorder)
return result;
}
+libnsl_hidden_nolink_def(yp_order, GLIBC_2_0)
struct ypresp_all_data
{
@@ -780,9 +786,9 @@ yp_all (const char *indomain, const char *inmap,
return res;
}
+libnsl_hidden_nolink_def (yp_all, GLIBC_2_0)
int
-
yp_maplist (const char *indomain, struct ypmaplist **outmaplist)
{
struct ypresp_maplist resp;
@@ -870,6 +876,7 @@ yperr_string (const int error)
}
return _(str);
}
+libnsl_hidden_nolink_def(yperr_string, GLIBC_2_0)
static const int8_t yp_2_yperr[] =
{
@@ -893,7 +900,7 @@ ypprot_err (const int code)
return YPERR_YPERR;
return yp_2_yperr[code - YP_VERS];
}
-libnsl_hidden_def (ypprot_err)
+libnsl_hidden_nolink_def (ypprot_err, GLIBC_2_0)
const char *
ypbinderr_string (const int error)
@@ -919,7 +926,7 @@ ypbinderr_string (const int error)
}
return _(str);
}
-libnsl_hidden_def (ypbinderr_string)
+libnsl_hidden_nolink_def (ypbinderr_string, GLIBC_2_0)
#define WINDOW 60
@@ -1019,3 +1026,4 @@ again:
}
return res;
}
+libnsl_hidden_nolink_def(yp_update, GLIBC_2_0)