netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] C99 designated initializer for net/atm/lec.c
@ 2002-10-07 22:41 Art Haas
  0 siblings, 0 replies; only message in thread
From: Art Haas @ 2002-10-07 22:41 UTC (permalink / raw)
  To: netdev, carnil; +Cc: Linus Torvalds

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

--- linux-2.5.41/net/atm/lec.c.old	2002-07-05 18:42:03.000000000 -0500
+++ linux-2.5.41/net/atm/lec.c	2002-10-07 15:52:02.000000000 -0500
@@ -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 = {
-- 
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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-10-07 22:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-07 22:41 [PATCH] C99 designated initializer for net/atm/lec.c Art Haas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).