Module Name: src
Committed By: joerg
Date: Sat Aug 27 16:43:07 UTC 2011
Modified Files:
src/sbin/dkscan_bsdlabel: dkscan_bsdlabel.c dkscan_util.h
Log Message:
Mark usage as static and dead.
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sbin/dkscan_bsdlabel/dkscan_bsdlabel.c \
src/sbin/dkscan_bsdlabel/dkscan_util.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sbin/dkscan_bsdlabel/dkscan_bsdlabel.c
diff -u src/sbin/dkscan_bsdlabel/dkscan_bsdlabel.c:1.2 src/sbin/dkscan_bsdlabel/dkscan_bsdlabel.c:1.3
--- src/sbin/dkscan_bsdlabel/dkscan_bsdlabel.c:1.2 Mon Apr 28 20:23:08 2008
+++ src/sbin/dkscan_bsdlabel/dkscan_bsdlabel.c Sat Aug 27 16:43:07 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: dkscan_bsdlabel.c,v 1.2 2008/04/28 20:23:08 martin Exp $ */
+/* $NetBSD: dkscan_bsdlabel.c,v 1.3 2011/08/27 16:43:07 joerg Exp $ */
/*-
* Copyright (c) 2007 The NetBSD Foundation, Inc.
@@ -43,6 +43,8 @@
#include "dkwedge_bsdlabel.c"
+__dead static void usage(void);
+
int
main(int argc, char **argv)
{
Index: src/sbin/dkscan_bsdlabel/dkscan_util.h
diff -u src/sbin/dkscan_bsdlabel/dkscan_util.h:1.2 src/sbin/dkscan_bsdlabel/dkscan_util.h:1.3
--- src/sbin/dkscan_bsdlabel/dkscan_util.h:1.2 Mon Apr 28 20:23:08 2008
+++ src/sbin/dkscan_bsdlabel/dkscan_util.h Sat Aug 27 16:43:07 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: dkscan_util.h,v 1.2 2008/04/28 20:23:08 martin Exp $ */
+/* $NetBSD: dkscan_util.h,v 1.3 2011/08/27 16:43:07 joerg Exp $ */
/*-
* Copyright (c) 2007 The NetBSD Foundation, Inc.
@@ -39,8 +39,6 @@
int dkwedge_add(struct dkwedge_info *dkw);
void aprint_error(const char *format, ...);
void aprint_verbose(const char *format, ...);
-void usage(void);
-
extern int verbose; /* are we verbose? */
extern int no_action; /* don't do anything, just print info */