From f778b05135dd935748fd53ef417b8edf3c20d067 Mon Sep 17 00:00:00 2001 From: ad Date: Wed, 25 Jun 2008 11:45:38 +0000 Subject: [PATCH] SUS says that pthread_atfork() must also be in unistd.h --- include/unistd.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/unistd.h b/include/unistd.h index 70e9ed8d6033..b290525e0ab0 100644 --- a/include/unistd.h +++ b/include/unistd.h @@ -1,4 +1,4 @@ -/* $NetBSD: unistd.h,v 1.117 2008/06/25 11:10:25 ad Exp $ */ +/* $NetBSD: unistd.h,v 1.118 2008/06/25 11:45:38 ad Exp $ */ /*- * Copyright (c) 1998, 1999, 2008 The NetBSD Foundation, Inc. @@ -196,6 +196,7 @@ int fsync(int); #if (_POSIX_C_SOURCE - 0) >= 199506L || (_XOPEN_SOURCE - 0) >= 500 || \ defined(_REENTRANT) || defined(_NETBSD_SOURCE) int ttyname_r(int, char *, size_t); +int pthread_atfork(void (*)(void), void (*)(void), void (*)(void)); #endif /*