From: Nick Alcock Date: Fri, 17 Oct 2025 13:05:31 +0000 (+0100) Subject: libctf: fix unnecessary glibcism in testsuite X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=50861d98f81c123e9f6bf509c7eaa17cea258c43;p=thirdparty%2Fbinutils-gdb.git libctf: fix unnecessary glibcism in testsuite libctf-regression/open-error-free.c #defines _GNU_SOURCE at its top. This is already done by config.h if necessary: drop it. libctf/ChangeLog: * testsuite/libctf-regression/open-error-free.c: Drop unnecessary system-dependent #define. --- diff --git a/libctf/testsuite/libctf-regression/open-error-free.c b/libctf/testsuite/libctf-regression/open-error-free.c index 7405cdb25f3..0cf55ad157b 100644 --- a/libctf/testsuite/libctf-regression/open-error-free.c +++ b/libctf/testsuite/libctf-regression/open-error-free.c @@ -1,6 +1,5 @@ /* Make sure that, on error, an opened dict is properly freed. */ -#define _GNU_SOURCE 1 #include "config.h" #include #include