]> git.ipfire.org Git - thirdparty/kmod.git/commit
libkmod: Clarify function signature
authorTobias Stoeckmann <tobias@stoeckmann.org>
Thu, 24 Oct 2024 19:04:28 +0000 (21:04 +0200)
committerLucas De Marchi <lucas.de.marchi@gmail.com>
Tue, 29 Oct 2024 02:55:10 +0000 (21:55 -0500)
commit6ac1bccfe1fe424908e9fa001288b5fd070317d1
tree3fc36eb1df73ca5c54b1f72ae5ed8a25257c3014
parentbe728dd34718a072c7f196cef6539d35f632c7a9
libkmod: Clarify function signature

The module_get_dependencies_noref function may modify content of
given kmod_module struct, so clarify this fact.

Actually we would have to adjust kmod API for total clarification,
but let's start with internally used functions first.

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