Subversion Repositories HelenOS

Rev

Rev 2106 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2106 Rev 2446
Line 178... Line 178...
178
static inline void headless_list_concat(link_t *part1, link_t *part2)
178
static inline void headless_list_concat(link_t *part1, link_t *part2)
179
{
179
{
180
    headless_list_split_or_concat(part1, part2);
180
    headless_list_split_or_concat(part1, part2);
181
}
181
}
182
 
182
 
183
#define list_get_instance(link,type,member) \
183
#define list_get_instance(link, type, member) \
184
    ((type *)(((uint8_t *)(link)) - ((uint8_t *)&(((type *)NULL)->member))))
184
    ((type *)(((uint8_t *)(link)) - ((uint8_t *)&(((type *)NULL)->member))))
185
 
185
 
186
extern bool list_member(const link_t *link, const link_t *head);
186
extern bool list_member(const link_t *link, const link_t *head);
187
extern void list_concat(link_t *head1, link_t *head2);
187
extern void list_concat(link_t *head1, link_t *head2);
188
 
188