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

Andreas Jaeger aj@suse.de
Sat Aug 25 08:25:00 GMT 2001


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



More information about the Binutils mailing list