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

From: Al Viro
Date: Thu Aug 25 2005 - 00:26:12 EST


extern declaration before the static one

Signed-off-by: Al Viro <viro@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
----
diff -urN RC13-rc7-82596-apricot/drivers/char/scc.h RC13-rc7-scc/drivers/char/scc.h
--- RC13-rc7-82596-apricot/drivers/char/scc.h 2005-06-17 15:48:29.000000000 -0400
+++ RC13-rc7-scc/drivers/char/scc.h 2005-08-25 00:54:11.000000000 -0400
@@ -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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/