Fix some picky compiler warnings kindly provided by Borland C++ 5.5
[u/mdw/putty] / scpssh.c
index 0447af3..5db056a 100644 (file)
--- a/scpssh.c
+++ b/scpssh.c
@@ -88,7 +88,7 @@ static int s_read (char *buf, int len) {
 /*
  * Read and decrypt one incoming SSH packet.
  */
-static void get_packet()
+static void get_packet(void)
 {
     unsigned char buf[4];
     int ret;