[-mm patch] fs/9p/fcprint.c: make 2 functions static

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <[email protected]>

---

 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux