summaryrefslogtreecommitdiff
path: root/progressmeter.c
diff options
context:
space:
mode:
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 @@
60 */ 60 */
61 61
62#include "includes.h" 62#include "includes.h"
63RCSID("$OpenBSD: progressmeter.c,v 1.1 2003/01/10 08:19:07 fgsch Exp $"); 63RCSID("$OpenBSD: progressmeter.c,v 1.2 2003/01/12 16:57:02 markus Exp $");
64 64
65#include <libgen.h> 65#include <libgen.h>
66 66
67#include "atomicio.h" 67#include "atomicio.h"
68#include "progressmeter.h"
68 69
69/* Number of seconds before xfer considered "stalled". */ 70/* Number of seconds before xfer considered "stalled". */
70#define STALLTIME 5 71#define STALLTIME 5
@@ -81,7 +82,7 @@ static int foregroundproc(void);
81static int get_tty_width(void); 82static int get_tty_width(void);
82 83
83/* Visual statistics about files as they are transferred. */ 84/* Visual statistics about files as they are transferred. */
84static void draw_progress_meter(); 85static void draw_progress_meter(void);
85 86
86/* Time a transfer started. */ 87/* Time a transfer started. */
87static struct timeval start; 88static struct timeval start;