summaryrefslogtreecommitdiff
path: root/py/repl.c
diff options
context:
space:
mode:
Diffstat (limited to 'py/repl.c')
-rw-r--r--py/repl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/repl.c b/py/repl.c
index 66a67e3d5..6bd880d92 100644
--- a/py/repl.c
+++ b/py/repl.c
@@ -30,7 +30,7 @@
#if MICROPY_HELPER_REPL
-bool str_startswith_word(const char *str, const char *head) {
+STATIC bool str_startswith_word(const char *str, const char *head) {
mp_uint_t i;
for (i = 0; str[i] && head[i]; i++) {
if (str[i] != head[i]) {