Remove unused symbols.
This commit is contained in:
parent
5c1a1421fe
commit
63db3fb215
@ -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);
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user