cord: Change function declaration style from K-R to ANSI C
authorIvan Maidanski <ivmai@mail.ru>
Thu, 16 Feb 2012 17:15:02 +0000 (21:15 +0400)
committerIvan Maidanski <ivmai@mail.ru>
Thu, 16 Feb 2012 17:16:17 +0000 (21:16 +0400)
* cord/cordxtra.c (refill_cache): Replace the K&R-style function
definition with the ANSI C one.

cord/cordxtra.c

index 19acafe..7b56a34 100644 (file)
@@ -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;