Mercurial > vim
comparison src/misc1.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 | 8f4cc259ed7a |
children | e59ff7b5d7a7 |
comparison
equal
deleted
inserted
replaced
18050:dd9de94583a5 | 18051:d1e77015f60b |
---|---|
2759 return buffer; | 2759 return buffer; |
2760 } | 2760 } |
2761 | 2761 |
2762 # if defined(FEAT_EVAL) || defined(PROTO) | 2762 # if defined(FEAT_EVAL) || defined(PROTO) |
2763 | 2763 |
2764 void | 2764 static void |
2765 get_cmd_output_as_rettv( | 2765 get_cmd_output_as_rettv( |
2766 typval_T *argvars, | 2766 typval_T *argvars, |
2767 typval_T *rettv, | 2767 typval_T *rettv, |
2768 int retlist) | 2768 int retlist) |
2769 { | 2769 { |