diff options
author | Ben Elliston <bje@au.ibm.com> | 2005-04-29 01:15:21 +0000 |
---|---|---|
committer | Ben Elliston <bje@au.ibm.com> | 2005-04-29 01:15:21 +0000 |
commit | 89b788963fc7b64fafaf6f8a72cc99982ac6477d (patch) | |
tree | 4e883ba4667977532d26585e9ee99ee03dca51ac /binutils/coffgrok.c | |
parent | 4aac130b2837a86f535d5846501ca09cd2e2f00d (diff) | |
download | gdb-89b788963fc7b64fafaf6f8a72cc99982ac6477d.zip gdb-89b788963fc7b64fafaf6f8a72cc99982ac6477d.tar.gz gdb-89b788963fc7b64fafaf6f8a72cc99982ac6477d.tar.bz2 |
* more static'ing.
* syslex.l (word, number, unit): Remove unused variables.
* nlmheader.y (keyword_tokens): Make static.
* coffdump.c (dump_coff_symbol, coff_dump): Make static.
* coffgrok.c (lofile, last_function_symbol, last_function_type,
last_struct, last_enum, cur_sfile): Make variables static.
* sysdump.c (getCHARS, fillup, getBARRAY, getINT, getBITS,
sysroff_swap_tr_in, sysroff_print_tr_out): Make static.
* sysinfo.y (writecode, it, code, repeat, oldrepeat, name, rdepth,
names, pnames): Likewise.
Diffstat (limited to 'binutils/coffgrok.c')
-rw-r--r-- | binutils/coffgrok.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/binutils/coffgrok.c b/binutils/coffgrok.c index abeb33d..fe57709 100644 --- a/binutils/coffgrok.c +++ b/binutils/coffgrok.c @@ -33,16 +33,16 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #include "coff/internal.h" #include "../bfd/libcoff.h" #include "coffgrok.h" -int lofile = 1; +static int lofile = 1; static struct coff_scope *top_scope; static struct coff_scope *file_scope; static struct coff_ofile *ofile; -struct coff_symbol *last_function_symbol; -struct coff_type *last_function_type; -struct coff_type *last_struct; -struct coff_type *last_enum; -struct coff_sfile *cur_sfile; +static struct coff_symbol *last_function_symbol; +static struct coff_type *last_function_type; +static struct coff_type *last_struct; +static struct coff_type *last_enum; +static struct coff_sfile *cur_sfile; static struct coff_symbol **tindex; |