Source-Changes-HG archive

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

[src/trunk]: src/usr.bin whitespace, remove main() prototype.



details:   https://anonhg.NetBSD.org/src/rev/b2c48afd8a6e
branches:  trunk
changeset: 573132:b2c48afd8a6e
user:      xtraeme <xtraeme%NetBSD.org@localhost>
date:      Thu Jan 20 15:44:59 2005 +0000

description:
whitespace, remove main() prototype.

diffstat:

 usr.bin/apply/apply.c     |   9 +++----
 usr.bin/chflags/chflags.c |   6 ++--
 usr.bin/cksum/cksum.c     |  10 ++++----
 usr.bin/cksum/extern.h    |  56 +++++++++++++++++++++++-----------------------
 usr.bin/cksum/md5.c       |  12 +++++-----
 5 files changed, 46 insertions(+), 47 deletions(-)

diffs (194 lines):

diff -r cfdf2066d57f -r b2c48afd8a6e usr.bin/apply/apply.c
--- a/usr.bin/apply/apply.c     Thu Jan 20 15:41:14 2005 +0000
+++ b/usr.bin/apply/apply.c     Thu Jan 20 15:44:59 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: apply.c,v 1.14 2005/01/12 14:35:56 xtraeme Exp $       */
+/*     $NetBSD: apply.c,v 1.15 2005/01/20 15:44:59 xtraeme Exp $       */
 
 /*-
  * Copyright (c) 1994
@@ -37,7 +37,7 @@
 #if 0
 static char sccsid[] = "@(#)apply.c    8.4 (Berkeley) 4/4/94";
 #else
-__RCSID("$NetBSD: apply.c,v 1.14 2005/01/12 14:35:56 xtraeme Exp $");
+__RCSID("$NetBSD: apply.c,v 1.15 2005/01/20 15:44:59 xtraeme Exp $");
 #endif
 #endif /* not lint */
 
@@ -52,9 +52,8 @@
 #include <string.h>
 #include <unistd.h>
 
-int    main (int, char **);
-void   usage (void);
-int    shell_system (const char *);
+void   usage(void);
+int    shell_system(const char *);
 
 int
 main(int argc, char *argv[])
diff -r cfdf2066d57f -r b2c48afd8a6e usr.bin/chflags/chflags.c
--- a/usr.bin/chflags/chflags.c Thu Jan 20 15:41:14 2005 +0000
+++ b/usr.bin/chflags/chflags.c Thu Jan 20 15:44:59 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: chflags.c,v 1.11 2005/01/12 17:19:23 xtraeme Exp $     */
+/*     $NetBSD: chflags.c,v 1.12 2005/01/20 15:44:59 xtraeme Exp $     */
 
 /*
  * Copyright (c) 1992, 1993, 1994
@@ -39,7 +39,7 @@
 #if 0
 static char sccsid[] = "from: @(#)chflags.c    8.5 (Berkeley) 4/1/94";
 #else
-__RCSID("$NetBSD: chflags.c,v 1.11 2005/01/12 17:19:23 xtraeme Exp $");
+__RCSID("$NetBSD: chflags.c,v 1.12 2005/01/20 15:44:59 xtraeme Exp $");
 #endif
 #endif /* not lint */
 
@@ -56,7 +56,7 @@
 
 #include "stat_flags.h"
 
-void   usage (void);
+void   usage(void);
 
 int
 main(int argc, char *argv[])
diff -r cfdf2066d57f -r b2c48afd8a6e usr.bin/cksum/cksum.c
--- a/usr.bin/cksum/cksum.c     Thu Jan 20 15:41:14 2005 +0000
+++ b/usr.bin/cksum/cksum.c     Thu Jan 20 15:44:59 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cksum.c,v 1.22 2005/01/12 17:04:35 xtraeme Exp $       */
+/*     $NetBSD: cksum.c,v 1.23 2005/01/20 15:44:59 xtraeme 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.22 2005/01/12 17:04:35 xtraeme Exp $");
+__RCSID("$NetBSD: cksum.c,v 1.23 2005/01/20 15:44:59 xtraeme Exp $");
 #endif /* not lint */
 
 #include <sys/cdefs.h>
@@ -138,9 +138,9 @@
        { NULL }
 };
 
-int    hash_digest_file (char *, struct hash *, int);
-void   requirehash (const char *);
-void   usage (void);
+int    hash_digest_file(char *, struct hash *, int);
+void   requirehash(const char *);
+void   usage(void);
 
 int
 main(int argc, char **argv)
