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.
This commit is contained in:
Michael Reed
2015-01-14 00:38:28 -05:00
parent 9b4f6fbd33
commit d86ebc7afb
29 changed files with 51 additions and 59 deletions

View File

@@ -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;