Source-Changes-HG archive

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

[src/trunk]: src use <sys/swap.h>. should have happened years ago.



details:   https://anonhg.NetBSD.org/src/rev/e42e997148b6
branches:  trunk
changeset: 484821:e42e997148b6
user:      mrg <mrg%NetBSD.org@localhost>
date:      Thu Apr 13 08:29:56 2000 +0000

description:
use <sys/swap.h>.  should have happened years ago.

diffstat:

 sbin/swapctl/swapctl.c |  5 ++---
 usr.bin/systat/swap.c  |  7 +++----
 2 files changed, 5 insertions(+), 7 deletions(-)

diffs (47 lines):

diff -r 184b4b32027d -r e42e997148b6 sbin/swapctl/swapctl.c
--- a/sbin/swapctl/swapctl.c    Thu Apr 13 08:23:52 2000 +0000
+++ b/sbin/swapctl/swapctl.c    Thu Apr 13 08:29:56 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: swapctl.c,v 1.13 2000/03/13 22:59:22 soren Exp $       */
+/*     $NetBSD: swapctl.c,v 1.14 2000/04/13 08:29:56 mrg Exp $ */
 
 /*
  * Copyright (c) 1996, 1997, 1999 Matthew R. Green
@@ -54,8 +54,7 @@
 
 #include <sys/param.h>
 #include <sys/stat.h>
-
-#include <vm/vm_swap.h>
+#include <sys/swap.h>
 
 #include <unistd.h>
 #include <err.h>
diff -r 184b4b32027d -r e42e997148b6 usr.bin/systat/swap.c
--- a/usr.bin/systat/swap.c     Thu Apr 13 08:23:52 2000 +0000
+++ b/usr.bin/systat/swap.c     Thu Apr 13 08:29:56 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: swap.c,v 1.10 1999/12/20 23:11:50 jwise Exp $  */
+/*     $NetBSD: swap.c,v 1.11 2000/04/13 08:29:56 mrg Exp $    */
 
 /*-
  * Copyright (c) 1997 Matthew R. Green.  All rights reserved.
@@ -39,7 +39,7 @@
 #if 0
 static char sccsid[] = "@(#)swap.c     8.3 (Berkeley) 4/29/95";
 #endif
-__RCSID("$NetBSD: swap.c,v 1.10 1999/12/20 23:11:50 jwise Exp $");
+__RCSID("$NetBSD: swap.c,v 1.11 2000/04/13 08:29:56 mrg Exp $");
 #endif /* not lint */
 
 #include <sys/param.h>
@@ -47,8 +47,7 @@
 #include <sys/conf.h>
 #include <sys/ioctl.h>
 #include <sys/stat.h>
-
-#include <vm/vm_swap.h>
+#include <sys/swap.h>
 
 #include <stdio.h>
 #include <stdlib.h>



Home | Main Index | Thread Index | Old Index