summaryrefslogtreecommitdiff
path: root/m4/extern-inline.m4
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2012-11-30 10:25:59 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2012-11-30 10:25:59 -0800
commitf64898abf40b09990c4974c921ddc2ebc698609a (patch)
tree45707f0fd85ef6da1c94832b9af8290b2ad0d5d2 /m4/extern-inline.m4
parentf8aff4c6b87598697d7fc67063037ac69f1c9421 (diff)
downloademacs-f64898abf40b09990c4974c921ddc2ebc698609a.tar.gz
Merge from gnulib for 'inline'.
2012-11-29 snippet/warn-on-use: no 'static inline' 2012-11-29 ftruncate, fts, lstat, openat, raise: no 'static inline' 2012-11-29 arctwo, md4, md5, sha1, sha256, sha512: no 'static inline' 2012-11-29 fflush, stat: no 'static inline' 2012-11-29 stdio: better 'inline' 2012-11-29 sys_stat: no 'static inline' 2012-11-29 unistd: better 'inline' 2012-11-29 c-strtod, memcoll, readutmp: no 'static inline' 2012-11-29 extern-inline: no 'static inline' 2012-11-29 sys_socket: better 'inline' * lib/stdio.c, lib/unistd.c: New files, from gnulib. * build-aux/snippet/warn-on-use.h, lib/gnulib.mk, lib/lstat.c: * lib/md5.c, lib/sha1.c, lib/sha256.c, lib/sha512.c, lib/stat.c: * lib/stdio.in.h, lib/sys_stat.in.h, lib/unistd.in.h, m4/c-strtod.m4: * m4/extern-inline.m4, m4/gnulib-comp.m4, m4/lstat.m4, m4/md5.m4: * m4/sha1.m4, m4/sha256.m4, m4/sha512.m4, m4/stat.m4, m4/stdio_h.m4: * m4/sys_socket_h.m4, m4/sys_stat_h.m4, m4/unistd_h.m4: Update from gnulib. Fixes: debbugs:13040
Diffstat (limited to 'm4/extern-inline.m4')
-rw-r--r--m4/extern-inline.m45
1 files changed, 2 insertions, 3 deletions
diff --git a/m4/extern-inline.m4 b/m4/extern-inline.m4
index 600c8d3fa17..24922605e64 100644
--- a/m4/extern-inline.m4
+++ b/m4/extern-inline.m4
@@ -7,7 +7,6 @@ dnl with or without modifications, as long as this notice is preserved.
AC_DEFUN([gl_EXTERN_INLINE],
[
- AC_REQUIRE([AC_C_INLINE])
AH_VERBATIM([extern_inline],
[/* _GL_INLINE is a portable alternative to ISO C99 plain 'inline'.
_GL_EXTERN_INLINE is a portable alternative to 'extern inline'.
@@ -32,8 +31,8 @@ AC_DEFUN([gl_EXTERN_INLINE],
# endif
# define _GL_EXTERN_INLINE extern
#else
-# define _GL_INLINE static inline
-# define _GL_EXTERN_INLINE static inline
+# define _GL_INLINE static
+# define _GL_EXTERN_INLINE static
#endif
#if 4 < __GNUC__ + (6 <= __GNUC_MINOR__)