aboutsummaryrefslogtreecommitdiff
path: root/binutils/syslex.l
diff options
context:
space:
mode:
authorBen Elliston <bje@au.ibm.com>2005-04-29 01:15:21 +0000
committerBen Elliston <bje@au.ibm.com>2005-04-29 01:15:21 +0000
commit89b788963fc7b64fafaf6f8a72cc99982ac6477d (patch)
tree4e883ba4667977532d26585e9ee99ee03dca51ac /binutils/syslex.l
parent4aac130b2837a86f535d5846501ca09cd2e2f00d (diff)
downloadbinutils-89b788963fc7b64fafaf6f8a72cc99982ac6477d.zip
binutils-89b788963fc7b64fafaf6f8a72cc99982ac6477d.tar.gz
binutils-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/syslex.l')
-rw-r--r--binutils/syslex.l3
1 files changed, 0 insertions, 3 deletions
diff --git a/binutils/syslex.l b/binutils/syslex.l
index ae3c8d2..1e31d53 100644
--- a/binutils/syslex.l
+++ b/binutils/syslex.l
@@ -27,9 +27,6 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
#endif
#endif
#include "sysinfo.h"
-char *word;
-int number;
-int unit;
#define YY_NO_UNPUT