diff options
| author | Ulrich Drepper <drepper@redhat.com> | 1998-10-09 11:22:07 +0000 |
|---|---|---|
| committer | Ulrich Drepper <drepper@redhat.com> | 1998-10-09 11:22:07 +0000 |
| commit | 33b59efe6cff67ef7a495d43161b3e9703909692 (patch) | |
| tree | 5235ef39527e3a4532d1a1d8fdbe1b725eaba15f | |
| parent | d856c1629105486911ea72da0e765a1914265158 (diff) | |
| download | glibc-33b59efe6cff67ef7a495d43161b3e9703909692.tar.xz glibc-33b59efe6cff67ef7a495d43161b3e9703909692.zip | |
Define PT_EI as extern inline is not yet defined. Use PT_EI in extern
inline definitions.
| -rw-r--r-- | sysdeps/arm/linuxthreads/pt-machine.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/sysdeps/arm/linuxthreads/pt-machine.h b/sysdeps/arm/linuxthreads/pt-machine.h index 0b9bc01fc1..d4dc4c4ed9 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 Free Software Foundation, Inc. + Copyright (C) 1997, 1998 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Philip Blundell <philb@gnu.org>. @@ -19,13 +19,17 @@ write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +#ifndef PT_EI +# define PT_EI extern inline +#endif + /* This will not work on ARM1 or ARM2 because SWP is lacking on those machines. Unfortunately we have no way to detect this at compile time; let's hope nobody tries to use one. */ /* Spinlock implementation; required. */ -extern inline int +PT_EI int testandset (int *spinlock) { register unsigned int ret; |
