diff options
author | dds <dds@FreeBSD.org> | 2003-07-05 15:18:44 +0000 |
---|---|---|
committer | dds <dds@FreeBSD.org> | 2003-07-05 15:18:44 +0000 |
commit | 34719e1dbbd13069c2034382dc5129edf7657a4b (patch) | |
tree | b3c2aa55b49d1fcca627aec69e1e5a16b264b51d /bin/sh/input.c | |
parent | 9179c67e977015ed4bfe4a52ade43ac574300c93 (diff) | |
download | FreeBSD-src-34719e1dbbd13069c2034382dc5129edf7657a4b.zip FreeBSD-src-34719e1dbbd13069c2034382dc5129edf7657a4b.tar.gz |
Changes following CScout analysis:
- Removed dead declarations
- Made objects that should have been declared as static, static.
The changes use STATIC instead of static, following the existing
convention in the rest of the code.
Approved by: schweikh (mentor)
MFC after: 2 weeks
Diffstat (limited to 'bin/sh/input.c')
-rw-r--r-- | bin/sh/input.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/sh/input.c b/bin/sh/input.c index 47c7283..85b94d6 100644 --- a/bin/sh/input.c +++ b/bin/sh/input.c @@ -102,7 +102,7 @@ MKINIT int parselleft; /* copy of parsefile->lleft */ char *parsenextc; /* copy of parsefile->nextc */ MKINIT struct parsefile basepf; /* top level input file */ char basebuf[BUFSIZ]; /* buffer for top level input file */ -struct parsefile *parsefile = &basepf; /* current input file */ +STATIC struct parsefile *parsefile = &basepf; /* current input file */ int init_editline = 0; /* editline library initialized? */ int whichprompt; /* 1 == PS1, 2 == PS2 */ |