drivers/char/tlclk.c: make two functions static
Subsystems (2)
PATCH 1/1 drivers/char/tlclk.c: make two functions static
This patch makes two needlessly global functions static.
Signed-off-by Adrian Bunk <[email protected]>
---
char/tlclk.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
drivers/char/tlclk.c renamed from drivers/char/tlclk.c.old +4 -4
@@ -225,8 +225,8 @@return 0 ; } -ssize_t tlclk_read (struct file *filp,char __user *buf,size_t count, -loff_t *f_pos) +static ssize_t tlclk_read (struct file *filp,char __user *buf,size_t count, +loff_t *f_pos) {if (count <sizeof (struct tlclk_alarms ))return -EIO ;
@@ -241,8 +241,8 @@return sizeof (struct tlclk_alarms ); } -ssize_t tlclk_write (struct file *filp,const char __user *buf,size_t count, -loff_t *f_pos) +static ssize_t tlclk_write (struct file *filp,const char __user *buf, +size_t count,loff_t *f_pos) {return 0 ; }