nsswitch: explicitly mark nss_module_register() _PUBLIC_ on FreeBSD
authorStefan Metzmacher <metze@samba.org>
Thu, 1 Jul 2021 10:08:16 +0000 (12:08 +0200)
committerStefan Metzmacher <metze@samba.org>
Tue, 30 Nov 2021 15:53:34 +0000 (15:53 +0000)
commitfa98a44cb4d94c6a290deb931b260e411364314d
tree6efdd727832697b52c6ba6f1c61fbb1b62a922ce
parent419ca68de0c9ed02612e64717963d133833061e7
nsswitch: explicitly mark nss_module_register() _PUBLIC_ on FreeBSD

This is the only symbol which is used via dlopen()/dlsym() and
needs to be exported, in future we'll do hide all other symbols.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14780

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
nsswitch/winbind_nss_freebsd.c
nsswitch/wins_freebsd.c