Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-6]: src/usr.bin/cksum Pull up revision 1.13 (requested by klein...



details:   https://anonhg.NetBSD.org/src/rev/70626f19c927
branches:  netbsd-1-6
changeset: 531037:70626f19c927
user:      tron <tron%NetBSD.org@localhost>
date:      Sun Dec 21 08:13:30 2003 +0000

description:
Pull up revision 1.13 (requested by kleink in ticket #1580):
Update to keep file lengths in appropriate data types (off_t, as opposed
to u_int32_t).

diffstat:

 usr.bin/cksum/extern.h |  14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diffs (28 lines):

diff -r c6dd6732aec2 -r 70626f19c927 usr.bin/cksum/extern.h
--- a/usr.bin/cksum/extern.h    Sun Dec 21 08:13:25 2003 +0000
+++ b/usr.bin/cksum/extern.h    Sun Dec 21 08:13:30 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: extern.h,v 1.10 2002/03/31 14:30:21 bjh21 Exp $        */
+/*     $NetBSD: extern.h,v 1.10.2.1 2003/12/21 08:13:30 tron Exp $     */
 
 /*-
  * Copyright (c) 1991, 1993
@@ -42,12 +42,12 @@
 #include <sys/cdefs.h>
 
 __BEGIN_DECLS
-int    crc __P((int, u_int32_t *, u_int32_t *));
-void   pcrc __P((char *, u_int32_t, u_int32_t));
-void   psum1 __P((char *, u_int32_t, u_int32_t));
-void   psum2 __P((char *, u_int32_t, u_int32_t));
-int    csum1 __P((int, u_int32_t *, u_int32_t *));
-int    csum2 __P((int, u_int32_t *, u_int32_t *));
+int    crc __P((int, u_int32_t *, off_t *));
+void   pcrc __P((char *, u_int32_t, off_t));
+void   psum1 __P((char *, u_int32_t, off_t));
+void   psum2 __P((char *, u_int32_t, off_t));
+int    csum1 __P((int, u_int32_t *, off_t *));
+int    csum2 __P((int, u_int32_t *, off_t *));
 int    md5 __P((int, u_int32_t *, u_int32_t *));
 
 void   MD2String __P((const char *));



Home | Main Index | Thread Index | Old Index