]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
basic/static-destruct: fix grammar in comment
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 10 Dec 2020 11:17:14 +0000 (12:17 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 10 Dec 2020 12:00:14 +0000 (13:00 +0100)
src/basic/static-destruct.h

index 0f961328ee2a312a92350de4d25bae47556046e7..7c5734d96021be2c962a9df6ea8bed638ca62162 100644 (file)
@@ -30,15 +30,16 @@ typedef struct StaticDestructor {
         _alignptr_                                                      \
         /* Make sure this is not dropped from the image because not explicitly referenced */ \
         _used_                                                          \
-        /* 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. */ \
+        /* 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. */     \
         _variable_no_sanitize_address_                                  \
         static const StaticDestructor UNIQ_T(static_destructor_entry, uq) = { \
                 .data = &(variable),                                    \
                 .destroy = UNIQ_T(static_destructor_wrapper, uq),       \
         }
 
-/* Beginning and end of our section listing the destructors. We define these as weak as we want this to work even if
- * there's not a single destructor is defined in which case the section will be missing. */
+/* Beginning and end of our section listing the destructors. We define these as weak as we want this to work
+ * even if no destructors are defined and the section is missing. */
 extern const struct StaticDestructor _weak_ __start_SYSTEMD_STATIC_DESTRUCT[];
 extern const struct StaticDestructor _weak_ __stop_SYSTEMD_STATIC_DESTRUCT[];