summaryrefslogtreecommitdiffstats
path: root/lib/libsndio/aucat.h
diff options
context:
space:
mode:
authorratchov <ratchov@openbsd.org>2015-11-22 12:01:23 +0000
committerratchov <ratchov@openbsd.org>2015-11-22 12:01:23 +0000
commit163486f8ab4fb5a71f57ff1e5ed78b98ff7b54ff (patch)
tree0dcfed3964362eea1d5319f6cf72bd5d125ee773 /lib/libsndio/aucat.h
parentThe "CRITICAL" APM battery level, that is exported/faked by the ACPI (diff)
downloadwireguard-openbsd-163486f8ab4fb5a71f57ff1e5ed78b98ff7b54ff.tar.xz
wireguard-openbsd-163486f8ab4fb5a71f57ff1e5ed78b98ff7b54ff.zip
Don't remove the type component from the device string before passing
it to the *_open() functions. It's more flexible this way. No behaviour change.
Diffstat (limited to 'lib/libsndio/aucat.h')
-rw-r--r--lib/libsndio/aucat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libsndio/aucat.h b/lib/libsndio/aucat.h
index 8c3966cadde..e9d8e6954b7 100644
--- a/lib/libsndio/aucat.h
+++ b/lib/libsndio/aucat.h
@@ -21,7 +21,7 @@ int _aucat_rmsg(struct aucat *, int *);
int _aucat_wmsg(struct aucat *, int *);
size_t _aucat_rdata(struct aucat *, void *, size_t, int *);
size_t _aucat_wdata(struct aucat *, const void *, size_t, unsigned, int *);
-int _aucat_open(struct aucat *, const char *, unsigned, unsigned);
+int _aucat_open(struct aucat *, const char *, unsigned);
void _aucat_close(struct aucat *, int);
int _aucat_pollfd(struct aucat *, struct pollfd *, int);
int _aucat_revents(struct aucat *, struct pollfd *);