Insert the null scheme at the head. This does not change any

functionality, but creates an invariant: the first element
on the list is always the null scheme.
This commit is contained in:
Marcel Moolenaar 2008-09-29 02:39:02 +00:00
parent 6fdacf52be
commit 1e2fbcfa44

View File

@ -1727,7 +1727,7 @@ static void
g_part_init(struct g_class *mp)
{
TAILQ_INSERT_TAIL(&g_part_schemes, &g_part_null_scheme, scheme_list);
TAILQ_INSERT_HEAD(&g_part_schemes, &g_part_null_scheme, scheme_list);
}
static void