diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2023-10-03 21:34:37 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2023-10-03 21:34:37 +0200 |
commit | 6998d850c067a18eac3130f534309089f5e3da76 (patch) | |
tree | 5f9366119f7077ab74421fb5222e8b52a60526b6 /cache.h | |
parent | 516cc3dfe4cd44fe85ad999910f0abf0aff7f6ad (diff) |
Fix build
Diffstat (limited to 'cache.h')
-rw-r--r-- | cache.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -69,7 +69,7 @@ extern error_t cache_read (struct node *node, off_t offset, /* Writes at most LEN bytes from NODE at OFFSET into BUF. Returns the amount of data actually written in AMOUNT. */ extern error_t cache_write (struct node *node, off_t offset, - void *data, size_t len, size_t *amount); + const void *data, size_t len, size_t *amount); /* Sets the size of NODE and reduce/grow its cache. */ extern error_t cache_set_size (struct node *node, size_t size); |