Changeset e89a06a in mainline for uspace/srv/net


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.)

Location:
uspace/srv/net
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/net/ethip/ethip_nic.c

    r6419c6e re89a06a  
    224224}
    225225
    226 static void ethip_nic_cat_change_cb(void)
     226static void ethip_nic_cat_change_cb(void *arg)
    227227{
    228228        (void) ethip_nic_check_new();
     
    323323errno_t ethip_nic_discovery_start(void)
    324324{
    325         errno_t rc = loc_register_cat_change_cb(ethip_nic_cat_change_cb);
     325        errno_t rc = loc_register_cat_change_cb(ethip_nic_cat_change_cb, NULL);
    326326        if (rc != EOK) {
    327327                log_msg(LOG_DEFAULT, LVL_ERROR, "Failed registering callback for NIC "
  • uspace/srv/net/nconfsrv/iplink.c

    r6419c6e re89a06a  
    170170}
    171171
    172 static void ncs_link_cat_change_cb(void)
     172static void ncs_link_cat_change_cb(void *arg)
    173173{
    174174        (void) ncs_link_check_new();
     
    179179        errno_t rc;
    180180
    181         rc = loc_register_cat_change_cb(ncs_link_cat_change_cb);
     181        rc = loc_register_cat_change_cb(ncs_link_cat_change_cb, NULL);
    182182        if (rc != EOK) {
    183183                log_msg(LOG_DEFAULT, LVL_ERROR, "Failed registering callback for IP link "
Note: See TracChangeset for help on using the changeset viewer.