aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/types.h
diff options
context:
space:
mode:
authorNicolas Hillegeer <nicolas@hillegeer.com>2014-07-12 19:16:41 +0200
committerNicolas Hillegeer <nicolas@hillegeer.com>2014-07-16 19:05:35 +0200
commit1710fa43376f4844abe056b3f87aece1845ff89a (patch)
tree7e25711a7829c27471dad6a15c72abe2b7c712ab /src/nvim/types.h
parent109c70dc60b763362923549beeef312324fefba4 (diff)
downloadrneovim-1710fa43376f4844abe056b3f87aece1845ff89a.tar.gz
rneovim-1710fa43376f4844abe056b3f87aece1845ff89a.tar.bz2
rneovim-1710fa43376f4844abe056b3f87aece1845ff89a.zip
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.
Diffstat (limited to 'src/nvim/types.h')
-rw-r--r--src/nvim/types.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nvim/types.h b/src/nvim/types.h
index a3c4509756..ad905aa95b 100644
--- a/src/nvim/types.h
+++ b/src/nvim/types.h
@@ -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.