From f5fb7c713ea443469406a691e60a6f4567a4cb75 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Mon, 17 Jan 2022 00:32:29 +0100 Subject: Fix const warnings Now that the RPCs have const, this forces us cleaning our const-meant functions. --- console/input.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'console/input.h') 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 -- cgit v1.2.3