public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [-mm patch] drivers/char/tlclk.c: make two functions static
@ 2005-11-04 12:45 Adrian Bunk
  0 siblings, 0 replies; 2+ messages in thread
From: Adrian Bunk @ 2005-11-04 12:45 UTC (permalink / raw)
  To: mark.gross; +Cc: linux-kernel

This patch makes two needlessly global functions static.


Signed-off-by: Adrian Bunk <bunk@stusta.de>

---

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


^ permalink raw reply	[flat|nested] 2+ messages in thread
* RE: [-mm patch] drivers/char/tlclk.c: make two functions static
@ 2005-11-04 18:28 Gross, Mark
  0 siblings, 0 replies; 2+ messages in thread
From: Gross, Mark @ 2005-11-04 18:28 UTC (permalink / raw)
  To: Adrian Bunk; +Cc: linux-kernel

Thanks!  I'll get these into the then next patch update!

I'm surprised those got missed.

--mgross

>-----Original Message-----
>From: Adrian Bunk [mailto:bunk@stusta.de]
>Sent: Friday, November 04, 2005 4:45 AM
>To: Gross, Mark
>Cc: linux-kernel@vger.kernel.org
>Subject: [-mm patch] drivers/char/tlclk.c: make two functions static
>
>This patch makes two needlessly global functions static.
>
>
>Signed-off-by: Adrian Bunk <bunk@stusta.de>
>
>---
>
> 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;
> }


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-11-04 18:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-04 12:45 [-mm patch] drivers/char/tlclk.c: make two functions static Adrian Bunk
  -- strict thread matches above, loose matches on Subject: below --
2005-11-04 18:28 Gross, Mark

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox