Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2013-02-26 14:32:36 +0400
committerCorinna Vinschen <corinna@vinschen.de>2013-02-26 14:32:36 +0400
commit1ef8ce71a885e8127b4dc32442b264966fccd2a0 (patch)
tree631fb312411655de13989040f771e8c0c536bdd3
parent7080b364170f3b0c10518f3c4ad3585c6845c16e (diff)
* include/pthread.h (pthread_atfork): Add missing declaration.
-rw-r--r--winsup/cygwin/ChangeLog4
-rw-r--r--winsup/cygwin/include/pthread.h2
2 files changed, 6 insertions, 0 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index 098ae2963..81ecf55c7 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,3 +1,7 @@
+2013-02-26 Corinna Vinschen <corinna@vinschen.de>
+
+ * include/pthread.h (pthread_atfork): Add missing declaration.
+
2013-02-20 Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
* include/error.h (error_message_count): Declare as dllimport.
diff --git a/winsup/cygwin/include/pthread.h b/winsup/cygwin/include/pthread.h
index 6cb7ddf42..c6798f13a 100644
--- a/winsup/cygwin/include/pthread.h
+++ b/winsup/cygwin/include/pthread.h
@@ -63,6 +63,8 @@ extern "C"
#define PTHREAD_SCOPE_PROCESS 0
#define PTHREAD_SCOPE_SYSTEM 1
+/* Register Fork Handlers */
+int pthread_atfork (void (*)(void), void (*)(void), void (*)(void));
/* Attributes */
int pthread_attr_destroy (pthread_attr_t *);