Hi,
Two functions in kernel/power/user.c should be static (thanks to Bartlomiej
for spotting this).
Please apply.
Greetings,
Rafael
Signed-off-by: Rafael J. Wysocki <[email protected]>
kernel/power/user.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Index: linux-2.6.15-mm4/kernel/power/user.c
===================================================================
--- linux-2.6.15-mm4.orig/kernel/power/user.c 2006-01-15 23:25:28.000000000 +0100
+++ linux-2.6.15-mm4/kernel/power/user.c 2006-01-16 21:16:48.000000000 +0100
@@ -36,7 +36,7 @@ static struct snapshot_data {
static atomic_t device_available = ATOMIC_INIT(1);
-int snapshot_open(struct inode *inode, struct file *filp)
+static int snapshot_open(struct inode *inode, struct file *filp)
{
struct snapshot_data *data;
@@ -66,7 +66,7 @@ int snapshot_open(struct inode *inode, s
return 0;
}
-int snapshot_release(struct inode *inode, struct file *filp)
+static int snapshot_release(struct inode *inode, struct file *filp)
{
struct snapshot_data *data;
-
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/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]