summaryrefslogtreecommitdiff
path: root/sys/uvm/uvm_vnode.c
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2006-10-12 01:30:41 +0000
committerchristos <christos@NetBSD.org>2006-10-12 01:30:41 +0000
commit4d595fd7b1f2465e7140a9854800f9352404338d (patch)
treee015cf24372a2b1091ac2a089416f83cc04c48a7 /sys/uvm/uvm_vnode.c
parent9ac35e8640a9506f14820cdb82667b92982a16f2 (diff)
- sprinkle __unused on function decls.
- fix a couple of unused bugs - no more -Wno-unused for i386
Diffstat (limited to 'sys/uvm/uvm_vnode.c')
-rw-r--r--sys/uvm/uvm_vnode.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/uvm/uvm_vnode.c b/sys/uvm/uvm_vnode.c
index 484cdbf6ee9..6b0fc37aad2 100644
--- a/sys/uvm/uvm_vnode.c
+++ b/sys/uvm/uvm_vnode.c
@@ -1,4 +1,4 @@
-/* $NetBSD: uvm_vnode.c,v 1.73 2006/09/15 15:51:13 yamt Exp $ */
+/* $NetBSD: uvm_vnode.c,v 1.74 2006/10/12 01:32:54 christos Exp $ */
/*
* Copyright (c) 1997 Charles D. Cranor and Washington University.
@@ -50,7 +50,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uvm_vnode.c,v 1.73 2006/09/15 15:51:13 yamt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uvm_vnode.c,v 1.74 2006/10/12 01:32:54 christos Exp $");
#include "fs_nfs.h"
#include "opt_uvmhist.h"
@@ -120,7 +120,7 @@ struct uvm_pagerops uvm_vnodeops = {
*/
struct uvm_object *
-uvn_attach(void *arg, vm_prot_t accessprot)
+uvn_attach(void *arg, vm_prot_t accessprot __unused)
{
struct vnode *vp = arg;
struct uvm_object *uobj = &vp->v_uobj;