linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [2.6 patch] cfq-iosched.c: make some code static
@ 2005-01-29 13:35 Adrian Bunk
  0 siblings, 0 replies; 2+ messages in thread
From: Adrian Bunk @ 2005-01-29 13:35 UTC (permalink / raw)
  To: Jens Axboe; +Cc: linux-kernel

This patch makes some needlessly global code static.

Signed-off-by: Adrian Bunk <bunk@stusta.de>

--- linux-2.6.11-rc2-mm1-full/drivers/block/cfq-iosched.c.old	2005-01-29 14:05:30.000000000 +0100
+++ linux-2.6.11-rc2-mm1-full/drivers/block/cfq-iosched.c	2005-01-29 14:05:49.000000000 +0100
@@ -1790,7 +1790,7 @@
 	.store	= cfq_attr_store,
 };
 
-struct kobj_type cfq_ktype = {
+static struct kobj_type cfq_ktype = {
 	.sysfs_ops	= &cfq_sysfs_ops,
 	.default_attrs	= default_attrs,
 };
@@ -1819,7 +1819,7 @@
 	.elevator_owner =	THIS_MODULE,
 };
 
-int cfq_init(void)
+static int cfq_init(void)
 {
 	int ret;
 


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [2.6 patch] cfq-iosched.c: make some code static
@ 2005-02-11 18:54 Adrian Bunk
  0 siblings, 0 replies; 2+ messages in thread
From: Adrian Bunk @ 2005-02-11 18:54 UTC (permalink / raw)
  To: Andrew Morton; +Cc: Jens Axboe, linux-kernel

This patch makes some needlessly global code static.

Signed-off-by: Adrian Bunk <bunk@stusta.de>

---

This patch was already sent on:
- 29 Jan 2005

--- linux-2.6.11-rc2-mm1-full/drivers/block/cfq-iosched.c.old	2005-01-29 14:05:30.000000000 +0100
+++ linux-2.6.11-rc2-mm1-full/drivers/block/cfq-iosched.c	2005-01-29 14:05:49.000000000 +0100
@@ -1790,7 +1790,7 @@
 	.store	= cfq_attr_store,
 };
 
-struct kobj_type cfq_ktype = {
+static struct kobj_type cfq_ktype = {
 	.sysfs_ops	= &cfq_sysfs_ops,
 	.default_attrs	= default_attrs,
 };
@@ -1819,7 +1819,7 @@
 	.elevator_owner =	THIS_MODULE,
 };
 
-int cfq_init(void)
+static int cfq_init(void)
 {
 	int ret;
 


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-02-11 18:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-29 13:35 [2.6 patch] cfq-iosched.c: make some code static Adrian Bunk
2005-02-11 18:54 Adrian Bunk

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).