diff options
author | Jakub Jelinek <jakub@redhat.com> | 2004-11-02 12:26:42 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2004-11-02 12:26:42 +0000 |
commit | 80c96e8e6f452d6d9803f5a2e17030658f30afc4 (patch) | |
tree | ef584f35ed7167c7a680783415a66799c3789233 /include | |
parent | 0b5cfa4e0b7c9dc2cd81635307613c86c0f5e200 (diff) | |
download | glibc-80c96e8e6f452d6d9803f5a2e17030658f30afc4.tar.gz glibc-80c96e8e6f452d6d9803f5a2e17030658f30afc4.tar.xz glibc-80c96e8e6f452d6d9803f5a2e17030658f30afc4.zip |
Updated to fedora-glibc-20041102T1153
Diffstat (limited to 'include')
-rw-r--r-- | include/libc-symbols.h | 72 | ||||
-rw-r--r-- | include/netdb.h | 7 | ||||
-rw-r--r-- | include/netinet/ether.h | 2 | ||||
-rw-r--r-- | include/pty.h | 6 | ||||
-rw-r--r-- | include/rpc/netdb.h | 2 | ||||
-rw-r--r-- | include/rpcsvc/nislib.h | 44 | ||||
-rw-r--r-- | include/rpcsvc/yp.h | 18 | ||||
-rw-r--r-- | include/rpcsvc/ypclnt.h | 10 | ||||
-rw-r--r-- | include/rpcsvc/ypupd.h | 6 | ||||
-rw-r--r-- | include/utmp.h | 3 |
10 files changed, 165 insertions, 5 deletions
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 <symbol-hacks.h> 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 <login/pty.h> + +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 <nis/rpcsvc/nislib.h> + +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 <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 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 <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 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 <nis/rpcsvc/ypupd.h> + +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 |