summaryrefslogtreecommitdiffstats
path: root/progressmeter.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2003-01-14 12:23:23 +0100
committerDamien Miller <djm@mindrot.org>2003-01-14 12:23:23 +0100
commit71a51415348921728b5b41ac45003858436634c3 (patch)
tree1b77c9ee0a32c7518ffdf107de68d0edfc5da276 /progressmeter.c
parent - markus@cvs.openbsd.org 2003/01/11 18:29:43 (diff)
downloadopenssh-71a51415348921728b5b41ac45003858436634c3.tar.xz
openssh-71a51415348921728b5b41ac45003858436634c3.zip
- markus@cvs.openbsd.org 2003/01/12 16:57:02
[progressmeter.c] allow WARNINGS=yes; ok djm@
Diffstat (limited to 'progressmeter.c')
-rw-r--r--progressmeter.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/progressmeter.c b/progressmeter.c
index ae13c67e7..e7380a8ff 100644
--- a/progressmeter.c
+++ b/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;