* 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.
This commit is contained in:
Andreas Jaeger 2000-12-18 05:55:14 +00:00
parent 927a8431da
commit 308afe5f2b
7 changed files with 11 additions and 11 deletions

View File

@ -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;

View File

@ -38,7 +38,7 @@ register char * stack_pointer __asm__ ("%r30");
#define xstr(s) str(s)
#define str(s) #s
/* Spinlock implementation; required. */
PT_EI int
PT_EI long int
testandset (int *spinlock)
{
int ret;

View File

@ -1,6 +1,6 @@
/* Machine-dependent pthreads configuration and inline functions.
m68k version.
Copyright (C) 1996, 1998 Free Software Foundation, Inc.
Copyright (C) 1996, 1998, 2000 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Richard Henderson <rth@tamu.edu>.
@ -25,7 +25,7 @@
/* Spinlock implementation; required. */
PT_EI int
PT_EI long int
testandset (int *spinlock)
{
char ret;

View File

@ -1,6 +1,6 @@
/* Machine-dependent pthreads configuration and inline functions.
S390 version.
Copyright (C) 1999 Free Software Foundation, Inc.
Copyright (C) 1999, 2000 Free Software Foundation, Inc.
Contributed by Martin Schwidefsky (schwidefsky@de.ibm.com).
This file is part of the GNU C Library.
@ -24,7 +24,7 @@
#endif
/* Spinlock implementation; required. */
PT_EI int
PT_EI long int
testandset (int *spinlock)
{
int ret;

View File

@ -24,7 +24,7 @@
#endif
/* Spinlock implementation; required. */
PT_EI int
PT_EI long int
testandset (int *spinlock)
{
int ret;

View File

@ -1,6 +1,6 @@
/* Machine-dependent pthreads configuration and inline functions.
sparc version.
Copyright (C) 1996, 1997, 1998 Free Software Foundation, Inc.
Copyright (C) 1996, 1997, 1998, 2000 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Richard Henderson <rth@tamu.edu>.
@ -24,7 +24,7 @@
#endif
/* Spinlock implementation; required. */
PT_EI int
PT_EI long int
testandset (int *spinlock)
{
int ret;

View File

@ -25,7 +25,7 @@
/* Spinlock implementation; required. */
PT_EI int
PT_EI long int
testandset (int *spinlock)
{
int ret;