Skip to contentSkip to conversation

make ecryptfs_version_str_map[] static

PATCH In review Adrian Bunk 2 participants 2 messages Nov 20, 2006 Ecrypt file system

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 make ecryptfs_version_str_map[] static

This patch makes the needlessly global ecryptfs_version_str_map[] static.

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[] = {
Acked-by on v1 1/1
#1 lore raw
Quoted 4 lines · Adrian Bunk

This patch makes the needlessly global ecryptfs_version_str_map[] static.

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[] = {