X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/971bcc0afc69f7e754285167e88885c8893d0229..cbe2d68fd7c7c7bac692b3a2d200a5d2429ab201:/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;