aboutsummaryrefslogtreecommitdiff
path: root/inet/netgroup.h
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2017-08-13 21:10:56 +0200
committerFlorian Weimer <fweimer@redhat.com>2017-08-13 21:10:56 +0200
commitb22974092d09a61fdb371b28837175bb616e78cf (patch)
treef8c79d98833f256948b47fd3a64240c7c5f0e775 /inet/netgroup.h
parent1b0bfc6946b460bcebe9db19a015f2cac711f7f5 (diff)
downloadglibc-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 'inet/netgroup.h')
-rw-r--r--inet/netgroup.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/inet/netgroup.h b/inet/netgroup.h
index 9ad9dfe144..630d2b768a 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 */