summaryrefslogtreecommitdiffstats
path: root/lib/libpthread
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libpthread')
-rw-r--r--lib/libpthread/thread/thr_create.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/lib/libpthread/thread/thr_create.c b/lib/libpthread/thread/thr_create.c
index 0f7cbab..9682fcf 100644
--- a/lib/libpthread/thread/thr_create.c
+++ b/lib/libpthread/thread/thr_create.c
@@ -44,20 +44,6 @@
#include "thr_private.h"
#include "libc_private.h"
-#define OFF(f) offsetof(struct pthread, f)
-int _thread_next_offset = OFF(tle.tqe_next);
-int _thread_uniqueid_offset = OFF(uniqueid);
-int _thread_state_offset = OFF(state);
-int _thread_name_offset = OFF(name);
-void *_thread_tcb_offset = OFF(tcb);
-#undef OFF
-#define OFF(f) offsetof(struct tcb, f)
-int _thread_ctx_offset = OFF(tcb_tmbx.tm_context);
-#undef OFF
-
-int _thread_PS_RUNNING_value = PS_RUNNING;
-int _thread_PS_DEAD_value = PS_DEAD;
-
static void free_thread(struct pthread *curthread, struct pthread *thread);
static int create_stack(struct pthread_attr *pattr);
static void free_stack(struct pthread_attr *pattr);
OpenPOWER on IntegriCloud