From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rix To: Andreas Jaeger Cc: binutils@sources.redhat.com Subject: Re: Prototype of __rtinit.rtl in include/coff/xcoff.h? Date: Mon, 27 Aug 2001 04:51:00 -0000 Message-id: <3B8A3445.1E6C73C6@redhat.com> References: <3B89CD8B.4A1FB67F@redhat.com> X-SW-Source: 2001-08/msg00626.html Andreas Jaeger wrote: > Shall I commit the appended patch then? The patch looks ok to me. Tom > 2001-08-27 Andreas Jaeger > > * xcoff.h (struct __rtinit): Make proper prototype for rtl. > > ============================================================ > Index: include/coff/xcoff.h > --- include/coff/xcoff.h 2001/05/24 20:32:58 1.1 > +++ include/coff/xcoff.h 2001/08/27 07:43:21 > @@ -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 > > -- > Andreas Jaeger > SuSE Labs aj@suse.de > private aj@arthur.inka.de > http://www.suse.de/~aj -- Tom Rix GCC Engineer trix@redhat.com 256.704.9201