Changeset 50c57df in mainline for uspace/lib/drv/generic/remote_char.c
- Timestamp:
- 2011-01-09T17:40:10Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 41b56084
- Parents:
- 36a6e11
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/drv/generic/remote_char.c
r36a6e11 r50c57df 37 37 #include <errno.h> 38 38 39 #include "char .h"39 #include "char_dev.h" 40 40 #include "driver.h" 41 41 … … 46 46 47 47 /** Remote character interface operations. */ 48 static remote_iface_func_ptr_t remote_char_ iface_ops[] = {48 static remote_iface_func_ptr_t remote_char_dev_iface_ops[] = { 49 49 &remote_char_read, 50 50 &remote_char_write … … 56 56 * character interface. 57 57 */ 58 remote_iface_t remote_char_ iface = {59 .method_count = sizeof(remote_char_ iface_ops) /58 remote_iface_t remote_char_dev_iface = { 59 .method_count = sizeof(remote_char_dev_iface_ops) / 60 60 sizeof(remote_iface_func_ptr_t), 61 .methods = remote_char_ iface_ops61 .methods = remote_char_dev_iface_ops 62 62 }; 63 63 … … 75 75 ipc_call_t *call) 76 76 { 77 char_ iface_t *char_iface = (char_iface_t *) iface;77 char_dev_ops_t *char_iface = (char_dev_ops_t *) iface; 78 78 ipc_callid_t cid; 79 79 … … 122 122 ipc_call_t *call) 123 123 { 124 char_ iface_t *char_iface = (char_iface_t *) iface;124 char_dev_ops_t *char_iface = (char_dev_ops_t *) iface; 125 125 ipc_callid_t cid; 126 126 size_t len;
Note:
See TracChangeset
for help on using the changeset viewer.