Changeset 5a6cc679 in mainline for uspace/lib/c/generic/adt/circ_buf.c


Ignore:
Timestamp:
2018-01-31T02:21:24Z (7 years ago)
Author:
Jenda <jenda.jzqk73@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a0a9cc2
Parents:
132ab5d1
Message:

Merge commit '50f19b7ee8e94570b5c63896736c4eb49cfa18db' into forwardport

Not all ints are converted to errno_t in xhci tree yet, however it compiles and works :)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/generic/adt/circ_buf.c

    r132ab5d1 r5a6cc679  
    8282 * @return EOK on success, EAGAIN if circular buffer is full
    8383 */
    84 int circ_buf_push(circ_buf_t *cbuf, const void *data)
     84errno_t circ_buf_push(circ_buf_t *cbuf, const void *data)
    8585{
    8686        if (circ_buf_nfree(cbuf) == 0)
     
    9999 * @return EOK on success, EAGAIN if circular buffer is full
    100100 */
    101 int circ_buf_pop(circ_buf_t *cbuf, void *datab)
     101errno_t circ_buf_pop(circ_buf_t *cbuf, void *datab)
    102102{
    103103        if (cbuf->nused == 0)
Note: See TracChangeset for help on using the changeset viewer.