Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/net/nil/nildummy/nildummy.c

    r4eca056 rfb04cba8  
    153153    size_t mtu)
    154154{
    155         nildummy_device_t *device;
     155        nildummy_device_ref device;
    156156        int index;
    157157        int rc;
     
    192192       
    193193        /* Create a new device */
    194         device = (nildummy_device_t *) malloc(sizeof(nildummy_device_t));
     194        device = (nildummy_device_ref) malloc(sizeof(nildummy_device_t));
    195195        if (!device)
    196196                return ENOMEM;
     
    248248 */
    249249static int nildummy_addr_message(device_id_t device_id,
    250     measured_string_t **address)
    251 {
    252         nildummy_device_t *device;
     250    measured_string_ref *address)
     251{
     252        nildummy_device_ref device;
    253253
    254254        if (!address)
     
    282282    size_t *prefix, size_t *content, size_t *suffix)
    283283{
    284         nildummy_device_t *device;
     284        nildummy_device_ref device;
    285285
    286286        if (!addr_len || !prefix || !content || !suffix)
     
    357357    services_t sender)
    358358{
    359         nildummy_device_t *device;
     359        nildummy_device_ref device;
    360360
    361361        fibril_rwlock_read_lock(&nildummy_globals.devices_lock);
     
    377377    ipc_call_t *call, ipc_call_t *answer, int *answer_count)
    378378{
    379         measured_string_t *address;
     379        measured_string_ref address;
    380380        packet_t packet;
    381381        size_t addrlen;
Note: See TracChangeset for help on using the changeset viewer.