src/list.c
void
list_rem_watch(list_T *l, listwatch_T *lwrem)
{
    listwatch_T	*lw, **lwp;

    lwp = &l->lv_watch;
    for (lw = l->lv_watch; lw != NULL; lw = lw->lw_next)
    {
	if (lw == lwrem)
	{
	    *lwp = lw->lw_next;
	    break;
	}
	lwp = &lw->lw_next;
    }
}
/*
 * Remove a watcher from a list.
 * No warning when it isn't found...
 */
Remove a watcher from a list.
No warning when it isn't found
Remove a watcher from a list . No warning when it isn ' t found
void
list_rem_watch(list_T *l, listwatch_T *lwrem)
{
    listwatch_T	*lw, **lwp;
    lwp = &l->lv_watch;
    for (lw = l->lv_watch; lw != NULL; lw = lw->lw_next)
    {
	if (lw == lwrem)
	{
	    *lwp = lw->lw_next;
	    break;
	}
	lwp = &lw->lw_next;
    }
}
void list_rem_watch ( list_T * l , listwatch_T * lwrem ) { listwatch_T * lw , * * lwp ; lwp = & l -> lv_watch ; for ( lw = l -> lv_watch ; lw != NULL ; lw = lw -> lw_next ) { if ( lw == lwrem ) { * lwp = lw -> lw_next ; break ; } lwp = & lw -> lw_next ; } }
Remove a watcher from a list.
Remove a watcher from a list .