summaryrefslogtreecommitdiff
path: root/rsync
authorschurig <schurig>2004-09-10 12:48:25 (UTC)
committer schurig <schurig>2004-09-10 12:48:25 (UTC)
commitf9fb882141b4a519ae958e6332fb5a8ef717d88c (patch) (unidiff)
treea97e359f73a0afc98d4a58ba057676cf8da94f13 /rsync
parent85928a3781d9a91b58ea414c0d7982459cc21920 (diff)
downloadopie-f9fb882141b4a519ae958e6332fb5a8ef717d88c.zip
opie-f9fb882141b4a519ae958e6332fb5a8ef717d88c.tar.gz
opie-f9fb882141b4a519ae958e6332fb5a8ef717d88c.tar.bz2
In old ANSI-C you can't have expressions before variable declarations
(C++ allows this)
Diffstat (limited to 'rsync') (more/less context) (ignore whitespace changes)
-rw-r--r--rsync/buf.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/rsync/buf.c b/rsync/buf.c
index c978fff..fdd67ee 100644
--- a/rsync/buf.c
+++ b/rsync/buf.c
@@ -98,3 +98,2 @@ rs_result rs_infilebuf_fill(rs_job_t *job, rs_buffers_t *buf,
98{ 98{
99 job=job;
100 int len; 99 int len;
@@ -102,2 +101,4 @@ rs_result rs_infilebuf_fill(rs_job_t *job, rs_buffers_t *buf,
102 FILE *f = fb->f; 101 FILE *f = fb->f;
102
103 job=job; // fix unused warning
103 104
@@ -150,3 +151,2 @@ rs_result rs_outfilebuf_drain(rs_job_t *job, rs_buffers_t *buf, void *opaque)
150{ 151{
151 job=job;
152 int present; 152 int present;
@@ -155,2 +155,4 @@ rs_result rs_outfilebuf_drain(rs_job_t *job, rs_buffers_t *buf, void *opaque)
155 155
156 job=job; // fix unused warning
157
156 /* This is only allowed if either the buf has no output buffer 158 /* This is only allowed if either the buf has no output buffer