C99 designated initializer for net/atm/lec.c
Subsystems (3)
PATCH 1/1 C99 designated initializer for net/atm/lec.c
Hi.
Here's a trivial patch for net/atm/lec.c to switch it to use C99 designated initializers. The patch is against 2.5.41.
Art Haas
net/atm/lec.c renamed from net/atm/lec.c.old +2 -2
@@ -553,8 +553,8 @@ }static struct atmdev_ops lecdev_ops = { - close: lec_atm_close, - send: lec_atm_send + .close = lec_atm_close, + .send = lec_atm_send };static struct atm_dev lecatm_dev = {
Signature · 3 lines
They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety. -- Benjamin Franklin, Historical Review of Pennsylvania, 1759