Mercurial > vim
view src/proto/main.pro @ 29320:a74398c432a4 v9.0.0003
patch 9.0.0003: functions are global while they could be local
Commit: https://github.com/vim/vim/commit/ee47eaceaa148e07b566ff420f9a3c2edde2fa34
Author: Yegappan Lakshmanan <yegappan@yahoo.com>
Date: Wed Jun 29 12:55:36 2022 +0100
patch 9.0.0003: functions are global while they could be local
Problem: Functions are global while they could be local.
Solution: Add "static". Add a few tests. (Yegappan Lakshmanan,
closes #10612)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 29 Jun 2022 14:00:03 +0200 |
parents | d8a962d7b008 |
children | 584231b9b37e |
line wrap: on
line source
/* main.c */ int vim_main2(void); void common_init(mparm_T *paramp); int is_not_a_term(void); char_u *get_gui_dialog_file(void); int op_pending(void); void may_trigger_safestate(int safe); void state_no_longer_safe(char *reason); int get_was_safe_state(void); void may_trigger_safestateagain(void); void main_loop(int cmdwin, int noexmode); void getout_preserve_modified(int exitval); void getout(int exitval); int process_env(char_u *env, int is_viminit); void mainerr_arg_missing(char_u *str); /* vim: set ft=c : */