]> git.ipfire.org Git - thirdparty/kmod.git/commit
libkmod: Simplify elf_strip_section
authorTobias Stoeckmann <tobias@stoeckmann.org>
Tue, 15 Oct 2024 14:18:55 +0000 (16:18 +0200)
committerLucas De Marchi <lucas.de.marchi@gmail.com>
Thu, 17 Oct 2024 14:21:31 +0000 (09:21 -0500)
commit226d7af2b02e6988396f2a8d02a4fcccbc229fcf
tree6dcdf2ea34da7ce61df60ae709f08b781a36f024
parent5948b97a05ea492660b246bc2873c541ccb1cae1
libkmod: Simplify elf_strip_section

It is always called with "__versions" as argument, so remove the
argument and rename function accordingly.

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/175
Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com>
libkmod/libkmod-elf.c