Mercurial > vim
comparison src/proto/mbyte.pro @ 18051:d1e77015f60b v8.1.2021
patch 8.1.2021: some global functions can be local to the file
Commit: https://github.com/vim/vim/commit/840d16fd36bfd1a9fac8200e3dc016b1e3f9c328
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Sep 10 21:27:18 2019 +0200
patch 8.1.2021: some global functions can be local to the file
Problem: Some global functions can be local to the file.
Solution: Add "static". (Yegappan Lakshmanan, closes https://github.com/vim/vim/issues/4917)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 10 Sep 2019 21:30:06 +0200 |
parents | 8ae333756614 |
children | 6c5b11458f31 |
comparison
equal
deleted
inserted
replaced
18050:dd9de94583a5 | 18051:d1e77015f60b |
---|---|
48 int utf_tolower(int a); | 48 int utf_tolower(int a); |
49 int utf_isupper(int a); | 49 int utf_isupper(int a); |
50 int mb_strnicmp(char_u *s1, char_u *s2, size_t nn); | 50 int mb_strnicmp(char_u *s1, char_u *s2, size_t nn); |
51 void show_utf8(void); | 51 void show_utf8(void); |
52 int latin_head_off(char_u *base, char_u *p); | 52 int latin_head_off(char_u *base, char_u *p); |
53 int dbcs_head_off(char_u *base, char_u *p); | |
54 int dbcs_screen_head_off(char_u *base, char_u *p); | 53 int dbcs_screen_head_off(char_u *base, char_u *p); |
55 int utf_head_off(char_u *base, char_u *p); | 54 int utf_head_off(char_u *base, char_u *p); |
56 void mb_copy_char(char_u **fp, char_u **tp); | 55 void mb_copy_char(char_u **fp, char_u **tp); |
57 int mb_off_next(char_u *base, char_u *p); | 56 int mb_off_next(char_u *base, char_u *p); |
58 int mb_tail_off(char_u *base, char_u *p); | 57 int mb_tail_off(char_u *base, char_u *p); |