Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sbin/mbrlabel ifix nested extern.
details: https://anonhg.NetBSD.org/src/rev/f34c7dd2b53e
branches: trunk
changeset: 503313:f34c7dd2b53e
user: christos <christos%NetBSD.org@localhost>
date: Sun Feb 04 20:08:24 2001 +0000
description:
ifix nested extern.
diffstat:
sbin/mbrlabel/mbrlabel.c | 9 ++++-----
1 files changed, 4 insertions(+), 5 deletions(-)
diffs (37 lines):
diff -r c0f1aef0073a -r f34c7dd2b53e sbin/mbrlabel/mbrlabel.c
--- a/sbin/mbrlabel/mbrlabel.c Sun Feb 04 20:06:51 2001 +0000
+++ b/sbin/mbrlabel/mbrlabel.c Sun Feb 04 20:08:24 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mbrlabel.c,v 1.13 2001/01/04 00:57:14 lukem Exp $ */
+/* $NetBSD: mbrlabel.c,v 1.14 2001/02/04 20:08:24 christos Exp $ */
/*
* Copyright (C) 1998 Wolfgang Solfrank.
@@ -33,7 +33,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: mbrlabel.c,v 1.13 2001/01/04 00:57:14 lukem Exp $");
+__RCSID("$NetBSD: mbrlabel.c,v 1.14 2001/02/04 20:08:24 christos Exp $");
#endif /* not lint */
#include <stdio.h>
@@ -63,6 +63,7 @@
u_int32_t getlong(void *p);
struct disklabel label;
+extern char *__progname;
void
getlabel(int sd)
@@ -250,9 +251,7 @@
void
usage(void)
{
- extern char *__progname;
-
- fprintf(stderr, "usage: %s [-fqrw] rawdisk\n", __progname);
+ fprintf(stderr, "Usage: %s [-fqrw] rawdisk\n", __progname);
exit(1);
}
Home |
Main Index |
Thread Index |
Old Index