]> asedeno.scripts.mit.edu Git - PuTTY.git/blobdiff - plink.c
Add a parameter to write_clip() so that windlg.c need not call term_deselect
[PuTTY.git] / plink.c
diff --git a/plink.c b/plink.c
index 6ac5e0ac82bc5374efd2f07b435585ffb2bc3c8c..62394c036a9e09d1ac4294e3c024f8d222e441f1 100644 (file)
--- a/plink.c
+++ b/plink.c
@@ -38,7 +38,7 @@ static char *password = NULL;
 /*
  * Stubs for linking with other modules.
  */
-void write_clip (void *data, int len) { }
+void write_clip (void *data, int len, int must_deselect) { }
 void term_deselect(void) { }
 
 HANDLE outhandle;
@@ -112,7 +112,7 @@ static int get_password(const char *prompt, char *str, int maxlen)
     return 1;
 }
 
-int WINAPI stdin_read_thread(void *param) {
+static int WINAPI stdin_read_thread(void *param) {
     struct input_data *idata = (struct input_data *)param;
     HANDLE inhandle;