Re: [iproute PATCH v4 1/5] tc: m_action: Improve conversion to C99 style initializers

2016-07-15 Thread David Ahern
On 7/13/16 12:47 PM, Phil Sutter wrote: This improves my initial change in the following points: - Flatten embedded struct's initializers. - No need to initialize variables to zero as the key feature of C99 initializers is to do this implicitly. - By relocating the declaration of struct rtattr

[iproute PATCH v4 1/5] tc: m_action: Improve conversion to C99 style initializers

2016-07-13 Thread Phil Sutter
This improves my initial change in the following points: - Flatten embedded struct's initializers. - No need to initialize variables to zero as the key feature of C99 initializers is to do this implicitly. - By relocating the declaration of struct rtattr *tail, it can be initialized at the sam