diff --git a/OpenMP/mppi.c b/OpenMP/mppi.c index da10b947a9f3be5f9c5dfa07ef14934df9d50a42..7994d7afccc2987a74ed4df7ae785a78fdcf6180 100644 --- a/OpenMP/mppi.c +++ b/OpenMP/mppi.c @@ -11,11 +11,9 @@ #define NPTS 1000000000 -double pi; - void main() { int i; - double a,b,c,dt,mflops; + double a,b,c,pi,dt,mflops; struct timespec tstart,tend; clock_gettime(CLOCK_REALTIME,&tstart); a = 0.5;