[2.6 patch] drivers/block/umem.c: make two functions static

From: Adrian Bunk
Date: Mon Nov 29 2004 - 07:46:36 EST


The patch below makes two needlessly global functions static.


diffstat output:
drivers/block/umem.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)


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

--- linux-2.6.10-rc1-mm3-full/drivers/block/umem.c.old 2004-11-06 20:19:51.000000000 +0100
+++ linux-2.6.10-rc1-mm3-full/drivers/block/umem.c 2004-11-06 20:20:16.000000000 +0100
@@ -1181,7 +1181,7 @@
-----------------------------------------------------------------------------------
*/

-int __init mm_init(void)
+static int __init mm_init(void)
{
int retval, i;
int err;
@@ -1232,7 +1232,7 @@
-- mm_cleanup
-----------------------------------------------------------------------------------
*/
-void __exit mm_cleanup(void)
+static void __exit mm_cleanup(void)
{
int i;


-
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/