summaryrefslogtreecommitdiff
path: root/binutils/coffdump.c
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
commitb2123897ef174dabd8f9511a6683b970b4c91966 (patch)
tree6408adb2fba72f8e159b129fb514ac82686c730c /binutils/coffdump.c
parent4c70c6063735f956d959c82916aa10016a9bd8c5 (diff)
downloadbinutils-redhat-b2123897ef174dabd8f9511a6683b970b4c91966.tar.gz
* 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/coffdump.c')
-rw-r--r--binutils/coffdump.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/binutils/coffdump.c b/binutils/coffdump.c
index 039b955362..058c3abb3c 100644
--- a/binutils/coffdump.c
+++ b/binutils/coffdump.c
@@ -38,11 +38,9 @@ static void dump_coff_lines (struct coff_line *);
static void dump_coff_type (struct coff_type *);
static void dump_coff_where (struct coff_where *);
static void dump_coff_visible (struct coff_visible *);
-extern void dump_coff_symbol (struct coff_symbol *);
static void dump_coff_scope (struct coff_scope *);
static void dump_coff_sfile (struct coff_sfile *);
static void dump_coff_section (struct coff_section *);
-extern void coff_dump (struct coff_ofile *);
static void show_usage (FILE *, int);
extern int main (int, char **);
@@ -325,7 +323,7 @@ dump_coff_visible (struct coff_visible *p)
tab (-1);
}
-void
+static void
dump_coff_symbol (struct coff_symbol *p)
{
tab (1);
@@ -436,7 +434,7 @@ dump_coff_section (struct coff_section *ptr)
tab (-1);
}
-void
+static void
coff_dump (struct coff_ofile *ptr)
{
int i;