From 7db0adc5e28d43696551c4c8fc537e9d49102cf2 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Mon, 18 Aug 2008 12:00:57 +0000 Subject: [PATCH] Remove bogus local declarations. --- c/src/lib/libbsp/sparc/leon3/startup/bspstart.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/c/src/lib/libbsp/sparc/leon3/startup/bspstart.c b/c/src/lib/libbsp/sparc/leon3/startup/bspstart.c index 67ad931ff6..dd3b3d486e 100644 --- a/c/src/lib/libbsp/sparc/leon3/startup/bspstart.c +++ b/c/src/lib/libbsp/sparc/leon3/startup/bspstart.c @@ -18,8 +18,6 @@ * $Id$ */ -/* must be identical to STACK_SIZE in start.S */ -#define STACK_SIZE 16 * 1024 #include @@ -27,6 +25,9 @@ #include #include +/* must be identical to STACK_SIZE in start.S */ +#define STACK_SIZE 16 * 1024 + /* * Tells us where to put the workspace in case remote debugger is present. */ @@ -65,8 +66,6 @@ static inline int set_snooping(void) void bsp_pretasking_hook(void) { - extern void bsp_spurious_initialize(); - bsp_spurious_initialize(); } @@ -84,8 +83,6 @@ void bsp_get_work_area( { /* Tells us where to put the workspace in case remote debugger is present. */ extern uint32_t rdb_start; - /* must be identical to STACK_SIZE in start.S */ - #define STACK_SIZE (16 * 1024) *work_area_start = &end; *work_area_size = (void *)rdb_start - (void *)&end - STACK_SIZE;