Changeset 936351c1 in mainline for libadt/include/list.h


Ignore:
Timestamp:
2006-03-14T23:48:33Z (19 years ago)
Author:
Ondrej Palkovsky <ondrap@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
d73942c
Parents:
4f34b6a
Message:

Completed asynchronous IPC.
Fixed sbrk.
Cleared some unnecessary defines in malloc.
Changed u8 * to char * in list.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libadt/include/list.h

    r4f34b6a r936351c1  
    178178}
    179179
    180 #define list_get_instance(link,type,member) (type *)(((__u8*)(link))-((__u8*)&(((type *)NULL)->member)))
     180#define list_get_instance(link,type,member) (type *)(((char *)(link))-((char *)&(((type *)NULL)->member)))
    181181
    182182extern int list_member(const link_t *link, const link_t *head);
Note: See TracChangeset for help on using the changeset viewer.