mirror of
https://github.com/neovim/neovim.git
synced 2025-01-01 17:23:36 -07:00
Merge pull request #1439 from jszakmeister/shuffle-some-includes
Move many includes down to the EXITFREE block.
This commit is contained in:
commit
e450c541dd
@ -8,41 +8,12 @@
|
|||||||
|
|
||||||
#include "nvim/vim.h"
|
#include "nvim/vim.h"
|
||||||
#include "nvim/misc2.h"
|
#include "nvim/misc2.h"
|
||||||
#include "nvim/file_search.h"
|
|
||||||
#include "nvim/buffer.h"
|
|
||||||
#include "nvim/charset.h"
|
|
||||||
#include "nvim/diff.h"
|
|
||||||
#include "nvim/edit.h"
|
|
||||||
#include "nvim/eval.h"
|
#include "nvim/eval.h"
|
||||||
#include "nvim/ex_cmds.h"
|
|
||||||
#include "nvim/ex_docmd.h"
|
|
||||||
#include "nvim/ex_getln.h"
|
|
||||||
#include "nvim/fileio.h"
|
|
||||||
#include "nvim/fold.h"
|
|
||||||
#include "nvim/getchar.h"
|
|
||||||
#include "nvim/mark.h"
|
|
||||||
#include "nvim/mbyte.h"
|
|
||||||
#include "nvim/memfile.h"
|
#include "nvim/memfile.h"
|
||||||
#include "nvim/memline.h"
|
|
||||||
#include "nvim/memory.h"
|
#include "nvim/memory.h"
|
||||||
#include "nvim/message.h"
|
#include "nvim/message.h"
|
||||||
#include "nvim/misc1.h"
|
#include "nvim/misc1.h"
|
||||||
#include "nvim/move.h"
|
|
||||||
#include "nvim/option.h"
|
|
||||||
#include "nvim/ops.h"
|
|
||||||
#include "nvim/os_unix.h"
|
|
||||||
#include "nvim/path.h"
|
|
||||||
#include "nvim/quickfix.h"
|
|
||||||
#include "nvim/regexp.h"
|
|
||||||
#include "nvim/screen.h"
|
|
||||||
#include "nvim/search.h"
|
|
||||||
#include "nvim/spell.h"
|
|
||||||
#include "nvim/syntax.h"
|
|
||||||
#include "nvim/tag.h"
|
|
||||||
#include "nvim/term.h"
|
#include "nvim/term.h"
|
||||||
#include "nvim/ui.h"
|
|
||||||
#include "nvim/window.h"
|
|
||||||
#include "nvim/os/os.h"
|
|
||||||
|
|
||||||
#ifdef INCLUDE_GENERATED_DECLARATIONS
|
#ifdef INCLUDE_GENERATED_DECLARATIONS
|
||||||
# include "memory.c.generated.h"
|
# include "memory.c.generated.h"
|
||||||
@ -430,6 +401,36 @@ void do_outofmem_msg(size_t size)
|
|||||||
|
|
||||||
#if defined(EXITFREE) || defined(PROTO)
|
#if defined(EXITFREE) || defined(PROTO)
|
||||||
|
|
||||||
|
#include "nvim/file_search.h"
|
||||||
|
#include "nvim/buffer.h"
|
||||||
|
#include "nvim/charset.h"
|
||||||
|
#include "nvim/diff.h"
|
||||||
|
#include "nvim/edit.h"
|
||||||
|
#include "nvim/ex_cmds.h"
|
||||||
|
#include "nvim/ex_docmd.h"
|
||||||
|
#include "nvim/ex_getln.h"
|
||||||
|
#include "nvim/fileio.h"
|
||||||
|
#include "nvim/fold.h"
|
||||||
|
#include "nvim/getchar.h"
|
||||||
|
#include "nvim/mark.h"
|
||||||
|
#include "nvim/mbyte.h"
|
||||||
|
#include "nvim/memline.h"
|
||||||
|
#include "nvim/move.h"
|
||||||
|
#include "nvim/option.h"
|
||||||
|
#include "nvim/ops.h"
|
||||||
|
#include "nvim/os_unix.h"
|
||||||
|
#include "nvim/path.h"
|
||||||
|
#include "nvim/quickfix.h"
|
||||||
|
#include "nvim/regexp.h"
|
||||||
|
#include "nvim/screen.h"
|
||||||
|
#include "nvim/search.h"
|
||||||
|
#include "nvim/spell.h"
|
||||||
|
#include "nvim/syntax.h"
|
||||||
|
#include "nvim/tag.h"
|
||||||
|
#include "nvim/ui.h"
|
||||||
|
#include "nvim/window.h"
|
||||||
|
#include "nvim/os/os.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Free everything that we allocated.
|
* Free everything that we allocated.
|
||||||
* Can be used to detect memory leaks, e.g., with ccmalloc.
|
* Can be used to detect memory leaks, e.g., with ccmalloc.
|
||||||
|
Loading…
Reference in New Issue
Block a user