Skip to contentSkip to conversation

drivers/char/tlclk.c: make two functions static

PATCH New Adrian Bunk 1 participant 1 message Nov 4, 2005

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drivers/char/tlclk.c: make two functions static

This patch makes two needlessly global functions static.

---

 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;
 }