summaryrefslogtreecommitdiffstats
path: root/cpukit/libmisc/shell/filemode.c
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2008-08-02 05:16:26 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2008-08-02 05:16:26 +0000
commitee0c82f4138ba42f5921e95e1d4ed776d5c77d00 (patch)
tree2ab8e820ec69813cb11bda30bfceb9c39d57c1b6 /cpukit/libmisc/shell/filemode.c
parent2008-08-02 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-ee0c82f4138ba42f5921e95e1d4ed776d5c77d00.tar.bz2
Add missing prototypes.
Diffstat (limited to 'cpukit/libmisc/shell/filemode.c')
-rw-r--r--cpukit/libmisc/shell/filemode.c6
1 files changed, 3 insertions, 3 deletions
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) {