Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sbin/dkscan_bsdlabel Mark usage as static and dead.
details: https://anonhg.NetBSD.org/src/rev/d6a9a5d5e7e6
branches: trunk
changeset: 768793:d6a9a5d5e7e6
user: joerg <joerg%NetBSD.org@localhost>
date: Sat Aug 27 16:43:07 2011 +0000
description:
Mark usage as static and dead.
diffstat:
sbin/dkscan_bsdlabel/dkscan_bsdlabel.c | 4 +++-
sbin/dkscan_bsdlabel/dkscan_util.h | 4 +---
2 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r 766e537dca55 -r d6a9a5d5e7e6 sbin/dkscan_bsdlabel/dkscan_bsdlabel.c
--- a/sbin/dkscan_bsdlabel/dkscan_bsdlabel.c Sat Aug 27 16:34:57 2011 +0000
+++ b/sbin/dkscan_bsdlabel/dkscan_bsdlabel.c Sat Aug 27 16:43:07 2011 +0000
@@ -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)
{
diff -r 766e537dca55 -r d6a9a5d5e7e6 sbin/dkscan_bsdlabel/dkscan_util.h
--- a/sbin/dkscan_bsdlabel/dkscan_util.h Sat Aug 27 16:34:57 2011 +0000
+++ b/sbin/dkscan_bsdlabel/dkscan_util.h Sat Aug 27 16:43:07 2011 +0000
@@ -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 */
Home |
Main Index |
Thread Index |
Old Index