2009-05-03 Joel Sherrill <joel.sherrill@oarcorp.com>

* libmisc/shell/shell.c, libmisc/stackchk/check.c: Eliminate warnings.
This commit is contained in:
Joel Sherrill
2009-05-03 23:57:19 +00:00
parent 1e3940d547
commit 6aa8b5132d
3 changed files with 5 additions and 5 deletions

View File

@@ -1,3 +1,7 @@
2009-05-03 Joel Sherrill <joel.sherrill@oarcorp.com>
* libmisc/shell/shell.c, libmisc/stackchk/check.c: Eliminate warnings.
2009-05-03 Joel Sherrill <joel.sherrill@oarcorp.com>
* posix/src/condtimedwait.c, posix/src/mutextimedlock.c,

View File

@@ -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);

View File

@@ -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");