Re: [PATCH iproute2] dcb: Fix compilation warning about reallocarray

2021-02-22 Thread Roi Dayan
On 2021-02-22 2:09 PM, Roi Dayan wrote: To use reallocarray we need to add bsd/stdlib.h. dcb_app.c: In function ‘dcb_app_table_push’: dcb_app.c:68:25: warning: implicit declaration of function ‘reallocarray’; did you mean ‘realloc’? Fixes: 8e9bed1493f5 ("dcb: Add a subtool for the DCB APP o

[PATCH iproute2] dcb: Fix compilation warning about reallocarray

2021-02-22 Thread Roi Dayan
To use reallocarray we need to add bsd/stdlib.h. dcb_app.c: In function ‘dcb_app_table_push’: dcb_app.c:68:25: warning: implicit declaration of function ‘reallocarray’; did you mean ‘realloc’? Fixes: 8e9bed1493f5 ("dcb: Add a subtool for the DCB APP object") Signed-off-by: Roi Dayan --- dcb/dc

Re: [PATCH iproute2] dcb: Fix compilation warning about reallocarray

2021-02-22 Thread Roi Dayan
On 2021-02-22 12:51 PM, Roi Dayan wrote: To use reallocarray we need to add bsd/stdlib.h. dcb_app.c: In function ‘dcb_app_table_push’: dcb_app.c:68:25: warning: implicit declaration of function ‘reallocarray’; did you mean ‘realloc’? Fixes: 8e9bed1493f5 ("dcb: Add a subtool for the DCB APP

[PATCH iproute2] dcb: Fix compilation warning about reallocarray

2021-02-22 Thread Roi Dayan
To use reallocarray we need to add bsd/stdlib.h. dcb_app.c: In function ‘dcb_app_table_push’: dcb_app.c:68:25: warning: implicit declaration of function ‘reallocarray’; did you mean ‘realloc’? Fixes: 8e9bed1493f5 ("dcb: Add a subtool for the DCB APP object") Signed-off-by: Roi Dayan --- dcb/dc