From f28f4cc76085b4c5cf589b3ca771fa7379d90eac Mon Sep 17 00:00:00 2001 From: François Revel Date: Tue, 29 Jul 2008 09:05:36 +0000 Subject: First round of C89 fixes. Those should be obvious, hope I didn't introduce any side effect. svn path=/trunk/netsurf/; revision=4788 --- content/fetch.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'content/fetch.c') 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 -- cgit v1.2.3