src/slist.h
static inline void
slist_set_head(struct slist *new_head, const struct slist *old_head)
{
    *new_head = *old_head;
}
/*
 * Set the new head of a list.
 *
 * This function is an optimized version of :
 * list_init(&new_list);
 * list_concat(&new_list, &old_list);
 */
Set the new head of a list.
Set the new head of a list .
static inline void
slist_set_head(struct slist *new_head, const struct slist *old_head)
{
    *new_head = *old_head;
}
static inline void slist_set_head ( struct slist * new_head , const struct slist * old_head ) { * new_head = * old_head ; }
Set the new head of a list.
Set the new head of a list .