Changeset a7811f17 in mainline for uspace/srv/net/nil/nildummy/nildummy.c
- Timestamp:
- 2010-11-19T21:28:02Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a9c6b966
- Parents:
- 45f04f8 (diff), aaa3f33a (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/nil/nildummy/nildummy.c
r45f04f8 ra7811f17 153 153 size_t mtu) 154 154 { 155 nildummy_device_ refdevice;155 nildummy_device_t *device; 156 156 int index; 157 157 int rc; … … 192 192 193 193 /* Create a new device */ 194 device = (nildummy_device_ ref) malloc(sizeof(nildummy_device_t));194 device = (nildummy_device_t *) 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_ ref*address)251 { 252 nildummy_device_ refdevice;250 measured_string_t **address) 251 { 252 nildummy_device_t *device; 253 253 254 254 if (!address) … … 282 282 size_t *prefix, size_t *content, size_t *suffix) 283 283 { 284 nildummy_device_ refdevice;284 nildummy_device_t *device; 285 285 286 286 if (!addr_len || !prefix || !content || !suffix) … … 357 357 services_t sender) 358 358 { 359 nildummy_device_ refdevice;359 nildummy_device_t *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_ refaddress;379 measured_string_t *address; 380 380 packet_t packet; 381 381 size_t addrlen;
Note:
See TracChangeset
for help on using the changeset viewer.