Changeset 98e4507 in mainline for uspace/lib/c/include/adt/fifo.h
- Timestamp:
- 2011-05-20T01:13:40Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 5c460cc
- Parents:
- a0bb65af (diff), 326bf65 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/adt/fifo.h
ra0bb65af r98e4507 51 51 typedef unsigned long fifo_index_t; 52 52 53 #define FIFO_CREATE_STATIC(name, t, itms) 54 struct { 55 t fifo[(itms)]; 56 fifo_count_t items; 57 fifo_index_t head; 58 fifo_index_t tail; 53 #define FIFO_CREATE_STATIC(name, t, itms) \ 54 struct { \ 55 t fifo[(itms)]; \ 56 fifo_count_t items; \ 57 fifo_index_t head; \ 58 fifo_index_t tail; \ 59 59 } name 60 60
Note:
See TracChangeset
for help on using the changeset viewer.