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

Unified Diff: lib/lwip/cmd.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/klog/klog.c ('k') | lib/ptable/ptable.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/lwip/cmd.c
diff --git a/lib/lwip/cmd.c b/lib/lwip/cmd.c
index 0ee5c1ec441e78a15931e307ad405228e16429c9..4f26829cd7bc29e983b03687fd48197ebf782989 100644
--- a/lib/lwip/cmd.c
+++ b/lib/lwip/cmd.c
@@ -63,7 +63,7 @@ out:
}
STATIC_COMMAND_START
-{ "net", "net toolbox", &net_cmd },
+STATIC_COMMAND("net", "net toolbox", &net_cmd)
STATIC_COMMAND_END(net);
#endif
« no previous file with comments | « lib/klog/klog.c ('k') | lib/ptable/ptable.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698