]> Savannah Git Hosting - gnulib.git/commitdiff
Continue to use spaces for indentation, not tabs.
authorBruno Haible <bruno@clisp.org>
Sun, 12 May 2024 02:03:27 +0000 (04:03 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 12 May 2024 02:03:27 +0000 (04:03 +0200)
* lib/strftime.c: Untabify. Correct indentation.
* tests/test-posix_memalign.c: Untabify.

ChangeLog
lib/strftime.c
tests/test-posix_memalign.c

index b96d91fb21e16af84d86d957f5e72090a485a208..9ccd92700e00571df5ac37b1da0e8b0fa97fa1ea 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2024-05-11  Bruno Haible  <bruno@clisp.org>
+
+       Continue to use spaces for indentation, not tabs.
+       * lib/strftime.c: Untabify. Correct indentation.
+       * tests/test-posix_memalign.c: Untabify.
+
 2024-05-11  Bruno Haible  <bruno@clisp.org>
 
        error-h: Avoid namespace pollution on mingw.
index 9b205e48023b49b7d8f80eef4978763b4e0b025b..834f3a79f46d68bce57dfb74b6c9bd9a48c2ad21 100644 (file)
@@ -143,11 +143,11 @@ extern char *tzname[];
 
 enum pad_style
 {
-  ZERO_PAD,      /* (default) Pad with 0 unless format says otherwise.  */
-  ALWAYS_ZERO_PAD,     /* '0' Always pad with 0.  */
-  SIGN_PAD,            /* '+' Always output a sign.  */
-  SPACE_PAD,           /* '_' Pad with space.  */
-  NO_PAD               /* '-' Do not pad.  */
+  ZERO_PAD,         /* (default) Pad with 0 unless format says otherwise.  */
+  ALWAYS_ZERO_PAD,  /* '0'       Always pad with 0.  */
+  SIGN_PAD,         /* '+'       Always output a sign.  */
+  SPACE_PAD,        /* '_'       Pad with space.  */
+  NO_PAD            /* '-'       Do not pad.  */
 };
 
 #define TM_YEAR_BASE 1900
index 803e40c5f5a5c227fb0eb6e3e5020d197f16c41d..af71d6d692b34ee544007bc0224f236c7e8bef61 100644 (file)
@@ -63,12 +63,12 @@ main (int argc, char *argv[])
         }
 
       if (sizeof (void *) <= 8)
-       {
-         ASSERT (posix_memalign (&aligned8_blocks[i], 8, size) == 0);
-         ASSERT (aligned8_blocks[i] != NULL);
-         ASSERT (((uintptr_t) aligned8_blocks[i] % 8) == 0);
-         memset (aligned8_blocks[i], 'w', size);
-       }
+        {
+          ASSERT (posix_memalign (&aligned8_blocks[i], 8, size) == 0);
+          ASSERT (aligned8_blocks[i] != NULL);
+          ASSERT (((uintptr_t) aligned8_blocks[i] % 8) == 0);
+          memset (aligned8_blocks[i], 'w', size);
+        }
 
       ASSERT (posix_memalign (&aligned16_blocks[i], 16, size) == 0);
       ASSERT (aligned16_blocks[i] != NULL);
@@ -93,7 +93,7 @@ main (int argc, char *argv[])
       if (sizeof (void *) <= 4)
         free (aligned4_blocks[i]);
       if (sizeof (void *) <= 8)
-       free (aligned8_blocks[i]);
+        free (aligned8_blocks[i]);
       free (aligned16_blocks[i]);
       free (aligned32_blocks[i]);
       free (aligned64_blocks[i]);