summaryrefslogtreecommitdiff
path: root/usr.bin/sndiod/dev.h
diff options
context:
space:
mode:
authorAlexandre Ratchov <ratchov@cvs.openbsd.org>2018-06-26 07:13:55 +0000
committerAlexandre Ratchov <ratchov@cvs.openbsd.org>2018-06-26 07:13:55 +0000
commitef619024b6b657946451e8b085dc0ee1b3a9e478 (patch)
treeaa7775991f48fc0f9877ddd40457571c62b1896c /usr.bin/sndiod/dev.h
parent14a453006047f0dd6658d515709d85b323c48d6f (diff)
Move opt pointer from the sock to the slot struct.
Diffstat (limited to 'usr.bin/sndiod/dev.h')
-rw-r--r--usr.bin/sndiod/dev.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/sndiod/dev.h b/usr.bin/sndiod/dev.h
index cfde2ac0f32..b0335c1c20c 100644
--- a/usr.bin/sndiod/dev.h
+++ b/usr.bin/sndiod/dev.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: dev.h,v 1.12 2018/06/26 07:12:35 ratchov Exp $ */
+/* $OpenBSD: dev.h,v 1.13 2018/06/26 07:13:54 ratchov Exp $ */
/*
* Copyright (c) 2008-2012 Alexandre Ratchov <alex@caoua.org>
*
@@ -39,6 +39,7 @@ struct slot {
struct slotops *ops; /* client callbacks */
struct slot *next; /* next on the play list */
struct dev *dev; /* device this belongs to */
+ struct opt *opt; /* config used */
void *arg; /* user data for callbacks */
struct aparams par; /* socket side params */
struct {