py/objarray: Implement "in" operator for bytearray.
diff --git a/py/objstr.c b/py/objstr.c
index 60f65d8..0c2d904 100644
--- a/py/objstr.c
+++ b/py/objstr.c
@@ -245,7 +245,7 @@
 
 // like strstr but with specified length and allows \0 bytes
 // TODO replace with something more efficient/standard
-STATIC const byte *find_subbytes(const byte *haystack, mp_uint_t hlen, const byte *needle, mp_uint_t nlen, mp_int_t direction) {
+const byte *find_subbytes(const byte *haystack, mp_uint_t hlen, const byte *needle, mp_uint_t nlen, mp_int_t direction) {
     if (hlen >= nlen) {
         mp_uint_t str_index, str_index_end;
         if (direction > 0) {