Mercurial > vim
comparison src/hangulin.c @ 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 | c90ca5b9fc0d |
children |
comparison
equal
deleted
inserted
replaced
18050:dd9de94583a5 | 18051:d1e77015f60b |
---|---|
807 return 0; | 807 return 0; |
808 } | 808 } |
809 return len; | 809 return len; |
810 } | 810 } |
811 | 811 |
812 void | 812 static void |
813 hangul_input_clear(void) | 813 hangul_input_clear(void) |
814 { | 814 { |
815 sp = 0; | 815 sp = 0; |
816 f = F_NULL; | 816 f = F_NULL; |
817 m = M_NULL; | 817 m = M_NULL; |