From 50861d98f81c123e9f6bf509c7eaa17cea258c43 Mon Sep 17 00:00:00 2001 From: Nick Alcock Date: Fri, 17 Oct 2025 14:05:31 +0100 Subject: [PATCH] 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. --- libctf/testsuite/libctf-regression/open-error-free.c | 1 - 1 file changed, 1 deletion(-) 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