From 2af853f9926885163324389f57c630d9aefc42f3 Mon Sep 17 00:00:00 2001 From: "Lucas M. Schnorr" <schnorr@inf.ufrgs.br> Date: Thu, 12 Jan 2017 16:51:44 +0100 Subject: [PATCH] protect the header declaration with pre-processor directives --- src/calibration/calibrate.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/calibration/calibrate.h b/src/calibration/calibrate.h index 6056e5d..f0f0433 100644 --- a/src/calibration/calibrate.h +++ b/src/calibration/calibrate.h @@ -1,4 +1,5 @@ - +#ifndef __CALIBRATE_H_ +#define __CALIBRATE_H_ #include "unistd.h" #if _POSIX_TIMERS @@ -16,3 +17,5 @@ void my_sleep(unsigned long long length); void print_in_file(const char* func, int count, unsigned long long start_time, unsigned long long total_time); MPI_Comm get_comm(); + +#endif // __CALIBRATE_H_ -- GitLab