mirror_iproute2/misc
Phil Sutter d17b136f7d Use C99 style initializers everywhere
This big patch was compiled by vimgrepping for memset calls and changing
to C99 initializer if applicable. One notable exception is the
initialization of union bpf_attr in tc/tc_bpf.c: changing it would break
for older gcc versions (at least <=3.4.6).

Calls to memset for struct rtattr pointer fields for parse_rtattr*()
were just dropped since they are not needed.

The changes here allowed the compiler to discover some unused variables,
so get rid of them, too.

Signed-off-by: Phil Sutter <phil@nwl.cc>
Acked-by: David Ahern <dsa@cumulusnetworks.com>
2016-07-20 12:05:24 -07:00
..
.gitignore Add ignore files to make using git easier 2006-08-08 12:04:38 -07:00
arpd.c Use C99 style initializers everywhere 2016-07-20 12:05:24 -07:00
ifstat.c json_writer: Removed automatic json-object type from the constructor 2016-07-20 12:02:02 -07:00
lnstat_util.c misc: fix style issues 2016-03-21 11:56:36 -07:00
lnstat.c misc: fix style issues 2016-03-21 11:56:36 -07:00
lnstat.h iproute2: various header include fixes for compiling with musl libc 2014-05-28 16:51:39 -07:00
Makefile Make builds default to quiet mode 2016-05-31 12:13:07 -07:00
nstat.c json_writer: Removed automatic json-object type from the constructor 2016-07-20 12:02:02 -07:00
rtacct.c misc: fix style issues 2016-03-21 11:56:36 -07:00
ss.c Use C99 style initializers everywhere 2016-07-20 12:05:24 -07:00
ssfilter.h ss: Add support to filter on device 2016-06-28 12:09:01 -07:00
ssfilter.y ss: Add support to filter on device 2016-06-28 12:09:01 -07:00