summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2015-09-14 15:14:55 +0000
committerschwarze <schwarze@openbsd.org>2015-09-14 15:14:55 +0000
commit5dfee2283fd7fd95d715914acc2abb87f60de8b3 (patch)
tree18e281d2252f8c73356a6f16721fead139edf805 /lib
parentthese files are a combination of old, lies, and old lies. zap. (diff)
downloadwireguard-openbsd-5dfee2283fd7fd95d715914acc2abb87f60de8b3.tar.xz
wireguard-openbsd-5dfee2283fd7fd95d715914acc2abb87f60de8b3.zip
Remove useless quoting from .Fo and .Fn function names, to prevent
development of a cargo cult in case people look at existing files for examples. This achieves a consistent .Fo and .Fn quoting style across the whole tree.
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/gen/fpgetmask.310
-rw-r--r--lib/libc/hash/SipHash24.314
-rw-r--r--lib/libsndio/mio_open.320
-rw-r--r--lib/libsndio/sio_open.338
-rw-r--r--lib/libssl/doc/SSL_set_session.36
-rw-r--r--lib/libssl/src/doc/ssl/SSL_set_session.36
-rw-r--r--lib/libtls/tls_init.38
-rw-r--r--lib/libutil/fparseln.36
8 files changed, 54 insertions, 54 deletions
diff --git a/lib/libc/gen/fpgetmask.3 b/lib/libc/gen/fpgetmask.3
index 8734e130682..a0499311807 100644
--- a/lib/libc/gen/fpgetmask.3
+++ b/lib/libc/gen/fpgetmask.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: fpgetmask.3,v 1.9 2013/06/05 03:39:22 tedu Exp $
+.\" $OpenBSD: fpgetmask.3,v 1.10 2015/09/14 15:14:55 schwarze Exp $
.\" $NetBSD: fpgetmask.3,v 1.3 2001/09/16 02:57:03 wiz Exp $
.\"
.\" Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -28,7 +28,7 @@
.\" ARISING IN ANY WAY 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 FPGETMASK 3
.Os
.Sh NAME
@@ -48,11 +48,11 @@
.Ft fp_except
.Fn fpgetsticky void
.Ft fp_except
-.Fn fpsetmask fp_except\ mask
+.Fn fpsetmask "fp_except mask"
.Ft fp_rnd
-.Fn fpsetround fp_rnd\ rnd_dir
+.Fn fpsetround "fp_rnd rnd_dir"
.Ft fp_except
-.Fn fpsetsticky fp_except\ sticky
+.Fn fpsetsticky "fp_except sticky"
.Sh DESCRIPTION
A rounding mode is one of
.Dv FP_RZ , FP_RM , FP_RN ,
diff --git a/lib/libc/hash/SipHash24.3 b/lib/libc/hash/SipHash24.3
index 25b1bf331fa..7b95840d0cf 100644
--- a/lib/libc/hash/SipHash24.3
+++ b/lib/libc/hash/SipHash24.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: SipHash24.3,v 1.4 2015/02/21 02:43:07 tedu Exp $
+.\" $OpenBSD: SipHash24.3,v 1.5 2015/09/14 15:14:55 schwarze Exp $
.\"
.\" Copyright (c) 2014 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: February 21 2015 $
+.Dd $Mdocdate: September 14 2015 $
.Dt SIPHASH24 3
.Os
.Sh NAME
@@ -27,15 +27,15 @@
.Sh SYNOPSIS
.In siphash.h
.Ft void
-.Fn "SipHash24_Init" "SIPHASH_CTX *ctx" "const SIPHASH_KEY *key"
+.Fn SipHash24_Init "SIPHASH_CTX *ctx" "const SIPHASH_KEY *key"
.Ft void
-.Fn "SipHash24_Update" "SIPHASH_CTX *ctx" "const void *data" "size_t len"
+.Fn SipHash24_Update "SIPHASH_CTX *ctx" "const void *data" "size_t len"
.Ft uint64_t
-.Fn "SipHash24_End" "SIPHASH_CTX *ctx"
+.Fn SipHash24_End "SIPHASH_CTX *ctx"
.Ft void
-.Fn "SipHash24_Final" "void *digest" "SIPHASH_CTX *ctx"
+.Fn SipHash24_Final "void *digest" "SIPHASH_CTX *ctx"
.Ft uint64_t
-.Fn "SipHash24" "const SIPHASH_KEY *key" "const void *data" "size_t len"
+.Fn SipHash24 "const SIPHASH_KEY *key" "const void *data" "size_t len"
.Sh DESCRIPTION
The SipHash algorithm is a keyed hash algorithm optimised for short
inputs which produces a 64-bit digest of data.
diff --git a/lib/libsndio/mio_open.3 b/lib/libsndio/mio_open.3
index 2f6b8fe8fba..d8f44d02971 100644
--- a/lib/libsndio/mio_open.3
+++ b/lib/libsndio/mio_open.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: mio_open.3,v 1.14 2014/03/05 20:01:59 ratchov Exp $
+.\" $OpenBSD: mio_open.3,v 1.15 2015/09/14 15:14:55 schwarze Exp $
.\"
.\" Copyright (c) 2007 Alexandre Ratchov <alex@caoua.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: March 5 2014 $
+.Dd $Mdocdate: September 14 2015 $
.Dt MIO_OPEN 3
.Os
.Sh NAME
@@ -30,21 +30,21 @@
.Sh SYNOPSIS
.In sndio.h
.Ft "struct mio_hdl *"
-.Fn "mio_open" "const char *name" "unsigned int mode" "int nbio_flag"
+.Fn mio_open "const char *name" "unsigned int mode" "int nbio_flag"
.Ft "void"
-.Fn "mio_close" "struct mio_hdl *hdl"
+.Fn mio_close "struct mio_hdl *hdl"
.Ft "size_t"
-.Fn "mio_read" "struct mio_hdl *hdl" "void *addr" "size_t nbytes"
+.Fn mio_read "struct mio_hdl *hdl" "void *addr" "size_t nbytes"
.Ft "size_t"
-.Fn "mio_write" "struct mio_hdl *hdl" "const void *addr" "size_t nbytes"
+.Fn mio_write "struct mio_hdl *hdl" "const void *addr" "size_t nbytes"
.Ft "int"
-.Fn "mio_nfds" "struct mio_hdl *hdl"
+.Fn mio_nfds "struct mio_hdl *hdl"
.Ft "int"
-.Fn "mio_pollfd" "struct mio_hdl *hdl" "struct pollfd *pfd" "int events"
+.Fn mio_pollfd "struct mio_hdl *hdl" "struct pollfd *pfd" "int events"
.Ft "int"
-.Fn "mio_revents" "struct mio_hdl *hdl" "struct pollfd *pfd"
+.Fn mio_revents "struct mio_hdl *hdl" "struct pollfd *pfd"
.Ft "int"
-.Fn "mio_eof" "struct mio_hdl *hdl"
+.Fn mio_eof "struct mio_hdl *hdl"
.Sh DESCRIPTION
The
.Nm sndio
diff --git a/lib/libsndio/sio_open.3 b/lib/libsndio/sio_open.3
index 4adcae5202a..27b8ad23e7e 100644
--- a/lib/libsndio/sio_open.3
+++ b/lib/libsndio/sio_open.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: sio_open.3,v 1.42 2014/12/02 11:09:28 schwarze Exp $
+.\" $OpenBSD: sio_open.3,v 1.43 2015/09/14 15:14:55 schwarze Exp $
.\"
.\" Copyright (c) 2007 Alexandre Ratchov <alex@caoua.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: December 2 2014 $
+.Dd $Mdocdate: September 14 2015 $
.Dt SIO_OPEN 3
.Os
.Sh NAME
@@ -39,39 +39,39 @@
.Sh SYNOPSIS
.In sndio.h
.Ft "struct sio_hdl *"
-.Fn "sio_open" "const char *name" "unsigned int mode" "int nbio_flag"
+.Fn sio_open "const char *name" "unsigned int mode" "int nbio_flag"
.Ft "void"
-.Fn "sio_close" "struct sio_hdl *hdl"
+.Fn sio_close "struct sio_hdl *hdl"
.Ft "int"
-.Fn "sio_setpar" "struct sio_hdl *hdl" "struct sio_par *par"
+.Fn sio_setpar "struct sio_hdl *hdl" "struct sio_par *par"
.Ft "int"
-.Fn "sio_getpar" "struct sio_hdl *hdl" "struct sio_par *par"
+.Fn sio_getpar "struct sio_hdl *hdl" "struct sio_par *par"
.Ft "int"
-.Fn "sio_getcap" "struct sio_hdl *hdl" "struct sio_cap *cap"
+.Fn sio_getcap "struct sio_hdl *hdl" "struct sio_cap *cap"
.Ft "int"
-.Fn "sio_start" "struct sio_hdl *hdl"
+.Fn sio_start "struct sio_hdl *hdl"
.Ft "int"
-.Fn "sio_stop" "struct sio_hdl *hdl"
+.Fn sio_stop "struct sio_hdl *hdl"
.Ft "size_t"
-.Fn "sio_read" "struct sio_hdl *hdl" "void *addr" "size_t nbytes"
+.Fn sio_read "struct sio_hdl *hdl" "void *addr" "size_t nbytes"
.Ft "size_t"
-.Fn "sio_write" "struct sio_hdl *hdl" "const void *addr" "size_t nbytes"
+.Fn sio_write "struct sio_hdl *hdl" "const void *addr" "size_t nbytes"
.Ft "void"
-.Fn "sio_onmove" "struct sio_hdl *hdl" "void (*cb)(void *arg, int delta)" "void *arg"
+.Fn sio_onmove "struct sio_hdl *hdl" "void (*cb)(void *arg, int delta)" "void *arg"
.Ft "int"
-.Fn "sio_nfds" "struct sio_hdl *hdl"
+.Fn sio_nfds "struct sio_hdl *hdl"
.Ft "int"
-.Fn "sio_pollfd" "struct sio_hdl *hdl" "struct pollfd *pfd" "int events"
+.Fn sio_pollfd "struct sio_hdl *hdl" "struct pollfd *pfd" "int events"
.Ft "int"
-.Fn "sio_revents" "struct sio_hdl *hdl" "struct pollfd *pfd"
+.Fn sio_revents "struct sio_hdl *hdl" "struct pollfd *pfd"
.Ft "int"
-.Fn "sio_eof" "struct sio_hdl *hdl"
+.Fn sio_eof "struct sio_hdl *hdl"
.Ft "int"
-.Fn "sio_setvol" "struct sio_hdl *hdl" "unsigned int vol"
+.Fn sio_setvol "struct sio_hdl *hdl" "unsigned int vol"
.Ft "int"
-.Fn "sio_onvol" "struct sio_hdl *hdl" "void (*cb)(void *arg, unsigned int vol)" "void *arg"
+.Fn sio_onvol "struct sio_hdl *hdl" "void (*cb)(void *arg, unsigned int vol)" "void *arg"
.Ft "void"
-.Fn "sio_initpar" "struct sio_par *par"
+.Fn sio_initpar "struct sio_par *par"
.\"Fd #define SIO_BPS(bits)
.\"Fd #define SIO_LE_NATIVE
.Sh DESCRIPTION
diff --git a/lib/libssl/doc/SSL_set_session.3 b/lib/libssl/doc/SSL_set_session.3
index 1f2fc66cba9..8b4b78b6e28 100644
--- a/lib/libssl/doc/SSL_set_session.3
+++ b/lib/libssl/doc/SSL_set_session.3
@@ -1,7 +1,7 @@
.\"
-.\" $OpenBSD: SSL_set_session.3,v 1.2 2014/12/02 14:11:01 jmc Exp $
+.\" $OpenBSD: SSL_set_session.3,v 1.3 2015/09/14 15:14:55 schwarze Exp $
.\"
-.Dd $Mdocdate: December 2 2014 $
+.Dd $Mdocdate: September 14 2015 $
.Dt SSL_SET_SESSION 3
.Os
.Sh NAME
@@ -10,7 +10,7 @@
.Sh SYNOPSIS
.In openssl/ssl.h
.Ft int
-.Fn SSL_set_session "SSL *ssl" "SSL_SESSION *session"
+.Fn SSL_set_session "SSL *ssl" "SSL_SESSION *session"
.Sh DESCRIPTION
.Fn SSL_set_session
sets
diff --git a/lib/libssl/src/doc/ssl/SSL_set_session.3 b/lib/libssl/src/doc/ssl/SSL_set_session.3
index 1f2fc66cba9..8b4b78b6e28 100644
--- a/lib/libssl/src/doc/ssl/SSL_set_session.3
+++ b/lib/libssl/src/doc/ssl/SSL_set_session.3
@@ -1,7 +1,7 @@
.\"
-.\" $OpenBSD: SSL_set_session.3,v 1.2 2014/12/02 14:11:01 jmc Exp $
+.\" $OpenBSD: SSL_set_session.3,v 1.3 2015/09/14 15:14:55 schwarze Exp $
.\"
-.Dd $Mdocdate: December 2 2014 $
+.Dd $Mdocdate: September 14 2015 $
.Dt SSL_SET_SESSION 3
.Os
.Sh NAME
@@ -10,7 +10,7 @@
.Sh SYNOPSIS
.In openssl/ssl.h
.Ft int
-.Fn SSL_set_session "SSL *ssl" "SSL_SESSION *session"
+.Fn SSL_set_session "SSL *ssl" "SSL_SESSION *session"
.Sh DESCRIPTION
.Fn SSL_set_session
sets
diff --git a/lib/libtls/tls_init.3 b/lib/libtls/tls_init.3
index fbd6cb5e127..feef85dcb66 100644
--- a/lib/libtls/tls_init.3
+++ b/lib/libtls/tls_init.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: tls_init.3,v 1.46 2015/09/14 14:29:30 jmc Exp $
+.\" $OpenBSD: tls_init.3,v 1.47 2015/09/14 15:14:55 schwarze Exp $
.\"
.\" Copyright (c) 2014 Ted Unangst <tedu@openbsd.org>
.\"
@@ -88,7 +88,7 @@
.Ft "int"
.Fn tls_config_set_cert_file "struct tls_config *config" "const char *cert_file"
.Ft "int"
-.Fn tls_config_set_cert_mem "struct tls_config *config" "const uint8_t *cert" "size_t len"
+.Fn tls_config_set_cert_mem "struct tls_config *config" "const uint8_t *cert" "size_t len"
.Ft "int"
.Fn tls_config_set_ciphers "struct tls_config *config" "const char *ciphers"
.Ft "int"
@@ -595,7 +595,7 @@ while (len > 0) {
ret = tls_write(ctx, buf, len);
if (ret == TLS_WANT_POLLIN || ret == TLS_WANT_POLLOUT)
continue;
- if (ret < 0)
+ if (ret < 0)
err(1, "tls_write: %s", tls_error(ctx));
buf += ret;
len -= ret;
@@ -630,7 +630,7 @@ while (len > 0) {
buf += ret;
len -= ret;
}
- }
+ }
}
\&...
.Ed
diff --git a/lib/libutil/fparseln.3 b/lib/libutil/fparseln.3
index f8b732c705b..5b7c787c65a 100644
--- a/lib/libutil/fparseln.3
+++ b/lib/libutil/fparseln.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: fparseln.3,v 1.9 2015/01/15 19:06:32 schwarze Exp $
+.\" $OpenBSD: fparseln.3,v 1.10 2015/09/14 15:14:55 schwarze Exp $
.\" $NetBSD: fparseln.3,v 1.7 1999/07/02 15:49:12 simonb Exp $
.\"
.\" Copyright (c) 1997 Christos Zoulas. All rights reserved.
@@ -28,7 +28,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 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 FPARSELN 3
.Os
.Sh NAME
@@ -38,7 +38,7 @@
.In stdio.h
.In util.h
.Ft "char *"
-.Fo "fparseln"
+.Fo fparseln
.Fa "FILE *stream" "size_t *len" "size_t *lineno"
.Fa "const char delim[3]" "int flags"
.Fc