mirror of
https://git.kernel.org/pub/scm/network/iproute2/iproute2.git
synced 2024-11-26 19:33:45 +08:00
043ef90e2f
This patch fixes the following build errors: In file included from mst.c:11: ../include/json_print.h:80:30: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 80 | _PRINT_FUNC(tv, const struct timeval *) | ^~~~~~~ ../include/json_print.h:50:37: note: in definition of macro '_PRINT_FUNC' 50 | type value); \ | ^~~~ ../include/json_print.h:80:30: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration 80 | _PRINT_FUNC(tv, const struct timeval *) | ^~~~~~~ ../include/json_print.h:55:45: note: in definition of macro '_PRINT_FUNC' 55 | type value) \ | ^~~~ ../include/json_print.h: In function 'print_tv': ../include/json_print.h:58:48: error: passing argument 5 of 'print_color_tv' from incompatible pointer type [-Wincompatible-pointer-types] 58 | value); \ | ^~~~~ | | | const struct timeval * ../include/json_print.h:80:1: note: in expansion of macro '_PRINT_FUNC' 80 | _PRINT_FUNC(tv, const struct timeval *) | ^~~~~~~~~~~ ../include/json_print.h:50:42: note: expected 'const struct timeval *' but argument is of type 'const struct timeval *' 50 | type value); \ | ^ ../include/json_print.h:80:1: note: in expansion of macro '_PRINT_FUNC' 80 | _PRINT_FUNC(tv, const struct timeval *) Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org> |
||
---|---|---|
.. | ||
.gitignore | ||
br_common.h | ||
bridge.c | ||
fdb.c | ||
link.c | ||
Makefile | ||
mdb.c | ||
monitor.c | ||
mst.c | ||
vlan.c | ||
vni.c |