diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2008-08-02 05:16:26 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2008-08-02 05:16:26 +0000 |
commit | ee0c82f4138ba42f5921e95e1d4ed776d5c77d00 (patch) | |
tree | 2ab8e820ec69813cb11bda30bfceb9c39d57c1b6 /cpukit/libmisc | |
parent | 2008-08-02 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-ee0c82f4138ba42f5921e95e1d4ed776d5c77d00.tar.bz2 |
Add missing prototypes.
Diffstat (limited to 'cpukit/libmisc')
-rw-r--r-- | cpukit/libmisc/monitor/mon-command.c | 5 | ||||
-rw-r--r-- | cpukit/libmisc/shell/filemode.c | 6 | ||||
-rw-r--r-- | cpukit/libmisc/shell/shell_script.c | 2 |
3 files changed, 6 insertions, 7 deletions
diff --git a/cpukit/libmisc/monitor/mon-command.c b/cpukit/libmisc/monitor/mon-command.c index d007871089..82e0c21158 100644 --- a/cpukit/libmisc/monitor/mon-command.c +++ b/cpukit/libmisc/monitor/mon-command.c @@ -155,7 +155,7 @@ static struct translation_table trans_tab[] = #endif /* - * Perform a basic tranlation for some ANSI/VT100 key codes. + * Perform a basic translation for some ANSI/VT100 key codes. * This code could do with a timeout on the ESC as it is * now lost from the input stream. It is not* used by the * line editor below so considiered not worth the effort. @@ -163,8 +163,7 @@ static struct translation_table trans_tab[] = #ifndef RTEMS_UNIX static unsigned int -rtems_monitor_getchar ( -) +rtems_monitor_getchar (void) { struct translation_table *translation = 0; for (;;) diff --git a/cpukit/libmisc/shell/filemode.c b/cpukit/libmisc/shell/filemode.c index 6d77a1be95..7142b3583e 100644 --- a/cpukit/libmisc/shell/filemode.c +++ b/cpukit/libmisc/shell/filemode.c @@ -38,9 +38,9 @@ __FBSDID("$FreeBSD: src/lib/libc/string/strmode.c,v 1.5 2007/01/09 00:28:12 imp #include <string.h> void -strmode(mode, p) - mode_t mode; - char *p; +strmode( + mode_t mode, + char *p) { /* print type */ switch (mode & S_IFMT) { diff --git a/cpukit/libmisc/shell/shell_script.c b/cpukit/libmisc/shell/shell_script.c index 0940a75046..c71a07815e 100644 --- a/cpukit/libmisc/shell/shell_script.c +++ b/cpukit/libmisc/shell/shell_script.c @@ -31,7 +31,7 @@ #include <rtems/shell.h> #include "internal.h" -static void rtems_shell_joel_usage() +static void rtems_shell_joel_usage(void) { printf( "joel [args] where args may be:\n" |