aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-03-15 09:30:44 +0000
committerUlrich Drepper <drepper@redhat.com>2002-03-15 09:30:44 +0000
commitdff07c4bd402944ea0abb544232541fd9a4c5429 (patch)
tree6444a596a9ec1519f238a00175c2a4ee9d880b8c /include
parent9360906d42dd15e24f27a35b77f16df516f3c05d (diff)
downloadglibc-dff07c4bd402944ea0abb544232541fd9a4c5429.zip
glibc-dff07c4bd402944ea0abb544232541fd9a4c5429.tar.gz
glibc-dff07c4bd402944ea0abb544232541fd9a4c5429.tar.bz2
Update.
2002-03-15 Ulrich Drepper <drepper@redhat.com> * sysdeps/i386/i386-mcount.S: Just call __mcount_internal, it is an internal function. Adjust for internal_function calling convention. * sysdeps/i386/machine-gmon.h: Declare and define __mcount_internal as internal_function. * sysdeps/generic/framestate.c: Declare fallback_frame_state_for as hidden. * nss/XXX-lookup.c (DB_LOOKUP_FCT): Add internal_function to declaration and definition. * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Add internal_function to declaration. * nss/getXXent_r.c: Likewise. * nss/nsswitch.h (db_lookup_function): Add internal_function to definition. * include/time.h: Declare __localtime_r as hidden. * include/grp.h: Declare __getgrent_r as hidden. * include/netdb.h: Declare __gethostent_r, __getnetent_r, __getservent_r, and __getprotoent_r as hidden. * include/pwd.h: Declare __getpwent_r as hidden. * include/shadow.h: Declare __getspent_r as hidden. * include/rpc/netdb.h: Declare __getrpcent_r as hidden. * iconv/gconv_int.h: Declare __gconv_read_conf, __gconv_alias_compare, and __gconv_transliterate as hidden. Add internal_function to __gconv_get_path declaration. * iconv/gconv_int.h: Add internal_function to __gconv_get_path definition. Add attribute_hidden to __gconv_read_conf definition.
Diffstat (limited to 'include')
-rw-r--r--include/grp.h3
-rw-r--r--include/netdb.h10
-rw-r--r--include/pwd.h3
-rw-r--r--include/rpc/netdb.h3
-rw-r--r--include/shadow.h3
-rw-r--r--include/time.h2
6 files changed, 15 insertions, 9 deletions
diff --git a/include/grp.h b/include/grp.h
index 6b13ea1b..984483b 100644
--- a/include/grp.h
+++ b/include/grp.h
@@ -3,7 +3,8 @@
/* Now define the internal interfaces. */
extern int __getgrent_r (struct group *__resultbuf, char *buffer,
- size_t __buflen, struct group **__result);
+ size_t __buflen, struct group **__result)
+ attribute_hidden;
extern int __old_getgrent_r (struct group *__resultbuf, char *buffer,
size_t __buflen, struct group **__result);
extern int __fgetgrent_r (FILE * __stream, struct group *__resultbuf,
diff --git a/include/netdb.h b/include/netdb.h
index 929ab9e..0a97c01 100644
--- a/include/netdb.h
+++ b/include/netdb.h
@@ -5,7 +5,7 @@
extern int __gethostent_r (struct hostent *__restrict __result_buf,
char *__restrict __buf, size_t __buflen,
struct hostent **__restrict __result,
- int *__restrict __h_errnop);
+ int *__restrict __h_errnop) attribute_hidden;
extern int __old_gethostent_r (struct hostent *__restrict __result_buf,
char *__restrict __buf, size_t __buflen,
struct hostent **__restrict __result,
@@ -49,7 +49,7 @@ extern int __old_gethostbyname2_r (__const char *__restrict __name, int __af,
extern int __getnetent_r (struct netent *__restrict __result_buf,
char *__restrict __buf, size_t __buflen,
struct netent **__restrict __result,
- int *__restrict __h_errnop);
+ int *__restrict __h_errnop) attribute_hidden;
extern int __old_getnetent_r (struct netent *__restrict __result_buf,
char *__restrict __buf, size_t __buflen,
struct netent **__restrict __result,
@@ -79,7 +79,8 @@ extern int __old_getnetbyname_r (__const char *__restrict __name,
extern int __getservent_r (struct servent *__restrict __result_buf,
char *__restrict __buf, size_t __buflen,
- struct servent **__restrict __result);
+ struct servent **__restrict __result)
+ attribute_hidden;
extern int __old_getservent_r (struct servent *__restrict __result_buf,
char *__restrict __buf, size_t __buflen,
struct servent **__restrict __result);
@@ -108,7 +109,8 @@ extern int __old_getservbyport_r (int __port,
extern int __getprotoent_r (struct protoent *__restrict __result_buf,
char *__restrict __buf, size_t __buflen,
- struct protoent **__restrict __result);
+ struct protoent **__restrict __result)
+ attribute_hidden;
extern int __old_getprotoent_r (struct protoent *__restrict __result_buf,
char *__restrict __buf, size_t __buflen,
struct protoent **__restrict __result);
diff --git a/include/pwd.h b/include/pwd.h
index 341c6ce..374f02a 100644
--- a/include/pwd.h
+++ b/include/pwd.h
@@ -3,7 +3,8 @@
/* Now define the internal interfaces. */
extern int __getpwent_r (struct passwd *__resultbuf, char *__buffer,
- size_t __buflen, struct passwd **__result);
+ size_t __buflen, struct passwd **__result)
+ attribute_hidden;
extern int __old_getpwent_r (struct passwd *__resultbuf, char *__buffer,
size_t __buflen, struct passwd **__result);
extern int __getpwuid_r (__uid_t __uid, struct passwd *__resultbuf,
diff --git a/include/rpc/netdb.h b/include/rpc/netdb.h
index 310cdd7..71c4a09 100644
--- a/include/rpc/netdb.h
+++ b/include/rpc/netdb.h
@@ -17,7 +17,8 @@ extern int __old_getrpcbynumber_r (int __number, struct rpcent *__result_buf,
struct rpcent **__result);
extern int __getrpcent_r (struct rpcent *__result_buf, char *__buffer,
- size_t __buflen, struct rpcent **__result);
+ size_t __buflen, struct rpcent **__result)
+ attribute_hidden;
extern int __old_getrpcent_r (struct rpcent *__result_buf, char *__buffer,
size_t __buflen, struct rpcent **__result);
diff --git a/include/shadow.h b/include/shadow.h
index 0ae6b21..3891d79 100644
--- a/include/shadow.h
+++ b/include/shadow.h
@@ -3,7 +3,8 @@
/* Now define the internal interfaces. */
extern int __getspent_r (struct spwd *__result_buf, char *__buffer,
- size_t __buflen, struct spwd **__result);
+ size_t __buflen, struct spwd **__result)
+ attribute_hidden;
extern int __old_getspent_r (struct spwd *__result_buf, char *__buffer,
size_t __buflen, struct spwd **__result);
extern int __getspnam_r (__const char *__name, struct spwd *__result_buf,
diff --git a/include/time.h b/include/time.h
index 0806e10..ff331cd 100644
--- a/include/time.h
+++ b/include/time.h
@@ -38,7 +38,7 @@ extern time_t __mktime_internal (struct tm *__tp,
struct tm *),
time_t *__offset);
extern struct tm *__localtime_r (__const time_t *__timer,
- struct tm *__tp);
+ struct tm *__tp) attribute_hidden;
extern struct tm *__gmtime_r (__const time_t *__restrict __timer,
struct tm *__restrict __tp);