Skip site navigation (1)Skip section navigation (2)
Date:      13 Dec 2000 17:55:31 +0100
From:      assar@FreeBSD.org
To:        Michael Harnois <mdharnois@home.com>
Cc:        Seigo Tanimura <tanimura@FreeBSD.org>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/vm default_pager.c swap_pager.c swap_pager.h vm_kern.c vm_map.c vm_object.c vm_pageout.c vm_swap.c vm_zone.c
Message-ID:  <5lhf485kho.fsf@assaris.sics.se>
In-Reply-To: Michael Harnois's message of "13 Dec 2000 10:31:31 -0600"
References:  <200012131001.eBDA11k33907@freefall.freebsd.org> <86r93cp9jw.fsf@mharnois.workgroup.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-=-=

Michael Harnois <mdharnois@home.com> writes:
> ===> vn
> cc -O -pipe -march=i686  -D_KERNEL -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -ansi -DKLD_MODULE -nostdinc -I-   -I. -I@ -I@/dev -I@/../include  -mpreferred-stack-boundary=2 -c /usr/src/sys/modules/vn/../../dev/vn/vn.c
> In file included from /usr/src/sys/modules/vn/../../dev/vn/vn.c:85:
> @/vm/swap_pager.h:87: syntax error before `swap_zone'
> @/vm/swap_pager.h:87: warning: type defaults to `int' in declaration of `swap_zone'
> @/vm/swap_pager.h:87: warning: data definition has no type or storage class

Try the appended patch.

/assar


--=-=-=
Content-Disposition: attachment; filename=c

Index: vn.c
===================================================================
RCS file: /home/ncvs/src/sys/dev/vn/vn.c,v
retrieving revision 1.120
diff -u -w -u -w -r1.120 vn.c
--- vn.c	2000/12/08 21:50:00	1.120
+++ vn.c	2000/12/13 16:55:06
@@ -82,6 +82,7 @@
 #include <vm/vm_object.h>
 #include <vm/vm_page.h>
 #include <vm/vm_pager.h>
+#include <vm/vm_zone.h>
 #include <vm/swap_pager.h>
 
 static	d_ioctl_t	vnioctl;

--=-=-=--


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5lhf485kho.fsf>