diff options
author | 2015-07-18 15:00:01 +0000 | |
---|---|---|
committer | 2015-07-18 15:00:01 +0000 | |
commit | b68e1112f3e95b25fea6aa101dadc8fd0d973f4f (patch) | |
tree | e80671107c5d25d2ae891e92e585fdf84879953a /sys/miscfs | |
parent | Check the return value of ASN1_STRING_set(), for it may fail to allocate (diff) | |
download | wireguard-openbsd-b68e1112f3e95b25fea6aa101dadc8fd0d973f4f.tar.xz wireguard-openbsd-b68e1112f3e95b25fea6aa101dadc8fd0d973f4f.zip |
Change unp_scan() and its callbacks to pass the array of struct file **
and a count instead of calling the callback on each one, while also renders
the 'dispose' argument superfluous.
Move unp_*() prototypes from <sys/un.h> to <sys/unpcb.h>
ok claudio@ mpi@
Diffstat (limited to 'sys/miscfs')
-rw-r--r-- | sys/miscfs/fifofs/fifo_vnops.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/miscfs/fifofs/fifo_vnops.c b/sys/miscfs/fifofs/fifo_vnops.c index 4d6a0d7b9f3..70b1241409a 100644 --- a/sys/miscfs/fifofs/fifo_vnops.c +++ b/sys/miscfs/fifofs/fifo_vnops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fifo_vnops.c,v 1.47 2015/05/10 22:35:39 millert Exp $ */ +/* $OpenBSD: fifo_vnops.c,v 1.48 2015/07/18 15:00:01 guenther Exp $ */ /* $NetBSD: fifo_vnops.c,v 1.18 1996/03/16 23:52:42 christos Exp $ */ /* @@ -48,7 +48,7 @@ #include <sys/errno.h> #include <sys/malloc.h> #include <sys/poll.h> -#include <sys/un.h> +#include <sys/unpcb.h> #include <sys/unistd.h> #include <miscfs/fifofs/fifo.h> |