summaryrefslogtreecommitdiffstats
path: root/bin/sh/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'bin/sh/main.c')
-rw-r--r--bin/sh/main.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/sh/main.c b/bin/sh/main.c
index b9e4424..83a62a7 100644
--- a/bin/sh/main.c
+++ b/bin/sh/main.c
@@ -77,8 +77,8 @@ int rootpid;
int rootshell;
struct jmploc main_handler;
-STATIC void read_profile(const char *);
-STATIC char *find_dot_file(char *);
+static void read_profile(const char *);
+static char *find_dot_file(char *);
/*
* Main routine. We initialize things, parse the arguments, execute
@@ -247,7 +247,7 @@ cmdloop(int top)
* Read /etc/profile or .profile. Return on error.
*/
-STATIC void
+static void
read_profile(const char *name)
{
int fd;
@@ -291,7 +291,7 @@ readcmdfile(const char *name)
*/
-STATIC char *
+static char *
find_dot_file(char *basename)
{
static char localname[FILENAME_MAX+1];
OpenPOWER on IntegriCloud