diff options
author | Lennart Poettering <lennart@poettering.net> | 2011-05-09 15:07:20 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2011-05-09 15:07:20 +0200 |
commit | fe0fc11bacc3e00023e45b04b9ee788ed161c4b8 (patch) | |
tree | 90a7a901babfc37edf9611e205330f5e95076ddd /configure.ac | |
parent | 8041b5bada31db152de80e45b3047ed32cef6880 (diff) |
set visibility of functions explicitly to avoid name clashes
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index dcf8815..6f4dfaf 100644 --- a/configure.ac +++ b/configure.ac @@ -44,7 +44,7 @@ AC_PROG_MAKE_SET # GCC flags -DESIRED_FLAGS="-Wall -W -Wextra -pedantic -pipe -Wformat -Wold-style-definition -Wdeclaration-after-statement -Wfloat-equal -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wmissing-noreturn -Wshadow -Wendif-labels -Wpointer-arith -Wcast-align -Wwrite-strings -Winline -Wno-unused-parameter -ffast-math" +DESIRED_FLAGS="-Wall -W -Wextra -pedantic -pipe -Wformat -Wold-style-definition -Wdeclaration-after-statement -Wfloat-equal -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wmissing-noreturn -Wshadow -Wendif-labels -Wpointer-arith -Wcast-align -Wwrite-strings -Winline -Wno-unused-parameter -ffast-math -fvisibility=hidden -fdiagnostics-show-option" for flag in $DESIRED_FLAGS ; do CC_CHECK_CFLAGS([$flag], [CFLAGS="$CFLAGS $flag"]) |