Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/cksum De-register.
details: https://anonhg.NetBSD.org/src/rev/13425f565bac
branches: trunk
changeset: 573677:13425f565bac
user: simonb <simonb%NetBSD.org@localhost>
date: Sat Feb 05 00:13:34 2005 +0000
description:
De-register.
diffstat:
usr.bin/cksum/cksum.c | 6 +++---
usr.bin/cksum/crc.c | 12 ++++++------
usr.bin/cksum/sum1.c | 14 +++++++-------
usr.bin/cksum/sum2.c | 14 +++++++-------
4 files changed, 23 insertions(+), 23 deletions(-)
diffs (133 lines):
diff -r a76953f5f6c4 -r 13425f565bac usr.bin/cksum/cksum.c
--- a/usr.bin/cksum/cksum.c Fri Feb 04 22:45:05 2005 +0000
+++ b/usr.bin/cksum/cksum.c Sat Feb 05 00:13:34 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cksum.c,v 1.23 2005/01/20 15:44:59 xtraeme Exp $ */
+/* $NetBSD: cksum.c,v 1.24 2005/02/05 00:13:34 simonb Exp $ */
/*-
* Copyright (c) 1991, 1993
@@ -81,7 +81,7 @@
#if 0
static char sccsid[] = "@(#)cksum.c 8.2 (Berkeley) 4/28/95";
#endif
-__RCSID("$NetBSD: cksum.c,v 1.23 2005/01/20 15:44:59 xtraeme Exp $");
+__RCSID("$NetBSD: cksum.c,v 1.24 2005/02/05 00:13:34 simonb Exp $");
#endif /* not lint */
#include <sys/cdefs.h>
@@ -145,7 +145,7 @@
int
main(int argc, char **argv)
{
- register int ch, fd, rval, dosum, pflag, nohashstdin;
+ int ch, fd, rval, dosum, pflag, nohashstdin;
u_int32_t val;
off_t len;
char *fn;
diff -r a76953f5f6c4 -r 13425f565bac usr.bin/cksum/crc.c
--- a/usr.bin/cksum/crc.c Fri Feb 04 22:45:05 2005 +0000
+++ b/usr.bin/cksum/crc.c Sat Feb 05 00:13:34 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: crc.c,v 1.16 2005/01/12 17:04:35 xtraeme Exp $ */
+/* $NetBSD: crc.c,v 1.17 2005/02/05 00:13:34 simonb Exp $ */
/*-
* Copyright (c) 1991, 1993
@@ -41,7 +41,7 @@
#if 0
static char sccsid[] = "@(#)crc.c 8.1 (Berkeley) 6/17/93";
#else
-__RCSID("$NetBSD: crc.c,v 1.16 2005/01/12 17:04:35 xtraeme Exp $");
+__RCSID("$NetBSD: crc.c,v 1.17 2005/02/05 00:13:34 simonb Exp $");
#endif
#endif /* not lint */
@@ -112,11 +112,11 @@
* success and 1 on failure. Errno is set on failure.
*/
int
-crc(register int fd, u_int32_t *cval, off_t *clen)
+crc(int fd, u_int32_t *cval, off_t *clen)
{
- register u_char *p;
- register int nr;
- register u_int32_t thecrc;
+ u_char *p;
+ int nr;
+ u_int32_t thecrc;
off_t len;
u_char buf[16 * 1024];
diff -r a76953f5f6c4 -r 13425f565bac usr.bin/cksum/sum1.c
--- a/usr.bin/cksum/sum1.c Fri Feb 04 22:45:05 2005 +0000
+++ b/usr.bin/cksum/sum1.c Sat Feb 05 00:13:34 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sum1.c,v 1.12 2005/01/12 17:04:35 xtraeme Exp $ */
+/* $NetBSD: sum1.c,v 1.13 2005/02/05 00:13:34 simonb Exp $ */
/*-
* Copyright (c) 1991, 1993
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)sum1.c 8.1 (Berkeley) 6/6/93";
#else
-__RCSID("$NetBSD: sum1.c,v 1.12 2005/01/12 17:04:35 xtraeme Exp $");
+__RCSID("$NetBSD: sum1.c,v 1.13 2005/02/05 00:13:34 simonb Exp $");
#endif
#endif /* not lint */
@@ -48,12 +48,12 @@
#include "extern.h"
int
-csum1(register int fd, u_int32_t *cval, off_t *clen)
+csum1(int fd, u_int32_t *cval, off_t *clen)
{
- register off_t total;
- register int nr;
- register u_int thecrc;
- register u_char *p;
+ off_t total;
+ int nr;
+ u_int thecrc;
+ u_char *p;
u_char buf[8192];
/*
diff -r a76953f5f6c4 -r 13425f565bac usr.bin/cksum/sum2.c
--- a/usr.bin/cksum/sum2.c Fri Feb 04 22:45:05 2005 +0000
+++ b/usr.bin/cksum/sum2.c Sat Feb 05 00:13:34 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sum2.c,v 1.12 2005/01/12 17:04:35 xtraeme Exp $ */
+/* $NetBSD: sum2.c,v 1.13 2005/02/05 00:13:34 simonb Exp $ */
/*-
* Copyright (c) 1991, 1993
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)sum2.c 8.1 (Berkeley) 6/6/93";
#else
-__RCSID("$NetBSD: sum2.c,v 1.12 2005/01/12 17:04:35 xtraeme Exp $");
+__RCSID("$NetBSD: sum2.c,v 1.13 2005/02/05 00:13:34 simonb Exp $");
#endif
#endif /* not lint */
@@ -48,12 +48,12 @@
#include "extern.h"
int
-csum2(register int fd, u_int32_t *cval, off_t *clen)
+csum2(int fd, u_int32_t *cval, off_t *clen)
{
- register u_int32_t thecrc;
- register off_t total;
- register int nr;
- register u_char *p;
+ u_int32_t thecrc;
+ off_t total;
+ int nr;
+ u_char *p;
u_char buf[8192];
/*
Home |
Main Index |
Thread Index |
Old Index