summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2015-09-14 13:45:26 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2015-09-14 13:45:26 +0000
commit6faa3c4a1c457a4e239f593ce8d4f777f4077000 (patch)
tree9564a748268ffdb40af5e8300e07f4bc59f22ff1 /lib
parenta1e0a66ec7d3bb1c25643354205d112345c2f83a (diff)
in the SYNOPSIS, make void function arguments explicit
Diffstat (limited to 'lib')
-rw-r--r--lib/libarch/arm/arm_drain_writebuf.26
-rw-r--r--lib/libarch/mips64/get_fpc_csr.36
-rw-r--r--lib/libc/stdio/getwc.36
-rw-r--r--lib/libedit/editline.38
-rw-r--r--lib/libpthread/man/getc_unlocked.36
-rw-r--r--lib/libutil/pw_init.38
-rw-r--r--lib/libutil/pw_lock.36
7 files changed, 23 insertions, 23 deletions
diff --git a/lib/libarch/arm/arm_drain_writebuf.2 b/lib/libarch/arm/arm_drain_writebuf.2
index 91fcb69215d..fc44a398904 100644
--- a/lib/libarch/arm/arm_drain_writebuf.2
+++ b/lib/libarch/arm/arm_drain_writebuf.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: arm_drain_writebuf.2,v 1.4 2011/12/25 18:22:01 schwarze Exp $
+.\" $OpenBSD: arm_drain_writebuf.2,v 1.5 2015/09/14 13:45:25 schwarze Exp $
.\" $NetBSD: arm_drain_writebuf.2,v 1.3 2004/02/13 09:56:47 wiz Exp $
.\"
.\" Copyright (c) 1997 Mark Brinicombe
@@ -31,7 +31,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: December 25 2011 $
+.Dd $Mdocdate: September 14 2015 $
.Dt ARM_DRAIN_WRITEBUF 2 arm
.Os
.Sh NAME
@@ -40,7 +40,7 @@
.Sh SYNOPSIS
.In machine/sysarch.h
.Ft int
-.Fn arm_drain_writebuf
+.Fn arm_drain_writebuf void
.Sh DESCRIPTION
.Fn arm_drain_writebuf
will make sure that all the entries in the processor write buffer are
diff --git a/lib/libarch/mips64/get_fpc_csr.3 b/lib/libarch/mips64/get_fpc_csr.3
index da8bf190071..8591c354449 100644
--- a/lib/libarch/mips64/get_fpc_csr.3
+++ b/lib/libarch/mips64/get_fpc_csr.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: get_fpc_csr.3,v 1.5 2015/01/15 19:06:31 schwarze Exp $
+.\" $OpenBSD: get_fpc_csr.3,v 1.6 2015/09/14 13:45:25 schwarze Exp $
.\"
.\" Copyright (c) 2010 Miodrag Vallat.
.\"
@@ -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: January 15 2015 $
+.Dd $Mdocdate: September 14 2015 $
.Dt GET_FPC_CSR 3 mips64
.Os
.Sh NAME
@@ -24,7 +24,7 @@
.Sh SYNOPSIS
.In machine/fpu.h
.Ft int
-.Fn get_fpc_csr
+.Fn get_fpc_csr void
.Ft int
.Fn set_fpc_csr "int csr"
.Sh DESCRIPTION
diff --git a/lib/libc/stdio/getwc.3 b/lib/libc/stdio/getwc.3
index b0b076dbe49..906d9ff44ff 100644
--- a/lib/libc/stdio/getwc.3
+++ b/lib/libc/stdio/getwc.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: getwc.3,v 1.4 2010/09/10 18:38:19 jmc Exp $
+.\" $OpenBSD: getwc.3,v 1.5 2015/09/14 13:45:25 schwarze Exp $
.\"
.\" $NetBSD: getwc.3,v 1.7 2003/09/08 17:54:32 wiz Exp $
.\"
@@ -35,7 +35,7 @@
.\"
.\" @(#)getc.3 8.1 (Berkeley) 6/4/93
.\"
-.Dd $Mdocdate: September 10 2010 $
+.Dd $Mdocdate: September 14 2015 $
.Dt GETWC 3
.Os
.Sh NAME
@@ -51,7 +51,7 @@
.Ft wint_t
.Fn getwc "FILE *stream"
.Ft wint_t
-.Fn getwchar
+.Fn getwchar void
.Sh DESCRIPTION
The
.Fn fgetwc
diff --git a/lib/libedit/editline.3 b/lib/libedit/editline.3
index 9f4d1fe454b..2bc319e5793 100644
--- a/lib/libedit/editline.3
+++ b/lib/libedit/editline.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: editline.3,v 1.38 2015/09/10 13:44:19 schwarze Exp $
+.\" $OpenBSD: editline.3,v 1.39 2015/09/14 13:45:25 schwarze Exp $
.\" $NetBSD: editline.3,v 1.82 2014/05/11 09:01:42 wiz Exp $
.\"
.\" Copyright (c) 1997-2003 The NetBSD Foundation, Inc.
@@ -27,7 +27,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: September 10 2015 $
+.Dd $Mdocdate: September 14 2015 $
.Dt EDITLINE 3
.Os
.Sh NAME
@@ -121,9 +121,9 @@
.Ft void
.Fn el_wdeletestr "EditLine *e" "int count"
.Ft History *
-.Fn history_init
+.Fn history_init void
.Ft HistoryW *
-.Fn history_winit
+.Fn history_winit void
.Ft void
.Fn history_end "History *h"
.Ft void
diff --git a/lib/libpthread/man/getc_unlocked.3 b/lib/libpthread/man/getc_unlocked.3
index 83184a7f9a9..206f5426569 100644
--- a/lib/libpthread/man/getc_unlocked.3
+++ b/lib/libpthread/man/getc_unlocked.3
@@ -1,6 +1,6 @@
-.\" $OpenBSD: getc_unlocked.3,v 1.5 2013/06/05 03:44:50 tedu Exp $
+.\" $OpenBSD: getc_unlocked.3,v 1.6 2015/09/14 13:45:25 schwarze Exp $
.\" David Leonard <d@openbsd.org>, 1999. Public domain.
-.Dd $Mdocdate: June 5 2013 $
+.Dd $Mdocdate: September 14 2015 $
.Dt GETC_UNLOCKED 3
.Os
.Sh NAME
@@ -12,7 +12,7 @@
.Ft int
.Fn getc_unlocked "FILE *stream"
.Ft int
-.Fn getchar_unlocked
+.Fn getchar_unlocked void
.Sh DESCRIPTION
The
.Fn getc_unlocked
diff --git a/lib/libutil/pw_init.3 b/lib/libutil/pw_init.3
index fb0798984be..8d5ae174d26 100644
--- a/lib/libutil/pw_init.3
+++ b/lib/libutil/pw_init.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: pw_init.3,v 1.12 2013/06/05 03:40:26 tedu Exp $
+.\" $OpenBSD: pw_init.3,v 1.13 2015/09/14 13:45:25 schwarze Exp $
.\"
.\" Copyright (c) 1995
.\" The Regents of the University of California. All rights reserved.
@@ -31,7 +31,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: June 5 2013 $
+.Dd $Mdocdate: September 14 2015 $
.Dt PW_INIT 3
.Os
.Sh NAME
@@ -48,7 +48,7 @@
.In pwd.h
.In util.h
.Ft void
-.Fn pw_init
+.Fn pw_init void
.Ft void
.Fn pw_setdir "const char *directory"
.Ft char *
@@ -56,7 +56,7 @@
.Ft void
.Fn pw_edit "int notsetuid" "const char *filename"
.Ft void
-.Fn pw_prompt
+.Fn pw_prompt void
.Ft void
.Fn pw_copy "int ffd" "int tfd" "const struct passwd *pw" "const struct passwd *opw"
.Ft int
diff --git a/lib/libutil/pw_lock.3 b/lib/libutil/pw_lock.3
index 647e24b2e54..e3bc9789897 100644
--- a/lib/libutil/pw_lock.3
+++ b/lib/libutil/pw_lock.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: pw_lock.3,v 1.17 2015/01/15 19:06:32 schwarze Exp $
+.\" $OpenBSD: pw_lock.3,v 1.18 2015/09/14 13:45:25 schwarze Exp $
.\"
.\" Copyright (c) 1995
.\" The Regents of the University of California. All rights reserved.
@@ -31,7 +31,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: January 15 2015 $
+.Dd $Mdocdate: September 14 2015 $
.Dt PW_LOCK 3
.Os
.Sh NAME
@@ -46,7 +46,7 @@
.Ft int
.Fn pw_mkdb "char *username" "int pwflags"
.Ft void
-.Fn pw_abort
+.Fn pw_abort void
.Sh DESCRIPTION
The
.Fn pw_lock ,