FreeBSD/usr.sbin/pmcannotate/pmcannotate.c
/*
 * Flush the raw entries general queue.
 */
Flush the raw entries general queue.
Flush the raw entries general queue .
static void
general_deleteall(void)
{
	struct entry *obj;
	while (TAILQ_EMPTY(&mainlst) == 0) {
		obj = TAILQ_FIRST(&mainlst);
		TAILQ_REMOVE(&mainlst, obj, en_iter);
	}
}
static void general_deleteall ( void ) { struct entry * obj ; while ( TAILQ_EMPTY ( & mainlst ) == 0 ) { obj = TAILQ_FIRST ( & mainlst ) ; TAILQ_REMOVE ( & mainlst , obj , en_iter ) ; } }
Flush the raw entries general queue.
Flush the raw entries general queue .