summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/progressmeter.c
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>2003-01-12 16:57:03 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>2003-01-12 16:57:03 +0000
commitf0bc4866d1c68e43db014f766c1e53dea41a8a40 (patch)
tree7042e5bf8e4f3470deb4078dde0f8f061e5a497f /usr.bin/ssh/progressmeter.c
parent305579d81ddd219a7e43cdfbe1f1a229ec5c0a08 (diff)
allow WARNINGS=yes; ok djm@
Diffstat (limited to 'usr.bin/ssh/progressmeter.c')
-rw-r--r--usr.bin/ssh/progressmeter.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/ssh/progressmeter.c b/usr.bin/ssh/progressmeter.c
index ae13c67e7da..e7380a8ff7a 100644
--- a/usr.bin/ssh/progressmeter.c
+++ b/usr.bin/ssh/progressmeter.c
@@ -60,11 +60,12 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: progressmeter.c,v 1.1 2003/01/10 08:19:07 fgsch Exp $");
+RCSID("$OpenBSD: progressmeter.c,v 1.2 2003/01/12 16:57:02 markus Exp $");
#include <libgen.h>
#include "atomicio.h"
+#include "progressmeter.h"
/* Number of seconds before xfer considered "stalled". */
#define STALLTIME 5
@@ -81,7 +82,7 @@ static int foregroundproc(void);
static int get_tty_width(void);
/* Visual statistics about files as they are transferred. */
-static void draw_progress_meter();
+static void draw_progress_meter(void);
/* Time a transfer started. */
static struct timeval start;