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:
parent
6fdacf52be
commit
1e2fbcfa44
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user