This patch makes the needlessly global ecryptfs_version_str_map[]
static.
Signed-off-by: Adrian Bunk <[email protected]>
--- 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[] = {
On Mon, Nov 20, 2006 at 03:24:06AM +0100, Adrian Bunk wrote:
> This patch makes the needlessly global ecryptfs_version_str_map[]
> static.
>
> Signed-off-by: Adrian Bunk <[email protected]>
Acked-by: Michael Halcrow <[email protected]>
> --- 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[] = {
>