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:
@@ -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_ @}*/
|
||||
|
||||
Reference in New Issue
Block a user