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

Unified Diff: lib/sysparam/sysparam.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/ptable/ptable.c ('k') | lib/version/version.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/sysparam/sysparam.c
diff --git a/lib/sysparam/sysparam.c b/lib/sysparam/sysparam.c
index 1074d97218a8f9648dd371b2bf4e3116555632a3..48f55ba230517479a8b59b1176b4af506115de11 100644
--- a/lib/sysparam/sysparam.c
+++ b/lib/sysparam/sysparam.c
@@ -709,7 +709,7 @@ done:
}
STATIC_COMMAND_START
-{ "sysparam", "commands for manipulating system parameters", &cmd_sysparam },
+STATIC_COMMAND("sysparam", "commands for manipulating system parameters", &cmd_sysparam)
STATIC_COMMAND_END(sysparam);
#endif // WITH_LIB_CONSOLE
« no previous file with comments | « lib/ptable/ptable.c ('k') | lib/version/version.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698