Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/fs/exfat/exfat_idx.c

    r38d150e rb7fd2a0  
    328328}
    329329
    330 static int exfat_idx_create(exfat_idx_t **fidxp, service_id_t service_id)
     330static errno_t exfat_idx_create(exfat_idx_t **fidxp, service_id_t service_id)
    331331{
    332332        exfat_idx_t *fidx;
     
    350350}
    351351
    352 int exfat_idx_get_new(exfat_idx_t **fidxp, service_id_t service_id)
     352errno_t exfat_idx_get_new(exfat_idx_t **fidxp, service_id_t service_id)
    353353{
    354354        exfat_idx_t *fidx;
    355         int rc;
     355        errno_t rc;
    356356
    357357        fibril_mutex_lock(&used_lock);
     
    386386                fidx = hash_table_get_inst(l, exfat_idx_t, uph_link);
    387387        } else {
    388                 int rc;
     388                errno_t rc;
    389389
    390390                rc = exfat_idx_create(&fidx, service_id);
     
    468468}
    469469
    470 int exfat_idx_init(void)
     470errno_t exfat_idx_init(void)
    471471{
    472472        if (!hash_table_create(&up_hash, 0, 0, &uph_ops))
     
    487487}
    488488
    489 int exfat_idx_init_by_service_id(service_id_t service_id)
     489errno_t exfat_idx_init_by_service_id(service_id_t service_id)
    490490{
    491491        unused_t *u;
    492         int rc = EOK;
     492        errno_t rc = EOK;
    493493
    494494        u = (unused_t *) malloc(sizeof(unused_t));
Note: See TracChangeset for help on using the changeset viewer.