mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
vim: move vim_acl_T to types.h
Also include "types.h" in os_unix.h because it declares functions that return vim_acl_T.
This commit is contained in:
parent
109c70dc60
commit
1710fa4337
@ -51,6 +51,7 @@
|
||||
#include "nvim/strings.h"
|
||||
#include "nvim/tempfile.h"
|
||||
#include "nvim/term.h"
|
||||
#include "nvim/types.h"
|
||||
#include "nvim/ui.h"
|
||||
#include "nvim/undo.h"
|
||||
#include "nvim/window.h"
|
||||
|
@ -54,6 +54,7 @@
|
||||
#include "nvim/syntax.h"
|
||||
#include "nvim/tempfile.h"
|
||||
#include "nvim/term.h"
|
||||
#include "nvim/types.h"
|
||||
#include "nvim/ui.h"
|
||||
#include "nvim/os/os.h"
|
||||
#include "nvim/os/time.h"
|
||||
|
@ -1,6 +1,7 @@
|
||||
#ifndef NVIM_OS_UNIX_H
|
||||
#define NVIM_OS_UNIX_H
|
||||
|
||||
#include "nvim/types.h" // for vim_acl_T
|
||||
#include "nvim/os/shell.h"
|
||||
|
||||
/* Values returned by mch_nodetype() */
|
||||
|
@ -10,6 +10,9 @@
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
// dummy to pass an ACL to a function
|
||||
typedef void *vim_acl_T;
|
||||
|
||||
// Make sure long_u is big enough to hold a pointer.
|
||||
// On Win64, longs are 32 bits and pointers are 64 bits.
|
||||
// For printf() and scanf(), we need to take care of long_u specifically.
|
||||
|
@ -107,6 +107,7 @@
|
||||
#include "nvim/screen.h"
|
||||
#include "nvim/sha256.h"
|
||||
#include "nvim/strings.h"
|
||||
#include "nvim/types.h"
|
||||
#include "nvim/os/os.h"
|
||||
#include "nvim/os/time.h"
|
||||
|
||||
|
@ -358,8 +358,6 @@ enum {
|
||||
#define SHOWCMD_COLS 10 /* columns needed by shown command */
|
||||
#define STL_MAX_ITEM 80 /* max nr of %<flag> in statusline */
|
||||
|
||||
typedef void *vim_acl_T; /* dummy to pass an ACL to a function */
|
||||
|
||||
/*
|
||||
* fnamecmp() is used to compare file names.
|
||||
* On some systems case in a file name does not matter, on others it does.
|
||||
|
Loading…
Reference in New Issue
Block a user