mirror of
https://gitlab.freedesktop.org/libbsd/libbsd.git
synced 2025-10-27 11:06:53 +01:00
Require a semicolon for libbsd_link_warning() macro
Remove the semicolon in the macro definition to force adding one on the call sites, to make the code look like an actual function.
This commit is contained in:
@@ -29,7 +29,7 @@
|
||||
|
||||
#define libbsd_link_warning(symbol, msg) \
|
||||
static const char libbsd_emit_link_warning_##symbol[] \
|
||||
__attribute__((__used__,__section__(".gnu.warning." #symbol))) = msg;
|
||||
__attribute__((__used__,__section__(".gnu.warning." #symbol))) = msg
|
||||
|
||||
#ifdef __ELF__
|
||||
#define libbsd_symver_default(alias, symbol, version) \
|
||||
|
||||
Reference in New Issue
Block a user