aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/htl
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2021-03-24 21:27:34 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2021-03-29 21:41:09 +0200
commit64786a7090d104a2e4e2e225b1eff08951fe008a (patch)
tree9498fe2a6f2504910df83a3c68c1307f3fb9f2ce /sysdeps/htl
parente4fda4631017e49d4ee5a2755db34289b6860fa4 (diff)
downloadglibc-64786a7090d104a2e4e2e225b1eff08951fe008a.tar.xz
glibc-64786a7090d104a2e4e2e225b1eff08951fe008a.zip
fork.h: replace with register-atfork.h
UNREGISTER_ATFORK is now defined for all ports in register-atfork.h, so most previous includes of fork.h actually only need register-atfork.h now, and cxa_finalize.c does not need an ifdef UNREGISTER_ATFORK any more. The nptl-specific fork generation counters can then go to pthreadP.h, and fork.h be removed. Checked on x86_64-linux-gnu and i686-gnu. Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'sysdeps/htl')
-rw-r--r--sysdeps/htl/fork.h20
-rw-r--r--sysdeps/htl/pt-atfork.c1
2 files changed, 0 insertions, 21 deletions
diff --git a/sysdeps/htl/fork.h b/sysdeps/htl/fork.h
deleted file mode 100644
index 9d0d1d2b41..0000000000
--- a/sysdeps/htl/fork.h
+++ /dev/null
@@ -1,20 +0,0 @@
-/* Copyright (C) 2002-2021 Free Software Foundation, Inc.
- This file is part of the GNU C Library.
- Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
-
- The GNU C Library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- The GNU C Library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with the GNU C Library; if not, see
- <https://www.gnu.org/licenses/>. */
-
-#include <lowlevellock.h>
-#include <register-atfork.h>
diff --git a/sysdeps/htl/pt-atfork.c b/sysdeps/htl/pt-atfork.c
index dbb3b8f0cc..3902f40835 100644
--- a/sysdeps/htl/pt-atfork.c
+++ b/sysdeps/htl/pt-atfork.c
@@ -18,7 +18,6 @@
#include <pthread.h>
#include <pt-internal.h>
-#include <fork.h>
#include <dso_handle.h>
#include <register-atfork.h>