summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/basic/static-destruct.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/basic/static-destruct.h b/src/basic/static-destruct.h
index 0f961328ee..7c5734d960 100644
--- a/src/basic/static-destruct.h
+++ b/src/basic/static-destruct.h
@@ -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[];