diff options
author | jilles <jilles@FreeBSD.org> | 2012-01-01 22:17:12 +0000 |
---|---|---|
committer | jilles <jilles@FreeBSD.org> | 2012-01-01 22:17:12 +0000 |
commit | 8152f4c1927b535528fef82bc9449a9ffcfbfae5 (patch) | |
tree | c9bf6a1be78ff3a781bf9a2df71ecff91e72ee4f /bin/sh/main.c | |
parent | bbd60abdf3ff8bb1ab2fbb59c1a4df2ee213f69e (diff) | |
download | FreeBSD-src-8152f4c1927b535528fef82bc9449a9ffcfbfae5.zip FreeBSD-src-8152f4c1927b535528fef82bc9449a9ffcfbfae5.tar.gz |
sh: Make various functions static.
Diffstat (limited to 'bin/sh/main.c')
-rw-r--r-- | bin/sh/main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/sh/main.c b/bin/sh/main.c index e6c8a20..5eb12e0 100644 --- a/bin/sh/main.c +++ b/bin/sh/main.c @@ -79,6 +79,7 @@ int rootshell; struct jmploc main_handler; int localeisutf8, initial_localeisutf8; +static void cmdloop(int); static void read_profile(char *); static char *find_dot_file(char *); @@ -184,7 +185,7 @@ state4: /* XXX ??? - why isn't this before the "if" statement */ * loop; it turns on prompting if the shell is interactive. */ -void +static void cmdloop(int top) { union node *n; |