From 5562deb1693300884c8509ee7237540403b50b08 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Tue, 13 Jan 2004 05:13:57 +0000 Subject: [PATCH] Moved a couple externs. --- progress.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/progress.c b/progress.c index 31eee157..e62aa8b4 100644 --- a/progress.c +++ b/progress.c @@ -21,6 +21,8 @@ #include "rsync.h" +extern int am_server; + static OFF_T last_ofs; static struct timeval print_time; static struct timeval start_time; @@ -78,8 +80,6 @@ static void rprint_progress(OFF_T ofs, OFF_T size, struct timeval *now, void end_progress(OFF_T size) { - extern int am_server; - if (!am_server) { struct timeval now; gettimeofday(&now, NULL); @@ -93,7 +93,6 @@ void end_progress(OFF_T size) void show_progress(OFF_T ofs, OFF_T size) { - extern int am_server; struct timeval now; if (!start_time.tv_sec) { -- 2.34.1