mirror of
https://github.com/neovim/neovim.git
synced 2025-09-13 23:08:16 +00:00
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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user