glibc/inet
Alejandro Colomar 53fcdf5f74 Silence most -Wzero-as-null-pointer-constant diagnostics
Replace 0 by NULL and {0} by {}.

Omit a few cases that aren't so trivial to fix.

Link: <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117059>
Link: <https://software.codidact.com/posts/292718/292759#answer-292759>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-11-25 16:45:59 -03:00
..
arpa
netinet Add IPPROTO_SMC from Linux 6.11 to netinet/in.h 2024-10-10 10:28:04 -03:00
protocols
rpc
bindresvport.c
bug-if1.c
check_native.c
check_pf.c
deadline.c
etc.rpc
ether_aton_r.c
ether_aton.c
ether_line.c
ether_ntoa_r.c
ether_ntoa.c
getipv4sourcefilter.c
getsourcefilter.c
herrno-loc.c
herrno.c
htonl.c
htons.c
htontest.c
idna_name_classify.c
idna.c
if_index.c
ifaddrs.c
ifaddrs.h
ifreq.c
in6_addr.c
inet6_opt.c
inet6_option.c
inet6_rth.c
inet6_scopeid_pton.c
inet_lnaof.c
inet_mkadr.c
inet_net.c
inet_netof.c
inet_ntoa.c
Makefile
net-internal.h
rcmd.c Silence most -Wzero-as-null-pointer-constant diagnostics 2024-11-25 16:45:59 -03:00
rexec.c Silence most -Wzero-as-null-pointer-constant diagnostics 2024-11-25 16:45:59 -03:00
ruserpass.c Silence most -Wzero-as-null-pointer-constant diagnostics 2024-11-25 16:45:59 -03:00
setipv4sourcefilter.c
setsourcefilter.c
test_ifindex.c
test-hnto-types.c
test-ifaddrs.c
test-inet6_opt.c
tst-checks-posix.c
tst-checks.c
tst-deadline.c
tst-ether_aton.c
tst-ether_line.c
tst-getni1.c
tst-getni2.c
tst-idna_name_classify.c
tst-if_index-long.c
tst-if_nameindex.c inet: Avoid label at end of compound statement in tst-if_nameindex 2024-08-26 16:45:31 +02:00
tst-inet6_rth.c
tst-inet6_scopeid_pton.c
tst-network.c
tst-ntoa.c
tst-sockaddr.c
Versions