]> rtime.felk.cvut.cz Git - frescor/fosa.git/blobdiff - include/timespec_operations.h
Adding FOSA_CPP_BEING|END_DECLS to allow interfacing with C++
[frescor/fosa.git] / include / timespec_operations.h
index 2a4cf272774e09a18a87377aabed39ab5787b589..8788f7074fe32af8778b5cf4cc62024a44034744 100644 (file)
 #include <time.h> // for timespec
 #include <string.h> // for memset
 
+FOSA_CPP_BEGIN_DECLS
+
 #define smaller_timespec(t1, t2) \
  ( \
   (t1)->tv_sec < (t2)->tv_sec || ((t1)->tv_sec == (t2)->tv_sec &&   \
@@ -266,4 +268,6 @@ static inline struct timespec d2t(double time)
     return tmp;
 }
 
+FOSA_CPP_BEGIN_DECLS
+
 #endif /* _MARTE_MISC_TIMESPEC_OPERATIONS_H_ */