Replace use of _inline and __inline with inline

AC_C_INLINE in configure.in defines inline as a macro where necessary.
This commit is contained in:
Kevin Easton
2017-11-27 22:54:00 +11:00
parent a60937a8fd
commit 256b33747c
5 changed files with 39 additions and 40 deletions

View File

@@ -96,10 +96,8 @@
* First try to figure out if we can use GNU CC special features...
*/
#ifndef __GNUC__
# define __inline /* delete gcc keyword */
# define _printf_(x)
# define _noreturn_
# define __inline__
#else
# if (__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 7))
# define _printf_(x) __attribute__ ((format (printf, x, x + 1)))
@@ -107,7 +105,6 @@
# else
# define _printf_(x)
# define _noreturn_
# define __inline
# endif
#endif