From: Adam Dickmeiss Date: Sun, 11 Sep 2005 13:32:39 +0000 (+0000) Subject: Put declarations before statements to make code work with older X-Git-Tag: YAZ.2.1.10~72 X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=commitdiff_plain;h=0c5b90281adaef44cc428df303cd54a0dee568b4;hp=1908df105a83e97f3e404020fd9f4e2007654afd Put declarations before statements to make code work with older C compilers. --- diff --git a/zoom/zoom-benchmark.c b/zoom/zoom-benchmark.c index e298129..79b533e 100644 --- a/zoom/zoom-benchmark.c +++ b/zoom/zoom-benchmark.c @@ -1,5 +1,5 @@ /* - * $Id: zoom-benchmark.c,v 1.2 2005-09-09 13:51:43 marc Exp $ + * $Id: zoom-benchmark.c,v 1.3 2005-09-11 13:32:39 adam Exp $ * * Asynchronous multi-target client doing search and piggyback retrieval */ @@ -159,10 +159,10 @@ void read_params(int argc, char **argv, struct parameters_t *p_parameters){ int main(int argc, char **argv) { - init_statics(); - struct time_type time; + init_statics(); + read_params(argc, argv, ¶meters); ZOOM_connection z[parameters.concurrent];