From: David Mosberger <davidm@napali.hpl.hp.com>
To: akpm@osdl.org
Cc: linux-kernel@vger.kernel.org
Subject: make fbmem.c:sys_{in,out}buf() static
Date: Wed, 19 May 2004 23:21:30 -0700 [thread overview]
Message-ID: <200405200621.i4K6LUfO003870@napali.hpl.hp.com> (raw)
As far as I can tell, sys_inbuf() and sys_outbuf() aren't used
anywhere outside of fbmem.c, so make them static.
--david
===== drivers/video/fbmem.c 1.96 vs edited =====
--- 1.96/drivers/video/fbmem.c Wed Apr 21 12:02:56 2004
+++ edited/drivers/video/fbmem.c Wed May 19 22:49:23 2004
@@ -411,12 +411,12 @@
/*
* Drawing helpers.
*/
-u8 sys_inbuf(struct fb_info *info, u8 *src)
+static u8 sys_inbuf(struct fb_info *info, u8 *src)
{
return *src;
}
-void sys_outbuf(struct fb_info *info, u8 *dst, u8 *src, unsigned int size)
+static void sys_outbuf(struct fb_info *info, u8 *dst, u8 *src, unsigned int size)
{
memcpy(dst, src, size);
}
next reply other threads:[~2004-05-20 6:21 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-05-20 6:21 David Mosberger [this message]
2004-05-20 6:26 ` Andrew Morton
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=200405200621.i4K6LUfO003870@napali.hpl.hp.com \
--to=davidm@napali.hpl.hp.com \
--cc=akpm@osdl.org \
--cc=davidm@hpl.hp.com \
--cc=linux-kernel@vger.kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®