summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2014-07-10 13:46:32 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2014-07-10 13:46:32 +0000
commit6a402f8699d4c01c194f66d5ffdc184c639cf0ae (patch)
tree7b63817ce943c4e374fb3dcc9a13d9b19e23200c /lib
parentfc27ef60d168776f8f0e886964d69351e35c63a1 (diff)
__tfork_thread is in libc, so move the manpage over too
ok deraadt@
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/gen/Makefile.inc9
-rw-r--r--lib/libc/gen/__tfork_thread.3 (renamed from lib/librthread/__tfork_thread.3)4
-rw-r--r--lib/librthread/Makefile5
3 files changed, 8 insertions, 10 deletions
diff --git a/lib/libc/gen/Makefile.inc b/lib/libc/gen/Makefile.inc
index 74c026405fe..3db02769925 100644
--- a/lib/libc/gen/Makefile.inc
+++ b/lib/libc/gen/Makefile.inc
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.inc,v 1.64 2014/04/22 10:08:54 guenther Exp $
+# $OpenBSD: Makefile.inc,v 1.65 2014/07/10 13:46:31 guenther Exp $
# gen sources
.PATH: ${LIBCSRCDIR}/arch/${MACHINE_CPU}/gen ${LIBCSRCDIR}/gen
@@ -32,12 +32,12 @@ SRCS+= _sys_errlist.c _sys_nerr.c _sys_siglist.c
# machine-dependent gen sources
# m-d Makefile.inc must include sources for:
-# _setjmp() fabs() frexp() infinity ldexp() modf() nan
-# setjmp() sigsetjmp()
+# _setjmp() fabs() frexp() infinity ldexp() modf() __nan
+# setjmp() sigsetjmp() __tfork_thread()
.include "${LIBCSRCDIR}/arch/${MACHINE_CPU}/gen/Makefile.inc"
-MAN+= alarm.3 auth_subr.3 authenticate.3 basename.3 clock.3 \
+MAN+= __tfork_thread.3 alarm.3 auth_subr.3 authenticate.3 basename.3 clock.3 \
clock_getcpuclockid.3 confstr.3 \
ctermid.3 ctype.3 daemon.3 devname.3 directory.3 dirname.3 err.3 \
exec.3 fabs.3 fnmatch.3 fpclassify.3 fpgetmask.3 frexp.3 ftok.3 fts.3 \
@@ -59,6 +59,7 @@ MAN+= alarm.3 auth_subr.3 authenticate.3 basename.3 clock.3 \
syslog.3 time.3 times.3 timezone.3 toascii.3 tolower.3 toupper.3 \
ttyname.3 ualarm.3 uname.3 unvis.3 usleep.3 utime.3 valloc.3 vis.3
+MLINKS+=__tfork_thread.3 __tfork.2
MLINKS+=auth_subr.3 auth_open.3 auth_subr.3 auth_call.3 auth_subr.3 \
auth_challenge.3 auth_subr.3 auth_check_change.3 auth_subr.3 \
auth_check_expire.3 auth_subr.3 auth_clean.3 auth_subr.3 auth_close.3 \
diff --git a/lib/librthread/__tfork_thread.3 b/lib/libc/gen/__tfork_thread.3
index 198e3a807ad..57124f3c404 100644
--- a/lib/librthread/__tfork_thread.3
+++ b/lib/libc/gen/__tfork_thread.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: __tfork_thread.3,v 1.6 2013/04/06 07:20:46 tedu Exp $
+.\" $OpenBSD: __tfork_thread.3,v 1.1 2014/07/10 13:46:31 guenther Exp $
.\"
.\" Copyright (c) 2011 Philip Guenther <guenther@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: April 6 2013 $
+.Dd $Mdocdate: July 10 2014 $
.Dt __TFORK_THREAD 3
.Os
.Sh NAME
diff --git a/lib/librthread/Makefile b/lib/librthread/Makefile
index 939c3477bca..a07cf92b71b 100644
--- a/lib/librthread/Makefile
+++ b/lib/librthread/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.37 2013/08/06 19:11:53 miod Exp $
+# $OpenBSD: Makefile,v 1.38 2014/07/10 13:46:30 guenther Exp $
LIB=pthread
LIBCSRCDIR= ${.CURDIR}/../libc
@@ -39,9 +39,6 @@ SRCS= rthread.c \
OBJS+= _atomic_lock.o cerror.o
-MAN+= __tfork_thread.3
-MLINKS+=__tfork_thread.3 __tfork.2
-
SRCDIR= ${.CURDIR}/../libpthread
.include "${SRCDIR}/include/Makefile.inc"
.include "${SRCDIR}/man/Makefile.inc"