[PATCH] nss: Remove effectively unused __nss_*_database variables
Collin Funk
collin.funk1@gmail.com
Tue Nov 18 18:30:01 GMT 2025
Florian Weimer <fweimer@redhat.com> writes:
> * Collin Funk:
>
>> Looks good to me. I don't see the __nss_*_database symbols accessed from
>> anywhere outside of tests, where they have an extern declaration anyways.
>
> Huh, do you mean this?
>
> nss/tst-rfc3484-2.c:nss_action_list __nss_hosts_database attribute_hidden;
> nss/tst-rfc3484-3.c:nss_action_list __nss_hosts_database attribute_hidden;
> nss/tst-rfc3484.c:nss_action_list __nss_hosts_database attribute_hidden;
>
> Looks like I forgot these. Will send a v2.
Yep, that is what I meant.
I don't know why I didn't notice they were unused...
Collin
More information about the Libc-alpha
mailing list