* [2.6 patch] drivers/block/nbd.c: make 3 functions static
@ 2005-01-25 11:28 Adrian Bunk
0 siblings, 0 replies; only message in thread
From: Adrian Bunk @ 2005-01-25 11:28 UTC (permalink / raw)
To: Andrew Morton; +Cc: linux-kernel
This patch makes three needlessly global functions static.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
---
drivers/block/nbd.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
This patch was already sent on:
- 29 Nov 2004
--- linux-2.6.10-rc1-mm3-full/drivers/block/nbd.c.old 2004-11-06 20:09:39.000000000 +0100
+++ linux-2.6.10-rc1-mm3-full/drivers/block/nbd.c 2004-11-06 20:10:16.000000000 +0100
@@ -315,7 +315,7 @@
}
/* NULL returned = something went wrong, inform userspace */
-struct request *nbd_read_stat(struct nbd_device *lo)
+static struct request *nbd_read_stat(struct nbd_device *lo)
{
int result;
struct nbd_reply reply;
@@ -377,7 +377,7 @@
return NULL;
}
-void nbd_do_it(struct nbd_device *lo)
+static void nbd_do_it(struct nbd_device *lo)
{
struct request *req;
@@ -388,7 +388,7 @@
return;
}
-void nbd_clear_que(struct nbd_device *lo)
+static void nbd_clear_que(struct nbd_device *lo)
{
struct request *req;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-01-25 11:30 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-25 11:28 [2.6 patch] drivers/block/nbd.c: make 3 functions static Adrian Bunk
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.