From 79f757a42a754fd43a2a9c7a738a81d53c00135b Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sun, 17 Dec 2000 21:48:10 +0000 Subject: (testandset): Adjust for prototype change. --- linuxthreads/sysdeps/i386/i686/pt-machine.h | 4 ++-- linuxthreads/sysdeps/i386/pt-machine.h | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'linuxthreads/sysdeps') diff --git a/linuxthreads/sysdeps/i386/i686/pt-machine.h b/linuxthreads/sysdeps/i386/i686/pt-machine.h index cf075f312a..92798ac8b9 100644 --- a/linuxthreads/sysdeps/i386/i686/pt-machine.h +++ b/linuxthreads/sysdeps/i386/i686/pt-machine.h @@ -31,10 +31,10 @@ register char * stack_pointer __asm__ ("%esp"); /* Spinlock implementation; required. */ -PT_EI int +PT_EI long int testandset (int *spinlock) { - int ret; + long int ret; __asm__ __volatile__ ( "xchgl %0, %1" diff --git a/linuxthreads/sysdeps/i386/pt-machine.h b/linuxthreads/sysdeps/i386/pt-machine.h index a1fe71b5dd..c2cc885220 100644 --- a/linuxthreads/sysdeps/i386/pt-machine.h +++ b/linuxthreads/sysdeps/i386/pt-machine.h @@ -1,6 +1,6 @@ /* Machine-dependent pthreads configuration and inline functions. i386 version. - Copyright (C) 1996, 1997, 1998, 1999 Free Software Foundation, Inc. + Copyright (C) 1996, 1997, 1998, 1999, 2000 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Richard Henderson . @@ -30,10 +30,10 @@ register char * stack_pointer __asm__ ("%esp"); /* Spinlock implementation; required. */ -PT_EI int +PT_EI long int testandset (int *spinlock) { - int ret; + long int ret; __asm__ __volatile__( "xchgl %0, %1" -- cgit 1.4.1