From 987ef4422bdcb5f3cce3a08ff8d212d88a95e6aa Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Sat, 14 Sep 2024 14:38:57 +0100 Subject: [PATCH] docs: annotate the v33 API Namely: - kmod_config_get_weakdeps - kmod_module_get_weakdeps Closes: https://github.com/kmod-project/kmod/issues/98 Signed-off-by: Emil Velikov Link: https://github.com/kmod-project/kmod/pull/128 Signed-off-by: Lucas De Marchi --- libkmod/libkmod.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libkmod/libkmod.h b/libkmod/libkmod.h index 751c9182..30813a18 100644 --- a/libkmod/libkmod.h +++ b/libkmod/libkmod.h @@ -483,6 +483,8 @@ struct kmod_config_iter *kmod_config_get_softdeps(const struct kmod_ctx *ctx); * * Returns: a new iterator over the weakdeps or NULL on failure. Free it with * kmod_config_iter_free_iter(). + * + * Since: 33 */ struct kmod_config_iter *kmod_config_get_weakdeps(const struct kmod_ctx *ctx); @@ -912,6 +914,8 @@ int kmod_module_get_softdeps(const struct kmod_module *mod, * should be unreferenced with kmod_module_unref_list(). * * Returns: 0 on success or < 0 otherwise. + * + * Since: 33 */ int kmod_module_get_weakdeps(const struct kmod_module *mod, struct kmod_list **weak); -- 2.47.3