summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorratchov <ratchov@openbsd.org>2009-07-26 12:40:45 +0000
committerratchov <ratchov@openbsd.org>2009-07-26 12:40:45 +0000
commitee5ea84a13490642628d2cc5e93e9334c31a5b23 (patch)
tree2b03e383ef12a7e5dc022d1fb97935aa4344c544
parentsort and space headers as per style(9) (diff)
downloadwireguard-openbsd-ee5ea84a13490642628d2cc5e93e9334c31a5b23.tar.xz
wireguard-openbsd-ee5ea84a13490642628d2cc5e93e9334c31a5b23.zip
Make ``static'' few functions that are prototyped as static but are not
defined as such from Thomas Pfaff
-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;