linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] C99 initializers for drivers/block/genhd.c
@ 2003-04-23 15:21 Art Haas
  0 siblings, 0 replies; only message in thread
From: Art Haas @ 2003-04-23 15:21 UTC (permalink / raw)
  To: linux-kernel; +Cc: Linus Torvalds

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

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

only message in thread, other threads:[~2003-04-23 16:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-23 15:21 [PATCH] C99 initializers for drivers/block/genhd.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).