From 81ada5f24f75e2aea0604c3e65613a41f3d6026a Mon Sep 17 00:00:00 2001 From: Ben Harris Date: Mon, 20 Jan 2003 20:10:07 +0000 Subject: [PATCH] Add a stub "free" routine for pterm. Thanks to rjk. [originally from svn r2666] --- unix/pty.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/unix/pty.c b/unix/pty.c index 1c213e86..37f50503 100644 --- a/unix/pty.c +++ b/unix/pty.c @@ -518,6 +518,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. */ @@ -624,6 +632,7 @@ static int pty_exitcode(void *handle) Backend pty_backend = { pty_init, + pty_free, pty_reconfig, pty_send, pty_sendbuffer,