From 0799272d0b04fc3158a8406283559c616ae3222a Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Tue, 6 Dec 2005 15:36:38 +0000 Subject: [PATCH] Avoid stmt/var declare. Omit useless static keyword --- recctrl/csvread.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/recctrl/csvread.c b/recctrl/csvread.c index 988d5fe..db681e7 100644 --- a/recctrl/csvread.c +++ b/recctrl/csvread.c @@ -1,4 +1,4 @@ -/* $Id: csvread.c,v 1.2 2005-12-05 13:58:52 marc Exp $ +/* $Id: csvread.c,v 1.3 2005-12-06 15:36:38 adam Exp $ Copyright (C) 1995-2005 Index Data ApS @@ -46,7 +46,7 @@ struct csv_getc_info { }; */ -static struct csv_t { +struct csv_t { NMEM nmem; int buf_size; char *buf; @@ -261,9 +261,9 @@ static data1_node *grs_read_csv (struct grs_read_info *gri) static void *grs_init_csv(Res res, RecType recType) { - yaz_log (YLOG_LOG, "Called CSV filter grs_init_csv"); NMEM m = nmem_create(); struct csv_t *csvp = (struct csv_t *) nmem_malloc(m, sizeof(*csvp)); + yaz_log (YLOG_LOG, "Called CSV filter grs_init_csv"); csvp->nmem = m; yaz_log (YLOG_LOG, "Ended CSV filter grs_init_csv"); return csvp; -- 1.7.10.4