make ecryptfs_version_str_map[] static
PATCH 1/1 make ecryptfs_version_str_map[] static
This patch makes the needlessly global ecryptfs_version_str_map[] static.
Signed-off-by Adrian Bunk <[email protected]>
fs/ecryptfs/main.c renamed from fs/ecryptfs/main.c.old +1 -1
@@ -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[] = {
Quoted 4 lines · Adrian Bunk
This patch makes the needlessly global ecryptfs_version_str_map[] static.
Signed-off-by Adrian Bunk <[email protected]>
Acked-by Michael Halcrow <[email protected]>
Quoted 12 lines
fs/ecryptfs/main.c renamed from fs/ecryptfs/main.c.old +1
-1@@ -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[] = {