[PATCH, 2.4] static-ify some variables in drivers/video/hpfb.c

From: Thiemo Seufer <hidden>
Date: 2003-04-26 23:49:31

Hello Geert,

this declares some variables as static, they aren't used outside
of this file.


Thiemo


diff -BurpNX /bigdisk/src/dontdiff linux-orig/drivers/video/hpfb.c linux/drivers/video/hpfb.c
--- linux-orig/drivers/video/hpfb.c	Wed Sep 11 14:45:21 2002
+++ linux/drivers/video/hpfb.c	Sat Apr 12 15:44:11 2003
@@ -31,9 +31,11 @@
 static struct display disp;
 static struct fb_info fb_info;
 
-unsigned long fb_start, fb_size = 1024*768, fb_line_length = 1024;
-unsigned long fb_regs;
-unsigned char fb_bitmask;
+static unsigned long fb_start;
+static unsigned long fb_size = 1024*768;
+static unsigned long fb_line_length = 1024;
+static unsigned long fb_regs;
+static unsigned char fb_bitmask;
 
 #define TC_WEN		0x4088
 #define TC_REN		0x408c


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help