Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sbin/newfs_msdos fix nested extern
details: https://anonhg.NetBSD.org/src/rev/a1d387334122
branches: trunk
changeset: 503333:a1d387334122
user: christos <christos%NetBSD.org@localhost>
date: Sun Feb 04 21:53:39 2001 +0000
description:
fix nested extern
diffstat:
sbin/newfs_msdos/newfs_msdos.c | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diffs (32 lines):
diff -r b7420a294290 -r a1d387334122 sbin/newfs_msdos/newfs_msdos.c
--- a/sbin/newfs_msdos/newfs_msdos.c Sun Feb 04 21:52:02 2001 +0000
+++ b/sbin/newfs_msdos/newfs_msdos.c Sun Feb 04 21:53:39 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: newfs_msdos.c,v 1.4 1999/07/26 00:28:57 cgd Exp $ */
+/* $NetBSD: newfs_msdos.c,v 1.5 2001/02/04 21:53:39 christos Exp $ */
/*
* Copyright (c) 1997 Christos Zoulas
@@ -37,7 +37,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: newfs_msdos.c,v 1.4 1999/07/26 00:28:57 cgd Exp $");
+__RCSID("$NetBSD: newfs_msdos.c,v 1.5 2001/02/04 21:53:39 christos Exp $");
#endif /* not lint */
#include <sys/types.h>
@@ -115,12 +115,11 @@
static void setup_boot_sector_from_template __P((union bootsector *,
struct descrip *));
+extern char *__progname;
static void
usage()
{
- extern char *__progname;
-
(void) fprintf(stderr,
"Usage: %s [-f <kbytes>] [-L <label>] <device>\n", __progname);
exit(1);
Home |
Main Index |
Thread Index |
Old Index