summaryrefslogtreecommitdiff
path: root/fork.c
diff options
context:
space:
mode:
authorrpj <rpj>1998-08-06 08:32:53 +0000
committerrpj <rpj>1998-08-06 08:32:53 +0000
commit9b0e93aa59205fa6e35f0d8e5c2065c6e806f114 (patch)
tree229bda74f9892a8f7bf12693be7d029d98aac87b /fork.c
parentf1f8c6bef1563b8752967631ad024953584964d7 (diff)
*** empty log message ***
Diffstat (limited to 'fork.c')
-rw-r--r--fork.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/fork.c b/fork.c
index aa621f2..3379e41 100644
--- a/fork.c
+++ b/fork.c
@@ -27,7 +27,7 @@ pthread_atfork(void (*prepare)(void),
/* Push prepare. */
if (_pthread_handler_push(_PTHREAD_FORKPREPARE_STACK,
_PTHREAD_HANDLER_POP_FIFO,
- prepare,
+ (void (*)(void *)) prepare,
NULL) == ENOMEM)
{
ret = ENOMEM;
@@ -40,7 +40,7 @@ pthread_atfork(void (*prepare)(void),
/* Push parent. */
if (_pthread_handler_push(_PTHREAD_FORKPARENT_STACK,
_PTHREAD_HANDLER_POP_LIFO,
- parent,
+ (void (*)(void *)) parent,
NULL) == ENOMEM)
{
ret = ENOMEM;
@@ -53,7 +53,7 @@ pthread_atfork(void (*prepare)(void),
/* Push child. */
if (_pthread_handler_push(_PTHREAD_FORKCHILD_STACK,
_PTHREAD_HANDLER_POP_LIFO,
- child,
+ (void (*)(void *)) child,
NULL) == ENOMEM)
{
ret = ENOMEM;