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

Unified Diff: lib/ptable/ptable.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 | « lib/lwip/cmd.c ('k') | lib/sysparam/sysparam.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/ptable/ptable.c
diff --git a/lib/ptable/ptable.c b/lib/ptable/ptable.c
index 0370394321fa7d306b1991daf6ced0741034dfa7..283319d5cb17bf96525c425abef9a4e27ccc4b0f 100644
--- a/lib/ptable/ptable.c
+++ b/lib/ptable/ptable.c
@@ -927,7 +927,7 @@ usage:
}
STATIC_COMMAND_START
-{ "ptable", "commands for manipulating the flash partition table", &cmd_ptable },
+STATIC_COMMAND("ptable", "commands for manipulating the flash partition table", &cmd_ptable)
STATIC_COMMAND_END(ptable);
#endif // WITH_LIB_CONSOLE
« no previous file with comments | « lib/lwip/cmd.c ('k') | lib/sysparam/sysparam.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698