diff -r cfdf2066d57f -r b2c48afd8a6e usr.bin/cksum/extern.h
--- a/usr.bin/cksum/extern.h    Thu Jan 20 15:41:14 2005 +0000
+++ b/usr.bin/cksum/extern.h    Thu Jan 20 15:44:59 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: extern.h,v 1.14 2005/01/12 17:04:35 xtraeme Exp $      */
+/*     $NetBSD: extern.h,v 1.15 2005/01/20 15:44:59 xtraeme Exp $      */
 
 /*-
  * Copyright (c) 1991, 1993
@@ -38,36 +38,36 @@
 #include <sys/cdefs.h>
 
 __BEGIN_DECLS
-int    crc (int, u_int32_t *, off_t *);
-void   pcrc (char *, u_int32_t, off_t);
-void   psum1 (char *, u_int32_t, off_t);
-void   psum2 (char *, u_int32_t, off_t);
-int    csum1 (int, u_int32_t *, off_t *);
-int    csum2 (int, u_int32_t *, off_t *);
-int    md5 (int, u_int32_t *, u_int32_t *);
+int    crc(int, u_int32_t *, off_t *);
+void   pcrc(char *, u_int32_t, off_t);
+void   psum1(char *, u_int32_t, off_t);
+void   psum2(char *, u_int32_t, off_t);
+int    csum1(int, u_int32_t *, off_t *);
+int    csum2(int, u_int32_t *, off_t *);
+int    md5(int, u_int32_t *, u_int32_t *);
 
-void   MD2String (const char *);
-void   MD2TimeTrial (void);
-void   MD2TestSuite (void);
-void   MD2Filter (int);
+void   MD2String(const char *);
+void   MD2TimeTrial(void);
+void   MD2TestSuite(void);
+void   MD2Filter(int);
 
-void   MD4String (const char *);
-void   MD4TimeTrial (void);
-void   MD4TestSuite (void);
-void   MD4Filter (int);
+void   MD4String(const char *);
+void   MD4TimeTrial(void);
+void   MD4TestSuite(void);
+void   MD4Filter(int);
 
-void   MD5String (const char *);
-void   MD5TimeTrial (void);
-void   MD5TestSuite (void);
-void   MD5Filter (int);
+void   MD5String(const char *);
+void   MD5TimeTrial(void);
+void   MD5TestSuite(void);
+void   MD5Filter(int);
 
-void   SHA1String (const char *);
-void   SHA1TimeTrial (void);
-void   SHA1TestSuite (void);
-void   SHA1Filter (int);
+void   SHA1String(const char *);
+void   SHA1TimeTrial(void);
+void   SHA1TestSuite(void);
+void   SHA1Filter(int);
 
-void   RMD160String (const char *);
-void   RMD160TimeTrial (void);
-void   RMD160TestSuite (void);
-void   RMD160Filter (int);
+void   RMD160String(const char *);
+void   RMD160TimeTrial(void);
+void   RMD160TestSuite(void);
+void   RMD160Filter(int);
 __END_DECLS
diff -r cfdf2066d57f -r b2c48afd8a6e usr.bin/cksum/md5.c
--- a/usr.bin/cksum/md5.c       Thu Jan 20 15:41:14 2005 +0000
+++ b/usr.bin/cksum/md5.c       Thu Jan 20 15:44:59 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: md5.c,v 1.7 2005/01/12 17:10:05 xtraeme Exp $  */
+/*     $NetBSD: md5.c,v 1.8 2005/01/20 15:44:59 xtraeme Exp $  */
 
 /*
  * MDDRIVER.C - test driver for MD2, MD4 and MD5
@@ -23,7 +23,7 @@
 
 #include <sys/cdefs.h>
 #if defined(__RCSID) && !defined(lint)
-__RCSID("$NetBSD: md5.c,v 1.7 2005/01/12 17:10:05 xtraeme Exp $");
+__RCSID("$NetBSD: md5.c,v 1.8 2005/01/20 15:44:59 xtraeme Exp $");
 #endif /* not lint */
 
 #include <sys/types.h>
@@ -34,10 +34,10 @@
 #include <string.h>
 #include <time.h>
 
-void   MD5Filter (int);
-void   MD5String (const char *);
-void   MD5TestSuite (void);
-void   MD5TimeTrial (void);
+void   MD5Filter(int);
+void   MD5String(const char *);
+void   MD5TestSuite(void);
+void   MD5TimeTrial(void);
 
 #ifndef HASHTYPE
 #define HASHTYPE "MD5"



Home | Main Index | Thread Index | Old Index