From: ben Date: Mon, 20 Jan 2003 20:10:07 +0000 (+0000) Subject: Add a stub "free" routine for pterm. Thanks to rjk. X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/putty/commitdiff_plain/cb60dcb3109624f111e7161f2b8e54154791d9fd Add a stub "free" routine for pterm. Thanks to rjk. git-svn-id: svn://svn.tartarus.org/sgt/putty@2666 cda61777-01e9-0310-a592-d414129be87e --- diff --git a/unix/pty.c b/unix/pty.c index 1c213e86..37f50503 100644 --- a/unix/pty.c +++ b/unix/pty.c @@ -519,6 +519,14 @@ static void pty_reconfig(void *handle, Config *cfg) } /* + * Stub routine (never called in pterm + */ +static void pty_free(void *handle) +{ +} + + +/* * Called to send data down the pty. */ static int pty_send(void *handle, char *buf, int len) @@ -624,6 +632,7 @@ static int pty_exitcode(void *handle) Backend pty_backend = { pty_init, + pty_free, pty_reconfig, pty_send, pty_sendbuffer,