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 /libpipe/dgram.c | |
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 'libpipe/dgram.c')
-rw-r--r-- | libpipe/dgram.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libpipe/dgram.c b/libpipe/dgram.c index 30695f1e..96731ff2 100644 --- a/libpipe/dgram.c +++ b/libpipe/dgram.c @@ -25,9 +25,9 @@ /* See the definition of struct pipe_class in "pipe.h" for documentation. */ -static error_t +static error_t dgram_write (struct pq *pq, void *source, - char *data, size_t data_len, size_t *amount) + const char *data, size_t data_len, size_t *amount) { struct packet *packet = pq_queue (pq, PACKET_TYPE_DATA, source); if (!packet) |