From b22974092d09a61fdb371b28837175bb616e78cf Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Sun, 13 Aug 2017 21:10:56 +0200 Subject: 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. --- inet/netgroup.h | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'inet/netgroup.h') diff --git a/inet/netgroup.h b/inet/netgroup.h index 9ad9dfe..630d2b7 100644 --- a/inet/netgroup.h +++ b/inet/netgroup.h @@ -70,16 +70,13 @@ struct __netgrent /* The internal netgroup handling functions might be called from outside. */ extern int __internal_setnetgrent (const char *group, - struct __netgrent *datap) - internal_function; + struct __netgrent *datap); libc_hidden_proto (__internal_setnetgrent) -extern void __internal_endnetgrent (struct __netgrent *datap) - internal_function; +extern void __internal_endnetgrent (struct __netgrent *datap); libc_hidden_proto (__internal_endnetgrent) extern int __internal_getnetgrent_r (char **hostp, char **userp, char **domainp, struct __netgrent *datap, - char *buffer, size_t buflen, int *errnop) - internal_function; + char *buffer, size_t buflen, int *errnop); libc_hidden_proto (__internal_getnetgrent_r) #endif /* netgroup.h */ -- cgit v1.1