diff options
author | rwatson <rwatson@FreeBSD.org> | 2004-12-30 16:56:07 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2004-12-30 16:56:07 +0000 |
commit | a0561a7c8f5afef4fe44d26d56b9e826555ece3a (patch) | |
tree | ec55bc0d0b5e2b6edf3c1b0657564c62d8a8741d /sys/netipx/ipx_var.h | |
parent | 0e408bd3816e8ecfa94a299f09f176b2a4979f8d (diff) | |
download | FreeBSD-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.h | 8 |
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; |