From: Emil Velikov Date: Sat, 18 Jul 2026 15:21:58 +0000 (+0100) Subject: testsuite: remove no longer needed undef hacks X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3f85363bb99131bcc91ab6811ed27e881bbfcf4f;p=thirdparty%2Fkmod.git testsuite: remove no longer needed undef hacks As of last commit there are no conflicting ERR macros. Signed-off-by: Emil Velikov Link: https://github.com/kmod-project/kmod/pull/450 Signed-off-by: Lucas De Marchi --- diff --git a/testsuite/init_module.c b/testsuite/init_module.c index a7b4a41..62d4929 100644 --- a/testsuite/init_module.c +++ b/testsuite/init_module.c @@ -32,8 +32,6 @@ /* kmod_elf_get_section() is not exported, we need the private header */ #include -/* FIXME: hack, change name so we don't clash */ -#undef ERR #include "testsuite.h" #include "stripped-module.h" diff --git a/testsuite/test-blacklist.c b/testsuite/test-blacklist.c index 471744a..b7f3967 100644 --- a/testsuite/test-blacklist.c +++ b/testsuite/test-blacklist.c @@ -18,8 +18,6 @@ * function rather pointless */ #include -/* FIXME: hack, change name so we don't clash */ -#undef ERR #include "testsuite.h" static int blacklist_1(void) diff --git a/testsuite/test-list.c b/testsuite/test-list.c index 793235c..d08e84f 100644 --- a/testsuite/test-list.c +++ b/testsuite/test-list.c @@ -8,8 +8,6 @@ #include -/* FIXME: hack, change name so we don't clash */ -#undef ERR #include "testsuite.h" static int len(struct kmod_list *list)