Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[examples,smpi] remove warnings and resolve a bug (I hope I amn't sure)
[simgrid.git] / examples / smpi / MM / timer.c
index 4b2e0ad..a647f98 100644 (file)
@@ -28,6 +28,7 @@ inline int get_time(struct timespec *tp){
   time = time * 1000000000;
   tp->tv_nsec = (long) time;
   tp->tv_sec = value ;
+  return 0;
 }
 
 double get_timediff(struct timespec *start, struct timespec *end){