summaryrefslogtreecommitdiff
path: root/usr.bin/sndiod/sock.c
diff options
context:
space:
mode:
authorAlexandre Ratchov <ratchov@cvs.openbsd.org>2016-03-23 06:16:36 +0000
committerAlexandre Ratchov <ratchov@cvs.openbsd.org>2016-03-23 06:16:36 +0000
commitb171e2555d4775f7234f989e56567dd0f266106a (patch)
tree0e3ac23a3e0c4c1e72bae585fe62855683b2b419 /usr.bin/sndiod/sock.c
parentc55c63a2be92773b268a9b24dbf4b2549691f596 (diff)
Remove unused arguments of dev_adjpar(), getbasepath() and all
slotops->onvol() implementations. From David CARLIER <devnexen at gmail.com>. Thanks.
Diffstat (limited to 'usr.bin/sndiod/sock.c')
-rw-r--r--usr.bin/sndiod/sock.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/sndiod/sock.c b/usr.bin/sndiod/sock.c
index 41ed862f1c3..92f613e0e42 100644
--- a/usr.bin/sndiod/sock.c
+++ b/usr.bin/sndiod/sock.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sock.c,v 1.17 2016/01/08 16:17:31 ratchov Exp $ */
+/* $OpenBSD: sock.c,v 1.18 2016/03/23 06:16:35 ratchov Exp $ */
/*
* Copyright (c) 2008-2012 Alexandre Ratchov <alex@caoua.org>
*
@@ -38,7 +38,7 @@ void sock_slot_fill(void *);
void sock_slot_flush(void *);
void sock_slot_eof(void *);
void sock_slot_onmove(void *);
-void sock_slot_onvol(void *, unsigned int);
+void sock_slot_onvol(void *);
void sock_midi_imsg(void *, unsigned char *, int);
void sock_midi_omsg(void *, unsigned char *, int);
void sock_midi_fill(void *, int);
@@ -226,7 +226,7 @@ sock_slot_onmove(void *arg)
}
void
-sock_slot_onvol(void *arg, unsigned int delta)
+sock_slot_onvol(void *arg)
{
struct sock *f = (struct sock *)arg;
struct slot *s = f->slot;