From 052d5bb4250757e31a51d68d65dd6012003b19c7 Mon Sep 17 00:00:00 2001 From: Alexandre Ratchov Date: Mon, 27 Jul 2009 06:30:35 +0000 Subject: don't use ``return'' in sio_close() and mio_close() --- lib/libsndio/mio.c | 4 ++-- lib/libsndio/sndio.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'lib/libsndio') 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 * @@ -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 * @@ -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 -- cgit v1.2.3