From: "Rafael J. Wysocki" Two functions in kernel/power/user.c should be static (thanks to Bartlomiej for spotting this). Signed-off-by: Rafael J. Wysocki Signed-off-by: Andrew Morton --- kernel/power/user.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff -puN kernel/power/user.c~swsusp-userland-interface-fix kernel/power/user.c --- devel/kernel/power/user.c~swsusp-userland-interface-fix 2006-01-16 20:03:56.000000000 -0800 +++ devel-akpm/kernel/power/user.c 2006-01-16 20:03:56.000000000 -0800 @@ -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; _