* [2.6 patch] floppy.c: make some code static
2004-11-25 10:12 ` Christoph Hellwig
@ 2004-11-29 12:26 ` Adrian Bunk
0 siblings, 0 replies; 2+ messages in thread
From: Adrian Bunk @ 2004-11-29 12:26 UTC (permalink / raw)
To: linux-kernel
The patch below makes some needlessly global code static.
diffstat output:
drivers/block/floppy.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
--- linux-2.6.10-rc1-mm3-full/drivers/block/floppy.c.old 2004-11-06 19:55:49.000000000 +0100
+++ linux-2.6.10-rc1-mm3-full/drivers/block/floppy.c 2004-11-06 20:06:29.000000000 +0100
@@ -4397,7 +4397,7 @@
}
#endif
-int __init floppy_init(void)
+static int __init floppy_init(void)
{
int i, unit, drive;
int err, dr;
@@ -4738,7 +4738,7 @@
#ifdef MODULE
-char *floppy;
+static char *floppy;
static void unregister_devfs_entries(int drive)
{
^ permalink raw reply [flat|nested] 2+ messages in thread
* [2.6 patch] floppy.c: make some code static
@ 2005-01-25 11:27 Adrian Bunk
0 siblings, 0 replies; 2+ messages in thread
From: Adrian Bunk @ 2005-01-25 11:27 UTC (permalink / raw)
To: Andrew Morton; +Cc: linux-kernel
This patch makes some needlessly global code static.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
---
drivers/block/floppy.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
This patch was already sent on:
- 29 Nov 2004
--- linux-2.6.10-rc1-mm3-full/drivers/block/floppy.c.old 2004-11-06 19:55:49.000000000 +0100
+++ linux-2.6.10-rc1-mm3-full/drivers/block/floppy.c 2004-11-06 20:06:29.000000000 +0100
@@ -4397,7 +4397,7 @@
}
#endif
-int __init floppy_init(void)
+static int __init floppy_init(void)
{
int i, unit, drive;
int err, dr;
@@ -4738,7 +4738,7 @@
#ifdef MODULE
-char *floppy;
+static char *floppy;
static void unregister_devfs_entries(int drive)
{
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-01-25 11:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-25 11:27 [2.6 patch] floppy.c: make some code static Adrian Bunk
-- strict thread matches above, loose matches on Subject: below --
2004-11-24 23:10 [2.6 patch] drivers/block/: some cleanups Adrian Bunk
2004-11-25 10:12 ` Christoph Hellwig
2004-11-29 12:26 ` [2.6 patch] floppy.c: make some code static Adrian Bunk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox