On 3/15/21 7:10 AM, Petr Machata wrote:
> Could this be merged, please?
done
Petr Machata writes:
> Roi Dayan writes:
>
>> --- a/dcb/dcb_app.c
>> +++ b/dcb/dcb_app.c
>> @@ -65,8 +65,7 @@ static void dcb_app_table_fini(struct dcb_app_table *tab)
>>
>> static int dcb_app_table_push(struct dcb_app_table *tab, struct dcb_app
>> *app)
>> {
>> -struct dcb_app *apps
Roi Dayan writes:
> --- a/dcb/dcb_app.c
> +++ b/dcb/dcb_app.c
> @@ -65,8 +65,7 @@ static void dcb_app_table_fini(struct dcb_app_table *tab)
>
> static int dcb_app_table_push(struct dcb_app_table *tab, struct dcb_app *app)
> {
> - struct dcb_app *apps = reallocarray(tab->apps, tab->n_app
In older distros we need bsd/stdlib.h but newer distro doesn't
need it. Also old distro will need libbsd-devel installed and newer
doesn't. To remove a possible dependency on libbsd-devel replace usage
of reallocarray to realloc.
dcb_app.c: In function ‘dcb_app_table_push’:
dcb_app.c:68:25: warnin