diff options
author | Michael Reed <m.reed@mykolab.com> | 2015-01-14 00:38:28 -0500 |
---|---|---|
committer | Michael Reed <m.reed@mykolab.com> | 2015-01-14 15:07:16 -0500 |
commit | d86ebc7afb0f80a597d1361f54e838ce4689e36c (patch) | |
tree | 3874f9594796f75e7d1a97bf35b7d591a7389c9c /src/nvim/eval.c | |
parent | 9b4f6fbd33ebd452d472b0333accfcb34e01173b (diff) | |
download | rneovim-d86ebc7afb0f80a597d1361f54e838ce4689e36c.tar.gz rneovim-d86ebc7afb0f80a597d1361f54e838ce4689e36c.tar.bz2 rneovim-d86ebc7afb0f80a597d1361f54e838ce4689e36c.zip |
Macro cleanup: PROTO
Regarding dict_lookup() in eval.c: both definitions are the same, the
only difference being the spacing between the indirection operator and
the indentation level.
Diffstat (limited to 'src/nvim/eval.c')
-rw-r--r-- | src/nvim/eval.c | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/src/nvim/eval.c b/src/nvim/eval.c index d60ce2de73..4eb9cd2afa 100644 --- a/src/nvim/eval.c +++ b/src/nvim/eval.c @@ -499,7 +499,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; @@ -4847,7 +4847,6 @@ list_equal ( return item1 == NULL && item2 == NULL; } -#if defined(PROTO) /* * Return the dictitem that an entry in a hashtable points to. */ @@ -4855,12 +4854,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. @@ -18047,7 +18040,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; |