summaryrefslogtreecommitdiff
path: root/lib/libsndio
diff options
context:
space:
mode:
authorAlexandre Ratchov <ratchov@cvs.openbsd.org>2009-07-27 06:30:35 +0000
committerAlexandre Ratchov <ratchov@cvs.openbsd.org>2009-07-27 06:30:35 +0000
commit052d5bb4250757e31a51d68d65dd6012003b19c7 (patch)
treeb39cf8f04eb5376710c1c99f5a4eb3a407a167e5 /lib/libsndio
parentf851315a392add7d8418a14733ee0be2070f506f (diff)
don't use ``return'' in sio_close() and mio_close()
Diffstat (limited to 'lib/libsndio')
-rw-r--r--lib/libsndio/mio.c4
-rw-r--r--lib/libsndio/sndio.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/libsndio/mio.c b/lib/libsndio/mio.c
index 4e423bebd17..6bdb0a6ac2e 100644
--- a/lib/libsndio/mio.c
+++ b/lib/libsndio/mio.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mio.c,v 1.5 2009/07/26 13:33:30 ratchov Exp $ */
+/* $OpenBSD: mio.c,v 1.6 2009/07/27 06:30:34 ratchov Exp $ */
/*
* Copyright (c) 2008 Alexandre Ratchov <alex@caoua.org>
*
@@ -101,7 +101,7 @@ mio_create(struct mio_hdl *hdl, struct mio_ops *ops, unsigned mode, int nbio)
void
mio_close(struct mio_hdl *hdl)
{
- return hdl->ops->close(hdl);
+ hdl->ops->close(hdl);
}
size_t
diff --git a/lib/libsndio/sndio.c b/lib/libsndio/sndio.c
index 9539e26db57..96b21732acf 100644
--- a/lib/libsndio/sndio.c
+++ b/lib/libsndio/sndio.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sndio.c,v 1.20 2009/07/26 15:50:04 ratchov Exp $ */
+/* $OpenBSD: sndio.c,v 1.21 2009/07/27 06:30:34 ratchov Exp $ */
/*
* Copyright (c) 2008 Alexandre Ratchov <alex@caoua.org>
*
@@ -237,7 +237,7 @@ sio_create(struct sio_hdl *hdl, struct sio_ops *ops, unsigned mode, int nbio)
void
sio_close(struct sio_hdl *hdl)
{
- return hdl->ops->close(hdl);
+ hdl->ops->close(hdl);
}
int