Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/block/block.c

    r5e801dc r0db0df2  
    11/*
     2 * Copyright (c) 2024 Jiri Svoboda
    23 * Copyright (c) 2008 Jakub Jermar
    34 * Copyright (c) 2008 Martin Decky
     
    145146}
    146147
    147 errno_t block_init(service_id_t service_id, size_t comm_size)
     148errno_t block_init(service_id_t service_id)
    148149{
    149150        bd_t *bd;
     
    253254}
    254255
    255 static bool cache_key_equal(const void *key, const ht_link_t *item)
     256static bool cache_key_equal(const void *key, size_t hash, const ht_link_t *item)
    256257{
    257258        const aoff64_t *lba = key;
     
    260261}
    261262
    262 static hash_table_ops_t cache_ops = {
     263static const hash_table_ops_t cache_ops = {
    263264        .hash = cache_hash,
    264265        .key_hash = cache_key_hash,
Note: See TracChangeset for help on using the changeset viewer.