openbmc/build/tmp/deploy/sdk/witherspoon-2019-08-08/sysroots/armv6-openbmc-linux-gnueabi/usr/src/debug/sysfsutils/2.1.0-r5/sysfsutils-2.1.0/lib/dlist.c
void _dlist_swap(struct dlist* list, struct dl_node* a, struct dl_node* b)
{

    void* swap = a->data;
    a->data = b->data;
    b->data = swap;
}
/* internal use function
   swaps elements a and b
   No sense in juggling node pointers when we can just swap the data pointers
*/
internal use function
swaps elements a and b
No sense in juggling node pointers when we can just swap the data pointers
internal use function swaps elements a and b No sense in juggling node pointers when we can just swap the data pointers
void _dlist_swap(struct dlist* list, struct dl_node* a, struct dl_node* b)
{
    void* swap = a->data;
    a->data = b->data;
    b->data = swap;
}
void _dlist_swap ( struct dlist * list , struct dl_node * a , struct dl_node * b ) { void * swap = a -> data ; a -> data = b -> data ; b -> data = swap ; }
internal use function
swaps elements a and b
No sense in juggling node pointers when we can just swap the data pointers
internal use function swaps elements a and b No sense in juggling node pointers when we can just swap the data pointers