Move route_cache() declaration from net/route.h to netinet/in.h.
authoraoyama <aoyama@openbsd.org>
Mon, 5 Feb 2024 12:52:11 +0000 (12:52 +0000)
committeraoyama <aoyama@openbsd.org>
Mon, 5 Feb 2024 12:52:11 +0000 (12:52 +0000)
commit56ac69207b36fb9062b0f326722f1259ed2d77bd
tree4db630845f90906a2994d78aff9ce7cd2570a4bc
parentbe42267c33ebd292f5bc8fe1073d6306464890d3
Move route_cache() declaration from net/route.h to netinet/in.h.

This prevents gcc3's 'parameter has incomplete type' warning that
causes kernel build failure.

Suggested by claudio@, ok bluhm@
sys/net/route.h
sys/netinet/in.h