Skip to contentSkip to conversation

devpts/inode.c: make one struct static

PATCH New Adrian Bunk 1 participant 1 message Oct 30, 2004

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 devpts/inode.c: make one struct static

The patch below makes struct devpts_file_inode_operations in fs/devpts/inode.c static.

fs/devpts/inode.c renamed from fs/devpts/inode.c.old +1 -1
@@ -31,7 +31,7 @@
 	NULL
 };
 
-struct inode_operations devpts_file_inode_operations = {
+static struct inode_operations devpts_file_inode_operations = {
 #ifdef CONFIG_DEVPTS_FS_XATTR
 	.setxattr	= generic_setxattr,
 	.getxattr	= generic_getxattr,