diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-04-06 23:10:17 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-04-06 23:10:17 +0000 |
commit | af9db46889b17911938f6d98c857e5cc0dec13f3 (patch) | |
tree | 3714feae86af2e4e54feadb3ee03fe4b8f9a2755 /include/unistd.h | |
parent | 447c0b15721de43c8e4b3e5a415915b2867e33e3 (diff) |
remove pthread_atfork() prototype since SuSv3 doesnt *require* it and glibc-2.3.x has since punted it too from unistd.h
Diffstat (limited to 'include/unistd.h')
-rw-r--r-- | include/unistd.h | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/include/unistd.h b/include/unistd.h index 4ae8b1c83..ab8e4b31a 100644 --- a/include/unistd.h +++ b/include/unistd.h @@ -936,25 +936,6 @@ extern void swab (__const void *__restrict __from, void *__restrict __to, extern char *ctermid (char *__s) __THROW; #endif - -#ifdef __USE_POSIX199309 -/* This function is only available if the system has POSIX threads. */ - -/* Install handlers to be called when a new process is created with FORK. - The PREPARE handler is called in the parent process just before performing - FORK. The PARENT handler is called in the parent process just after FORK. - The CHILD handler is called in the child process. Each of the three - handlers can be NULL, meaning that no handler needs to be called at that - point. - PTHREAD_ATFORK can be called several times, in which case the PREPARE - handlers are called in LIFO order (last added with PTHREAD_ATFORK, - first called before FORK), and the PARENT and CHILD handlers are called - in FIFO (first added, first called). */ -extern int pthread_atfork (void (*__prepare) (void), - void (*__parent) (void), - void (*__child) (void)) __THROW; -#endif - __END_DECLS #endif /* unistd.h */ |