diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2022-01-17 00:32:29 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2022-01-17 00:43:09 +0100 |
commit | f5fb7c713ea443469406a691e60a6f4567a4cb75 (patch) | |
tree | b16d979915b5ad7e32ffe77ca5f5006dc639a16e /storeio/open.h | |
parent | dd3048b2e483f66571cfa1b2ccebb2091b9ad990 (diff) | |
download | hurd-f5fb7c713ea443469406a691e60a6f4567a4cb75.tar.gz hurd-f5fb7c713ea443469406a691e60a6f4567a4cb75.tar.bz2 hurd-f5fb7c713ea443469406a691e60a6f4567a4cb75.zip |
Fix const warnings
Now that the RPCs have const, this forces us cleaning our const-meant
functions.
Diffstat (limited to 'storeio/open.h')
-rw-r--r-- | storeio/open.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/storeio/open.h b/storeio/open.h index 78ad95ca..6be930a6 100644 --- a/storeio/open.h +++ b/storeio/open.h @@ -50,7 +50,7 @@ void open_free (struct open *open); (which may be ignored if the device doesn't support random access), and returns the number of bytes written in AMOUNT. If no error occurs, zero is returned, otherwise the error code is returned. */ -error_t open_write (struct open *open, off_t offs, void *buf, size_t len, +error_t open_write (struct open *open, off_t offs, const void *buf, size_t len, size_t *amount); /* Reads up to AMOUNT bytes from the device into BUF and BUF_LEN using the |