=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/sndiod/dev.h,v retrieving revision 1.35 retrieving revision 1.36 diff -c -r1.35 -r1.36 *** src/usr.bin/sndiod/dev.h 2021/01/29 11:31:28 1.35 --- src/usr.bin/sndiod/dev.h 2021/01/29 11:36:44 1.36 *************** *** 1,4 **** ! /* $OpenBSD: dev.h,v 1.35 2021/01/29 11:31:28 ratchov Exp $ */ /* * Copyright (c) 2008-2012 Alexandre Ratchov * --- 1,4 ---- ! /* $OpenBSD: dev.h,v 1.36 2021/01/29 11:36:44 ratchov Exp $ */ /* * Copyright (c) 2008-2012 Alexandre Ratchov * *************** *** 148,154 **** struct ctlslot { struct ctlops *ops; void *arg; ! struct dev *dev; unsigned int self; /* equal to (1 << index) */ unsigned int mode; }; --- 148,154 ---- struct ctlslot { struct ctlops *ops; void *arg; ! struct opt *opt; unsigned int self; /* equal to (1 << index) */ unsigned int mode; }; *************** *** 309,315 **** * control related functions */ void ctl_log(struct ctl *); ! struct ctlslot *ctlslot_new(struct dev *, struct ctlops *, void *); void ctlslot_del(struct ctlslot *); int dev_setctl(struct dev *, int, int); int dev_onval(struct dev *, int, int); --- 309,315 ---- * control related functions */ void ctl_log(struct ctl *); ! struct ctlslot *ctlslot_new(struct opt *, struct ctlops *, void *); void ctlslot_del(struct ctlslot *); int dev_setctl(struct dev *, int, int); int dev_onval(struct dev *, int, int);