From 6aa8b5132decab1edd4ad0f74c7a73ea2f7eb07d Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Sun, 3 May 2009 23:57:19 +0000 Subject: 2009-05-03 Joel Sherrill * libmisc/shell/shell.c, libmisc/stackchk/check.c: Eliminate warnings. --- cpukit/libmisc/shell/shell.c | 4 ---- cpukit/libmisc/stackchk/check.c | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) (limited to 'cpukit/libmisc') diff --git a/cpukit/libmisc/shell/shell.c b/cpukit/libmisc/shell/shell.c index 25c2e18269..d270d9d92c 100644 --- a/cpukit/libmisc/shell/shell.c +++ b/cpukit/libmisc/shell/shell.c @@ -415,10 +415,6 @@ static bool rtems_shell_login(FILE * in,FILE * out) { FILE *fd; int c; time_t t; - int times; - char name[128]; - char pass[128]; - struct passwd *passwd; rtems_shell_init_issue(); setuid(0); diff --git a/cpukit/libmisc/stackchk/check.c b/cpukit/libmisc/stackchk/check.c index 4cca9800fc..c43788db36 100644 --- a/cpukit/libmisc/stackchk/check.c +++ b/cpukit/libmisc/stackchk/check.c @@ -208,7 +208,7 @@ void rtems_stack_checker_begin_extension( void Stack_check_report_blown_task(Thread_Control *running, bool pattern_ok) { Stack_Control *stack = &running->Start.Initial_stack; - char *pattern_area = Stack_check_Get_pattern_area(stack); + void *pattern_area = Stack_check_Get_pattern_area(stack); char name [32]; printk("BLOWN STACK!!!\n"); -- cgit v1.2.3