summaryrefslogtreecommitdiff
path: root/lib/libpthread
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2015-09-14 13:08:02 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2015-09-14 13:08:02 +0000
commitfc767d18f4cc7c85b269bbd4ee4fe8de80f48cbc (patch)
treeacadc0d21a9f45e42fed7288538a83ed53d8dab5 /lib/libpthread
parent8c45e964a6cac4aacc0bf676e780b37023c631b3 (diff)
use .Va for global variables, and .Vt where the type is included
Diffstat (limited to 'lib/libpthread')
-rw-r--r--lib/libpthread/man/pthread_once.313
1 files changed, 4 insertions, 9 deletions
diff --git a/lib/libpthread/man/pthread_once.3 b/lib/libpthread/man/pthread_once.3
index 1a4a37bc991..852e41913e8 100644
--- a/lib/libpthread/man/pthread_once.3
+++ b/lib/libpthread/man/pthread_once.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: pthread_once.3,v 1.14 2014/01/21 03:15:45 schwarze Exp $
+.\" $OpenBSD: pthread_once.3,v 1.15 2015/09/14 13:08:01 schwarze Exp $
.\"
.\" Copyright (c) 1996 John Birrell <jb@cimlogic.com.au>.
.\" All rights reserved.
@@ -32,7 +32,7 @@
.\"
.\" $FreeBSD: pthread_once.3,v 1.5 1999/08/28 00:03:09 peter Exp $
.\"
-.Dd $Mdocdate: January 21 2014 $
+.Dd $Mdocdate: September 14 2015 $
.Dt PTHREAD_ONCE 3
.Os
.Sh NAME
@@ -40,12 +40,7 @@
.Nd dynamic package initialization
.Sh SYNOPSIS
.In pthread.h
-.Pp
-.Ft pthread_once_t
-.Fa once_control
-\&=
-.Dv PTHREAD_ONCE_INIT ;
-.Pp
+.Vt pthread_once_t once_control No = Dv PTHREAD_ONCE_INIT ;
.Ft int
.Fn pthread_once "pthread_once_t *once_control" "void (*init_routine)(void)"
.Sh DESCRIPTION
@@ -78,7 +73,7 @@ is not a cancellation point.
However, if
.Fn init_routine
is a cancellation point and is cancelled, the effect on
-.Fa once_control
+.Va once_control
is as if
.Fn pthread_once
was never called.