summaryrefslogtreecommitdiff
path: root/libpthread/linuxthreads.old/sysdeps/arm/pt-machine.h
diff options
context:
space:
mode:
authorRon <ron@debian.org>2009-06-27 04:44:20 +0930
committerMike Frysinger <vapier@gentoo.org>2009-07-05 20:27:17 -0400
commit00c8ece258acfa8867485172af9e74313d25bbdf (patch)
treee8e6ce9889202cfbd44e23ef7b7d1f5907b9d5b8 /libpthread/linuxthreads.old/sysdeps/arm/pt-machine.h
parentb9b00cd60abd606fee136efbf6c376aace5f3f2a (diff)
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 <ron@debian.org> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'libpthread/linuxthreads.old/sysdeps/arm/pt-machine.h')
-rw-r--r--libpthread/linuxthreads.old/sysdeps/arm/pt-machine.h4
1 files changed, 2 insertions, 2 deletions
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;