summaryrefslogtreecommitdiff
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
commitcb8a3730dc319371b144aa883e9c862dbbfd0010 (patch)
treeb9138be574559d6dabd8bec4c9fd6d883107403d /binutils/sysinfo.y
parent7b0b565db8877ae6ad61b174442f9f34aee8062f (diff)
downloadbinutils-redhat-cb8a3730dc319371b144aa883e9c862dbbfd0010.tar.gz
* 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 fef16cbddc..4aa46073bb 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':