Source-Changes-HG archive

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

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



details:   https://anonhg.NetBSD.org/src/rev/9e28e76b2f1d
branches:  trunk
changeset: 573139:9e28e76b2f1d
user:      xtraeme <xtraeme%NetBSD.org@localhost>
date:      Thu Jan 20 15:56:30 2005 +0000

description:
ANSIfy; WARNS=3

diffstat:

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

diffs (29 lines):

diff -r c152944c3aab -r 9e28e76b2f1d sbin/drvctl/Makefile
--- a/sbin/drvctl/Makefile      Thu Jan 20 15:55:01 2005 +0000
+++ b/sbin/drvctl/Makefile      Thu Jan 20 15:56:30 2005 +0000
@@ -1,5 +1,6 @@
-# $NetBSD: Makefile,v 1.1 2004/08/18 12:30:01 drochner Exp $
+# $NetBSD: Makefile,v 1.2 2005/01/20 15:56:30 xtraeme Exp $
 
+WARNS= 3
 PROG=  drvctl
 MAN=   drvctl.8
 
diff -r c152944c3aab -r 9e28e76b2f1d sbin/drvctl/drvctl.c
--- a/sbin/drvctl/drvctl.c      Thu Jan 20 15:55:01 2005 +0000
+++ b/sbin/drvctl/drvctl.c      Thu Jan 20 15:56:30 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: drvctl.c,v 1.2 2004/08/18 13:24:55 wiz Exp $ */
+/* $NetBSD: drvctl.c,v 1.3 2005/01/20 15:56:30 xtraeme Exp $ */
 
 /*
  * Copyright (c) 2004
@@ -40,7 +40,7 @@
 static void usage(void);
 
 static void
-usage()
+usage(void)
 {
 
        fprintf(stderr, "Usage: %s -r [-a attribute] busdevice [locator ...]\n"



Home | Main Index | Thread Index | Old Index