diff options
author | Wayne Davison <wayned@samba.org> | 2004-01-13 05:13:57 +0000 |
---|---|---|
committer | Wayne Davison <wayned@samba.org> | 2004-01-13 05:13:57 +0000 |
commit | 5562deb1693300884c8509ee7237540403b50b08 (patch) | |
tree | 0bd68b7505753d3fd457e16a1c8e2f17966260b0 /progress.c | |
parent | 983b1ed321d3990f8ee3dbb85571f830af5e88fa (diff) | |
download | rsync-5562deb1693300884c8509ee7237540403b50b08.tar.gz rsync-5562deb1693300884c8509ee7237540403b50b08.tar.bz2 rsync-5562deb1693300884c8509ee7237540403b50b08.zip |
Moved a couple externs.
Diffstat (limited to 'progress.c')
-rw-r--r-- | progress.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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) { |