summaryrefslogtreecommitdiffstats
path: root/libpthread/linuxthreads.old/sysdeps/sh
diff options
context:
space:
mode:
authorCarmelo Amoroso <carmelo.amoroso@st.com>2008-06-18 14:37:26 +0000
committerCarmelo Amoroso <carmelo.amoroso@st.com>2008-06-18 14:37:26 +0000
commit095240c022f9d51b4c1fdc0a737583192c49ec6a (patch)
treea488f92c3c0e465bbeba03a7a30c4ed7235726d2 /libpthread/linuxthreads.old/sysdeps/sh
parent5ffc30ac873a193b37e6f3bfde022b94fc6fab0d (diff)
downloaduClibc-alpine-095240c022f9d51b4c1fdc0a737583192c49ec6a.tar.bz2
uClibc-alpine-095240c022f9d51b4c1fdc0a737583192c49ec6a.tar.xz
Synch linuxthreads.old with trunk
Diffstat (limited to 'libpthread/linuxthreads.old/sysdeps/sh')
-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)