From 06afc729f9061c1cfa14c78728d61d518324c2f0 Mon Sep 17 00:00:00 2001 From: Samo Penic <samo.penic@gmail.com> Date: Wed, 04 May 2022 05:46:43 +0000 Subject: [PATCH] Moved all global variables to separate file and defined extern keyword where appropriate --- src/tsmeasure.c | 6 ++---- 1 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/tsmeasure.c b/src/tsmeasure.c index 6bd5f5c..ed0a0d8 100644 --- a/src/tsmeasure.c +++ b/src/tsmeasure.c @@ -26,7 +26,7 @@ #include <snapshot.h> #include<gsl/gsl_complex.h> #include<gsl/gsl_complex_math.h> - +#include "globals.h" ts_vesicle *restoreVesicle(char *filename){ ts_vesicle *vesicle = parseDump(filename); @@ -78,14 +78,12 @@ ts_fprintf(stdout,"timestep: %u filename: %s\n",atoi(number),ent->d_name); printf("%u ",atoi(number)); vesicle=restoreVesicle(ent->d_name); -// vesicle_calculate_ulm2(vesicle); + vesicle_calculate_ulm2(vesicle); tstep++; - //vesicle_free(vesicle); free(number); tape_free(vesicle->tape); vesicle_free(vesicle); } - free(ent); } for (n = 0; n < count; n++) { -- Gitblit v1.9.3