Changeset 02a99d2 in mainline for include/list.h


Ignore:
Timestamp:
2005-05-11T19:51:55Z (19 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
69515260
Parents:
45671f48
Message:

NDEBUG debug symbol, ASSERT debug macro, fancier panic() in debug mode
indentation fixes, ASSERTs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • include/list.h

    r45671f48 r02a99d2  
    6969}
    7070
    71 #define list_empty(head) (((head)->next == (head))?1:0)
     71#define list_empty(head) (((head)->next == (head))?true:false)
    7272
    7373#define list_get_instance(link,type,member) (type *)(((__u8*)(link))-((__u8*)&(((type *)NULL)->member)))
Note: See TracChangeset for help on using the changeset viewer.