aboutsummaryrefslogtreecommitdiff
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
commit89b788963fc7b64fafaf6f8a72cc99982ac6477d (patch)
tree4e883ba4667977532d26585e9ee99ee03dca51ac /binutils/coffdump.c
parent4aac130b2837a86f535d5846501ca09cd2e2f00d (diff)
downloadgdb-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/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 039b955..058c3ab 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;