From 9ee386a1b6d7704b259460152c959ab0e79e02aa Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 29 Jan 2008 13:48:05 +0000 Subject: fix gcc warnings Max Kellermann --- extensions/libxt_rateest.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'extensions/libxt_rateest.c') diff --git a/extensions/libxt_rateest.c b/extensions/libxt_rateest.c index cf787033..5f13340f 100644 --- a/extensions/libxt_rateest.c +++ b/extensions/libxt_rateest.c @@ -55,7 +55,7 @@ static const struct option rateest_opts[] = { { "rateest-lt", 0, NULL, OPT_RATEEST_LT }, { "rateest-gt", 0, NULL, OPT_RATEEST_GT }, { "rateest-eq", 0, NULL, OPT_RATEEST_EQ }, - { }, + { .name = NULL } }; /* Copied from iproute. See http://physics.nist.gov/cuu/Units/binary.html */ @@ -81,7 +81,7 @@ static const struct rate_suffix { { "GBps", 8000000000. }, { "TiBps", 8.*1024.*1024.*1024.*1024. }, { "TBps", 8000000000000. }, - { } + { .name = NULL } }; static int -- cgit v1.2.3