summaryrefslogtreecommitdiff
path: root/content/fetch.c
diff options
context:
space:
mode:
authorFran├žois Revel <mmu_man@netsurf-browser.org>2008-07-29 09:05:36 +0000
committerFran├žois Revel <mmu_man@netsurf-browser.org>2008-07-29 09:05:36 +0000
commitf28f4cc76085b4c5cf589b3ca771fa7379d90eac (patch)
tree53ba572fbdb0e4bda5ace3901e15b55ffb8b4337 /content/fetch.c
parent00687fcddac4f145fbe143426dbb923fca532a8b (diff)
downloadnetsurf-f28f4cc76085b4c5cf589b3ca771fa7379d90eac.tar.gz
netsurf-f28f4cc76085b4c5cf589b3ca771fa7379d90eac.tar.bz2
First round of C89 fixes. Those should be obvious, hope I didn't introduce any side effect.
svn path=/trunk/netsurf/; revision=4788
Diffstat (limited to 'content/fetch.c')
-rw-r--r--content/fetch.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/content/fetch.c b/content/fetch.c
index f3433d040..779e1f12d 100644
--- a/content/fetch.c
+++ b/content/fetch.c
@@ -352,6 +352,8 @@ failed:
void fetch_dispatch_jobs(void)
{
int all_active, all_queued;
+ struct fetch *q;
+ struct fetch *f;
if (!queue_ring)
return; /* Nothing to do, the queue is empty */
@@ -362,7 +364,7 @@ void fetch_dispatch_jobs(void)
LOG(("queue_ring %i, fetch_ring %i", all_queued, all_active));
#endif
- struct fetch *q = queue_ring;
+ q = queue_ring;
if (q) {
do {
#ifdef DEBUG_FETCH_VERBOSE
@@ -371,7 +373,7 @@ void fetch_dispatch_jobs(void)
q = q->r_next;
} while (q != queue_ring);
}
- struct fetch *f = fetch_ring;
+ f = fetch_ring;
if (f) {
do {
#ifdef DEBUG_FETCH_VERBOSE