native: remove redeclarations of sched_active_thread
This commit is contained in:
parent
7681e594b9
commit
a79d9c8562
@ -45,8 +45,6 @@
|
|||||||
#define ENABLE_DEBUG (0)
|
#define ENABLE_DEBUG (0)
|
||||||
#include "debug.h"
|
#include "debug.h"
|
||||||
|
|
||||||
extern volatile tcb_t *sched_active_thread;
|
|
||||||
|
|
||||||
volatile int native_interrupts_enabled;
|
volatile int native_interrupts_enabled;
|
||||||
volatile int _native_in_isr;
|
volatile int _native_in_isr;
|
||||||
volatile int _native_in_syscall;
|
volatile int _native_in_syscall;
|
||||||
|
|||||||
@ -57,8 +57,6 @@
|
|||||||
#define ENABLE_DEBUG (0)
|
#define ENABLE_DEBUG (0)
|
||||||
#include "debug.h"
|
#include "debug.h"
|
||||||
|
|
||||||
extern volatile tcb_t *sched_active_thread;
|
|
||||||
|
|
||||||
ucontext_t end_context;
|
ucontext_t end_context;
|
||||||
char __end_stack[SIGSTKSZ];
|
char __end_stack[SIGSTKSZ];
|
||||||
|
|
||||||
|
|||||||
@ -47,8 +47,6 @@
|
|||||||
#endif
|
#endif
|
||||||
#include "debug.h"
|
#include "debug.h"
|
||||||
|
|
||||||
extern volatile tcb_t *sched_active_thread;
|
|
||||||
|
|
||||||
ssize_t (*real_read)(int fd, void *buf, size_t count);
|
ssize_t (*real_read)(int fd, void *buf, size_t count);
|
||||||
ssize_t (*real_write)(int fd, const void *buf, size_t count);
|
ssize_t (*real_write)(int fd, const void *buf, size_t count);
|
||||||
size_t (*real_fread)(void *ptr, size_t size, size_t nmemb, FILE *stream);
|
size_t (*real_fread)(void *ptr, size_t size, size_t nmemb, FILE *stream);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user