iproute2/genl
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 file for new genl 2006-08-08 12:14:09 -07:00
Makefile Make builds default to quiet mode 2016-05-31 12:13:07 -07:00
ctrl.c Use C99 style initializers everywhere 2016-07-20 12:05:24 -07:00
genl.c genl: make string const 2015-12-30 17:17:45 -08:00
genl_utils.h make muticast group to bitmask conversion generic 2006-12-13 17:04:26 -08:00
static-syms.c Fix build when shared libraries are disabled 2013-03-13 08:29:59 -07:00