From 7ad2ad4ecaa1e45427408b89fdee9fcc2f899d1d Mon Sep 17 00:00:00 2001 From: rwatson Date: Sat, 1 Dec 2007 14:24:44 +0000 Subject: 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. --- libexec/rtld-elf/sparc64/rtld_machdep.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libexec/rtld-elf') diff --git a/libexec/rtld-elf/sparc64/rtld_machdep.h b/libexec/rtld-elf/sparc64/rtld_machdep.h index db2ce25..1556758 100644 --- a/libexec/rtld-elf/sparc64/rtld_machdep.h +++ b/libexec/rtld-elf/sparc64/rtld_machdep.h @@ -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) -- cgit v1.1