[2.6 patch] floppy.c: make some code static

From: Adrian Bunk
Date: Tue Jan 25 2005 - 06:45:50 EST


This patch makes some needlessly global code static.

Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>

---

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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/