From: Adrian Bunk <bunk@stusta.de>
To: mark.gross@intel.com
Cc: linux-kernel@vger.kernel.org
Subject: [-mm patch] drivers/char/tlclk.c: make two functions static
Date: Fri, 4 Nov 2005 13:45:07 +0100 [thread overview]
Message-ID: <20051104124507.GD5587@stusta.de> (raw)
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;
}
next reply other threads:[~2005-11-04 12:45 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-04 12:45 Adrian Bunk [this message]
-- strict thread matches above, loose matches on Subject: below --
2005-11-04 18:28 [-mm patch] drivers/char/tlclk.c: make two functions static Gross, Mark
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20051104124507.GD5587@stusta.de \
--to=bunk@stusta.de \
--cc=linux-kernel@vger.kernel.org \
--cc=mark.gross@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.