1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

shell: strings in shell_command_t are const

This commit is contained in:
René Kijewski 2014-04-27 14:37:54 +02:00
parent bda23cb246
commit 4ed38bd2f3

View File

@ -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;