summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1997-06-23 22:11:08 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1997-06-23 22:11:08 +0000
commitc4917203208a60bc5c62fa9c0e3ec69ca7aecfbf (patch)
tree4aa23f0809e730eb2030eaf6eda22289937699e8 /usr.bin
parent480c41beb77d1b350c6817bc0055c908632a1fc6 (diff)
Move prototypes into dkstats.h so systat can get at them.
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/vmstat/dkstats.c5
-rw-r--r--usr.bin/vmstat/dkstats.h6
2 files changed, 6 insertions, 5 deletions
diff --git a/usr.bin/vmstat/dkstats.c b/usr.bin/vmstat/dkstats.c
index d1329dc76a6..6a247702cc3 100644
--- a/usr.bin/vmstat/dkstats.c
+++ b/usr.bin/vmstat/dkstats.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dkstats.c,v 1.4 1997/02/04 04:51:20 kstailey Exp $ */
+/* $OpenBSD: dkstats.c,v 1.5 1997/06/23 22:11:07 millert Exp $ */
/* $NetBSD: dkstats.c,v 1.1 1996/05/10 23:19:27 thorpej Exp $ */
/*
@@ -97,9 +97,6 @@ char **dr_name;
#define timerset(tvp, uvp) ((uvp)->tv_sec = (tvp)->tv_sec); \
((uvp)->tv_usec = (tvp)->tv_usec)
-void dkswap __P((void));
-void dkreadstats __P((void));
-int dkinit __P((int));
static void deref_kptr __P((void *, void *, size_t));
/*
diff --git a/usr.bin/vmstat/dkstats.h b/usr.bin/vmstat/dkstats.h
index d69337cb3ed..59e31aa4b10 100644
--- a/usr.bin/vmstat/dkstats.h
+++ b/usr.bin/vmstat/dkstats.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: dkstats.h,v 1.3 1996/06/26 05:42:40 deraadt Exp $ */
+/* $OpenBSD: dkstats.h,v 1.4 1997/06/23 22:11:06 millert Exp $ */
/* $NetBSD: dkstats.h,v 1.1 1996/05/10 23:19:28 thorpej Exp $ */
/*
@@ -48,3 +48,7 @@ struct _disk {
long tk_nout; /* TTY Chars out. */
long cp_time[CPUSTATES]; /* System timer ticks. */
};
+
+void dkswap __P((void));
+void dkreadstats __P((void));
+int dkinit __P((int));