Skip to content

Commit

Permalink
sys/shell: fix build issue when deactivating shell echo (iotlab)
Browse files Browse the repository at this point in the history
  • Loading branch information
aabadie committed May 29, 2016
1 parent 16daabb commit 0c4b760
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sys/shell/shell.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
#include "shell.h"
#include "shell_commands.h"

#ifndef SHELL_NO_ECHO
#ifdef MODULE_NEWLIB
/* use local copy of putchar, as it seems to be inlined,
* enlarging code by 50% */
Expand All @@ -41,6 +42,7 @@ static void _putchar(int c) {
#else
#define _putchar putchar
#endif
#endif

static shell_command_handler_t find_handler(const shell_command_t *command_list, char *command)
{
Expand Down

0 comments on commit 0c4b760

Please sign in to comment.