diff options
author | sobomax <sobomax@FreeBSD.org> | 2002-09-06 16:58:13 +0000 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2002-09-06 16:58:13 +0000 |
commit | 1208a633c0b8ace8008ba364f620cfafb5fbf08b (patch) | |
tree | dca1399be1572fe1a28a68364c8f9374768fa48d | |
parent | 7b8af445886ca09a89ca16addcd5ad16d787f9f8 (diff) | |
download | FreeBSD-src-1208a633c0b8ace8008ba364f620cfafb5fbf08b.zip FreeBSD-src-1208a633c0b8ace8008ba364f620cfafb5fbf08b.tar.gz |
Make these less broken.
-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 |