Package: bwm-ng / 0.6.1-6

Metadata

Package Version Patches format
bwm-ng 0.6.1-6 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
typos.patch | (download)

src/help.c | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 fix typos
0001 Use static inline instead of inline.patch | (download)

src/bwm-ng.c | 4 2 + 2 - 0 !
src/help.c | 4 2 + 2 - 0 !
src/options.c | 16 8 + 8 - 0 !
src/output.c | 22 11 + 11 - 0 !
src/process.c | 28 14 + 14 - 0 !
5 files changed, 37 insertions(+), 37 deletions(-)

 use `static inline` instead of `inline`

`inline` by itself is not portably guaranteed to emit
an external definition when needed in C99. The current
code base implicitly relies on GNU89 inline semantics,
which _always_ emit an external definition. More recent
versions of GCC and Clang switch to C99/C11 inline semantics
by default, which fails with undefined references.

See also:
* http://www.greenend.org.uk/rjk/tech/inline.html
* https://clang.llvm.org/compatibility.html#inline
* http://blahg.josefsipek.net/?p=529