lib/utils/pyexec: Add mp_hal_set_interrupt_char() prototype.

This patch removes a compilation warning in pyexec.

Signed-off-by: Vincenzo Frascino <vincenzo.frascino@linaro.org>
This commit is contained in:
Vincenzo Frascino 2016-10-26 10:33:26 +01:00 committed by Paul Sokolovsky
parent 73b72799f3
commit c38ea32810

View File

@ -53,6 +53,8 @@ STATIC bool repl_display_debugging_info = 0;
#define EXEC_FLAG_IS_REPL (4)
#define EXEC_FLAG_SOURCE_IS_RAW_CODE (8)
extern void mp_hal_set_interrupt_char (int c);
// parses, compiles and executes the code in the lexer
// frees the lexer before returning
// EXEC_FLAG_PRINT_EOF prints 2 EOF chars: 1 after normal output, 1 after exception output