Skip to contentSkip to conversation

devpts/inode.c: make one struct static (fwd)

PATCH New Adrian Bunk 1 participant 1 message Dec 7, 2004

lore
Share & tools
lore
#0 lore raw

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

The patch forwarded below still applies and compiles against 2.6.10-rc2-mm4.

Please apply.

----- Forwarded message from Adrian Bunk <[email protected]> -----

Date: Sat, 30 Oct 2004 19:54:58 +0200
From: Adrian Bunk <[email protected]>
To: Arjan van de Ven <[email protected]>
Cc: [email protected]
Subject: [2.6 patch] 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,

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

----- End forwarded message -----