This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch rfc] -Wmissing-prototypes round #3


> > ac131313@redhat.com said:
> > 
> >>	* config/arm/tm-linux.h (arm_linux_svr4_fetch_link_map_offsets):
> >>	Delete declaration, moved to "arm-tdep.h".  Include "arm-tdep.h".
> >> 	* arm-tdep.h: Add ARM_TDEP_H wrapper.
> >> 	(arm_linux_svr4_fetch_link_map_offsets): Declare. 
> > 
> > 
> > arm_linux_svr4_fetch_link_map_offsets should be moved from arm-tdep.c to 
> > armlinux-tdep.c.  Then it can be made private to that file; it doesn't 
> > belong in the generic ARM code.
> 
> Please be my guest, it will simplify my -Wmissing-prototypes patch.
> 

Done.


2003-06-13  Richard Earnshaw  <rearnsha@arm.com>

	* arm-tdep.c (solib-svr4.h): Dont' include it.
	(arm_linux_svr4_fetch_link_map_offsets): Move to ...
	* arm-linux-tdep.c: ... here.  Make static.
	(arm_linux_init_abi): Register it.
	(solib-svr4.h): Include it.
	* Makefile.in: Update dependencies.
	* config/arm/tm-linux.h (SVR4_FETCH_LINK_MAP_OFFSETS): Delete.
	(arm_linux_svr4_fetch_link_map_offsets): Delete declaration.

Attachment: linux-svr4.patch
Description: linux-svr4.patch


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