summaryrefslogtreecommitdiffstats
path: root/cpukit/libmisc/shell/pwcache.c
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2011-12-04 11:57:51 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2011-12-04 11:57:51 +0000
commit94547d1d8b92bc8a4402f3f807b1b2c393e01c71 (patch)
treec56592edf2f7ffc23fcd4882f270f02acb5e99c6 /cpukit/libmisc/shell/pwcache.c
parent * libmisc/shell/main_help.c: Make rtems_shell_help_cmd, (diff)
downloadrtems-94547d1d8b92bc8a4402f3f807b1b2c393e01c71.tar.bz2
2011-12-04 Ralf Corsépius <ralf.corsepius@rtems.org>
* libmisc/shell/print-ls.c: Include "internal.h". * libmisc/shell/pwcache.c: Make user_from_uid static. * libmisc/shell/shell.c: Make rtems_shell_init_env, rtems_shell_env_free, rtems_shell_line_editor, rtems_shell_init_issue, rtems_shell_task static. * libmisc/shell/shell_cmdset.c: Make rtems_shell_add_topic static. * libmisc/shell/shell_makeargs.c: Include <rtems/shell.h>. * libmisc/shell/write_file.c: Include <rtems/shell.h>.
Diffstat (limited to 'cpukit/libmisc/shell/pwcache.c')
-rw-r--r--cpukit/libmisc/shell/pwcache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/libmisc/shell/pwcache.c b/cpukit/libmisc/shell/pwcache.c
index 47b8e96fc6..0f0512f0cf 100644
--- a/cpukit/libmisc/shell/pwcache.c
+++ b/cpukit/libmisc/shell/pwcache.c
@@ -50,7 +50,7 @@ __FBSDID("$FreeBSD: src/lib/libc/gen/pwcache.c,v 1.11 2007/01/09 00:27:55 imp Ex
#define NCACHE 64 /* power of 2 */
#define MASK (NCACHE - 1) /* bits to store with */
-const char *
+static const char *
user_from_uid(uid_t uid, int nouser)
{
static struct ncache {