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 /console/input.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 'console/input.h')
-rw-r--r-- | console/input.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/console/input.h b/console/input.h index 3f66e1dd..2f1c37c2 100644 --- a/console/input.h +++ b/console/input.h @@ -40,7 +40,7 @@ void input_destroy (input_t input); DATALEN) or -1 and the error number in errno. If NONBLOCK is not zero, return with -1 and set errno to EWOULDBLOCK if operation would block for a long time. */ -ssize_t input_enqueue (input_t input, int nonblock, char *data, +ssize_t input_enqueue (input_t input, int nonblock, const char *data, size_t datalen); /* Remove DATALEN characters from the input queue and put them in the |