[-mm patch] drivers/char/tlclk.c: make two functions static

From: Adrian Bunk
Date: Fri Nov 04 2005 - 07:45:11 EST


This patch makes two needlessly global functions static.


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

---

char/tlclk.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)

--- linux-2.6.14-rc5-mm1-full/drivers/char/tlclk.c.old 2005-11-04 11:18:45.000000000 +0100
+++ linux-2.6.14-rc5-mm1-full/drivers/char/tlclk.c 2005-11-04 11:19:21.000000000 +0100
@@ -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;
}

-
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/