Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
983b1ed
)
Moved a couple externs.
author
Wayne Davison
<wayned@samba.org>
Tue, 13 Jan 2004 05:13:57 +0000
(
05:13
+0000)
committer
Wayne Davison
<wayned@samba.org>
Tue, 13 Jan 2004 05:13:57 +0000
(
05:13
+0000)
progress.c
patch
|
blob
|
blame
|
history
diff --git
a/progress.c
b/progress.c
index
31eee15
..
e62aa8b
100644
(file)
--- a/
progress.c
+++ b/
progress.c
@@
-21,6
+21,8
@@
#include "rsync.h"
#include "rsync.h"
+extern int am_server;
+
static OFF_T last_ofs;
static struct timeval print_time;
static struct timeval start_time;
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)
{
void end_progress(OFF_T size)
{
- extern int am_server;
-
if (!am_server) {
struct timeval now;
gettimeofday(&now, NULL);
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)
{
void show_progress(OFF_T ofs, OFF_T size)
{
- extern int am_server;
struct timeval now;
if (!start_time.tv_sec) {
struct timeval now;
if (!start_time.tv_sec) {