aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/arm/linuxthreads
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2000-12-18 05:55:14 +0000
committerAndreas Jaeger <aj@suse.de>2000-12-18 05:55:14 +0000
commit726d3efe36f7a7b6bba6a60232396be20171476d (patch)
tree054e633b351588d81409e5ace1f19656c78ba20a /sysdeps/arm/linuxthreads
parent74b113601f687be0774b7f273d6287b1c5aa0206 (diff)
downloadglibc-726d3efe36f7a7b6bba6a60232396be20171476d.tar.xz
glibc-726d3efe36f7a7b6bba6a60232396be20171476d.zip
* sysdeps/s390/pt-machine.h (testandset): Use long int as return
value. * sysdeps/arm/pt-machine.h (testandset): Likewise. * sysdeps/hppa/pt-machine.h (testandset): Likewise. * sysdeps/m68k/pt-machine.h (testandset): Likewise. * sysdeps/sh/pt-machine.h (testandset): Likewise. * sysdeps/sparc/sparc32/pt-machine.h (testandset): Likewise. * sysdeps/sparc/sparc64/pt-machine.h (testandset): Likewise.
Diffstat (limited to 'sysdeps/arm/linuxthreads')
-rw-r--r--sysdeps/arm/linuxthreads/pt-machine.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/arm/linuxthreads/pt-machine.h b/sysdeps/arm/linuxthreads/pt-machine.h
index d4dc4c4ed9..1079de4a41 100644
--- a/sysdeps/arm/linuxthreads/pt-machine.h
+++ b/sysdeps/arm/linuxthreads/pt-machine.h
@@ -1,6 +1,6 @@
/* Machine-dependent pthreads configuration and inline functions.
ARM version.
- Copyright (C) 1997, 1998 Free Software Foundation, Inc.
+ Copyright (C) 1997, 1998, 2000 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Philip Blundell <philb@gnu.org>.
@@ -29,7 +29,7 @@
time; let's hope nobody tries to use one. */
/* Spinlock implementation; required. */
-PT_EI int
+PT_EI long int
testandset (int *spinlock)
{
register unsigned int ret;