]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
src/basic: adjust grammar in comments 21870/head
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 23 Dec 2021 12:26:09 +0000 (13:26 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 23 Dec 2021 12:49:43 +0000 (13:49 +0100)
src/basic/static-destruct.h

index 079bc65b8207e873e1d011c2a961de870c87bf56..a41c0e30d53208f90585c00a55593dd1c548c9dd 100644 (file)
@@ -24,15 +24,15 @@ typedef struct StaticDestructor {
                 typeof(variable) *q = p;                                \
                 func(q);                                                \
         }                                                               \
-        /* Older compilers don't know retain attribute. */              \
+        /* Older compilers don't know "retain" attribute. */            \
         _Pragma("GCC diagnostic ignored \"-Wattributes\"")              \
-        /* The actual destructor structure we place in a special section to find it */ \
+        /* The actual destructor structure we place in a special section to find it. */ \
         _section_("SYSTEMD_STATIC_DESTRUCT")                            \
-        /* We pick pointer alignment, since that is apparently what gcc does for static variables */ \
+        /* Use pointer alignment, since that is apparently what gcc does for static variables. */ \
         _alignptr_                                                      \
-        /* Make sure this is not dropped from the image because not explicitly referenced */ \
+        /* Make sure this is not dropped from the image despite not being explicitly referenced. */ \
         _used_                                                          \
-        /* Prevent linker from garbage collection. */                   \
+        /* Prevent garbage collection by the linker. */                 \
         _retain_                                                        \
         /* Make sure that AddressSanitizer doesn't pad this variable: we want everything in this section
          * packed next to each other so that we can enumerate it. */     \