pet_skip_info_seq_add_type: extract out pet_skip_info_seq_prefix
commitc8a33733d9316e71e4e0da0374b8a90a9e5d877a
authorSven Verdoolaege <skimo@kotnet.org>
Tue, 8 Jul 2014 08:42:15 +0000 (8 10:42 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Wed, 4 Feb 2015 12:04:34 +0000 (4 13:04 +0100)
tree398179dc8c77c824d78a42614776fd7ff3bb6023
parent6e06a38fa6552c6f8d5a7dfe18ba7c18857f1b32
pet_skip_info_seq_add_type: extract out pet_skip_info_seq_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