summaryrefslogtreecommitdiffstats
path: root/lib/libkse/arch/ia64
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2007-12-01 14:23:29 +0000
committerrwatson <rwatson@FreeBSD.org>2007-12-01 14:23:29 +0000
commit2368fc3e65107007a09365729698f45ec35af4cd (patch)
tree1976ac161cde892563abba997ca37fc21bc181b3 /lib/libkse/arch/ia64
parent66cb6fd44ff21e07a7d299fd9bd7f12a2eda783d (diff)
downloadFreeBSD-src-2368fc3e65107007a09365729698f45ec35af4cd.zip
FreeBSD-src-2368fc3e65107007a09365729698f45ec35af4cd.tar.gz
For un-prototyped static inline functions declared in pthread_md.h on
ia64, powerpc, and sparc64, use ANSI function headers and specifically indicate the lack of arguments with 'void'. Otherwise, warnings are generated at WARNS=3, leading to a compile failure with -Werror.
Diffstat (limited to 'lib/libkse/arch/ia64')
-rw-r--r--lib/libkse/arch/ia64/include/pthread_md.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libkse/arch/ia64/include/pthread_md.h b/lib/libkse/arch/ia64/include/pthread_md.h
index c5fef18..ed77157 100644
--- a/lib/libkse/arch/ia64/include/pthread_md.h
+++ b/lib/libkse/arch/ia64/include/pthread_md.h
@@ -73,7 +73,7 @@ struct kcb {
};
static __inline struct tcb *
-ia64_get_tcb()
+ia64_get_tcb(void)
{
register char *tp __asm("%r13");
OpenPOWER on IntegriCloud