shell: rename module sections
Prepare for supporting stand-alone commands. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
fa7f13ef00
commit
8d1931504a
3 changed files with 16 additions and 12 deletions
|
@ -86,7 +86,7 @@ struct shell_module {
|
|||
#define SHELL_REGISTER_WITH_PROMPT(_name, _commands, _prompt) \
|
||||
\
|
||||
static struct shell_module (__shell__name) __used \
|
||||
__attribute__((__section__(".shell_"))) = { \
|
||||
__attribute__((__section__(".shell_module_"))) = { \
|
||||
.module_name = _name, \
|
||||
.commands = _commands, \
|
||||
.prompt = _prompt \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue