summaryrefslogtreecommitdiff
path: root/sys/nfs/nfsnode.h
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2004-04-26 18:57:37 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2004-04-26 18:57:37 +0000
commit299594b83473a24b996014df9d0155506c86fa1b (patch)
treebc42b90e66bd0885cd21cb343a13d574909ab3a4 /sys/nfs/nfsnode.h
parentc368588bbc1d38f53e616f88a16606af815dcedf (diff)
nfs_poll cannot simply be defined to seltrue so use a stub nfs_poll
duplicated from UFS. Closes PR 3757; OK deraadt@
Diffstat (limited to 'sys/nfs/nfsnode.h')
-rw-r--r--sys/nfs/nfsnode.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/nfs/nfsnode.h b/sys/nfs/nfsnode.h
index 30696a71d5d..a0d49d6c3cd 100644
--- a/sys/nfs/nfsnode.h
+++ b/sys/nfs/nfsnode.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: nfsnode.h,v 1.20 2004/03/02 05:46:00 tedu Exp $ */
+/* $OpenBSD: nfsnode.h,v 1.21 2004/04/26 18:57:36 millert Exp $ */
/* $NetBSD: nfsnode.h,v 1.16 1996/02/18 11:54:04 fvdl Exp $ */
/*
@@ -170,7 +170,7 @@ int nfsspec_write(void *);
int nfsfifo_read(void *);
int nfsfifo_write(void *);
#define nfs_ioctl ((int (*)(void *))enoioctl)
-#define nfs_poll ((int (*)(void *))seltrue)
+int nfs_poll(void *);
#define nfs_revoke vop_generic_revoke
int nfs_fsync(void *);
int nfs_remove(void *);