Limit exposure of microkernel timer lists

Hides the existence of the microkernel timer list variables
from everyone but the microkernel itself.

Change-Id: I81b64040efce849328e860067e37731b755a094d
Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
This commit is contained in:
Allan Stephens 2015-05-11 12:39:47 -04:00 committed by Anas Nashif
commit 7890a5960b
2 changed files with 0 additions and 5 deletions

View file

@ -46,9 +46,6 @@ extern "C" {
#endif #endif
extern int K_ticker(int event); extern int K_ticker(int event);
extern K_TIMER *_k_timer_list_head;
extern K_TIMER *_k_timer_list_tail;
extern struct nano_lifo _k_timer_free;
extern K_TIMER _k_timer_blocks[]; /* array of microkernel timer objects */ extern K_TIMER _k_timer_blocks[]; /* array of microkernel timer objects */
extern void scheduler_time_slice_set(int32_t t, kpriority_t p); extern void scheduler_time_slice_set(int32_t t, kpriority_t p);

View file

@ -36,8 +36,6 @@
#include "microkernel/k_types.h" #include "microkernel/k_types.h"
#include "microkernel/k_struct.h" #include "microkernel/k_struct.h"
extern K_TIMER *_k_timer_list_head;
extern K_TIMER *_k_timer_list_tail;
extern int64_t _k_sys_clock_tick_count; extern int64_t _k_sys_clock_tick_count;
extern void enlist_timer(K_TIMER *T); extern void enlist_timer(K_TIMER *T);