1#ifndef DEFINE_FUNC_ATTRIBUTES
2# define DEFINE_FUNC_ATTRIBUTES
3#endif
4#include "nvim/func_attr.h"
5#undef DEFINE_FUNC_ATTRIBUTES
6static int get_number_arg(const char *p, int *idx, int def) FUNC_ATTR_NONNULL_ALL FUNC_ATTR_WARN_UNUSED_RESULT;
7static void init_locale(void);
8static _Bool edit_stdin(_Bool explicit, mparm_T *parmp);
9static void command_line_scan(mparm_T *parmp);
10static void init_params(mparm_T *paramp, int argc, char **argv);
11static void init_startuptime(mparm_T *paramp);
12static void check_and_set_isatty(mparm_T *paramp);
13static void init_path(const char *exename) FUNC_ATTR_NONNULL_ALL;
14static char_u *get_fname(mparm_T *parmp, char_u *cwd);
15static void set_window_layout(mparm_T *paramp);
16static void load_plugins(void);
17static void handle_quickfix(mparm_T *paramp);
18static void handle_tag(char_u *tagname);
19static void read_stdin(void);
20static void create_windows(mparm_T *parmp);
21static void edit_buffers(mparm_T *parmp, char_u *cwd);
22static void exe_pre_commands(mparm_T *parmp);
23static void exe_commands(mparm_T *parmp);
24static void do_system_initialization(void);
25static _Bool do_user_initialization(void) FUNC_ATTR_WARN_UNUSED_RESULT;
26static void source_startup_scripts(const mparm_T *const parmp) FUNC_ATTR_NONNULL_ALL;
27static int execute_env(char *env) FUNC_ATTR_NONNULL_ALL;
28static _Bool file_owned(const char *fname);
29static void mainerr(const char *errstr, const char *str);
30static void version(void);
31static void usage(void);
32static void check_swap_exists_action(void);
33#include "nvim/func_attr.h"
34