This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Prototype of __rtinit.rtl in include/coff/xcoff.h?



AIX (?) experts, what's the parameter for rtl in struct __rtinit (see
include/coff/xcoff.h):

/* 
 * __rtinit 
 * from /usr/include/rtinit.h
 */
struct __rtinit {
  int		(*rtl)();		/* Pointer to runtime linker */
  int		init_offset;		/* Offset to array of init functions
					   (0 if none). */
  int		fini_offset;		/* Offset to array of fini functions
					   (0 if none). */
  int		__rtinit_descriptor_size; /* Size of __RTINIT_DESCRIPTOR.
					     This value should be used instead
					     of sizeof(__RTINIT_DESCRIPTOR). */
};

To silence warnings about "function declaration isn't a prototype" I
need to know whether rtl takes parameter and which ones.

Andreas
-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]