diff options
author | Randall Spangler <rspangler@chromium.org> | 2012-04-19 14:24:36 -0700 |
---|---|---|
committer | Randall Spangler <rspangler@chromium.org> | 2012-04-19 14:29:07 -0700 |
commit | 24dafefb3a63c9e2111ff87c4595ceaff7182d20 (patch) | |
tree | 2f971102a85b7436ee1275b31264b70bdc59f5a3 /common/console.c | |
parent | ff8926b5e357fe4cc82473af7603f3d273d1971a (diff) | |
download | chrome-ec-24dafefb3a63c9e2111ff87c4595ceaff7182d20.tar.gz |
Move externs from .lds file into a header file
Fewer magic externs = good.
Signed-off-by: Randall Spangler <rspangler@chromium.org>
BUG=none
TEST=if it boots, it works
Change-Id: Ifadeb1701400c5492c40d2eaf8f68f2d70189648
Diffstat (limited to 'common/console.c')
-rw-r--r-- | common/console.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/common/console.c b/common/console.c index fc34fb4872..29de7ef85a 100644 --- a/common/console.c +++ b/common/console.c @@ -6,6 +6,7 @@ /* Console module for Chrome EC */ #include "console.h" +#include "link_defs.h" #include "task.h" #include "uart.h" #include "util.h" @@ -14,9 +15,6 @@ #define PROMPT "> " -/* Console commands are described in a special section */ -extern const struct console_command __cmds[]; -extern const struct console_command __cmds_end[]; void console_has_input(void) { |