diff options
author | Florian Weimer <fweimer@redhat.com> | 2018-01-29 17:00:14 +0100 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2018-01-29 17:42:30 +0100 |
commit | cdd14619a713ab41e26ba700add4880604324dbb (patch) | |
tree | dc0129bed806b525deae5fc481170ccdb4ef048b /nis | |
parent | b7ccb5de359e8dd9918dbedfc1f4d96e06fcd634 (diff) | |
download | glibc-cdd14619a713ab41e26ba700add4880604324dbb.zip glibc-cdd14619a713ab41e26ba700add4880604324dbb.tar.gz glibc-cdd14619a713ab41e26ba700add4880604324dbb.tar.bz2 |
libnsl: Turn remaining symbols into compat symbols [BZ #22701]
Diffstat (limited to 'nis')
-rw-r--r-- | nis/Makefile | 3 | ||||
-rw-r--r-- | nis/nis_defaults.c | 1 | ||||
-rw-r--r-- | nis/rpcsvc/ypclnt.h | 3 | ||||
-rw-r--r-- | nis/yp_xdr.c | 2 | ||||
-rw-r--r-- | nis/ypclnt.c | 1 |
5 files changed, 5 insertions, 5 deletions
diff --git a/nis/Makefile b/nis/Makefile index e7497f7..d77c6e0 100644 --- a/nis/Makefile +++ b/nis/Makefile @@ -58,9 +58,10 @@ libnsl-routines = yp_xdr ypclnt ypupdate_xdr \ nis_print_group_entry nis_domain_of nis_domain_of_r\ nis_modify nis_remove nis_add nis_defaults\ nis_findserv nis_callback nis_clone_dir nis_clone_obj\ - nis_clone_res nss-default + nis_clone_res ifeq ($(build-obsolete-nsl),yes) +libnsl-routines += nss-default libnss_nis-routines := $(addprefix nis-,$(databases)) nis-initgroups \ nss-nis libnss_nis-inhibit-o = $(filter-out .os,$(object-suffixes)) diff --git a/nis/nis_defaults.c b/nis/nis_defaults.c index 58e64a8..0be47aa 100644 --- a/nis/nis_defaults.c +++ b/nis/nis_defaults.c @@ -428,6 +428,7 @@ __nis_default_ttl (char *defaults) return searchttl (cptr); } +libnsl_hidden_nolink_def (__nis_default_ttl, GLIBC_2_1) /* Default access rights are ----rmcdr---r---, but we could change this with the NIS_DEFAULTS variable. */ diff --git a/nis/rpcsvc/ypclnt.h b/nis/rpcsvc/ypclnt.h index b96cb3b..af904fc 100644 --- a/nis/rpcsvc/ypclnt.h +++ b/nis/rpcsvc/ypclnt.h @@ -76,9 +76,6 @@ extern const char *ypbinderr_string (const int) __THROW; extern int ypprot_err (const int) __THROW; extern int yp_update (char *, char *, unsigned int, char *, int, char *, int) __THROW; -#if 0 -extern int yp_maplist (const char *, struct ypmaplist **) __THROW; -#endif /* This functions exists only under BSD and Linux systems. */ extern int __yp_check (char **) __THROW; diff --git a/nis/yp_xdr.c b/nis/yp_xdr.c index 0081b4c..3b57673 100644 --- a/nis/yp_xdr.c +++ b/nis/yp_xdr.c @@ -327,4 +327,4 @@ xdr_ypall(XDR *xdrs, struct ypall_callback *incallback) return FALSE; } } -/* XXX libnsl_hidden_nolink_def(xdr_ypall, GLIBC_2_2) */ +libnsl_hidden_nolink_def (xdr_ypall, GLIBC_2_2) diff --git a/nis/ypclnt.c b/nis/ypclnt.c index 95215e2..11a17db 100644 --- a/nis/ypclnt.c +++ b/nis/ypclnt.c @@ -813,6 +813,7 @@ yp_maplist (const char *indomain, struct ypmaplist **outmaplist) return result; } +libnsl_hidden_nolink_def (yp_maplist, GLIBC_2_0) const char * yperr_string (const int error) |