From f3ecdf0ee52a3d7cec559d698fa40205ced05ca6 Mon Sep 17 00:00:00 2001 From: Shahram Najm Date: Wed, 25 Apr 2018 18:45:27 +0100 Subject: [PATCH] ECC-604: Fix error in test --- tests/grib_ecc-604.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/grib_ecc-604.c b/tests/grib_ecc-604.c index a1603cb03..5cc775c47 100644 --- a/tests/grib_ecc-604.c +++ b/tests/grib_ecc-604.c @@ -7,7 +7,7 @@ #include "grib_api.h" #define NUM_THREADS 8 -#define FILES_PER_ITERATION 400 +#define FILES_PER_ITERATION 150 #define TEMPLATE "../../share/eccodes/samples/gg_sfc_grib2.tmpl" @@ -79,7 +79,7 @@ static int encode_file(char *template_file, char *output_file) return 0; } -void* do_stuff(void *data); +void do_stuff(void *data); /* Structure for passing data to threads */ struct v @@ -138,7 +138,7 @@ void *runner(void *ptr) pthread_exit(0); } -void *do_stuff(void *ptr) +void do_stuff(void *ptr) { /* Casting paramater to struct v pointer */ struct v *data = ptr;