summaryrefslogtreecommitdiff
path: root/lib/libsndio
diff options
context:
space:
mode:
authorAlexandre Ratchov <ratchov@cvs.openbsd.org>2009-07-26 12:40:46 +0000
committerAlexandre Ratchov <ratchov@cvs.openbsd.org>2009-07-26 12:40:46 +0000
commit6f0d8d5f9c0a2da461a17e5fc44d983ac5432234 (patch)
tree6c40d01ec63c270953e22b59d86796ac81613f62 /lib/libsndio
parentf7d3fc86c5a868737b034f96e6abca0e87f472ea (diff)
Make ``static'' few functions that are prototyped as static but are not
defined as such from Thomas Pfaff
Diffstat (limited to 'lib/libsndio')
-rw-r--r--lib/libsndio/mio_rmidi.c4
-rw-r--r--lib/libsndio/mio_thru.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/libsndio/mio_rmidi.c b/lib/libsndio/mio_rmidi.c
index d07249e34de..25bd3506e51 100644
--- a/lib/libsndio/mio_rmidi.c
+++ b/lib/libsndio/mio_rmidi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mio_rmidi.c,v 1.3 2009/07/26 12:38:20 ratchov Exp $ */
+/* $OpenBSD: mio_rmidi.c,v 1.4 2009/07/26 12:40:45 ratchov Exp $ */
/*
* Copyright (c) 2008 Alexandre Ratchov <alex@caoua.org>
*
@@ -152,7 +152,7 @@ rmidi_pollfd(struct mio_hdl *sh, struct pollfd *pfd, int events)
return 1;
}
-int
+static int
rmidi_revents(struct mio_hdl *sh, struct pollfd *pfd)
{
return pfd->revents;
diff --git a/lib/libsndio/mio_thru.c b/lib/libsndio/mio_thru.c
index 8a5cec1fa90..6f58ac7ee6a 100644
--- a/lib/libsndio/mio_thru.c
+++ b/lib/libsndio/mio_thru.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mio_thru.c,v 1.3 2009/07/26 12:38:20 ratchov Exp $ */
+/* $OpenBSD: mio_thru.c,v 1.4 2009/07/26 12:40:45 ratchov Exp $ */
/*
* Copyright (c) 2008 Alexandre Ratchov <alex@caoua.org>
*
@@ -206,7 +206,7 @@ thru_pollfd(struct mio_hdl *sh, struct pollfd *pfd, int events)
return 1;
}
-int
+static int
thru_revents(struct mio_hdl *sh, struct pollfd *pfd)
{
return pfd->revents;