diff options
author | ratchov <ratchov@openbsd.org> | 2015-06-25 06:43:45 +0000 |
---|---|---|
committer | ratchov <ratchov@openbsd.org> | 2015-06-25 06:43:45 +0000 |
commit | 1cf2860827c8ca659d8097d8da94a5ae5b888c53 (patch) | |
tree | 47b8a1c39b3fdbffdbcf4b38f636f501ab45d165 /sys/sys/conf.h | |
parent | Fixed a use-after-free. When handing the L2TP Proxy-LCP, a timer was used (diff) | |
download | wireguard-openbsd-1cf2860827c8ca659d8097d8da94a5ae5b888c53.tar.xz wireguard-openbsd-1cf2860827c8ca659d8097d8da94a5ae5b888c53.zip |
Reimplement the audio driver in a simpler way, removing unused/unusable
functionality. Same API and ABI except for the removed bits and no
behaviour change for programs using libsndio. With help from armani@
and mpi@, thanks.
Diffstat (limited to 'sys/sys/conf.h')
-rw-r--r-- | sys/sys/conf.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/sys/conf.h b/sys/sys/conf.h index 2fd92e20979..fddc4bbd1d2 100644 --- a/sys/sys/conf.h +++ b/sys/sys/conf.h @@ -1,4 +1,4 @@ -/* $OpenBSD: conf.h,v 1.132 2015/05/17 16:55:51 deraadt Exp $ */ +/* $OpenBSD: conf.h,v 1.133 2015/06/25 06:43:46 ratchov Exp $ */ /* $NetBSD: conf.h,v 1.33 1996/05/03 20:03:32 christos Exp $ */ /*- @@ -324,7 +324,7 @@ extern struct cdevsw cdevsw[]; dev_init(c,n,open), dev_init(c,n,close), dev_init(c,n,read), \ dev_init(c,n,write), dev_init(c,n,ioctl), \ (dev_type_stop((*))) enodev, 0, dev_init(c,n,poll), \ - dev_init(c,n,mmap), 0, 0, dev_init(c,n,kqfilter) } + (dev_type_mmap((*))) enodev } /* open, close, read, write, ioctl, poll, kqfilter */ #define cdev_midi_init(c,n) { \ |