diff options
author | 2003-09-28 04:33:44 +0000 | |
---|---|---|
committer | 2003-09-28 04:33:44 +0000 | |
commit | d403bf3bf1fe1b3c60729d6073314f5b14086f40 (patch) | |
tree | 2163ce67955c749bf28c88a1119daa435e73a503 | |
parent | xfs_devpoll must not be static; found by beck@ compiling an XFS kernel (diff) | |
download | wireguard-openbsd-d403bf3bf1fe1b3c60729d6073314f5b14086f40.tar.xz wireguard-openbsd-d403bf3bf1fe1b3c60729d6073314f5b14086f40.zip |
Missing xfs_devpoll proto. You would think with all that HAVE_FOO
crap the protos would be done for you. Apparently not...
-rw-r--r-- | sys/xfs/xfs_dev.h | 1 | ||||
-rw-r--r-- | sys/xfs/xfs_extern.h | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/sys/xfs/xfs_dev.h b/sys/xfs/xfs_dev.h index 08cf5970c8d..cc62a4c46d6 100644 --- a/sys/xfs/xfs_dev.h +++ b/sys/xfs/xfs_dev.h @@ -116,6 +116,7 @@ int xfs_devselect(dev_t dev, int which, void *wql, d_thread_t *p); #else int xfs_devselect(dev_t dev, int which, d_thread_t *p); #endif +int xfs_devpoll(dev_t dev, int events, d_thread_t *p); #endif /* ! __osf__ */ int diff --git a/sys/xfs/xfs_extern.h b/sys/xfs/xfs_extern.h index a74a34a94a4..ca6d5a1e8f4 100644 --- a/sys/xfs/xfs_extern.h +++ b/sys/xfs/xfs_extern.h @@ -1,4 +1,4 @@ -/* $OpenBSD: xfs_extern.h,v 1.5 2002/06/07 04:10:32 hin Exp $ */ +/* $OpenBSD: xfs_extern.h,v 1.6 2003/09/28 04:33:44 millert Exp $ */ /* * Copyright (c) 1998 Kungliga Tekniska Högskolan * (Royal Institute of Technology, Stockholm, Sweden). @@ -48,7 +48,7 @@ int xfs_devread(dev_t dev, struct uio * uiop, int ioflag); int xfs_devwrite(dev_t dev, struct uio *uiop, int ioflag); int xfs_devioctl(dev_t dev, u_long cmd, caddr_t data, int flags, struct proc * p); -int xfs_devselect(dev_t dev, int which, struct proc * p); +int xfs_devpoll(dev_t dev, int events, struct proc * p); #endif /* _KERNEL */ |