Use __extern_inline and __extern_always_inline where appropriate.

This commit is contained in:
Ulrich Drepper 2007-03-17 17:04:09 +00:00
parent f878f0bbc8
commit 8d4fccc442
3 changed files with 5 additions and 5 deletions

View File

@ -26,7 +26,7 @@
#ifdef __cplusplus
# define __MATH_INLINE __inline
#else
# define __MATH_INLINE extern __inline
# define __MATH_INLINE __extern_inline
#endif
#if defined __USE_ISOC99 && defined __GNUC__ && !__GNUC_PREREQ(3,0)

View File

@ -1,5 +1,5 @@
/* Machine-specific definition for spin locks. Alpha version.
Copyright (C) 1994, 1997 Free Software Foundation, Inc.
Copyright (C) 1994, 1997, 2007 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@ -30,7 +30,7 @@ typedef __volatile long int __spin_lock_t;
#ifndef _EXTERN_INLINE
#define _EXTERN_INLINE extern __inline
#define _EXTERN_INLINE __extern_inline
#endif
/* Unlock LOCK. */

View File

@ -1,5 +1,5 @@
/* Machine-specific function to return the stack pointer. Alpha version.
Copyright (C) 1994, 1997 Free Software Foundation, Inc.
Copyright (C) 1994, 1997, 2007 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@ -23,7 +23,7 @@
/* Return the current stack pointer. */
#ifndef _EXTERN_INLINE
#define _EXTERN_INLINE extern __inline
#define _EXTERN_INLINE __extern_inline
#endif
_EXTERN_INLINE void *