]> Savannah Git Hosting - gnulib.git/commitdiff
* m4/gnulib-common.m4 (gl_COMMON_BODY): Minor style fixes.
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 6 May 2020 22:51:49 +0000 (15:51 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 6 May 2020 22:52:29 +0000 (15:52 -0700)
ChangeLog
m4/gnulib-common.m4

index e2b1bfb562da3993c65924dd010e56450c7635c4..0e0cc81ff81ed4b66d2bd3b67378a45eb3ac330b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2020-05-06  Paul Eggert  <eggert@cs.ucla.edu>
 
+       * m4/gnulib-common.m4 (gl_COMMON_BODY): Minor style fixes.
+
        * lib/attribute.h: Minor style fixes.
 
        Fix version-etc glitch on OpenIndiana
index b0010d0e3510ee84b5a59791bb1715bff564f690..79771599bccaea5b3a47c47c53f560fdc7e9231c 100644 (file)
@@ -122,7 +122,7 @@ AC_DEFUN([gl_COMMON_BODY], [
 /* Avoid __attribute__ ((cold)) on MinGW; see thread starting at
    <https://lists.gnu.org/r/emacs-devel/2019-04/msg01152.html>. */
 #if _GL_HAS_ATTRIBUTE (cold) && !defined __MINGW32__
-# define _GL_ATTRIBUTE_COLD __attribute__ ((cold))
+# define _GL_ATTRIBUTE_COLD __attribute__ ((__cold__))
 #else
 # define _GL_ATTRIBUTE_COLD
 #endif
@@ -142,8 +142,8 @@ AC_DEFUN([gl_COMMON_BODY], [
 #endif
 
 #if _GL_HAS_ATTRIBUTE (error)
-# define _GL_ATTRIBUTE_ERROR(msg) __attribute__((__error__ (msg)))
-# define _GL_ATTRIBUTE_WARNING(msg) __attribute__((__warning__ (msg)))
+# define _GL_ATTRIBUTE_ERROR(msg) __attribute__ ((__error__ (msg)))
+# define _GL_ATTRIBUTE_WARNING(msg) __attribute__ ((__warning__ (msg)))
 #else
 # define _GL_ATTRIBUTE_ERROR(msg)
 # define _GL_ATTRIBUTE_WARNING(msg)