pet_skip_info_if_add_type: extract out pet_skip_info_if_prefix
commit6e06a38fa6552c6f8d5a7dfe18ba7c18857f1b32
authorSven Verdoolaege <skimo@kotnet.org>
Tue, 8 Jul 2014 08:37:59 +0000 (8 10:37 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Wed, 4 Feb 2015 12:04:34 +0000 (4 13:04 +0100)
tree21eabbaeb9f5c0e0a2e8db5503d2df0f680d6861
parent6f733bead3ed479849450d827af7a546e02c5a74
pet_skip_info_if_add_type: extract out pet_skip_info_if_prefix

The prefix handling is the only part where pet_skip_info_if_add_type and
pet_skip_info_seq_add_type differ.  By extracting this handling, we can
merge the two functions.  This will then allow us to perform
the modifications required for switching to schedule trees only once.

Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
skip.c