diff options
author | obrien <obrien@FreeBSD.org> | 2010-10-13 22:18:03 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2010-10-13 22:18:03 +0000 |
commit | 08b8d916b5887267ef963fd711f1e65b7d8378ac (patch) | |
tree | e6aebfbd6fc9b05a3d5978a6cd639a9acb7a748a /bin/sh/main.c | |
parent | 67f7009c396ada7a6c986ffb8369f851e1063b6f (diff) | |
download | FreeBSD-src-08b8d916b5887267ef963fd711f1e65b7d8378ac.zip FreeBSD-src-08b8d916b5887267ef963fd711f1e65b7d8378ac.tar.gz |
In the spirit of r90111, depend on c89 and remove the "STATIC" macro
and its usage.
Diffstat (limited to 'bin/sh/main.c')
-rw-r--r-- | bin/sh/main.c | 8 |
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]; |