From: Art Haas <ahaas@airmail.net>
To: linux-kernel@vger.kernel.org
Cc: Linus Torvalds <torvalds@transmeta.com>
Subject: [PATCH] C99 initializers for drivers/block/genhd.c
Date: Wed, 23 Apr 2003 10:21:14 -0500 [thread overview]
Message-ID: <20030423152114.GC5681@debian> (raw)
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
reply other threads:[~2003-04-23 16:30 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20030423152114.GC5681@debian \
--to=ahaas@airmail.net \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@transmeta.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).