Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sbin/badsect fix nested extern
details: https://anonhg.NetBSD.org/src/rev/093f53ac74e8
branches: trunk
changeset: 503308:093f53ac74e8
user: christos <christos%NetBSD.org@localhost>
date: Sun Feb 04 19:54:56 2001 +0000
description:
fix nested extern
diffstat:
sbin/badsect/badsect.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (35 lines):
diff -r 6626e14f3c91 -r 093f53ac74e8 sbin/badsect/badsect.c
--- a/sbin/badsect/badsect.c Sun Feb 04 19:52:06 2001 +0000
+++ b/sbin/badsect/badsect.c Sun Feb 04 19:54:56 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: badsect.c,v 1.17 1999/07/30 15:56:58 drochner Exp $ */
+/* $NetBSD: badsect.c,v 1.18 2001/02/04 19:54:56 christos Exp $ */
/*
* Copyright (c) 1981, 1983, 1993
@@ -43,7 +43,7 @@
#if 0
static char sccsid[] = "@(#)badsect.c 8.2 (Berkeley) 5/4/95";
#else
-__RCSID("$NetBSD: badsect.c,v 1.17 1999/07/30 15:56:58 drochner Exp $");
+__RCSID("$NetBSD: badsect.c,v 1.18 2001/02/04 19:54:56 christos Exp $");
#endif
#endif /* not lint */
@@ -96,6 +96,8 @@
int chkuse __P((daddr_t, int));
int main __P((int, char *[]));
+extern char *__progname;
+
int
main(argc, argv)
int argc;
@@ -106,7 +108,6 @@
struct direct *dp;
DIR *dirp;
char name[MAXPATHLEN];
- extern char *__progname;
if (argc < 3) {
(void) fprintf(stderr, "Usage: %s bbdir blkno [ blkno ]\n",
Home |
Main Index |
Thread Index |
Old Index