For un-prototyped static inline functions declared in pthread_md.h on

sparc64, use ANSI function headers and specifically indicate the lack of
arguments with 'void'.  Otherwise, warnings are generated at WARNS=3 for
libkse, leading to a compile failure with -Werror.
This commit is contained in:
Robert Watson 2007-12-01 14:24:44 +00:00
parent 22d661040e
commit 19ab4b35fb

View File

@ -37,7 +37,7 @@
struct Struct_Obj_Entry;
/* Return the address of the .dynamic section in the dynamic linker. */
Elf_Dyn *rtld_dynamic_addr();
Elf_Dyn *rtld_dynamic_addr(void);
#define rtld_dynamic(obj) rtld_dynamic_addr()
#define RTLD_IS_DYNAMIC() (rtld_dynamic_addr() != NULL)