Skip to contentSkip to conversation

(10/22) static vs. extern in scc

PATCH New Al Viro 1 participant 1 message Aug 25, 2005 Char and misc drivers

lore
Share & tools
lore

Al Viro

author
#0 lore raw

PATCH 1/1 (10/22) static vs. extern in scc

extern declaration before the static one

----

drivers/char/scc.h +1 -1
diff -urN RC13-rc7-82596-apricot/drivers/char/scc.h RC13-rc7-scc/drivers/char/scc.h
@@ -399,7 +399,7 @@
 		__asm__ __volatile__ ( "tstb %0" : : "g" (*_scc_del) : "cc" );\
     } while (0)
 
-extern unsigned char scc_shadow[2][16];
+static unsigned char scc_shadow[2][16];
 
 /* The following functions should relax the somehow complicated
  * register access of the SCC. _SCCwrite() stores all written values