1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-10-21 14:53:53 +03:00
* include/libc-symbols.h: Define hidden attribute macros for
	libnss_nisplus and libutil.
	* include/utmp.h: Add libutil_hidden_proto for login_tty.
	* login/login_tty.c: Add libutil_hidden_def.
	* nis/nisplus-parser.h: Add libnss_nisplus_hidden_proto for parsers.
	* nis/nss_nisplus/nisplus-parser.c: Add libnss_nisplus_hidden_def.
	* include/pty.h: New file.
	* include/rpcsvc/yp.h: New file.
	* include/rpcsvc/ypclnt.h: New file.
	* include/rpcsvc/ypupd.h: New file.
This commit is contained in:
Ulrich Drepper
2004-10-24 21:29:41 +00:00
parent 7440c23e03
commit b31b32b3aa
10 changed files with 100 additions and 2 deletions

View File

@@ -816,6 +816,24 @@ for linking")
# define libnsl_hidden_data_ver(local, name)
#endif
#if defined NOT_IN_libc && defined IS_IN_libnss_nisplus
# define libnss_nisplus_hidden_proto(name, attrs...) hidden_proto (name, ##attrs)
# define libnss_nisplus_hidden_def(name) hidden_def (name)
# define libnss_nisplus_hidden_weak(name) hidden_weak (name)
# define libnss_nisplus_hidden_ver(local, name) hidden_ver (local, name)
# define libnss_nisplus_hidden_data_def(name) hidden_data_def (name)
# define libnss_nisplus_hidden_data_weak(name) hidden_data_weak (name)
# define libnss_nisplus_hidden_data_ver(local, name) hidden_data_ver (local, name)
#else
# define libnss_nisplus_hidden_proto(name, attrs...)
# define libnss_nisplus_hidden_def(name)
# define libnss_nisplus_hidden_weak(name)
# define libnss_nisplus_hidden_ver(local, name)
# define libnss_nisplus_hidden_data_def(name)
# define libnss_nisplus_hidden_data_weak(name)
# define libnss_nisplus_hidden_data_ver(local, name)
#endif
#ifdef HAVE_BUILTIN_REDIRECTION
# define libc_hidden_builtin_proto(name, attrs...) libc_hidden_proto (name, ##attrs)
# define libc_hidden_builtin_def(name) libc_hidden_def (name)
@@ -834,6 +852,24 @@ for linking")
# endif
#endif
#if defined NOT_IN_libc && defined IS_IN_libutil
# define libutil_hidden_proto(name, attrs...) hidden_proto (name, ##attrs)
# define libutil_hidden_def(name) hidden_def (name)
# define libutil_hidden_weak(name) hidden_weak (name)
# define libutil_hidden_ver(local, name) hidden_ver (local, name)
# define libutil_hidden_data_def(name) hidden_data_def (name)
# define libutil_hidden_data_weak(name) hidden_data_weak (name)
# define libutil_hidden_data_ver(local, name) hidden_data_ver (local, name)
#else
# define libutil_hidden_proto(name, attrs...)
# define libutil_hidden_def(name)
# define libutil_hidden_weak(name)
# define libutil_hidden_ver(local, name)
# define libutil_hidden_data_def(name)
# define libutil_hidden_data_weak(name)
# define libutil_hidden_data_ver(local, name)
#endif
/* Get some dirty hacks. */
#include <symbol-hacks.h>

6
include/pty.h Normal file
View File

@@ -0,0 +1,6 @@
#ifndef _PTY_H
#include <login/pty.h>
libutil_hidden_proto (openpty)
#endif

18
include/rpcsvc/yp.h Normal file
View File

@@ -0,0 +1,18 @@
#ifndef __RPCSVC_YP_H__
#include <nis/rpcsvc/yp.h>
libnsl_hidden_proto (xdr_ypstat)
libnsl_hidden_proto (xdr_ypxfrstat)
libnsl_hidden_proto (xdr_domainname)
libnsl_hidden_proto (xdr_mapname)
libnsl_hidden_proto (xdr_peername)
libnsl_hidden_proto (xdr_keydat)
libnsl_hidden_proto (xdr_valdat)
libnsl_hidden_proto (xdr_ypmap_parms)
libnsl_hidden_proto (xdr_ypresp_key_val)
libnsl_hidden_proto (xdr_ypresp_all)
libnsl_hidden_proto (xdr_yppush_status)
libnsl_hidden_proto (xdr_ypbind_resptype)
libnsl_hidden_proto (xdr_ypbind_binding)
#endif

10
include/rpcsvc/ypclnt.h Normal file
View File

@@ -0,0 +1,10 @@
#ifndef __RPCSVC_YPCLNT_H__
#include <nis/rpcsvc/ypclnt.h>
libnsl_hidden_proto (ypbinderr_string)
libnsl_hidden_proto (yp_bind)
libnsl_hidden_proto (yp_get_default_domain)
libnsl_hidden_proto (ypprot_err)
libnsl_hidden_proto (yp_master)
#endif

6
include/rpcsvc/ypupd.h Normal file
View File

@@ -0,0 +1,6 @@
#ifndef __RPCSVC_YPUPD_H__
#include <nis/rpcsvc/ypupd.h>
libnsl_hidden_proto (xdr_yp_buf)
#endif

View File

@@ -16,4 +16,7 @@ extern int __getutid_r (__const struct utmp *__id, struct utmp *__buffer,
struct utmp **__result);
extern int __getutline_r (__const struct utmp *__line,
struct utmp *__buffer, struct utmp **__result);
libutil_hidden_proto (login_tty)
#endif