[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gnulib support for C99-style extern inline
From: |
Eric Blake |
Subject: |
Re: gnulib support for C99-style extern inline |
Date: |
Wed, 01 Aug 2012 15:46:38 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120717 Thunderbird/14.0 |
On 08/01/2012 03:36 PM, Paul Eggert wrote:
> No comment and I'd like to get this into Emacs so
> I pushed those changes, with the following two minor
> formatting fixes:
>
>>From f97192f62226734f9813010d1068cef4fbe95076 Mon Sep 17 00:00:00 2001
> From: Paul Eggert <address@hidden>
> Date: Sat, 28 Jul 2012 08:34:01 -0700
> Subject: [PATCH 1/2] Fix indenting.
>
> ---
> m4/extern-inline.m4 | 16 ++++++++--------
> 1 files changed, 8 insertions(+), 8 deletions(-)
>
> diff --git a/m4/extern-inline.m4 b/m4/extern-inline.m4
> index c80d546..f019ad7 100644
> --- a/m4/extern-inline.m4
> +++ b/m4/extern-inline.m4
> @@ -10,14 +10,14 @@ 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 linline'.
> - _GL_INLINE_HEADER_BEGIN contains useful stuff to put
> - in an include file, before uses of _GL_INLINE.
> - It suppresses GCC's bogus "no previous prototype for 'FOO'" diagnostic,
> - when FOO is an inline function in the header; see
> - <http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54113>.
> - _GL_INLINE_HEADER_END contains useful stuff to put
> - in the same include file, after uses of _GL_INLINE. */
> + _GL_EXTERN_INLINE is a portable alternative to 'extern linline'.
s/linline/inline/
> + _GL_INLINE_HEADER_BEGIN contains useful stuff to put
> + in an include file, before uses of _GL_INLINE.
> + It suppresses GCC's bogus "no previous prototype for 'FOO'" diagnostic,
> + when FOO is an inline function in the header; see
> + <http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54113>.
> + _GL_INLINE_HEADER_END contains useful stuff to put
> + in the same include file, after uses of _GL_INLINE. */
> #if __GNUC__ ? __GNUC_STDC_INLINE__ : 199901L <= __STDC_VERSION__
> # define _GL_INLINE inline
> # define _GL_EXTERN_INLINE extern inline
>
--
Eric Blake address@hidden +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature