]> Savannah Git Hosting - gnulib.git/commitdiff
Remove tabs from mcel.h, mountlist.h, verify.h
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 9 Sep 2023 17:13:50 +0000 (10:13 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 9 Sep 2023 17:14:11 +0000 (10:14 -0700)
lib/mcel.h
lib/mountlist.c
lib/verify.h

index 400604f8b22363e3b455960620048a42cfd5376c..54ae1259576cdd978fb00938b454cae2101c8f12 100644 (file)
@@ -38,9 +38,9 @@
       char *p = ..., *lim = ...;
       for (mcel_t g; p < lim; p += g.len)
         {
-         g = mcel_scan (p, lim);
-         process (g);
-       }
+          g = mcel_scan (p, lim);
+          process (g);
+        }
 
    You can select from G using G.ch, G.err, and G.len.
    G is an encoding error if G.err is nonzero, a character otherwise.
 
       char *p = ...;
       for (; *p; p++)
-       process (*p);
+        process (*p);
 
    You can use this multi-byte code:
 
       char *p = ...;
       for (mcel_t g; *p; p += g.len)
-       {
-         g = mcel_scanz (p);
-         process (g);
-       }
+        {
+          g = mcel_scanz (p);
+          process (g);
+        }
 
    mcel_scant (P, TERMINATOR) is like mcel_scanz (P) except the
    string is terminated by TERMINATOR.  The C standard says that the
index 8b06e7b7ee9e0cf101d64e716084c39669f80ae1..5bdc54eddd78ddb609b6b2daa7504ae17a3c376c 100644 (file)
    we grant an exception to any with "bind" in its list of mount options.
    I.e., those are *not* dummy entries.  */
 #ifdef MOUNTED_GETMNTENT1
-# define ME_DUMMY(Fs_name, Fs_type, Bind)      \
-  (ME_DUMMY_0 (Fs_name, Fs_type)               \
+# define ME_DUMMY(Fs_name, Fs_type, Bind) \
+  (ME_DUMMY_0 (Fs_name, Fs_type) \
    || (strcmp (Fs_type, "none") == 0 && !Bind))
 #else
-# define ME_DUMMY(Fs_name, Fs_type)            \
+# define ME_DUMMY(Fs_name, Fs_type) \
   (ME_DUMMY_0 (Fs_name, Fs_type) || strcmp (Fs_type, "none") == 0)
 #endif
 
index e4af91517e6336814ad24f1c2d141b6c65cedc8c..181dc6c292b0fb0b8411b7b721576037457a8e63 100644 (file)
@@ -188,9 +188,9 @@ template <int w>
     _gl_verify_type<(R) ? 1 : -1>
 #elif defined _GL_HAVE__STATIC_ASSERT
 # define _GL_VERIFY_TYPE(R, DIAGNOSTIC) \
-    struct {                                   \
-      _Static_assert (R, DIAGNOSTIC);          \
-      int _gl_dummy;                          \
+    struct { \
+      _Static_assert (R, DIAGNOSTIC); \
+      int _gl_dummy; \
     }
 #else
 # define _GL_VERIFY_TYPE(R, DIAGNOSTIC) \
@@ -212,8 +212,8 @@ template <int w>
 #elif defined _GL_HAVE__STATIC_ASSERT
 # define _GL_VERIFY(R, DIAGNOSTIC, ...) _Static_assert (R, DIAGNOSTIC)
 #else
-# define _GL_VERIFY(R, DIAGNOSTIC, ...)                                \
-    extern int (*_GL_GENSYM (_gl_verify_function) (void))             \
+# define _GL_VERIFY(R, DIAGNOSTIC, ...) \
+    extern int (*_GL_GENSYM (_gl_verify_function) (void)) \
       [_GL_VERIFY_TRUE (R, DIAGNOSTIC)]
 # if 4 < __GNUC__ + (6 <= __GNUC_MINOR__)
 #  pragma GCC diagnostic ignored "-Wnested-externs"