lkml.org 
[lkml]   [2005]   [Aug]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[PATCH] (10/22) static vs. extern in scc
From
Date
extern declaration before the static one

Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
----
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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-08-25 07:28    [W:0.063 / U:0.616 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site