summaryrefslogtreecommitdiff
path: root/src/flash/nor
diff options
context:
space:
mode:
authorAntonio Borneo <borneo.antonio@gmail.com>2010-04-10 19:38:15 +0800
committerAntonio Borneo <borneo.antonio@gmail.com>2010-04-10 19:38:15 +0800
commit402d3292bbd6e04ffefb1bdf7ab61f3bfc36c44a (patch)
tree675ff45aa24fd882312f093c543e6d541cee4abe /src/flash/nor
parent61c06359915cbaef5b8538d2600ecbc17d4b387c (diff)
downloadopenocd+libswd-402d3292bbd6e04ffefb1bdf7ab61f3bfc36c44a.tar.gz
openocd+libswd-402d3292bbd6e04ffefb1bdf7ab61f3bfc36c44a.tar.bz2
openocd+libswd-402d3292bbd6e04ffefb1bdf7ab61f3bfc36c44a.tar.xz
openocd+libswd-402d3292bbd6e04ffefb1bdf7ab61f3bfc36c44a.zip
NOR/DRIVERS: review scope of functions
Add "static" qualifier to private functions. Remove unused "extern" in src/ecosboard.c Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Diffstat (limited to 'src/flash/nor')
-rw-r--r--src/flash/nor/drivers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flash/nor/drivers.c b/src/flash/nor/drivers.c
index 7f71d83a..3e09a004 100644
--- a/src/flash/nor/drivers.c
+++ b/src/flash/nor/drivers.c
@@ -44,7 +44,7 @@ extern struct flash_driver faux_flash;
* The list of built-in flash drivers.
* @todo Make this dynamically extendable with loadable modules.
*/
-struct flash_driver *flash_drivers[] = {
+static struct flash_driver *flash_drivers[] = {
&lpc2000_flash,
&lpc288x_flash,
&lpc2900_flash,