Source-Changes-HG archive

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

[src/trunk]: src/sbin/dkctl ANSIfy; WARNS=3



details:   https://anonhg.NetBSD.org/src/rev/8b952599f43c
branches:  trunk
changeset: 573137:8b952599f43c
user:      xtraeme <xtraeme%NetBSD.org@localhost>
date:      Thu Jan 20 15:53:35 2005 +0000

description:
ANSIfy; WARNS=3

diffstat:

 sbin/dkctl/Makefile |  3 ++-
 sbin/dkctl/dkctl.c  |  7 +++----
 2 files changed, 5 insertions(+), 5 deletions(-)

diffs (46 lines):

diff -r 0636bad29089 -r 8b952599f43c sbin/dkctl/Makefile
--- a/sbin/dkctl/Makefile       Thu Jan 20 15:52:09 2005 +0000
+++ b/sbin/dkctl/Makefile       Thu Jan 20 15:53:35 2005 +0000
@@ -1,5 +1,6 @@
-#      $NetBSD: Makefile,v 1.1 2002/01/09 22:30:14 thorpej Exp $
+#      $NetBSD: Makefile,v 1.2 2005/01/20 15:53:35 xtraeme Exp $
 
+WARNS= 3
 PROG=  dkctl
 MAN=   dkctl.8
 
diff -r 0636bad29089 -r 8b952599f43c sbin/dkctl/dkctl.c
--- a/sbin/dkctl/dkctl.c        Thu Jan 20 15:52:09 2005 +0000
+++ b/sbin/dkctl/dkctl.c        Thu Jan 20 15:53:35 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: dkctl.c,v 1.10 2004/09/28 10:01:42 martin Exp $        */
+/*     $NetBSD: dkctl.c,v 1.11 2005/01/20 15:53:35 xtraeme Exp $       */
 
 /*
  * Copyright 2001 Wasabi Systems, Inc.
@@ -41,7 +41,7 @@
 #include <sys/cdefs.h>
 
 #ifndef lint
-__RCSID("$NetBSD: dkctl.c,v 1.10 2004/09/28 10:01:42 martin Exp $");
+__RCSID("$NetBSD: dkctl.c,v 1.11 2005/01/20 15:53:35 xtraeme Exp $");
 #endif
 
 
@@ -78,7 +78,6 @@
        int open_flags;
 };
 
-int    main(int, char *[]);
 void   usage(void);
 
 int    fd;                             /* file descriptor for device */
@@ -189,7 +188,7 @@
 }
 
 void
-usage()
+usage(void)
 {
        int i;
 



Home | Main Index | Thread Index | Old Index