Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/devman/dev.c

    rb7fd2a0 r59dc181  
    127127
    128128/** Get list of device functions. */
    129 errno_t dev_get_functions(dev_tree_t *tree, dev_node_t *dev,
     129int dev_get_functions(dev_tree_t *tree, dev_node_t *dev,
    130130    devman_handle_t *hdl_buf, size_t buf_size, size_t *act_size)
    131131{
     
    144144
    145145        size_t pos = 0;
    146         list_foreach(dev->functions, dev_functions, fun_node_t, fun) {
     146        list_foreach(dev->functions, item) {
     147                fun_node_t *fun =
     148                    list_get_instance(item, fun_node_t, dev_functions);
     149
    147150                if (pos < buf_cnt) {
    148151                        hdl_buf[pos] = fun->handle;
Note: See TracChangeset for help on using the changeset viewer.