LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* make fbmem.c:sys_{in,out}buf() static
@ 2004-05-20  6:21 David Mosberger
  2004-05-20  6:26 ` Andrew Morton
  0 siblings, 1 reply; 2+ messages in thread
From: David Mosberger @ 2004-05-20  6:21 UTC (permalink / raw)
  To: akpm; +Cc: linux-kernel

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

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

* Re: make fbmem.c:sys_{in,out}buf() static
  2004-05-20  6:21 make fbmem.c:sys_{in,out}buf() static David Mosberger
@ 2004-05-20  6:26 ` Andrew Morton
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Morton @ 2004-05-20  6:26 UTC (permalink / raw)
  To: davidm; +Cc: linux-kernel

David Mosberger <davidm@napali.hpl.hp.com> wrote:
>
>  As far as I can tell, sys_inbuf() and sys_outbuf() aren't used
>  anywhere outside of fbmem.c, so make them static.

I'll rename them as well, get them out of the syscall namespace.

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

end of thread, other threads:[~2004-05-21 23:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-20  6:21 make fbmem.c:sys_{in,out}buf() static David Mosberger
2004-05-20  6:26 ` Andrew Morton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).