Changeset 849ed54 in mainline for uspace/lib/socket/adt/dynamic_fifo.c
- Timestamp:
- 2010-03-30T18:39:04Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 7553689
- Parents:
- 7d6fe4db
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/socket/adt/dynamic_fifo.c
r7d6fe4db r849ed54 39 39 #include <mem.h> 40 40 41 #include "dynamic_fifo.h"41 #include <adt/dynamic_fifo.h> 42 42 43 43 /** Internal magic value for a consistency check. … … 57 57 * @returns FALSE otherwise. 58 58 */ 59 int dyn_fifo_is_valid(dyn_fifo_ref fifo); 60 61 int dyn_fifo_is_valid(dyn_fifo_ref fifo){ 59 static int dyn_fifo_is_valid(dyn_fifo_ref fifo){ 62 60 return fifo && (fifo->magic_value == DYN_FIFO_MAGIC_VALUE); 63 61 }
Note:
See TracChangeset
for help on using the changeset viewer.