aboutsummaryrefslogtreecommitdiff
path: root/binutils/sysinfo.y
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/sysinfo.y
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/sysinfo.y')
-rw-r--r--binutils/sysinfo.y8
1 files changed, 8 insertions, 0 deletions
diff --git a/binutils/sysinfo.y b/binutils/sysinfo.y
index fef16cb..4aa4607 100644
--- a/binutils/sysinfo.y
+++ b/binutils/sysinfo.y
@@ -72,6 +72,7 @@ top: {
printf("#ifdef SYSROFF_PRINT\n");
printf("#include <stdio.h>\n");
printf("#include <stdlib.h>\n");
+ printf("#include <ansidecl.h>\n");
break;
}
}
@@ -103,6 +104,13 @@ it:
{
case 'd':
printf("\n\n\n#define IT_%s_CODE 0x%x\n", it,code);
+ printf("struct IT_%s;\n", it);
+ printf("extern void sysroff_swap_%s_in PARAMS ((struct IT_%s *));\n",
+ $2, it);
+ printf("extern void sysroff_swap_%s_out PARAMS ((FILE *, struct IT_%s *));\n",
+ $2, it);
+ printf("extern void sysroff_print_%s_out PARAMS ((struct IT_%s *));\n",
+ $2, it);
printf("struct IT_%s { \n", it);
break;
case 'i':