summaryrefslogtreecommitdiffstats
path: root/libexec/rtld-elf
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2007-12-01 14:24:44 +0000
committerrwatson <rwatson@FreeBSD.org>2007-12-01 14:24:44 +0000
commit7ad2ad4ecaa1e45427408b89fdee9fcc2f899d1d (patch)
tree57bbbcbd0831e32c951d12b7226a6e9716d6a775 /libexec/rtld-elf
parent2368fc3e65107007a09365729698f45ec35af4cd (diff)
downloadFreeBSD-src-7ad2ad4ecaa1e45427408b89fdee9fcc2f899d1d.zip
FreeBSD-src-7ad2ad4ecaa1e45427408b89fdee9fcc2f899d1d.tar.gz
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.
Diffstat (limited to 'libexec/rtld-elf')
-rw-r--r--libexec/rtld-elf/sparc64/rtld_machdep.h2
1 files changed, 1 insertions, 1 deletions
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)
OpenPOWER on IntegriCloud