summaryrefslogtreecommitdiff
path: root/libpthread/linuxthreads.old
diff options
context:
space:
mode:
authorCarmelo Amoroso <carmelo.amoroso@st.com>2008-05-07 06:50:30 +0000
committerCarmelo Amoroso <carmelo.amoroso@st.com>2008-05-07 06:50:30 +0000
commitf206ed41e1ef05c720ed7068821900181644d900 (patch)
tree9c3d2b2c105bf8e3d31426303a0e74a19c2a8fcc /libpthread/linuxthreads.old
parenta5e5e8cdd9406b7d1d565462771f7336458482d0 (diff)
Remove gcc warning due to missing prototype for 'testandset'
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Diffstat (limited to 'libpthread/linuxthreads.old')
-rw-r--r--libpthread/linuxthreads.old/sysdeps/sh/pt-machine.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libpthread/linuxthreads.old/sysdeps/sh/pt-machine.h b/libpthread/linuxthreads.old/sysdeps/sh/pt-machine.h
index 4ec87ad89..793f80b2d 100644
--- a/libpthread/linuxthreads.old/sysdeps/sh/pt-machine.h
+++ b/libpthread/linuxthreads.old/sysdeps/sh/pt-machine.h
@@ -29,6 +29,8 @@
# define PT_EI __extern_always_inline
#endif
+extern long int testandset (int *spinlock);
+
/* Spinlock implementation; required. */
PT_EI long int
testandset (int *spinlock)