Changes in uspace/lib/label/src/label.c [b7fd2a0:5772aa1] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/label/src/label.c
rb7fd2a0 r5772aa1 51 51 }; 52 52 53 errno_t label_open(label_bd_t *bd, label_t **rlabel)53 int label_open(label_bd_t *bd, label_t **rlabel) 54 54 { 55 55 label_ops_t **ops; 56 errno_t rc;56 int rc; 57 57 58 58 ops = &probe_list[0]; … … 67 67 } 68 68 69 errno_t label_create(label_bd_t *bd, label_type_t ltype, label_t **rlabel)69 int label_create(label_bd_t *bd, label_type_t ltype, label_t **rlabel) 70 70 { 71 71 label_ops_t *ops = NULL; … … 96 96 } 97 97 98 errno_t label_destroy(label_t *label)98 int label_destroy(label_t *label) 99 99 { 100 100 return label->ops->destroy(label); 101 101 } 102 102 103 errno_t label_get_info(label_t *label, label_info_t *linfo)103 int label_get_info(label_t *label, label_info_t *linfo) 104 104 { 105 105 return label->ops->get_info(label, linfo); … … 121 121 } 122 122 123 errno_t label_part_create(label_t *label, label_part_spec_t *pspec,123 int label_part_create(label_t *label, label_part_spec_t *pspec, 124 124 label_part_t **rpart) 125 125 { … … 127 127 } 128 128 129 errno_t label_part_destroy(label_part_t *part)129 int label_part_destroy(label_part_t *part) 130 130 { 131 131 return part->label->ops->part_destroy(part); … … 137 137 } 138 138 139 errno_t label_suggest_ptype(label_t *label, label_pcnt_t pcnt,139 int label_suggest_ptype(label_t *label, label_pcnt_t pcnt, 140 140 label_ptype_t *ptype) 141 141 {
Note:
See TracChangeset
for help on using the changeset viewer.