diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2014-02-12 18:31:30 +0200 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2014-02-12 18:31:30 +0200 |
commit | 520e2f58a559c356ea540a5da4e9a585649aecc6 (patch) | |
tree | 864ecd62ad09ab6c1af200a52b7227f8cfdeb6b6 /py/lexerstr.c | |
parent | d5df6cd44a433d6253a61cb0f987835fbc06b2de (diff) |
Replace global "static" -> "STATIC", to allow "analysis builds". Part 2.
Diffstat (limited to 'py/lexerstr.c')
-rw-r--r-- | py/lexerstr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/py/lexerstr.c b/py/lexerstr.c index d53a47d0c..634aa42ac 100644 --- a/py/lexerstr.c +++ b/py/lexerstr.c @@ -13,7 +13,7 @@ typedef struct _mp_lexer_str_buf_t { const char *src_end; // end (exclusive) of source } mp_lexer_str_buf_t; -static unichar str_buf_next_char(mp_lexer_str_buf_t *sb) { +STATIC unichar str_buf_next_char(mp_lexer_str_buf_t *sb) { if (sb->src_cur < sb->src_end) { return *sb->src_cur++; } else { @@ -21,7 +21,7 @@ static unichar str_buf_next_char(mp_lexer_str_buf_t *sb) { } } -static void str_buf_free(mp_lexer_str_buf_t *sb) { +STATIC void str_buf_free(mp_lexer_str_buf_t *sb) { if (sb->free_len > 0) { m_free((char*)sb->src_beg, sb->free_len); } |