Changeset feeac0d in mainline for uspace/srv/audio/hound/connection.h


Ignore:
Timestamp:
2013-09-10T16:32:35Z (11 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
4982d87
Parents:
e8d6ce2
Message:

Simplify use of list_foreach.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/audio/hound/connection.h

    re8d6ce2 rfeeac0d  
    7676 * @return pointer to a connection structure, NULL on failure.
    7777 */
    78 static inline connection_t * connection_from_sink_list(link_t *l)
    79 {
    80         return l ? list_get_instance(l, connection_t, sink_link) : NULL;
    81 }
    82 
    83 /**
    84  * List instance helper.
    85  * @param l link
    86  * @return pointer to a connection structure, NULL on failure.
    87  */
    8878static inline connection_t * connection_from_hound_list(link_t *l)
    8979{
Note: See TracChangeset for help on using the changeset viewer.