summaryrefslogtreecommitdiffstats
path: root/sys/netipx/ipx_var.h
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2004-12-30 16:56:07 +0000
committerrwatson <rwatson@FreeBSD.org>2004-12-30 16:56:07 +0000
commita0561a7c8f5afef4fe44d26d56b9e826555ece3a (patch)
treeec55bc0d0b5e2b6edf3c1b0657564c62d8a8741d /sys/netipx/ipx_var.h
parent0e408bd3816e8ecfa94a299f09f176b2a4979f8d (diff)
downloadFreeBSD-src-a0561a7c8f5afef4fe44d26d56b9e826555ece3a.zip
FreeBSD-src-a0561a7c8f5afef4fe44d26d56b9e826555ece3a.tar.gz
Constify ipx_zeronet, ipx_zerohost, ipx_broadnet, ipx_broadhost.
Remove 'allones' since the values of the broadcast network and host variables are set statically.
Diffstat (limited to 'sys/netipx/ipx_var.h')
-rw-r--r--sys/netipx/ipx_var.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/netipx/ipx_var.h b/sys/netipx/ipx_var.h
index ff2045e..04cbec5 100644
--- a/sys/netipx/ipx_var.h
+++ b/sys/netipx/ipx_var.h
@@ -72,10 +72,10 @@ extern struct pr_usrreqs ripx_usrreqs;
extern struct sockaddr_ipx ipx_netmask;
extern struct sockaddr_ipx ipx_hostmask;
-extern union ipx_net ipx_zeronet;
-extern union ipx_host ipx_zerohost;
-extern union ipx_net ipx_broadnet;
-extern union ipx_host ipx_broadhost;
+extern const union ipx_net ipx_zeronet;
+extern const union ipx_host ipx_zerohost;
+extern const union ipx_net ipx_broadnet;
+extern const union ipx_host ipx_broadhost;
struct ifnet;
struct ipx_addr;
OpenPOWER on IntegriCloud