Changeset 7a252ec8 in mainline for uspace/lib/drv/generic/dev_iface.c
- Timestamp:
- 2010-10-21T20:13:40Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 848e3d15
- Parents:
- a79d88d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/drv/generic/dev_iface.c
ra79d88d r7a252ec8 35 35 /** @file 36 36 */ 37 37 38 38 #include "dev_iface.h" 39 39 #include "remote_res.h" 40 40 #include "remote_char.h" 41 41 42 42 static iface_dipatch_table_t remote_ifaces = { 43 43 .ifaces = { … … 49 49 remote_iface_t* get_remote_iface(int idx) 50 50 { 51 assert(is_valid_iface_idx(idx)); 52 return remote_ifaces.ifaces[idx]; 51 assert(is_valid_iface_idx(idx)); 52 return remote_ifaces.ifaces[idx]; 53 53 } 54 54 55 remote_iface_func_ptr_t get_remote_method(remote_iface_t *rem_iface, ipcarg_t iface_method_idx) 55 remote_iface_func_ptr_t 56 get_remote_method(remote_iface_t *rem_iface, ipcarg_t iface_method_idx) 56 57 { 57 58 if (iface_method_idx >= rem_iface->method_count) { … … 60 61 return rem_iface->methods[iface_method_idx]; 61 62 } 62 63 64 63 65 64 /** 66 65 * @}
Note:
See TracChangeset
for help on using the changeset viewer.