aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--linuxthreads/ChangeLog10
-rw-r--r--linuxthreads/attr.c1
-rw-r--r--linuxthreads/cancel.c1
-rw-r--r--linuxthreads/internals.h1
-rw-r--r--linuxthreads/manager.c1
-rw-r--r--linuxthreads/pthread.c1
-rw-r--r--linuxthreads/ptlongjmp.c1
7 files changed, 11 insertions, 5 deletions
diff --git a/linuxthreads/ChangeLog b/linuxthreads/ChangeLog
index c60416d2bc..efc0143549 100644
--- a/linuxthreads/ChangeLog
+++ b/linuxthreads/ChangeLog
@@ -1,3 +1,13 @@
+2001-06-16 H.J. Lu <hjl@gnu.org>
+
+ * internals.h: Include <stackinfo.h>.
+
+ * attr.c: Don't include <stackinfo.h> here.
+ * cancel.c: Likewise.
+ * manager.c: Likewise.
+ * pthread.c: Likewise.
+ * ptlongjmp.c: Likewise.
+
2001-03-23 Matthew Wilcox <willy@ldl.fc.hp.com>
* attr.c: Make _STACK_GROWS_UP work.
diff --git a/linuxthreads/attr.c b/linuxthreads/attr.c
index eba93f1f67..4b3a8f4342 100644
--- a/linuxthreads/attr.c
+++ b/linuxthreads/attr.c
@@ -22,7 +22,6 @@
#include "pthread.h"
#include "internals.h"
#include <shlib-compat.h>
-#include <stackinfo.h>
int __pthread_attr_init_2_1(pthread_attr_t *attr)
{
diff --git a/linuxthreads/cancel.c b/linuxthreads/cancel.c
index 7ecbd7965b..0d5298b742 100644
--- a/linuxthreads/cancel.c
+++ b/linuxthreads/cancel.c
@@ -20,7 +20,6 @@
#include "internals.h"
#include "spinlock.h"
#include "restart.h"
-#include <stackinfo.h>
#ifdef _STACK_GROWS_DOWN
# define FRAME_LEFT(frame, other) ((char *) frame >= (char *) other)
diff --git a/linuxthreads/internals.h b/linuxthreads/internals.h
index a78f9b671b..d5b469b347 100644
--- a/linuxthreads/internals.h
+++ b/linuxthreads/internals.h
@@ -24,6 +24,7 @@
#include <setjmp.h>
#include <signal.h>
#include <unistd.h>
+#include <stackinfo.h>
#include <sys/types.h>
#include <bits/libc-tsd.h> /* for _LIBC_TSD_KEY_N */
diff --git a/linuxthreads/manager.c b/linuxthreads/manager.c
index 38596ce957..6016219b5e 100644
--- a/linuxthreads/manager.c
+++ b/linuxthreads/manager.c
@@ -32,7 +32,6 @@
#include "spinlock.h"
#include "restart.h"
#include "semaphore.h"
-#include <stackinfo.h>
/* Array of active threads. Entry 0 is reserved for the initial thread. */
struct pthread_handle_struct __pthread_handles[PTHREAD_THREADS_MAX] =
diff --git a/linuxthreads/pthread.c b/linuxthreads/pthread.c
index 643e52fea6..88fbf0ce0f 100644
--- a/linuxthreads/pthread.c
+++ b/linuxthreads/pthread.c
@@ -30,7 +30,6 @@
#include "internals.h"
#include "spinlock.h"
#include "restart.h"
-#include <stackinfo.h>
/* We need the global/static resolver state here. */
#include <resolv.h>
diff --git a/linuxthreads/ptlongjmp.c b/linuxthreads/ptlongjmp.c
index 68b9235cb8..18592548ed 100644
--- a/linuxthreads/ptlongjmp.c
+++ b/linuxthreads/ptlongjmp.c
@@ -18,7 +18,6 @@
#include <setjmp.h>
#include "pthread.h"
#include "internals.h"
-#include <stackinfo.h>
/* These functions are not declared anywhere since they shouldn't be
used at another place but here. */