tnc-imv: Add missing argument to IMV recommendations constructor

This avoids the following warning/error:

tnc_imv_manager.c:244:39: error: passing arguments to 'tnc_imv_recommendations_create' without a prototype is deprecated in all versions of C and is not supported in C23 [-Werror,-Wdeprecated-non-prototype]
  244 |         return tnc_imv_recommendations_create(this->imvs);
      |                                              ^
This commit is contained in:
Tobias Brunner
2025-01-10 18:53:57 +01:00
parent f1f0bd9de6
commit 227d7ef9a2
@@ -27,8 +27,11 @@
#include <collections/linked_list.h>
/**
* Create an IMV empty recommendations instance
* Create an empty IMV recommendations instance
*
* @param imv_list list of IMVs that could provide recommendations
* @return created instance
*/
recommendations_t *tnc_imv_recommendations_create();
recommendations_t *tnc_imv_recommendations_create(linked_list_t *imv_list);
#endif /** TNC_IMV_RECOMMENDATIONS_H_ @}*/