From d3a5039f026bdc6415c52e4cfb41673bf69607f8 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Mon, 27 Aug 2001 09:08:38 +0000 Subject: [PATCH] * xcoff.h (struct __rtinit): Make proper prototype for rtl. --- include/coff/ChangeLog | 4 ++++ include/coff/xcoff.h | 5 +++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/include/coff/ChangeLog b/include/coff/ChangeLog index ff952126d43..498cb265b81 100644 --- a/include/coff/ChangeLog +++ b/include/coff/ChangeLog @@ -1,3 +1,7 @@ +2001-08-27 Andreas Jaeger + + * xcoff.h (struct __rtinit): Make proper prototype for rtl. + Fri Aug 24 01:18:51 2001 J"orn Rennecke * internal.h (R_JMP2, R_JMPL2, R_MOVL2): Comment spelling fix. diff --git a/include/coff/xcoff.h b/include/coff/xcoff.h index bc1ee5cb28d..508ddfaa214 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 , 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 -- 2.30.2