From 9f311d48cc4aadc4cd02759f3201fc47f38da19e Mon Sep 17 00:00:00 2001 From: Ivan Maidanski Date: Thu, 16 Feb 2012 21:15:02 +0400 Subject: [PATCH] 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. --- cord/cordxtra.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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; -- 2.40.0