OSDN Git Service

* xcoff.h (struct __rtinit): Make proper prototype for rtl.
authorAndreas Jaeger <aj@suse.de>
Mon, 27 Aug 2001 09:08:38 +0000 (09:08 +0000)
committerAndreas Jaeger <aj@suse.de>
Mon, 27 Aug 2001 09:08:38 +0000 (09:08 +0000)
include/coff/ChangeLog
include/coff/xcoff.h

index ff95212..498cb26 100644 (file)
@@ -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.
index bc1ee5c..508ddfa 100644 (file)
@@ -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