summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorYao Zi <ziyao@disroot.org>2024-04-11 11:02:38 +0000
committerWaldemar Brodkorb <wbx@openadk.org>2024-04-14 16:01:17 +0200
commite1c1afff0e672a9026de005d73c7bc2e221ef3e1 (patch)
tree50a19071b1d6452b99a8627ff08c2d5534ea847c /libc
parent4d6636f6b22718a4181833db4579a003c0893683 (diff)
libuargp: restrict compatibility macros in argp.h only
Macros __attribute__, __format__ and __printf__ are defined in argp.h for compatibility with ANSI and old gccs. But leaving them effective out of the scope of the header may break applications relying on these compiler attributes even with __STRICT_ANSI__ defined. So undef the macros after using. Signed-off-by: Yao Zi <ziyao@disroot.org> Reviewed-by: Petr Vorel <petr.vorel@gmail.com>
Diffstat (limited to 'libc')
0 files changed, 0 insertions, 0 deletions