]> git.ipfire.org Git - thirdparty/kmod.git/commit
libkmod: rename kmod_elf_get_strings()
authorEmil Velikov <emil.l.velikov@gmail.com>
Wed, 23 Oct 2024 23:37:31 +0000 (00:37 +0100)
committerLucas De Marchi <lucas.de.marchi@gmail.com>
Fri, 15 Nov 2024 16:03:46 +0000 (10:03 -0600)
commit9099346ce99f23689a26759bcc77d5dda9fd4557
tree67f24c441b7fb4cd298e148efcf2caf2e3344680
parent18567a8eb6e6256e3aa4533a662642b81be8e679
libkmod: rename kmod_elf_get_strings()

Rename kmod_elf_get_strings() to kmod_elf_get_modinfo_strings() and fold
the section name within, instead of passing it as an argument.

This aligns better with the other kmod_elf function names and will allow
us to tweak the kmod_elf_get_section() handling with later commit.

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