Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1817)

Unified Diff: arch/arm/arm/debug.c

Issue 1348403002: Consistently use the STATIC_COMMAND macro every time we define a console command. (Closed) Base URL: https://github.com/travisg/lk.git@master
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « app/stringtests/string_tests.c ('k') | dev/gpio/debug.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: arch/arm/arm/debug.c
diff --git a/arch/arm/arm/debug.c b/arch/arm/arm/debug.c
index 84741eac79dc97fb5d39ff8492dc224f69692b51..2ae73fce4d4de7b06cd84b1fbb62dd214526bcce 100644
--- a/arch/arm/arm/debug.c
+++ b/arch/arm/arm/debug.c
@@ -202,7 +202,7 @@ static int cmd_dcc(int argc, const cmd_args *argv)
STATIC_COMMAND_START
#if LK_DEBUGLEVEL > 1
- { "dcc", "dcc stuff", &cmd_dcc }
+ STATIC_COMMAND("dcc", "dcc stuff", &cmd_dcc)
#endif
STATIC_COMMAND_END(dcc);
« no previous file with comments | « app/stringtests/string_tests.c ('k') | dev/gpio/debug.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698