aboutsummaryrefslogtreecommitdiff
path: root/console/display.h
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2022-01-17 00:32:29 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2022-01-17 00:43:09 +0100
commitf5fb7c713ea443469406a691e60a6f4567a4cb75 (patch)
treeb16d979915b5ad7e32ffe77ca5f5006dc639a16e /console/display.h
parentdd3048b2e483f66571cfa1b2ccebb2091b9ad990 (diff)
downloadhurd-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/display.h')
-rw-r--r--console/display.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/console/display.h b/console/display.h
index d64cf69e..3445fb98 100644
--- a/console/display.h
+++ b/console/display.h
@@ -59,7 +59,7 @@ error_t display_get_owner (display_t display, pid_t *pid);
be smaller than 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 display_output (display_t display, int nonblock, char *data,
+ssize_t display_output (display_t display, int nonblock, const char *data,
size_t datalen);
mach_port_t display_get_filemap (display_t display, vm_prot_t prot);