[2.6 patch] make ecryptfs_version_str_map[] static

From: Adrian Bunk
Date: Sun Nov 19 2006 - 21:24:55 EST


This patch makes the needlessly global ecryptfs_version_str_map[]
static.

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

--- linux-2.6.19-rc5-mm2/fs/ecryptfs/main.c.old 2006-11-20 01:27:17.000000000 +0100
+++ linux-2.6.19-rc5-mm2/fs/ecryptfs/main.c 2006-11-20 01:27:25.000000000 +0100
@@ -692,7 +692,7 @@

static struct ecryptfs_attribute sysfs_attr_version = __ATTR_RO(version);

-struct ecryptfs_version_str_map_elem {
+static struct ecryptfs_version_str_map_elem {
u32 flag;
char *str;
} ecryptfs_version_str_map[] = {

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