HomeFreeBSD

rtld: silence clang's unterminated-string-initialization warning

Description

rtld: silence clang's unterminated-string-initialization warning

Since the initializer is used in other places where we can't just
replace it with a char-by-char initializer, this adds a macro for the
nonstring attribute (match the linuxkpi definition).

Reviewed by: emaste, jhb
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D52535

(cherry picked from commit 86f325711c07b723b85c031d581d0a5c1a0964f3)

Details

Provenance
arichardsonAuthored on Dec 16 2025, 6:09 PM
jhbCommitted on Apr 24 2026, 3:26 PM
Reviewer
emaste
Differential Revision
D52535: rtld: silence clang's unterminated-string-initialization warning
Parents
rG27a7b982ba6e: libfetch: Fix -Wunterminated-string-initialization
Branches
Unknown
Tags
Unknown