lkml.org 
[lkml]   [2006]   [Mar]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[-mm patch] fs/9p/fcprint.c: make 2 functions static
On Tue, Mar 07, 2006 at 02:19:29AM -0800, Andrew Morton wrote:
>...
> Changes since 2.6.16-rc3-mm2:
>...
> +v9fs-print-9p-messages.patch
>...
> Misc updates and fixes
>...


This patch makes two needlessly global functions static.


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

---
fs/9p/fcprint.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- linux-2.6.16-rc5-mm3-full/fs/9p/fcprint.c.old 2006-03-08 12:31:26.000000000 +0100
+++ linux-2.6.16-rc5-mm3-full/fs/9p/fcprint.c 2006-03-08 12:31:49.000000000 +0100
@@ -88,7 +88,7 @@
return snprintf(buf, buflen, "%s%03o", b, perm&077);
}

-int
+static int
v9fs_printstat(char *buf, int buflen, struct v9fs_stat *st, int extended)
{
int n;
@@ -120,7 +120,7 @@
return n;
}

-int
+static int
v9fs_dumpdata(char *buf, int buflen, u8 *data, int datalen)
{
int i, n;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-03-08 12:37    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site