py: Make functions static where appropriate.
diff --git a/py/repl.c b/py/repl.c
index 66a67e3..6bd880d 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]) {