Remove extern variables and functions now declared in dkstats.h.

This commit is contained in:
simonb 2000-12-01 02:10:22 +00:00
parent 198d7bfbee
commit 0833efd07d
2 changed files with 4 additions and 16 deletions

View File

@ -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 @@ struct nlist nl[] = {
{ NULL },
};
extern int dk_ndrive; /* From dkstats.c */
extern struct _disk cur, last;
int hz;
char *memf = NULL, *nlistf = NULL;
@ -120,9 +118,6 @@ union {
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);

View File

@ -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 @@ __COPYRIGHT("@(#) Copyright (c) 1986, 1991, 1993\n\
#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 @@ __RCSID("$NetBSD: iostat.c,v 1.23 2000/11/30 23:59:04 simonb Exp $");
#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 usage(void);
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