mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-06 22:12:47 -05:00
Colin's const-fixing Patch Of Death. Seems to build fine on Windows
as well as Unix, so it can go in. [originally from svn r3162]
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user