Module Name: src Committed By: christos Date: Tue Feb 6 20:22:41 UTC 2018
Modified Files: src/include: unistd.h Log Message: fix typo To generate a diff of this commit: cvs rdiff -u -r1.148 -r1.149 src/include/unistd.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/include/unistd.h diff -u src/include/unistd.h:1.148 src/include/unistd.h:1.149 --- src/include/unistd.h:1.148 Tue Feb 6 15:21:21 2018 +++ src/include/unistd.h Tue Feb 6 15:22:41 2018 @@ -1,4 +1,4 @@ -/* $NetBSD: unistd.h,v 1.148 2018/02/06 20:21:21 christos Exp $ */ +/* $NetBSD: unistd.h,v 1.149 2018/02/06 20:22:41 christos Exp $ */ /*- * Copyright (c) 1998, 1999, 2008 The NetBSD Foundation, Inc. @@ -213,8 +213,8 @@ 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); -#ifndef __PTHREAD_AFORK_DECLARED -#define __PTHREAD_AFORK_DECLARED +#ifndef __PTHREAD_ATFORK_DECLARED +#define __PTHREAD_ATFORK_DECLARED int pthread_atfork(void (*)(void), void (*)(void), void (*)(void)); #endif #endif