Changes in uspace/srv/net/nil/nildummy/nildummy.c [4eca056:fb04cba8] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/nil/nildummy/nildummy.c
r4eca056 rfb04cba8 153 153 size_t mtu) 154 154 { 155 nildummy_device_ t *device;155 nildummy_device_ref device; 156 156 int index; 157 157 int rc; … … 192 192 193 193 /* Create a new device */ 194 device = (nildummy_device_ t *) malloc(sizeof(nildummy_device_t));194 device = (nildummy_device_ref) malloc(sizeof(nildummy_device_t)); 195 195 if (!device) 196 196 return ENOMEM; … … 248 248 */ 249 249 static 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; 253 253 254 254 if (!address) … … 282 282 size_t *prefix, size_t *content, size_t *suffix) 283 283 { 284 nildummy_device_ t *device;284 nildummy_device_ref device; 285 285 286 286 if (!addr_len || !prefix || !content || !suffix) … … 357 357 services_t sender) 358 358 { 359 nildummy_device_ t *device;359 nildummy_device_ref device; 360 360 361 361 fibril_rwlock_read_lock(&nildummy_globals.devices_lock); … … 377 377 ipc_call_t *call, ipc_call_t *answer, int *answer_count) 378 378 { 379 measured_string_ t *address;379 measured_string_ref address; 380 380 packet_t packet; 381 381 size_t addrlen;
Note:
See TracChangeset
for help on using the changeset viewer.