Add "static" qualifier to private functions.
Remove unused "extern" in src/ecosboard.c
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
char hwaddr[512];
-
-extern struct flash_driver *flash_drivers[];
-
#ifdef CYGPKG_PROFILE_GPROF
#include <cyg/profile/profile.h>
* 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,