summaryrefslogtreecommitdiffstats
path: root/lib/libsndio/aucat.h
diff options
context:
space:
mode:
authorratchov <ratchov@openbsd.org>2011-04-18 23:57:35 +0000
committerratchov <ratchov@openbsd.org>2011-04-18 23:57:35 +0000
commit7e5c91da414179335982dec10d2728a79533d1fb (patch)
tree8f084c99561bc70632ee9ec5acf10944747f8af5 /lib/libsndio/aucat.h
parentread(2) returns ssize_t. So use a ssize_t to store and test the (diff)
downloadwireguard-openbsd-7e5c91da414179335982dec10d2728a79533d1fb.tar.xz
wireguard-openbsd-7e5c91da414179335982dec10d2728a79533d1fb.zip
slightly cleanup by separating socket-specific code from
protocol specific code. 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 aef23e00101..ab180303592 100644
--- a/lib/libsndio/aucat.h
+++ b/lib/libsndio/aucat.h
@@ -20,7 +20,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 *, char *, unsigned, int);
+int aucat_open(struct aucat *, const char *, unsigned, int);
void aucat_close(struct aucat *, int);
int aucat_pollfd(struct aucat *, struct pollfd *, int);
int aucat_revents(struct aucat *, struct pollfd *);