]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
protosw: change prototype for pr_control
authorGleb Smirnoff <glebius@FreeBSD.org>
Fri, 12 Aug 2022 19:08:18 +0000 (12:08 -0700)
committerGleb Smirnoff <glebius@FreeBSD.org>
Fri, 12 Aug 2022 19:08:18 +0000 (12:08 -0700)
commitf277746e13261e139cbb7a3bbd74dfe104326182
treea7c3551c1ad834cd8a08135ffe48ca7e09269614
parent3a3af6b2a160bea72509a9d5ef84e25906b0478a
protosw: change prototype for pr_control

For some reason protosw.h is used during world complation and userland
is not aware of caddr_t, a relic from the first version of C.  Broken
buildworld is good reason to get rid of yet another caddr_t in kernel.

Fixes: 886fc1e80490fb03e72e306774766cbb2c733ac6
16 files changed:
sys/kern/uipc_socket.c
sys/netgraph/bluetooth/include/ng_btsocket_hci_raw.h
sys/netgraph/bluetooth/include/ng_btsocket_l2cap.h
sys/netgraph/bluetooth/include/ng_btsocket_rfcomm.h
sys/netgraph/bluetooth/include/ng_btsocket_sco.h
sys/netgraph/bluetooth/socket/ng_btsocket_hci_raw.c
sys/netgraph/bluetooth/socket/ng_btsocket_l2cap.c
sys/netgraph/bluetooth/socket/ng_btsocket_l2cap_raw.c
sys/netgraph/bluetooth/socket/ng_btsocket_rfcomm.c
sys/netgraph/bluetooth/socket/ng_btsocket_sco.c
sys/netinet/in.c
sys/netinet/in_var.h
sys/netinet6/in6.c
sys/netinet6/in6_var.h
sys/ofed/drivers/infiniband/ulp/sdp/sdp_main.c
sys/sys/protosw.h