Changeset 98000fb in mainline for kernel/generic/include/adt/fifo.h


Ignore:
Timestamp:
2009-06-03T19:34:45Z (15 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
301ff30
Parents:
69e68e3
Message:

remove redundant index_t and count_t types (which were always quite ambiguous and not actually needed)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/include/adt/fifo.h

    r69e68e3 r98000fb  
    6060        struct {                                        \
    6161                t fifo[(itms)];                         \
    62                 count_t items;                          \
    63                 index_t head;                           \
    64                 index_t tail;                           \
     62                size_t items;                           \
     63                size_t head;                            \
     64                size_t tail;                            \
    6565        } name = {                                      \
    6666                .items = (itms),                        \
     
    8181        struct {                                        \
    8282                t *fifo;                                \
    83                 count_t items;                          \
    84                 index_t head;                           \
    85                 index_t tail;                           \
     83                size_t items;                           \
     84                size_t head;                            \
     85                size_t tail;                            \
    8686        } name = {                                      \
    8787                .fifo = NULL,                           \
Note: See TracChangeset for help on using the changeset viewer.