Subversion Repositories HelenOS-historic

Rev

Rev 1702 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1702 Rev 1780
Line 173... Line 173...
173
static inline void headless_list_concat(link_t *part1, link_t *part2)
173
static inline void headless_list_concat(link_t *part1, link_t *part2)
174
{
174
{
175
    headless_list_split_or_concat(part1, part2);
175
    headless_list_split_or_concat(part1, part2);
176
}
176
}
177
 
177
 
178
#define list_get_instance(link,type,member) (type *)(((__u8*)(link))-((__u8*)&(((type *)NULL)->member)))
178
#define list_get_instance(link,type,member) (type *)(((uint8_t*)(link))-((uint8_t*)&(((type *)NULL)->member)))
179
 
179
 
180
extern bool list_member(const link_t *link, const link_t *head);
180
extern bool list_member(const link_t *link, const link_t *head);
181
extern void list_concat(link_t *head1, link_t *head2);
181
extern void list_concat(link_t *head1, link_t *head2);
182
 
182
 
183
#endif
183
#endif