From: Ivan Maidanski Date: Thu, 16 Feb 2012 17:15:02 +0000 (+0400) Subject: cord: Change function declaration style from K-R to ANSI C X-Git-Tag: gc7_3alpha2~113 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9f311d48cc4aadc4cd02759f3201fc47f38da19e;p=gc cord: Change function declaration style from K-R to ANSI C * cord/cordxtra.c (refill_cache): Replace the K&R-style function definition with the ANSI C one. --- diff --git a/cord/cordxtra.c b/cord/cordxtra.c index 19acafea..7b56a34a 100644 --- a/cord/cordxtra.c +++ b/cord/cordxtra.c @@ -519,8 +519,7 @@ typedef struct { } refill_data; /* Executed with allocation lock. */ -static char refill_cache(client_data) -refill_data * client_data; +static char refill_cache(refill_data * client_data) { register lf_state * state = client_data -> state; register size_t file_pos = client_data -> file_pos;