]> git.ipfire.org Git - thirdparty/gnulib.git/commitdiff
gettext: tweak lib/gettext.h indenting
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 11 May 2026 22:01:01 +0000 (15:01 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 11 May 2026 22:01:47 +0000 (15:01 -0700)
* lib/gettext.h: fix preprocessor indenting glitches found by cppi.

lib/gettext.h

index 07f2dfed535f9fbfb4dec71f9bc1a67d9823a6ca..c033651b03d633134a9b74a91e2f7f5a3e15e853 100644 (file)
@@ -121,7 +121,7 @@ __attribute__ ((__always_inline__))
 extern inline
 #  if !defined(__sun)
 const
-# endif
+#  endif
 char *
 dgettext (const char *domain, const char *msgid)
 {
@@ -282,11 +282,9 @@ dcgettext (const char *domain, const char *msgid, int category)
 
 #if defined __GNUC__ || defined __clang__
 __inline
-#else
-#ifdef __cplusplus
+#elif defined __cplusplus
 inline
 #endif
-#endif
 static const char *
 pgettext_aux (const char *domain,
               const char *msg_ctxt_id, const char *msgid,
@@ -301,11 +299,9 @@ pgettext_aux (const char *domain,
 
 #if defined __GNUC__ || defined __clang__
 __inline
-#else
-#ifdef __cplusplus
+#elif defined __cplusplus
 inline
 #endif
-#endif
 static const char *
 npgettext_aux (const char *domain,
                const char *msg_ctxt_id, const char *msgid,
@@ -352,11 +348,9 @@ npgettext_aux (const char *domain,
 
 #if defined __GNUC__ || defined __clang__
 __inline
-#else
-#ifdef __cplusplus
+#elif defined __cplusplus
 inline
 #endif
-#endif
 static const char *
 dcpgettext_expr (const char *domain,
                  const char *msgctxt, const char *msgid,
@@ -398,11 +392,9 @@ dcpgettext_expr (const char *domain,
 
 #if defined __GNUC__ || defined __clang__
 __inline
-#else
-#ifdef __cplusplus
+#elif defined __cplusplus
 inline
 #endif
-#endif
 static const char *
 dcnpgettext_expr (const char *domain,
                   const char *msgctxt, const char *msgid,