[2.6 patch] devpts/inode.c: make one struct static (fwd)

From: Adrian Bunk
Date: Tue Dec 07 2004 - 14:44:01 EST


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

Please apply.



----- Forwarded message from Adrian Bunk <bunk@xxxxxxxxx> -----

Date: Sat, 30 Oct 2004 19:54:58 +0200
From: Adrian Bunk <bunk@xxxxxxxxx>
To: Arjan van de Ven <arjan@xxxxxxxxxxxxx>
Cc: linux-kernel@xxxxxxxxxxxxxxx
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.


Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>

--- linux-2.6.10-rc1-mm2-full/fs/devpts/inode.c.old 2004-10-30 13:56:39.000000000 +0200
+++ linux-2.6.10-rc1-mm2-full/fs/devpts/inode.c 2004-10-30 13:57:05.000000000 +0200
@@ -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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

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

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