From 1b3f472e51d0a3625a8e7cd1c2126aca25e27b64 Mon Sep 17 00:00:00 2001 From: Julian Elischer Date: Tue, 31 Oct 1995 23:36:47 +0000 Subject: 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. --- sys/netipx/ipx_cksum.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'sys/netipx/ipx_cksum.c') 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 #include +#include + /* * 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; -- cgit v1.2.3