Remove all #define _GNU_SOURCE in source files
Before adoption: this commit came in with the history the project adopted, so no landing records it.
This is unnecessary since we are using AC_USE_SYSTEM_EXTENSIONS in configure.ac, which makes the compiler always run with -D_GNU_SOURCE=1 when building for GNU/Linux. Also, the #define _GNU_SOURCE in src/util.c, and in src/inject_errors.c (--enable-inject-errors), were not guarded by a #ifndef _GNU_SOURCE so they were just triggering redefinition warnings.
authored by Emanuele Torre · committed by GitHub · parent cf3c11b · Browse files · 4 files+0 added−13 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
4 files+0 added−13 removed
- other:+0 added−13 removed