annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 /* main.c */
9832
568ea507b0cd commit https://github.com/vim/vim/commit/a357e44ccdf5cfe9f6d35cc348ca33ccd973e1a9
Christian Brabandt <cb@256bit.org>
parents: 9542
diff changeset
2 int vim_main2(void);
568ea507b0cd commit https://github.com/vim/vim/commit/a357e44ccdf5cfe9f6d35cc348ca33ccd973e1a9
Christian Brabandt <cb@256bit.org>
parents: 9542
diff changeset
3 void common_init(mparm_T *paramp);
11307
6e1c19d3de03 patch 8.0.0539: startup test fails on Mac
Christian Brabandt <cb@256bit.org>
parents: 11177
diff changeset
4 int is_not_a_term(void);
29128
d8a962d7b008 patch 8.2.5084: when the GUI shows a dialog tests get stuck
Bram Moolenaar <Bram@vim.org>
parents: 19920
diff changeset
5 char_u *get_gui_dialog_file(void);
18104
e59ff7b5d7a7 patch 8.1.2047: cannot check the current state
Bram Moolenaar <Bram@vim.org>
parents: 18102
diff changeset
6 int op_pending(void);
18098
a2870e6f5b45 patch 8.1.2044: no easy way to process postponed work
Bram Moolenaar <Bram@vim.org>
parents: 11307
diff changeset
7 void may_trigger_safestate(int safe);
18116
7f57ea9a4ba8 patch 8.1.2053: SafeStateAgain not triggered if callback uses feedkeys()
Bram Moolenaar <Bram@vim.org>
parents: 18106
diff changeset
8 void state_no_longer_safe(char *reason);
7f57ea9a4ba8 patch 8.1.2053: SafeStateAgain not triggered if callback uses feedkeys()
Bram Moolenaar <Bram@vim.org>
parents: 18106
diff changeset
9 int get_was_safe_state(void);
18106
b456bba1276a patch 8.1.2048: not clear why SafeState and SafeStateAgain are not triggered
Bram Moolenaar <Bram@vim.org>
parents: 18104
diff changeset
10 void may_trigger_safestateagain(void);
7668
21b0a39d13ed commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents: 2340
diff changeset
11 void main_loop(int cmdwin, int noexmode);
21b0a39d13ed commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents: 2340
diff changeset
12 void getout_preserve_modified(int exitval);
21b0a39d13ed commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents: 2340
diff changeset
13 void getout(int exitval);
21b0a39d13ed commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents: 2340
diff changeset
14 int process_env(char_u *env, int is_viminit);
21b0a39d13ed commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents: 2340
diff changeset
15 void mainerr_arg_missing(char_u *str);
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16 /* vim: set ft=c : */