summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2015-09-14 12:05:34 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2015-09-14 12:05:34 +0000
commitbf17aaac9a3261d0bd4d76a6f16858efd96f65c2 (patch)
tree31ceeff045d76a30b29bff616cdb0f8dce0b268c
parent6dd2ffbad788052f62939f6df229ff3cfb222f13 (diff)
add missing function return types
-rw-r--r--lib/libtls/tls_init.35
-rw-r--r--share/man/man9/bio_register.95
-rw-r--r--share/man/man9/ieee80211.910
3 files changed, 11 insertions, 9 deletions
diff --git a/lib/libtls/tls_init.3 b/lib/libtls/tls_init.3
index ead2a8095db..81ab97b0c43 100644
--- a/lib/libtls/tls_init.3
+++ b/lib/libtls/tls_init.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: tls_init.3,v 1.44 2015/09/13 10:32:46 beck Exp $
+.\" $OpenBSD: tls_init.3,v 1.45 2015/09/14 12:05:33 schwarze Exp $
.\"
.\" Copyright (c) 2014 Ted Unangst <tedu@openbsd.org>
.\"
@@ -14,7 +14,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: September 13 2015 $
+.Dd $Mdocdate: September 14 2015 $
.Dt TLS_INIT 3
.Os
.Sh NAME
@@ -147,6 +147,7 @@
.Fn tls_connect "struct tls *ctx" "const char *host" "const char *port"
.Ft "int"
.Fn tls_connect_fds "struct tls *ctx" "int fd_read" "int fd_write" "const char *servername"
+.Ft "int"
.Fn tls_connect_servername "struct tls *ctx" "const char *host" "const char *port" "const char *servername"
.Ft "int"
.Fn tls_connect_socket "struct tls *ctx" "int s" "const char *servername"
diff --git a/share/man/man9/bio_register.9 b/share/man/man9/bio_register.9
index fcd40eb0d21..e823b036996 100644
--- a/share/man/man9/bio_register.9
+++ b/share/man/man9/bio_register.9
@@ -1,4 +1,4 @@
-.\" $OpenBSD: bio_register.9,v 1.5 2013/07/17 20:21:52 schwarze Exp $
+.\" $OpenBSD: bio_register.9,v 1.6 2015/09/14 12:05:33 schwarze Exp $
.\"
.\" Copyright (c) 2006 David Gwynne <dlg@openbsd.org>
.\"
@@ -14,7 +14,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: July 17 2013 $
+.Dd $Mdocdate: September 14 2015 $
.Dt BIO_REGISTER 9
.Os
.Sh NAME
@@ -25,6 +25,7 @@
.In dev/biovar.h
.Ft int
.Fn bio_register "struct device *dev" "int (*bioctl)(struct device *, u_long, caddr_t)"
+.Ft void
.Fn bio_unregister "struct device *dev"
.Sh DESCRIPTION
The block I/O ioctl tunnelling interface is used by drivers to register and
diff --git a/share/man/man9/ieee80211.9 b/share/man/man9/ieee80211.9
index 5b00afed0d8..c0c826d22b6 100644
--- a/share/man/man9/ieee80211.9
+++ b/share/man/man9/ieee80211.9
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ieee80211.9,v 1.12 2013/07/17 20:21:52 schwarze Exp $
+.\" $OpenBSD: ieee80211.9,v 1.13 2015/09/14 12:05:33 schwarze Exp $
.\"
.\" Copyright (c) 2004 Bruce M. Simpson <bms@spc.org>
.\" Copyright (c) 2004 Darron Broad <darron@kewl.org>
@@ -26,9 +26,9 @@
.\" SUCH DAMAGE.
.\"
.\" $FreeBSD: src/share/man/man9/ieee80211.9,v 1.3 2004/07/07 12:59:39 ru Exp $
-.\" $Id: ieee80211.9,v 1.12 2013/07/17 20:21:52 schwarze Exp $
+.\" $Id: ieee80211.9,v 1.13 2015/09/14 12:05:33 schwarze Exp $
.\"
-.Dd $Mdocdate: July 17 2013 $
+.Dd $Mdocdate: September 14 2015 $
.Dt IEEE80211 9
.Os
.Sh NAME
@@ -59,9 +59,9 @@
.Fa "struct ifnet *ifp" "ifm_change_cb_t media_change"
.Fa "ifm_stat_cb_t media_stat"
.Fc
-.Fa int
+.Ft int
.Fn ieee80211_media_change "struct ifnet *ifp"
-.Fa void
+.Ft void
.Fn ieee80211_media_status "struct ifnet *ifp" "struct ifmediareq *imr"
.Ft void
.Fn ieee80211_watchdog "struct ifnet *ifp"