From 4ed38bd2f3064eecf3bf0510f55cc4407c8d3beb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Kijewski?= Date: Sun, 27 Apr 2014 14:37:54 +0200 Subject: [PATCH] shell: strings in shell_command_t are const --- sys/include/shell.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/include/shell.h b/sys/include/shell.h index 4fe27dae0b..874c020c9e 100644 --- a/sys/include/shell.h +++ b/sys/include/shell.h @@ -41,8 +41,8 @@ typedef void (*shell_command_handler_t)(int argc, char **argv); * i.e. the last element must be ``{ NULL, NULL, NULL }``. */ typedef struct shell_command_t { - char *name; /**< Name of the function */ - char *desc; /**< Description to print in the "help" command. */ + const char *name; /**< Name of the function */ + const char *desc; /**< Description to print in the "help" command. */ shell_command_handler_t handler; /**< The callback function. */ } shell_command_t;