bemenu/lib
Jan Staněk 2f45c191bc
Mark global wayland constant extern
Without `extern`, the changed lines are not declarations,
but "tentative definitions"
(according to GCC man page, option `-fcommon`).
When specified in a header file
that is included in more than one `.c` file,
these result in linking failure unless `-fcommon` is specified.

GCC 10 changed the default from `-fcommon` to `-fno-common`,
and as such the previous code no longer links properly.

With `extern`, these lines are considered declarations,
and the linking proceeds successfully.
2020-02-06 17:35:20 +01:00
..
3rdparty Refactor code to snake_style, turn renderers into plugins, and start 2014-10-22 22:46:51 +03:00
renderers Mark global wayland constant extern 2020-02-06 17:35:20 +01:00
bemenu.h menu: reset cursor at end on set_filter 2020-02-03 17:43:46 +09:00
CMakeLists.txt CMake: Compile renderers after exports 2020-02-03 17:21:19 +09:00
filter.c Refactor code to snake_style, turn renderers into plugins, and start 2014-10-22 22:46:51 +03:00
internal.h bemenu: add --line-height / -H option 2019-05-31 23:20:54 +00:00
item.c Refactor code to snake_style, turn renderers into plugins, and start 2014-10-22 22:46:51 +03:00
library.c Look for renderers on right location 2015-09-21 22:18:14 +02:00
list.c Use sizeof(void*) and fix list remove. 2014-10-25 21:53:48 +03:00
menu.c menu: reset cursor at end on set_filter 2020-02-03 17:43:46 +09:00
util.c Fix gcc warnings 2017-02-14 19:20:44 +02:00
version.h.in CMake: Use absolute libdir instead 2015-09-23 18:52:59 +03:00