Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/dumpfs add stddef.h include and remove shadowed loc...
details: https://anonhg.NetBSD.org/src/rev/9d4b915e0ab2
branches: trunk
changeset: 557192:9d4b915e0ab2
user: dbj <dbj%NetBSD.org@localhost>
date: Sun Jan 04 00:21:29 2004 +0000
description:
add stddef.h include and remove shadowed local var.
diffstat:
usr.sbin/dumpfs/dumpfs.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (35 lines):
diff -r d7331f13a8b4 -r 9d4b915e0ab2 usr.sbin/dumpfs/dumpfs.c
--- a/usr.sbin/dumpfs/dumpfs.c Sun Jan 04 00:13:00 2004 +0000
+++ b/usr.sbin/dumpfs/dumpfs.c Sun Jan 04 00:21:29 2004 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: dumpfs.c,v 1.42 2004/01/03 19:32:58 dbj Exp $ */
+/* $NetBSD: dumpfs.c,v 1.43 2004/01/04 00:21:29 dbj Exp $ */
/*
* Copyright (c) 1983, 1992, 1993
@@ -39,7 +39,7 @@
#if 0
static char sccsid[] = "@(#)dumpfs.c 8.5 (Berkeley) 4/29/95";
#else
-__RCSID("$NetBSD: dumpfs.c,v 1.42 2004/01/03 19:32:58 dbj Exp $");
+__RCSID("$NetBSD: dumpfs.c,v 1.43 2004/01/04 00:21:29 dbj Exp $");
#endif
#endif /* not lint */
@@ -58,6 +58,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <stddef.h>
#include <unistd.h>
#include <util.h>
@@ -401,7 +402,7 @@
else
printf("(no rotational position table)\n\n");
if (ISOPT(opt_verbose)) {
- int c, i, j, k;
+ int c, j, k;
for (c = 0; c < fs->fs_old_cpc; c++) {
printf("cylinder number %d:", c);
for (i = 0; i < fs->fs_old_nrpos; i++) {
Home |
Main Index |
Thread Index |
Old Index