diff options
author | Guillem Jover <guillem@hadrons.org> | 2021-02-11 04:40:48 +0100 |
---|---|---|
committer | Guillem Jover <guillem@hadrons.org> | 2021-02-28 05:28:57 +0100 |
commit | 4feda8704972a1eac88b5ba9ff7add92c25245ab (patch) | |
tree | 159f0ba1d6e9a6c4ab376677f5c489efd76520fc /src/local-link.h | |
parent | d563a17430845d043d667892c4457a14998dd4c3 (diff) |
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.
Diffstat (limited to 'src/local-link.h')
-rw-r--r-- | src/local-link.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/local-link.h b/src/local-link.h index 0d4351a..55fd028 100644 --- a/src/local-link.h +++ b/src/local-link.h @@ -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) \ |