Changeset 9be30cdf in mainline for uspace/lib/drv/generic/remote_nic.c
- Timestamp:
- 2013-12-31T02:50:45Z (11 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- c1ee46f
- Parents:
- 208b5f5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/drv/generic/remote_nic.c
r208b5f5 r9be30cdf 40 40 #include <ipc/services.h> 41 41 #include <sys/time.h> 42 #include <macros.h> 43 42 44 #include "ops/nic.h" 43 45 … … 1198 1200 * 1199 1201 */ 1200 static remote_iface_func_ptr_t remote_nic_iface_ops[] = {1202 static const remote_iface_func_ptr_t remote_nic_iface_ops[] = { 1201 1203 &remote_nic_send_frame, 1202 1204 &remote_nic_callback_create, … … 1249 1251 */ 1250 1252 remote_iface_t remote_nic_iface = { 1251 .method_count = sizeof(remote_nic_iface_ops) / 1252 sizeof(remote_iface_func_ptr_t), 1253 .method_count = ARRAY_SIZE(remote_nic_iface_ops), 1253 1254 .methods = remote_nic_iface_ops 1254 1255 };
Note:
See TracChangeset
for help on using the changeset viewer.