aboutsummaryrefslogtreecommitdiff
path: root/sys/netipx/ipx_cksum.c
diff options
context:
space:
mode:
authorJulian Elischer <julian@FreeBSD.org>1995-10-31 23:36:47 +0000
committerJulian Elischer <julian@FreeBSD.org>1995-10-31 23:36:47 +0000
commit1b3f472e51d0a3625a8e7cd1c2126aca25e27b64 (patch)
tree62e87b22c042bf167915c074c6618f3fce82e573 /sys/netipx/ipx_cksum.c
parent9f65f104f5d16e582ddbf8ccdfa81b324d5d4561 (diff)
downloadsrc-1b3f472e51d0a3625a8e7cd1c2126aca25e27b64.tar.gz
src-1b3f472e51d0a3625a8e7cd1c2126aca25e27b64.zip
Submitted by: Mike Mitchell (mitchell@ref.tfs.com)
these patches bring the ipx code up to the point that it compiles cleanly with the -W arguments suggested by bruce.
Notes
Notes: svn path=/head/; revision=11991
Diffstat (limited to 'sys/netipx/ipx_cksum.c')
-rw-r--r--sys/netipx/ipx_cksum.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/netipx/ipx_cksum.c b/sys/netipx/ipx_cksum.c
index 6db3c60a1240..3cdf99638e33 100644
--- a/sys/netipx/ipx_cksum.c
+++ b/sys/netipx/ipx_cksum.c
@@ -31,12 +31,14 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * @(#)ipx_cksum.c
+ * @(#)$Id$
*/
#include <sys/param.h>
#include <sys/mbuf.h>
+#include <netipx/ipx.h>
+
/*
* Checksum routine for Network Systems Protocol Packets (Big-Endian).
*
@@ -49,8 +51,8 @@
u_short
ipx_cksum(m, len)
- register struct mbuf *m;
- register int len;
+ struct mbuf *m;
+ int len;
{
register u_short *w;
register int sum = 0;