aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2001-08-27 09:08:38 +0000
committerAndreas Jaeger <aj@suse.de>2001-08-27 09:08:38 +0000
commitd3a5039f026bdc6415c52e4cfb41673bf69607f8 (patch)
tree15a19bb1d3c2fee71abb7a81f12e6c0d5e10a9eb
parent29c2fb7c2b10c63eb2cf01e6c9a3a7c787581fee (diff)
downloadgdb-d3a5039f026bdc6415c52e4cfb41673bf69607f8.zip
gdb-d3a5039f026bdc6415c52e4cfb41673bf69607f8.tar.gz
gdb-d3a5039f026bdc6415c52e4cfb41673bf69607f8.tar.bz2
* xcoff.h (struct __rtinit): Make proper prototype for rtl.
-rw-r--r--include/coff/ChangeLog4
-rw-r--r--include/coff/xcoff.h5
2 files changed, 7 insertions, 2 deletions
diff --git a/include/coff/ChangeLog b/include/coff/ChangeLog
index ff95212..498cb26 100644
--- a/include/coff/ChangeLog
+++ b/include/coff/ChangeLog
@@ -1,3 +1,7 @@
+2001-08-27 Andreas Jaeger <aj@suse.de>
+
+ * xcoff.h (struct __rtinit): Make proper prototype for rtl.
+
Fri Aug 24 01:18:51 2001 J"orn Rennecke <amylaar@redhat.com>
* internal.h (R_JMP2, R_JMPL2, R_MOVL2): Comment spelling fix.
diff --git a/include/coff/xcoff.h b/include/coff/xcoff.h
index bc1ee5c..508ddfa 100644
--- a/include/coff/xcoff.h
+++ b/include/coff/xcoff.h
@@ -1,6 +1,6 @@
/* Internal format of XCOFF object file data structures for BFD.
- Copyright 1995, 1996, 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
+ Copyright 1995, 1996, 1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
Written by Ian Lance Taylor <ian@cygnus.com>, Cygnus Support.
This file is part of BFD, the Binary File Descriptor library.
@@ -425,7 +425,8 @@ struct xcoff_loader_info
* from /usr/include/rtinit.h
*/
struct __rtinit {
- int (*rtl)(); /* Pointer to runtime linker */
+ int (*rtl) PARAMS ((void)); /* Pointer to runtime linker.
+ XXX: Is the parameter really void? */
int init_offset; /* Offset to array of init functions
(0 if none). */
int fini_offset; /* Offset to array of fini functions