summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cpukit/ChangeLog4
-rw-r--r--cpukit/libmisc/shell/shell.c4
-rw-r--r--cpukit/libmisc/stackchk/check.c2
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");