]> git.ipfire.org Git - thirdparty/kmod.git/commitdiff
testsuite: remove no longer needed undef hacks
authorEmil Velikov <emil.l.velikov@gmail.com>
Sat, 18 Jul 2026 15:21:58 +0000 (16:21 +0100)
committerLucas De Marchi <ldemarchi@kernel.org>
Tue, 28 Jul 2026 14:11:03 +0000 (09:11 -0500)
As of last commit there are no conflicting ERR macros.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Link: https://github.com/kmod-project/kmod/pull/450
Signed-off-by: Lucas De Marchi <ldemarchi@kernel.org>
testsuite/init_module.c
testsuite/test-blacklist.c
testsuite/test-list.c

index a7b4a41f9a0499a82ec43365b8d50642a73ad574..62d49298c950cc26510c81411a75eac33d0cf1e0 100644 (file)
@@ -32,8 +32,6 @@
 /* kmod_elf_get_section() is not exported, we need the private header */
 #include <libkmod/libkmod-internal.h>
 
-/* FIXME: hack, change name so we don't clash */
-#undef ERR
 #include "testsuite.h"
 #include "stripped-module.h"
 
index 471744a4897c6133874125982bb2b5145b964338..b7f3967e9db1e455373ddc0ff05e5c01935cbde8 100644 (file)
@@ -18,8 +18,6 @@
  * function rather pointless */
 #include <libkmod/libkmod-internal.h>
 
-/* FIXME: hack, change name so we don't clash */
-#undef ERR
 #include "testsuite.h"
 
 static int blacklist_1(void)
index 793235cce82303a759520d262a2bf12e757e52a3..d08e84f45f627cafc2f7dd75a534c758a8dd41e2 100644 (file)
@@ -8,8 +8,6 @@
 
 #include <libkmod/libkmod-internal.h>
 
-/* FIXME: hack, change name so we don't clash */
-#undef ERR
 #include "testsuite.h"
 
 static int len(struct kmod_list *list)