+2018-01-29 Florian Weimer <fweimer@redhat.com>
+
+ [BZ #22701]
+ * include/rpcsvc/nislib.h (__nis_default_ttl): Add
+ libnsl_hidden_proto.
+ * include/rpcsvc/yp.h (yp_xdrall): Declare with
+ libnsl_hidden_proto.
+ * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
+ * nis/Makefile (libnsl-routines): Add nss-default only for
+ build-obsolete-nsl.
+ * nis/nis_defaults.c (__nis_default_ttl): Add
+ libnsl_hidden_nolink_def.
+ * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
+ declaration.
+ * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
+ * nis/ypclnt.c (yp_maplist): Likewise.
+
2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
* sysdeps/unix/sysv/linux/microblaze/kernel-features.h
libnsl_hidden_proto (nis_add)
libnsl_hidden_proto (__nis_default_owner)
libnsl_hidden_proto (__nis_default_group)
+libnsl_hidden_proto (__nis_default_ttl)
libnsl_hidden_proto (__nis_default_access)
libnsl_hidden_proto (nis_clone_object)
libnsl_hidden_proto (nis_clone_result)
# ifndef _ISOMAC
+struct ypall_callback;
+bool_t xdr_ypall (XDR *, struct ypall_callback *);
+
libnsl_hidden_proto (xdr_ypstat)
libnsl_hidden_proto (xdr_ypxfrstat)
libnsl_hidden_proto (xdr_domainname)
libnsl_hidden_proto (xdr_ypresp_xfr)
libnsl_hidden_proto (xdr_yppushresp_xfr)
libnsl_hidden_proto (xdr_ypbind_setdom)
+libnsl_hidden_proto (xdr_ypall)
# endif /* !_ISOMAC */
#endif
# ifndef _ISOMAC
+struct ypmaplist;
+int yp_maplist (const char *, struct ypmaplist **) __THROW;
+
libnsl_hidden_proto (ypbinderr_string)
libnsl_hidden_proto (yp_bind)
libnsl_hidden_proto (yp_get_default_domain)
libnsl_hidden_proto (yp_match)
libnsl_hidden_proto (yp_all)
libnsl_hidden_proto (__yp_check)
+libnsl_hidden_proto (yp_maplist)
# endif /* !_ISOMAC */
#endif
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))
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. */
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;
return FALSE;
}
}
-/* XXX libnsl_hidden_nolink_def(xdr_ypall, GLIBC_2_2) */
+libnsl_hidden_nolink_def (xdr_ypall, GLIBC_2_2)
return result;
}
+libnsl_hidden_nolink_def (yp_maplist, GLIBC_2_0)
const char *
yperr_string (const int error)