iproute2/lib
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
..
color.c color: introduce color helpers and COLOR_CLEAR 2016-03-27 10:37:34 -07:00
coverity_model.c scrub out whitespace issues 2016-03-27 10:50:14 -07:00
dnet_ntop.c scrub out whitespace issues 2016-03-27 10:50:14 -07:00
dnet_pton.c dnet: fix strict aliasing warnings 2010-07-23 12:30:48 -07:00
inet_proto.c scrub out whitespace issues 2016-03-27 10:50:14 -07:00
ipx_ntop.c scrub out whitespace issues 2016-03-27 10:50:14 -07:00
ipx_pton.c utils: provide get_hex to read a hex digit from a char 2016-06-08 09:30:41 -07:00
json_writer.c json_writer: Removed automatic json-object type from the constructor 2016-07-20 12:02:02 -07:00
libgenl.c scrub out whitespace issues 2016-03-27 10:50:14 -07:00
libnetlink.c Use C99 style initializers everywhere 2016-07-20 12:05:24 -07:00
ll_addr.c lib/ll_addr: improve ll_addr_n2a() a bit 2016-03-27 10:37:35 -07:00
ll_map.c Use C99 style initializers everywhere 2016-07-20 12:05:24 -07:00
ll_proto.c utils: add get_be{16, 32, 64}, use them where possible 2016-06-08 09:30:37 -07:00
ll_types.c ll_types: add netlink ARPHRD 2014-08-29 00:13:22 -07:00
Makefile Make builds default to quiet mode 2016-05-31 12:13:07 -07:00
mpls_ntop.c add basic mpls support to iproute 2015-03-24 15:45:23 -07:00
mpls_pton.c add basic mpls support to iproute 2015-03-24 15:45:23 -07:00
names.c tc class: Ignore if default class name file does not exist 2015-04-07 08:31:56 -07:00
namespace.c lib/namespace: fix fd leakage in non-error case 2015-08-19 16:32:56 -07:00
rt_names.c iproute2: fix building with musl 2016-02-02 15:58:33 +11:00
utils.c Add support for configuring Infiniband GUIDs 2016-07-15 11:25:36 -07:00