summaryrefslogtreecommitdiff
path: root/libgcompat/pthread.c
blob: 52daceb20ed5b18d64e3677ec57a82bbd8f88914 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include <pthread.h>

int __register_atfork(void (*prepare)(void), void (*parent)(void),
                      void (*child)(void))
{
	return pthread_atfork(prepare, parent, child);
}

int register_atfork(void (*prepare)(void), void (*parent)(void),
                    void (*child)(void))
    __attribute__((weak, alias("__register_atfork")));

void __pthread_register_cancel(void *buf)
{
}

void __pthread_unregister_cancel(void *buf)
{
}