| To: | netdev@xxxxxxxxxxx, carnil@xxxxxxxxx |
|---|---|
| Subject: | [PATCH] C99 designated initializer for net/atm/lec.c |
| From: | Art Haas <ahaas@xxxxxxxxxxx> |
| Date: | Mon, 7 Oct 2002 17:41:10 -0500 |
| Cc: | Linus Torvalds <torvalds@xxxxxxxxxxxxx> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
| User-agent: | Mutt/1.4i |
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
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [patch] abstract out socket lock.users access, David S. Miller |
|---|---|
| Next by Date: | Re: Continuing problems with sundance driver, Richard Gooch |
| Previous by Thread: | [patch] abstract out socket lock.users access, Benjamin LaHaise |
| Next by Thread: | [PATCH] trivial C99 designated initializer patch for net/netlink/af_netlink.c, Art Haas |
| Indexes: | [Date] [Thread] [Top] [All Lists] |