Changeset e89a06a in mainline for uspace/srv/audio/hound/main.c


Ignore:
Timestamp:
2018-07-06T22:13:20Z (7 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
be0f5e4
Parents:
6419c6e
Message:

Encapsulate partitions list in volume server. (Global state is not good coding practice.)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/audio/hound/main.c

    r6419c6e re89a06a  
    6262}
    6363
    64 static void scan_for_devices(void)
     64static void scan_for_devices(void *arg)
    6565{
    6666        hound_server_devices_iterate(device_callback);
     
    9494        }
    9595
    96         ret = hound_server_set_device_change_callback(scan_for_devices);
     96        ret = hound_server_set_device_change_callback(scan_for_devices, NULL);
    9797        if (ret != EOK) {
    9898                log_fatal("Failed to register for device changes: %s",
     
    103103        log_info("Running with service id %" PRIun, id);
    104104
    105         scan_for_devices();
     105        scan_for_devices(NULL);
    106106        task_retval(0);
    107107        async_manager();
Note: See TracChangeset for help on using the changeset viewer.