bemenu/lib
Peter Colberg a9cee36e85 Support compilation with -fvisibility=hidden
When using a compiler with support for GNU C extensions (GCC, Clang),
explicitly mark functions shared across library boundaries as visible.

This is the default visibility and has no effect when compiling with the
default CFLAGS. When compiling with -fvisibility=hidden, however, this
exports only functions marked BM_PUBLIC and hides all others.

https://gcc.gnu.org/wiki/Visibility

This facilitates packaging for distributions that track shared library
symbols, e.g., Debian, which uses a symbol file to provide the minimal
version associated to each symbol exported by a library.

https://www.debian.org/doc/debian-policy/ch-sharedlibs.html#the-symbols-system
https://manpages.debian.org/unstable/dpkg-dev/dpkg-gensymbols.1.en.html
2020-12-13 17:09:44 +09:00
..
3rdparty Nuke CMake from existance 2020-02-07 16:03:08 +02:00
renderers Support compilation with -fvisibility=hidden 2020-12-13 17:09:44 +09:00
bemenu.h Support compilation with -fvisibility=hidden 2020-12-13 17:09:44 +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 Support compilation with -fvisibility=hidden 2020-12-13 17:09:44 +09:00
item.c Refactor code to snake_style, turn renderers into plugins, and start 2014-10-22 22:46:51 +03:00
library.c Nuke CMake from existance 2020-02-07 16:03:08 +02:00
list.c Use sizeof(void*) and fix list remove. 2014-10-25 21:53:48 +03:00
menu.c Add custom key support 2020-08-28 21:01:22 +09:00
util.c Nuke CMake from existance 2020-02-07 16:03:08 +02:00