Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sbin/dump Use static; remove unused global var this uncovered.



details:   https://anonhg.NetBSD.org/src/rev/1533fb7d1608
branches:  trunk
changeset: 783973:1533fb7d1608
user:      dholland <dholland%NetBSD.org@localhost>
date:      Sun Jan 13 22:59:31 2013 +0000

description:
Use static; remove unused global var this uncovered.

diffstat:

 sbin/dump/ffs_inode.c |  7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diffs (30 lines):

diff -r 64b33dcb79f2 -r 1533fb7d1608 sbin/dump/ffs_inode.c
--- a/sbin/dump/ffs_inode.c     Sun Jan 13 22:54:24 2013 +0000
+++ b/sbin/dump/ffs_inode.c     Sun Jan 13 22:59:31 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ffs_inode.c,v 1.18 2008/07/20 01:20:22 lukem Exp $ */
+/*     $NetBSD: ffs_inode.c,v 1.19 2013/01/13 22:59:31 dholland Exp $ */
 
 /*-
  * Copyright (c) 1980, 1991, 1993, 1994
@@ -36,7 +36,7 @@
 #endif /* not lint */
 
 #ifndef lint
-__RCSID("$NetBSD: ffs_inode.c,v 1.18 2008/07/20 01:20:22 lukem Exp $");
+__RCSID("$NetBSD: ffs_inode.c,v 1.19 2013/01/13 22:59:31 dholland Exp $");
 #endif /* not lint */
 
 #include <sys/param.h>
@@ -60,10 +60,9 @@
 
 #include "dump.h"
 
-struct fs *sblock;
+static struct fs *sblock;
 
 static off_t sblock_try[] = SBLOCKSEARCH;
-off_t sblockloc;
 
 int is_ufs2;
 



Home | Main Index | Thread Index | Old Index