lkml.org 
[lkml]   [2003]   [Apr]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] C99 initializers for drivers/block/genhd.c
Hi.

Here's a patch that switches the file to use C99 initializers. The patch
is against the current BK.

Art Haas

===== drivers/block/genhd.c 1.81 vs edited =====
--- 1.81/drivers/block/genhd.c Sun Apr 20 01:22:58 2003
+++ edited/drivers/block/genhd.c Wed Apr 23 10:13:03 2003
@@ -623,10 +623,10 @@
}

struct seq_operations diskstats_op = {
- start: diskstats_start,
- next: diskstats_next,
- stop: diskstats_stop,
- show: diskstats_show
+ .start = diskstats_start,
+ .next = diskstats_next,
+ .stop = diskstats_stop,
+ .show = diskstats_show
};


--
To announce that there must be no criticism of the President, or that we
are to stand by the President, right or wrong, is not only unpatriotic
and servile, but is morally treasonable to the American public.
-- Theodore Roosevelt, Kansas City Star, 1918
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 13:34    [W:0.016 / U:0.096 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site