diff options
author | Florian Weimer <fweimer@redhat.com> | 2017-08-13 21:10:56 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2017-08-13 21:10:56 +0200 |
commit | b22974092d09a61fdb371b28837175bb616e78cf (patch) | |
tree | f8c79d98833f256948b47fd3a64240c7c5f0e775 /nss/XXX-lookup.c | |
parent | 1b0bfc6946b460bcebe9db19a015f2cac711f7f5 (diff) | |
download | glibc-b22974092d09a61fdb371b28837175bb616e78cf.tar glibc-b22974092d09a61fdb371b28837175bb616e78cf.tar.gz glibc-b22974092d09a61fdb371b28837175bb616e78cf.tar.bz2 glibc-b22974092d09a61fdb371b28837175bb616e78cf.zip |
NSS: Do not use internal_function for functions with hidden aliases
Such functions are called across DSO boundaries and should not
use a non-standard ABI.
Diffstat (limited to 'nss/XXX-lookup.c')
-rw-r--r-- | nss/XXX-lookup.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/nss/XXX-lookup.c b/nss/XXX-lookup.c index 5a37fdae08..972a2102bf 100644 --- a/nss/XXX-lookup.c +++ b/nss/XXX-lookup.c @@ -56,12 +56,10 @@ service_user *DATABASE_NAME_SYMBOL attribute_hidden; extern int DB_LOOKUP_FCT (service_user **ni, const char *fct_name, - const char *fct2_name, void **fctp) - internal_function; + const char *fct2_name, void **fctp); libc_hidden_proto (DB_LOOKUP_FCT) int -internal_function DB_LOOKUP_FCT (service_user **ni, const char *fct_name, const char *fct2_name, void **fctp) { @@ -79,7 +77,7 @@ libc_hidden_def (DB_LOOKUP_FCT) #ifndef NO_COMPAT int -internal_function attribute_compat_text_section +attribute_compat_text_section DB_COMPAT_FCT (service_user **ni, const char *fct_name, void **fctp) { return DB_LOOKUP_FCT (ni, fct_name, NULL, fctp); |