summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/progressmeter.c
diff options
context:
space:
mode:
authormarkus <markus@openbsd.org>2003-01-12 16:57:02 +0000
committermarkus <markus@openbsd.org>2003-01-12 16:57:02 +0000
commit823eef8d23fc43e5649f4c9dfb6f89c85d86ba7e (patch)
treed6caa3fa950a42bf946fbbe124d288bede69c413 /usr.bin/ssh/progressmeter.c
parentregen (diff)
downloadwireguard-openbsd-823eef8d23fc43e5649f4c9dfb6f89c85d86ba7e.tar.xz
wireguard-openbsd-823eef8d23fc43e5649f4c9dfb6f89c85d86ba7e.zip
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;