Source-Changes-HG archive

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

[src/trunk]: src/sbin/fsirand Remove main() prototype; WARNS=3



details:   https://anonhg.NetBSD.org/src/rev/9dce245c499c
branches:  trunk
changeset: 573142:9dce245c499c
user:      xtraeme <xtraeme%NetBSD.org@localhost>
date:      Thu Jan 20 16:02:32 2005 +0000

description:
Remove main() prototype; WARNS=3

diffstat:

 sbin/fsirand/Makefile  |  4 ++--
 sbin/fsirand/fsirand.c |  7 ++-----
 2 files changed, 4 insertions(+), 7 deletions(-)

diffs (49 lines):

diff -r 328d165c74b4 -r 9dce245c499c sbin/fsirand/Makefile
--- a/sbin/fsirand/Makefile     Thu Jan 20 16:01:02 2005 +0000
+++ b/sbin/fsirand/Makefile     Thu Jan 20 16:02:32 2005 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.6 2002/08/19 10:16:54 lukem Exp $
+#      $NetBSD: Makefile,v 1.7 2005/01/20 16:02:32 xtraeme Exp $
 
 .include <bsd.own.mk>
 
@@ -8,7 +8,7 @@
 
 LDADD+=        -lutil
 
-WARNS= 2
+WARNS= 3
 
 .PATH:  ${NETBSDSRCDIR}/sys/ufs/ffs
 
diff -r 328d165c74b4 -r 9dce245c499c sbin/fsirand/fsirand.c
--- a/sbin/fsirand/fsirand.c    Thu Jan 20 16:01:02 2005 +0000
+++ b/sbin/fsirand/fsirand.c    Thu Jan 20 16:02:32 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: fsirand.c,v 1.24 2004/03/21 20:12:16 dsl Exp $ */
+/*     $NetBSD: fsirand.c,v 1.25 2005/01/20 16:02:32 xtraeme Exp $     */
 
 /*-
  * Copyright (c) 1997 The NetBSD Foundation, Inc.
@@ -38,7 +38,7 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: fsirand.c,v 1.24 2004/03/21 20:12:16 dsl Exp $");
+__RCSID("$NetBSD: fsirand.c,v 1.25 2005/01/20 16:02:32 xtraeme Exp $");
 #endif /* lint */
 
 #include <sys/param.h>
@@ -68,12 +68,9 @@
 static void fixinodes(int, struct fs *, struct disklabel *, int, long);
 static void statussig(int);
 
-int main(int, char *[]);
-
 int    needswap, ino, imax, is_ufs2;
 time_t tstart;
 
-
 static void
 usage(void)
 {



Home | Main Index | Thread Index | Old Index