Changeset 84239b1 in mainline for uspace/srv
- Timestamp:
- 2018-03-11T19:39:11Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f3d47c97
- Parents:
- 850fd32
- Location:
- uspace/srv
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/mfs/mfs_ops.c
r850fd32 r84239b1 825 825 { 826 826 errno_t rc; 827 errno_t tmp; 827 828 fs_node_t *fn = NULL; 828 829 … … 926 927 return rc; 927 928 out_error: 928 ; 929 errno_t tmp = mfs_node_put(fn); 929 tmp = mfs_node_put(fn); 930 930 async_answer_0(callid, tmp != EOK ? tmp : rc); 931 931 return tmp != EOK ? tmp : rc; -
uspace/srv/hid/rfb/rfb.h
r850fd32 r84239b1 139 139 uint16_t first_color; 140 140 uint16_t color_count; 141 } __attribute ((packed)) rfb_set_color_map_entries_t;141 } __attribute__((packed)) rfb_set_color_map_entries_t; 142 142 143 143 typedef struct { -
uspace/srv/net/slip/slip.c
r850fd32 r84239b1 239 239 240 240 while (true) { 241 for (sdu.size = 0; sdu.size < sizeof(recv_final); /**/) { 241 sdu.size = 0; 242 while (sdu.size < sizeof(recv_final)) { 242 243 ch = read_buffered(chardev); 243 244 switch (ch) { -
uspace/srv/vfs/vfs.h
r850fd32 r84239b1 60 60 } fs_info_t; 61 61 62 /** 63 * VFS_PAIR uniquely represents a file system instance. 64 */ 65 #define VFS_PAIR \ 66 fs_handle_t fs_handle; \ 62 /** Uniquely represents a file system instance. */ 63 typedef struct { 64 fs_handle_t fs_handle; 67 65 service_id_t service_id; 68 69 /** 70 * VFS_TRIPLET uniquely identifies a file system node (e.g. directory, file) but 71 * doesn't contain any state. For a stateful structure, see vfs_node_t.66 } vfs_pair_t; 67 68 /** Uniquely identifies a file system node (e.g. directory, file) 69 * but doesn't contain any state. For a stateful structure, see vfs_node_t. 72 70 * 73 71 * @note fs_handle, service_id and index are meant to be returned in one 74 72 * IPC reply. 75 73 */ 76 #define VFS_TRIPLET \ 77 VFS_PAIR; \ 74 typedef struct { 75 fs_handle_t fs_handle; 76 service_id_t service_id; 78 77 fs_index_t index; 79 80 typedef struct {81 VFS_PAIR;82 } vfs_pair_t;83 84 typedef struct {85 VFS_TRIPLET;86 78 } vfs_triplet_t; 87 79 … … 103 95 */ 104 96 typedef struct _vfs_node { 105 VFS_TRIPLET; /**< Identity of the node. */ 97 /* 98 * Identity of the node 99 */ 100 101 fs_handle_t fs_handle; 102 service_id_t service_id; 103 fs_index_t index; 106 104 107 105 /**
Note:
See TracChangeset
for help on using the changeset viewer.