Changes in uspace/lib/label/src/label.c [372df8f:5772aa1] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/label/src/label.c
r372df8f r5772aa1 36 36 #include <adt/list.h> 37 37 #include <errno.h> 38 #include <label .h>38 #include <label/label.h> 39 39 #include <mem.h> 40 40 #include <stdlib.h> … … 51 51 }; 52 52 53 int label_open( service_id_t sid, label_t **rlabel)53 int label_open(label_bd_t *bd, label_t **rlabel) 54 54 { 55 55 label_ops_t **ops; … … 58 58 ops = &probe_list[0]; 59 59 while (ops[0] != NULL) { 60 rc = ops[0]->open( sid, rlabel);60 rc = ops[0]->open(bd, rlabel); 61 61 if (rc == EOK) 62 62 return EOK; … … 67 67 } 68 68 69 int label_create( service_id_t sid, 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; … … 85 85 return ENOTSUP; 86 86 87 return ops->create( sid, rlabel);87 return ops->create(bd, rlabel); 88 88 } 89 89
Note:
See TracChangeset
for help on using the changeset viewer.