mirror of
git://sourceware.org/git/glibc.git
synced 2025-01-18 12:16:13 +08:00
Use __extern_inline and __extern_always_inline where appropriate.
This commit is contained in:
parent
f878f0bbc8
commit
8d4fccc442
@ -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)
|
||||
|
@ -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. */
|
||||
|
@ -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 *
|
||||
|
Loading…
Reference in New Issue
Block a user