* misc/sys/cdefs.h (__extern_always_inline): Add __artificial__

attribute also for non-C99 inline semantics variant.
2009-03-02  Richard Guenther  <rguenther@suse.de>

	* misc/sys/cdefs.h (__extern_always_inline): Add __artificial__
	attribute also for non-C99 inline semantics variant.
This commit is contained in:
Jakub Jelinek 2009-03-02 15:56:03 +00:00
parent 134a97667f
commit 6219e3cc0e
2 changed files with 12 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2009-03-02 Richard Guenther <rguenther@suse.de>
* misc/sys/cdefs.h (__extern_always_inline): Add __artificial__
attribute also for non-C99 inline semantics variant.
2009-02-12 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
* sysdeps/powerpc/powerpc32/power7/fpu/Implies: New file.

View File

@ -1,4 +1,4 @@
/* Copyright (C) 1992-2001, 2002, 2004, 2005, 2006, 2007
/* Copyright (C) 1992-2001, 2002, 2004, 2005, 2006, 2007, 2009
Free Software Foundation, Inc.
This file is part of the GNU C Library.
@ -303,7 +303,12 @@
# endif
# else
# define __extern_inline extern __inline
# define __extern_always_inline extern __always_inline
# if __GNUC_PREREQ (4,3)
# define __extern_always_inline \
extern __always_inline __attribute__ ((__artificial__))
# else
# define __extern_always_inline extern __always_inline
# endif
# endif
#endif