aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/eval.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2015-01-15 09:59:45 -0500
committerJustin M. Keyes <justinkz@gmail.com>2015-01-15 09:59:45 -0500
commit5c6348e9995b0dde23a2de99263e9e0e3a72fcd2 (patch)
tree9640f1bb8888959d4a34db04a5e06d9bde48ed7b /src/nvim/eval.c
parent5f24549ab1ecd69236be2761a2e43690ba7cf283 (diff)
parentd2e7cce560932e5e8032656598b0e27e1c06ec0d (diff)
downloadrneovim-5c6348e9995b0dde23a2de99263e9e0e3a72fcd2.tar.gz
rneovim-5c6348e9995b0dde23a2de99263e9e0e3a72fcd2.tar.bz2
rneovim-5c6348e9995b0dde23a2de99263e9e0e3a72fcd2.zip
Merge pull request #1816 from Pyrohh/macro_cleanup
Macro cleanup
Diffstat (limited to 'src/nvim/eval.c')
-rw-r--r--src/nvim/eval.c11
1 files changed, 2 insertions, 9 deletions
diff --git a/src/nvim/eval.c b/src/nvim/eval.c
index 417efd52a1..1833461fa9 100644
--- a/src/nvim/eval.c
+++ b/src/nvim/eval.c
@@ -500,7 +500,7 @@ void eval_init(void)
job_event_pool = kmp_init(JobEventPool);
}
-#if defined(EXITFREE) || defined(PROTO)
+#if defined(EXITFREE)
void eval_clear(void)
{
struct vimvar *p;
@@ -4848,7 +4848,6 @@ list_equal (
return item1 == NULL && item2 == NULL;
}
-#if defined(PROTO)
/*
* Return the dictitem that an entry in a hashtable points to.
*/
@@ -4856,12 +4855,6 @@ dictitem_T *dict_lookup(hashitem_T *hi)
{
return HI2DI(hi);
}
-#endif
-
-dictitem_T * dict_lookup(hashitem_T *hi)
-{
- return HI2DI(hi);
-}
/*
* Return TRUE when two dictionaries have exactly the same key/values.
@@ -18050,7 +18043,7 @@ static ufunc_T *find_func(char_u *name)
return NULL;
}
-#if defined(EXITFREE) || defined(PROTO)
+#if defined(EXITFREE)
void free_all_functions(void)
{
hashitem_T *hi;