diff options
Diffstat (limited to 'sys/netns')
-rw-r--r-- | sys/netns/ns.h | 12 | ||||
-rw-r--r-- | sys/netns/ns_if.h | 8 |
2 files changed, 10 insertions, 10 deletions
diff --git a/sys/netns/ns.h b/sys/netns/ns.h index 4138849..14c2b41 100644 --- a/sys/netns/ns.h +++ b/sys/netns/ns.h @@ -134,12 +134,12 @@ struct sockaddr_ns { #ifdef _KERNEL extern struct domain nsdomain; -union ns_host ns_thishost; -union ns_host ns_zerohost; -union ns_host ns_broadhost; -union ns_net ns_zeronet; -union ns_net ns_broadnet; -u_short ns_cksum(); +extern union ns_host ns_thishost; +extern union ns_host ns_zerohost; +extern union ns_host ns_broadhost; +extern union ns_net ns_zeronet; +extern union ns_net ns_broadnet; +u_short ns_cksum(void); #else #include <sys/cdefs.h> diff --git a/sys/netns/ns_if.h b/sys/netns/ns_if.h index 07cd9f2..fd71403 100644 --- a/sys/netns/ns_if.h +++ b/sys/netns/ns_if.h @@ -80,10 +80,10 @@ struct nsip_req { #endif #ifdef _KERNEL -struct ns_ifaddr *ns_ifaddr; -struct ns_ifaddr *ns_iaonnetof(); -void nsintr(void); -struct ifqueue nsintrq; /* XNS input packet queue */ +extern struct ns_ifaddr *ns_ifaddr; +extern struct ns_ifaddr *ns_iaonnetof(void); +void nsintr(void); +extern struct ifqueue nsintrq; /* XNS input packet queue */ #endif #endif |