Mercurial > vim
comparison src/fileio.c @ 17789:0f7ae8010787 v8.1.1891
patch 8.1.1891: functions used in one file are global
commit https://github.com/vim/vim/commit/5843f5f37b0632e2d706abc9014bfd7d98f7b02e
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Aug 20 20:13:45 2019 +0200
patch 8.1.1891: functions used in one file are global
Problem: Functions used in one file are global.
Solution: Add "static". (Yegappan Lakshmanan, closes https://github.com/vim/vim/issues/4840)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 20 Aug 2019 20:15:07 +0200 |
parents | 1e3ff1eae4c3 |
children | 59bc3cd42cf5 |
comparison
equal
deleted
inserted
replaced
17788:2cf6b7b53b1d | 17789:0f7ae8010787 |
---|---|
109 #ifdef MACOS_CONVERT | 109 #ifdef MACOS_CONVERT |
110 static int get_mac_fio_flags(char_u *ptr); | 110 static int get_mac_fio_flags(char_u *ptr); |
111 #endif | 111 #endif |
112 static char *e_auchangedbuf = N_("E812: Autocommands changed buffer or buffer name"); | 112 static char *e_auchangedbuf = N_("E812: Autocommands changed buffer or buffer name"); |
113 | 113 |
114 void | 114 static void |
115 filemess( | 115 filemess( |
116 buf_T *buf, | 116 buf_T *buf, |
117 char_u *name, | 117 char_u *name, |
118 char_u *s, | 118 char_u *s, |
119 int attr) | 119 int attr) |