X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/putty/blobdiff_plain/6b0eeb4e4c9ecbff8eda72c5a1b49a448d6bbf3a..811453cbc32f1f0f14cfef25f54eabf2e3b28bd9:/unix/pty.c diff --git a/unix/pty.c b/unix/pty.c index 5d856930..55282d2f 100644 --- a/unix/pty.c +++ b/unix/pty.c @@ -485,8 +485,8 @@ static void pty_uxsel_setup(void) * Also places the canonical host name into `realhost'. It must be * freed by the caller. */ -static char *pty_init(void *frontend, void **backend_handle, Config *cfg, - char *host, int port, char **realhost, int nodelay) +static const char *pty_init(void *frontend, void **backend_handle, Config *cfg, + char *host, int port, char **realhost, int nodelay) { int slavefd; pid_t pid, pgrp;