From: Andreas Jaeger Date: Mon, 18 Dec 2000 05:55:14 +0000 (+0000) Subject: * sysdeps/s390/pt-machine.h (testandset): Use long int as return X-Git-Tag: glibc-2.16-ports-before-merge~2071 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=726d3efe36f7a7b6bba6a60232396be20171476d;p=thirdparty%2Fglibc.git * 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. --- diff --git a/sysdeps/arm/linuxthreads/pt-machine.h b/sysdeps/arm/linuxthreads/pt-machine.h index d4dc4c4ed9e..1079de4a418 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 . @@ -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;