HomeFreeBSD

netinet*: remove unneeded headers from files that just declare domains

Description

netinet*: remove unneeded headers from files that just declare domains

Details

Provenance
glebiusAuthored on Oct 25 2022, 6:09 PM
Parents
rGeda633455a63: tcp: remove useless today lock assertion in a middle of function
Branches
Unknown
Tags
Unknown

Event Timeline

--- in_proto.o ---
/usr/src/sys/netinet/in_proto.c:83:19: error: use of undeclared identifier 'in_inithead'
--- modules-all ---
--- all_subdir_accf_data ---
===> accf_data (all)
--- in_proto.o ---
        .dom_rtattach =         in_inithead,
                                ^
/usr/src/sys/netinet/in_proto.c:85:19: error: use of undeclared identifier 'in_detachhead'
        .dom_rtdetach =         in_detachhead,
                                ^
/usr/src/sys/netinet/in_proto.c:87:19: error: use of undeclared identifier 'in_domifattach'; did you mean 'in_ifdetach'?
        .dom_ifattach =         in_domifattach,
                                ^~~~~~~~~~~~~~
                                in_ifdetach
/usr/src/sys/netinet/in.h:690:7: note: 'in_ifdetach' declared here
void     in_ifdetach(struct ifnet *);
         ^
/usr/src/sys/netinet/in_proto.c:88:19: error: use of undeclared identifier 'in_domifdetach'; did you mean 'in_ifdetach'?
        .dom_ifdetach =         in_domifdetach,
                                ^~~~~~~~~~~~~~
                                in_ifdetach
/usr/src/sys/netinet/in.h:690:7: note: 'in_ifdetach' declared here
void     in_ifdetach(struct ifnet *);
         ^
4 errors generated.
*** [in_proto.o] Error code 1

make[2]: stopped in /usr/obj/usr/src/arm64.aarch64/sys/GENERIC-MMCCAM
--- modules-all ---
*** [modules-all] Error code 6

make[2]: stopped in /usr/obj/usr/src/arm64.aarch64/sys/GENERIC-MMCCAM
--- h_ertt.o ---
ctfconvert -L VERSION -g h_ertt.o
--- ip_options.o ---
ctfconvert -L VERSION -g ip_options.o
--- ip_fastfwd.o ---
ctfconvert -L VERSION -g ip_fastfwd.o
--- cc.o ---
ctfconvert -L VERSION -g cc.o
--- cc_cubic.o ---
ctfconvert -L VERSION -g cc_cubic.o
--- raw_ip.o ---
ctfconvert -L VERSION -g raw_ip.o
--- ip_reass.o ---
ctfconvert -L VERSION -g ip_reass.o
--- ip_output.o ---
ctfconvert -L VERSION -g ip_output.o
--- ip_icmp.o ---
ctfconvert -L VERSION -g ip_icmp.o
--- ip_input.o ---
ctfconvert -L VERSION -g ip_input.o
2 errors

make[2]: stopped in /usr/obj/usr/src/arm64.aarch64/sys/GENERIC-MMCCAM
        1.16 real         4.90 user         0.43 sys

make[1]: stopped in /usr/src

make: stopped in /usr/src

Hi,
reverting this commit 92e190f11fe8 fixed the build for me.
Regards
K.