From 80c96e8e6f452d6d9803f5a2e17030658f30afc4 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Tue, 2 Nov 2004 12:26:42 +0000 Subject: Updated to fedora-glibc-20041102T1153 --- include/libc-symbols.h | 72 +++++++++++++++++++++++++++++++++++++++++++++++++ include/netdb.h | 7 ++--- include/netinet/ether.h | 2 +- include/pty.h | 6 +++++ include/rpc/netdb.h | 2 +- include/rpcsvc/nislib.h | 44 ++++++++++++++++++++++++++++++ include/rpcsvc/yp.h | 18 +++++++++++++ include/rpcsvc/ypclnt.h | 10 +++++++ include/rpcsvc/ypupd.h | 6 +++++ include/utmp.h | 3 +++ 10 files changed, 165 insertions(+), 5 deletions(-) create mode 100644 include/pty.h create mode 100644 include/rpcsvc/yp.h create mode 100644 include/rpcsvc/ypclnt.h create mode 100644 include/rpcsvc/ypupd.h (limited to 'include') diff --git a/include/libc-symbols.h b/include/libc-symbols.h index 7dd0d2901b..dcc46cc80f 100644 --- a/include/libc-symbols.h +++ b/include/libc-symbols.h @@ -780,6 +780,60 @@ for linking") # define libdl_hidden_data_ver(local, name) #endif +#if defined NOT_IN_libc && defined IS_IN_libnss_files +# define libnss_files_hidden_proto(name, attrs...) hidden_proto (name, ##attrs) +# define libnss_files_hidden_def(name) hidden_def (name) +# define libnss_files_hidden_weak(name) hidden_weak (name) +# define libnss_files_hidden_ver(local, name) hidden_ver (local, name) +# define libnss_files_hidden_data_def(name) hidden_data_def (name) +# define libnss_files_hidden_data_weak(name) hidden_data_weak (name) +# define libnss_files_hidden_data_ver(local, name) hidden_data_ver(local, name) +#else +# define libnss_files_hidden_proto(name, attrs...) +# define libnss_files_hidden_def(name) +# define libnss_files_hidden_weak(name) +# define libnss_files_hidden_ver(local, name) +# define libnss_files_hidden_data_def(name) +# define libnss_files_hidden_data_weak(name) +# define libnss_files_hidden_data_ver(local, name) +#endif + +#if defined NOT_IN_libc && defined IS_IN_libnsl +# define libnsl_hidden_proto(name, attrs...) hidden_proto (name, ##attrs) +# define libnsl_hidden_def(name) hidden_def (name) +# define libnsl_hidden_weak(name) hidden_weak (name) +# define libnsl_hidden_ver(local, name) hidden_ver (local, name) +# define libnsl_hidden_data_def(name) hidden_data_def (name) +# define libnsl_hidden_data_weak(name) hidden_data_weak (name) +# define libnsl_hidden_data_ver(local, name) hidden_data_ver (local, name) +#else +# define libnsl_hidden_proto(name, attrs...) +# define libnsl_hidden_def(name) +# define libnsl_hidden_weak(name) +# define libnsl_hidden_ver(local, name) +# define libnsl_hidden_data_def(name) +# define libnsl_hidden_data_weak(name) +# 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) @@ -798,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 diff --git a/include/netdb.h b/include/netdb.h index e8f28e8c67..0bf84c21c0 100644 --- a/include/netdb.h +++ b/include/netdb.h @@ -202,9 +202,10 @@ extern enum nss_status _nss_netgroup_parseline (char **cursor, struct __netgrent *result, char *buffer, size_t buflen, int *errnop); -libc_hidden_proto (_nss_files_parse_protoent) -libc_hidden_proto (_nss_files_parse_servent) -libc_hidden_proto (_nss_files_parse_netent) +libnss_files_hidden_proto (_nss_files_parse_protoent) +libnss_files_hidden_proto (_nss_files_parse_servent) +libnss_files_hidden_proto (_nss_files_parse_netent) +libnss_files_hidden_proto (_nss_netgroup_parseline) #define DECLARE_NSS_PROTOTYPES(service) \ extern enum nss_status _nss_ ## service ## _setprotoent (int); \ diff --git a/include/netinet/ether.h b/include/netinet/ether.h index 2a9efae0bf..2efe4c04e4 100644 --- a/include/netinet/ether.h +++ b/include/netinet/ether.h @@ -17,7 +17,7 @@ struct parser_data; extern int _nss_files_parse_etherent (char *line, struct etherent *result, struct parser_data *data, size_t datalen, int *errnop); -libc_hidden_proto (_nss_files_parse_etherent) +libnss_files_hidden_proto (_nss_files_parse_etherent) #define DECLARE_NSS_PROTOTYPES(service) \ extern enum nss_status _nss_ ## service ## _setetherent (int __stayopen); \ diff --git a/include/pty.h b/include/pty.h new file mode 100644 index 0000000000..a91be80852 --- /dev/null +++ b/include/pty.h @@ -0,0 +1,6 @@ +#ifndef _PTY_H +#include + +libutil_hidden_proto (openpty) + +#endif diff --git a/include/rpc/netdb.h b/include/rpc/netdb.h index ad7cff1a6e..f7021e7aba 100644 --- a/include/rpc/netdb.h +++ b/include/rpc/netdb.h @@ -26,7 +26,7 @@ struct parser_data; extern int _nss_files_parse_rpcent (char *line, struct rpcent *result, struct parser_data *data, size_t datalen, int *errnop); -libc_hidden_proto (_nss_files_parse_rpcent) +libnss_files_hidden_proto (_nss_files_parse_rpcent) #define DECLARE_NSS_PROTOTYPES(service) \ extern enum nss_status _nss_ ## service ## _setrpcent (int); \ diff --git a/include/rpcsvc/nislib.h b/include/rpcsvc/nislib.h index 841c7f73a1..9c2be0e811 100644 --- a/include/rpcsvc/nislib.h +++ b/include/rpcsvc/nislib.h @@ -1 +1,45 @@ +#ifndef __RPCSVC_NISLIB_H__ #include + +libnsl_hidden_proto (nis_leaf_of_r) +libnsl_hidden_proto (nis_name_of_r) +libnsl_hidden_proto (nis_getnames) +libnsl_hidden_proto (nis_freenames) +libnsl_hidden_proto (nis_dir_cmp) +libnsl_hidden_proto (nis_destroy_object) +libnsl_hidden_proto (nis_local_directory) +libnsl_hidden_proto (nis_local_group) +libnsl_hidden_proto (nis_local_host) +libnsl_hidden_proto (nis_local_principal) +libnsl_hidden_proto (__free_fdresult) +libnsl_hidden_proto (nis_free_request) +libnsl_hidden_proto (nis_free_directory) +libnsl_hidden_proto (nis_free_object) +libnsl_hidden_proto (nis_freeresult) +libnsl_hidden_proto (readColdStartFile) +libnsl_hidden_proto (nis_print_rights) +libnsl_hidden_proto (nis_print_directory) +libnsl_hidden_proto (nis_print_group) +libnsl_hidden_proto (nis_print_table) +libnsl_hidden_proto (nis_print_link) +libnsl_hidden_proto (nis_print_entry) +libnsl_hidden_proto (nis_print_object) +libnsl_hidden_proto (nis_sperrno) +libnsl_hidden_proto (nis_sperror_r) +libnsl_hidden_proto (__nisbind_destroy) +libnsl_hidden_proto (__nisbind_next) +libnsl_hidden_proto (__nisbind_connect) +libnsl_hidden_proto (__nisbind_create) +libnsl_hidden_proto (nis_lookup) +libnsl_hidden_proto (nis_list) +libnsl_hidden_proto (__nis_finddirectory) +libnsl_hidden_proto (nis_domain_of_r) +libnsl_hidden_proto (nis_modify) +libnsl_hidden_proto (nis_remove) +libnsl_hidden_proto (nis_add) +libnsl_hidden_proto (__nis_default_owner) +libnsl_hidden_proto (__nis_default_group) +libnsl_hidden_proto (__nis_default_access) +libnsl_hidden_proto (nis_clone_object) + +#endif diff --git a/include/rpcsvc/yp.h b/include/rpcsvc/yp.h new file mode 100644 index 0000000000..cc4e00fd0b --- /dev/null +++ b/include/rpcsvc/yp.h @@ -0,0 +1,18 @@ +#ifndef __RPCSVC_YP_H__ +#include + +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 diff --git a/include/rpcsvc/ypclnt.h b/include/rpcsvc/ypclnt.h new file mode 100644 index 0000000000..b38dc6bb4c --- /dev/null +++ b/include/rpcsvc/ypclnt.h @@ -0,0 +1,10 @@ +#ifndef __RPCSVC_YPCLNT_H__ +#include + +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 diff --git a/include/rpcsvc/ypupd.h b/include/rpcsvc/ypupd.h new file mode 100644 index 0000000000..68116e629f --- /dev/null +++ b/include/rpcsvc/ypupd.h @@ -0,0 +1,6 @@ +#ifndef __RPCSVC_YPUPD_H__ +#include + +libnsl_hidden_proto (xdr_yp_buf) + +#endif diff --git a/include/utmp.h b/include/utmp.h index 54f41ba5e5..3a35c599e5 100644 --- a/include/utmp.h +++ b/include/utmp.h @@ -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 -- cgit 1.4.1