summaryrefslogtreecommitdiff
path: root/test/nptl/libatfork.c
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-09-26 10:29:12 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-09-26 10:29:12 +0200
commitb06f85d62c41a4ed108628b1c564203f36c0ab4e (patch)
treee0b82be06a5d95c865063152882e44506ec96a86 /test/nptl/libatfork.c
parent8fb9dbf08043e5783f1e0680655af04ecf9888cb (diff)
test: sync tst-atfork2 with GNU libc
Diffstat (limited to 'test/nptl/libatfork.c')
-rw-r--r--test/nptl/libatfork.c27
1 files changed, 0 insertions, 27 deletions
diff --git a/test/nptl/libatfork.c b/test/nptl/libatfork.c
deleted file mode 100644
index f4ddca057..000000000
--- a/test/nptl/libatfork.c
+++ /dev/null
@@ -1,27 +0,0 @@
-#include <stdio.h>
-#include <pthread.h>
-
-static void atfork_prepare(void)
-{
- /* nothing to do */
-}
-
-static void atfork_parent(void)
-{
- /* nothing to do */
-}
-
-static void atfork_child(void)
-{
- /* nothing to do */
-}
-
-static __attribute__((constructor)) void init(void)
-{
- pthread_atfork(atfork_prepare, atfork_parent, atfork_child);
-}
-
-static __attribute__((destructor)) void done(void)
-{
- /* nothing to do */
-}