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

Side by Side Diff: lib/buildsig/buildsig.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 unified diff | Download patch
« no previous file with comments | « dev/gpio/debug.c ('k') | lib/cksum/debug.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2013 Google, Inc. 2 * Copyright (c) 2013 Google, Inc.
3 * 3 *
4 * Permission is hereby granted, free of charge, to any person obtaining 4 * Permission is hereby granted, free of charge, to any person obtaining
5 * a copy of this software and associated documentation files 5 * a copy of this software and associated documentation files
6 * (the "Software"), to deal in the Software without restriction, 6 * (the "Software"), to deal in the Software without restriction,
7 * including without limitation the rights to use, copy, modify, merge, 7 * including without limitation the rights to use, copy, modify, merge,
8 * publish, distribute, sublicense, and/or sell copies of the Software, 8 * publish, distribute, sublicense, and/or sell copies of the Software,
9 * and to permit persons to whom the Software is furnished to do so, 9 * and to permit persons to whom the Software is furnished to do so,
10 * subject to the following conditions: 10 * subject to the following conditions:
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 } else { 146 } else {
147 goto usage; 147 goto usage;
148 } 148 }
149 149
150 return NO_ERROR; 150 return NO_ERROR;
151 } 151 }
152 152
153 153
154 STATIC_COMMAND_START 154 STATIC_COMMAND_START
155 #if LK_DEBUGLEVEL > 1 155 #if LK_DEBUGLEVEL > 1
156 { "buildsig", "scan for and dump build signature", &cmd_buildsig }, 156 STATIC_COMMAND("buildsig", "scan for and dump build signature", &cmd_buildsi g)
157 #endif 157 #endif
158 STATIC_COMMAND_END(buildid); 158 STATIC_COMMAND_END(buildid);
159 159
160 #endif 160 #endif
161 161
OLDNEW
« no previous file with comments | « dev/gpio/debug.c ('k') | lib/cksum/debug.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698