Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/vmstat move extern at a global scope.



details:   https://anonhg.NetBSD.org/src/rev/f0982aabfcb5
branches:  trunk
changeset: 510641:f0982aabfcb5
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Jun 03 04:02:34 2001 +0000

description:
move extern at a global scope.

diffstat:

 usr.bin/vmstat/dkstats.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (25 lines):

diff -r aaaaeb02c1a7 -r f0982aabfcb5 usr.bin/vmstat/dkstats.c
--- a/usr.bin/vmstat/dkstats.c  Sun Jun 03 03:55:10 2001 +0000
+++ b/usr.bin/vmstat/dkstats.c  Sun Jun 03 04:02:34 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: dkstats.c,v 1.11 2001/01/27 11:08:23 enami Exp $       */
+/*     $NetBSD: dkstats.c,v 1.12 2001/06/03 04:02:34 christos Exp $    */
 
 /*
  * Copyright (c) 1996 John M. Vinopal
@@ -73,6 +73,7 @@
 static kvm_t   *kd = NULL;
 extern char    *nlistf;
 extern char    *memf;
+extern int     hz;
 
 /* Pointer to list of disks. */
 static struct disk     *dk_drivehead = NULL;
@@ -200,7 +201,6 @@
        struct disk     cur_disk, *p;
        char            errbuf[_POSIX2_LINE_MAX];
        static int      once = 0;
-       extern int      hz;
        int             i;
 
        if (once)



Home | Main Index | Thread Index | Old Index