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

Unified Diff: lib/version/version.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/sysparam/sysparam.c ('k') | platform/omap3/i2c.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/version/version.c
diff --git a/lib/version/version.c b/lib/version/version.c
index 2b0eecc615e47c39c51f67e6695b8a20e6864f25..127fd07ff8c80d9026e171527586d4dd1935c807 100644
--- a/lib/version/version.c
+++ b/lib/version/version.c
@@ -66,7 +66,7 @@ static int cmd_version(int argc, const cmd_args *argv)
}
STATIC_COMMAND_START
-{ "version", "print version", &cmd_version },
+STATIC_COMMAND("version", "print version", &cmd_version)
STATIC_COMMAND_END(version);
#endif // WITH_LIB_CONSOLE
« no previous file with comments | « lib/sysparam/sysparam.c ('k') | platform/omap3/i2c.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698