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

Details

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