Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src Remove extern variables and functions now declared in dkstat...
details: https://anonhg.NetBSD.org/src/rev/e4988334ed45
branches: trunk
changeset: 499872:e4988334ed45
user: simonb <simonb%NetBSD.org@localhost>
date: Fri Dec 01 02:10:22 2000 +0000
description:
Remove extern variables and functions now declared in dkstats.h.
diffstat:
libexec/rpc.rstatd/rstat_proc.c | 9 ++-------
usr.sbin/iostat/iostat.c | 11 ++---------
2 files changed, 4 insertions(+), 16 deletions(-)
diffs (76 lines):
diff -r 11a549d4111f -r e4988334ed45 libexec/rpc.rstatd/rstat_proc.c
--- a/libexec/rpc.rstatd/rstat_proc.c Fri Dec 01 02:08:26 2000 +0000
+++ b/libexec/rpc.rstatd/rstat_proc.c Fri Dec 01 02:10:22 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rstat_proc.c,v 1.37 2000/11/30 23:59:03 simonb Exp $ */
+/* $NetBSD: rstat_proc.c,v 1.38 2000/12/01 02:10:22 simonb Exp $ */
/*
* Sun RPC is a product of Sun Microsystems, Inc. and is provided for
@@ -35,7 +35,7 @@
static char sccsid[] = "from: @(#)rpc.rstatd.c 1.1 86/09/25 Copyr 1984 Sun Micro";
static char sccsid[] = "from: @(#)rstat_proc.c 2.2 88/08/01 4.0 RPCSRC";
#else
-__RCSID("$NetBSD: rstat_proc.c,v 1.37 2000/11/30 23:59:03 simonb Exp $");
+__RCSID("$NetBSD: rstat_proc.c,v 1.38 2000/12/01 02:10:22 simonb Exp $");
#endif
#endif
@@ -101,8 +101,6 @@
{ NULL },
};
-extern int dk_ndrive; /* From dkstats.c */
-extern struct _disk cur, last;
int hz;
char *memf = NULL, *nlistf = NULL;
@@ -120,9 +118,6 @@
struct statstime s3;
} stats_all;
-extern void dkreadstats(void);
-extern int dkinit(int, gid_t);
-
void updatestat(int);
void setup(void);
void setup_kd_once(void);
diff -r 11a549d4111f -r e4988334ed45 usr.sbin/iostat/iostat.c
--- a/usr.sbin/iostat/iostat.c Fri Dec 01 02:08:26 2000 +0000
+++ b/usr.sbin/iostat/iostat.c Fri Dec 01 02:10:22 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: iostat.c,v 1.23 2000/11/30 23:59:04 simonb Exp $ */
+/* $NetBSD: iostat.c,v 1.24 2000/12/01 02:10:23 simonb Exp $ */
/*
* Copyright (c) 1996 John M. Vinopal
@@ -75,7 +75,7 @@
#if 0
static char sccsid[] = "@(#)iostat.c 8.3 (Berkeley) 4/28/95";
#else
-__RCSID("$NetBSD: iostat.c,v 1.23 2000/11/30 23:59:04 simonb Exp $");
+__RCSID("$NetBSD: iostat.c,v 1.24 2000/12/01 02:10:23 simonb Exp $");
#endif
#endif /* not lint */
@@ -94,10 +94,6 @@
#include "dkstats.h"
-/* Defined in dkstats.c */
-extern struct _disk cur;
-extern int dk_ndrive;
-
/* Namelist and memory files. */
char *nlistf, *memf;
@@ -122,9 +118,6 @@
static void display(void);
static void selectdrives(int, char **);
-void dkswap(void);
-void dkreadstats(void);
-int dkinit(int, gid_t);
int main(int, char **);
int
Home |
Main Index |
Thread Index |
Old Index