Changeset 45671f48 in mainline for include/list.h


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

typedef short bool (as logical type), defines of false and true
const qualifier for list_member()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • include/list.h

    rd7568a9f r45671f48  
    7373#define list_get_instance(link,type,member) (type *)(((__u8*)(link))-((__u8*)&(((type *)NULL)->member)))
    7474
    75 extern int list_member(link_t *link, link_t *head);
     75extern bool list_member(const link_t *link, const link_t *head);
    7676extern void list_concat(link_t *head1, link_t *head2);
    7777
Note: See TracChangeset for help on using the changeset viewer.