]> git.ipfire.org Git - thirdparty/kmod.git/commitdiff
libkmod: Remove struct name
authorTobias Stoeckmann <tobias@stoeckmann.org>
Sun, 20 Oct 2024 09:40:51 +0000 (11:40 +0200)
committerLucas De Marchi <lucas.de.marchi@gmail.com>
Tue, 22 Oct 2024 17:02:56 +0000 (12:02 -0500)
This struct name is never used. Define it just like the other ones in
kmod_elf.

Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
Link: https://github.com/kmod-project/kmod/pull/196
Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com>
libkmod/libkmod-elf.c

index a6ef5063bc67cc6518f61dd7313ac28b864e6d3c..bd8591a4c42ebe2c63db5e0c125bec2dff15ad01 100644 (file)
@@ -32,7 +32,7 @@ struct kmod_elf {
        uint64_t size;
        bool x32;
        bool msb;
-       struct kmod_elf_header {
+       struct {
                struct {
                        uint64_t offset;
                        uint16_t count;