diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-05-03 23:57:19 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-05-03 23:57:19 +0000 |
commit | 6aa8b5132decab1edd4ad0f74c7a73ea2f7eb07d (patch) | |
tree | e1fab32b022404b93b8fddc3d9f0daec0e7a4920 | |
parent | 2009-05-03 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-6aa8b5132decab1edd4ad0f74c7a73ea2f7eb07d.tar.bz2 |
2009-05-03 Joel Sherrill <joel.sherrill@oarcorp.com>
* libmisc/shell/shell.c, libmisc/stackchk/check.c: Eliminate warnings.
-rw-r--r-- | cpukit/ChangeLog | 4 | ||||
-rw-r--r-- | cpukit/libmisc/shell/shell.c | 4 | ||||
-rw-r--r-- | cpukit/libmisc/stackchk/check.c | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index 36f17b9b64..cccbec6bd5 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,5 +1,9 @@ 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, posix/src/prwlocktimedrdlock.c, posix/src/prwlocktimedwrlock.c, posix/src/semopen.c: Silence warnings. 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"); |