aboutsummaryrefslogtreecommitdiff
path: root/binutils/sysdump.c
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2001-08-21 10:02:27 +0000
committerAndreas Jaeger <aj@suse.de>2001-08-21 10:02:27 +0000
commitc32144ff6becdde701335c5e42182163531a8611 (patch)
tree378e3a31433791acb7a7059861fc51e8a794ffb0 /binutils/sysdump.c
parent279a96ca3981d4b8c2396c26a0bbba6a02226dde (diff)
downloadgdb-c32144ff6becdde701335c5e42182163531a8611.zip
gdb-c32144ff6becdde701335c5e42182163531a8611.tar.gz
gdb-c32144ff6becdde701335c5e42182163531a8611.tar.bz2
* coffgrok.h: Add missing parameter for prototype of coff_grok.
* sysdump.c: Add missing prototypes. * srconv.c: Likewise. * unwind-ia64.c: Likewise. * coffdump.c: Likewise. * sysinfo.y: Print prototypes, include <ansidecl.h>. * coffgrok.c: Add missing prototypes, include libiberty.h instead of declaring xcalloc.
Diffstat (limited to 'binutils/sysdump.c')
-rw-r--r--binutils/sysdump.c28
1 files changed, 25 insertions, 3 deletions
diff --git a/binutils/sysdump.c b/binutils/sysdump.c
index 65d2ca6..28fafea 100644
--- a/binutils/sysdump.c
+++ b/binutils/sysdump.c
@@ -1,5 +1,5 @@
/* Sysroff object format dumper.
- Copyright 1994, 1995, 1998, 1999, 2000 Free Software Foundation, Inc.
+ Copyright 1994, 1995, 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
This file is part of GNU Binutils.
@@ -41,6 +41,30 @@ static int code;
static int addrsize = 4;
static FILE *file;
+static void dh PARAMS ((unsigned char *, int));
+static void itheader PARAMS ((char *, int));
+static void p PARAMS ((void));
+static void tabout PARAMS ((void));
+static void pbarray PARAMS ((barray *));
+static int getone PARAMS ((int));
+static int opt PARAMS ((int));
+static void must PARAMS ((int));
+static void tab PARAMS ((int, char *));
+static void dump_symbol_info PARAMS ((void));
+static void derived_type PARAMS ((void));
+static void module PARAMS ((void));
+static void show_usage PARAMS ((FILE *, int));
+static void show_help PARAMS ((void));
+
+extern char *getCHARS PARAMS ((unsigned char *, int *, int, int));
+extern int fillup PARAMS ((char *));
+extern barray getBARRAY PARAMS ((unsigned char *, int *, int, int));
+extern int getINT PARAMS ((unsigned char *, int *, int, int));
+extern int getBITS PARAMS ((char *, int *, int, int));
+extern void sysroff_swap_tr_in PARAMS ((void));
+extern void sysroff_print_tr_out PARAMS ((void));
+extern int main PARAMS ((int, char **));
+
char *
getCHARS (ptr, idx, size, max)
unsigned char *ptr;
@@ -548,8 +572,6 @@ tab (i, s)
}
}
-static void derived_type ();
-
static void
dump_symbol_info ()
{