iproute2/dcb
Roi Dayan 9f366536ed dcb: Fix compilation warning about reallocarray
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: warning: implicit declaration of function ‘reallocarray’; did you mean ‘realloc’?

Fixes: 8e9bed1493 ("dcb: Add a subtool for the DCB APP object")
Signed-off-by: Roi Dayan <roid@nvidia.com>
Reviewed-by: Petr Machata <petrm@nvidia.com>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
2021-03-03 18:56:39 -08:00
..
.gitignore Add dcb/.gitignore 2020-11-29 20:39:47 +00:00
dcb_app.c dcb: Fix compilation warning about reallocarray 2021-03-03 18:56:39 -08:00
dcb_buffer.c dcb: Add a subtool for the DCB buffer object 2020-12-14 16:42:03 +00:00
dcb_dcbx.c dcb: Add a subtool for the DCBX object 2021-01-18 04:09:29 +00:00
dcb_ets.c dcb: ets: Change the way show parameters are given in synopsis 2020-12-14 16:41:22 +00:00
dcb_maxrate.c dcb: Add a subtool for the DCB maxrate object 2020-12-14 16:42:07 +00:00
dcb_pfc.c dcb: Add a subtool for the DCB PFC object 2020-12-14 16:41:58 +00:00
dcb.c dcb: Add a subtool for the DCBX object 2021-01-18 04:09:29 +00:00
dcb.h dcb: Add a subtool for the DCBX object 2021-01-18 04:09:29 +00:00
Makefile Merge git://git.kernel.org/pub/scm/network/iproute2/iproute2-next 2021-02-23 23:03:42 -08:00