This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[PATCH] Move remaining nptl_db headers to sysdeps/nptl
- From: Florian Weimer <fweimer at redhat dot com>
- To: libc-alpha at sourceware dot org
- Date: Fri, 08 Feb 2019 23:14:37 +0100
- Subject: [PATCH] Move remaining nptl_db headers to sysdeps/nptl
sys/procfs.h was already using this sysdeps directory.
This avoids the need for nptl-specific wrapper headers under
include/, a generic location in the source tree.
2019-02-08 Florian Weimer <fweimer@redhat.com>
* nptl_db/proc_service.h: Move to ...
* sysdeps/nptl/proc_service.h: ... here.
* nptl_db/thread_db.h: Move to ...
* sysdeps/nptl/thread_db.h: ... here.
* nptl/descr.h: Include <thread_db.h>.
diff --git a/nptl/descr.h b/nptl/descr.h
index 9c54cbc8f2..4ef33ae465 100644
--- a/nptl/descr.h
+++ b/nptl/descr.h
@@ -29,7 +29,7 @@
#include <lowlevellock.h>
#include <pthreaddef.h>
#include <dl-sysdep.h>
-#include "../nptl_db/thread_db.h"
+#include <thread_db.h>
#include <tls.h>
#include <unwind.h>
#include <bits/types/res_state.h>
diff --git a/nptl_db/proc_service.h b/sysdeps/nptl/proc_service.h
similarity index 100%
rename from nptl_db/proc_service.h
rename to sysdeps/nptl/proc_service.h
diff --git a/nptl_db/thread_db.h b/sysdeps/nptl/thread_db.h
similarity index 100%
rename from nptl_db/thread_db.h
rename to sysdeps/nptl/thread_db.h