From 00c8ece258acfa8867485172af9e74313d25bbdf Mon Sep 17 00:00:00 2001 From: Ron Date: Sat, 27 Jun 2009 04:44:20 +0930 Subject: Provide token prototypes for functions that are external but have no header This cuts down on a lot of noise from gcc-4.4 Signed-off-by: Ron Lee Signed-off-by: Mike Frysinger --- libpthread/linuxthreads.old/sysdeps/arm/pt-machine.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libpthread') diff --git a/libpthread/linuxthreads.old/sysdeps/arm/pt-machine.h b/libpthread/linuxthreads.old/sysdeps/arm/pt-machine.h index 14eb6f6da..583eb6875 100644 --- a/libpthread/linuxthreads.old/sysdeps/arm/pt-machine.h +++ b/libpthread/linuxthreads.old/sysdeps/arm/pt-machine.h @@ -33,8 +33,8 @@ time; let's hope nobody tries to use one. */ /* Spinlock implementation; required. */ -PT_EI long int -testandset (int *spinlock) +PT_EI long int testandset (int *spinlock); +PT_EI long int testandset (int *spinlock) { register unsigned int ret; -- cgit v1.2.3