Samuel Thibault пре 12 година
родитељ
комит
1e9adb4833
1 измењених фајлова са 3 додато и 3 уклоњено
  1. 3 3
      include/starpu_profiling.h

+ 3 - 3
include/starpu_profiling.h

@@ -1,6 +1,6 @@
 /* StarPU --- Runtime system for heterogeneous multicore architectures.
  *
- * Copyright (C) 2010, 2011  Université de Bordeaux 1
+ * Copyright (C) 2010-2012  Université de Bordeaux 1
  * Copyright (C) 2010, 2011  Centre National de la Recherche Scientifique
  *
  * StarPU is free software; you can redistribute it and/or modify
@@ -150,8 +150,8 @@ static inline void starpu_timespec_accumulate(struct timespec *result,
 }
 
 /* Computes result = a - b */
-static inline void starpu_timespec_sub(struct timespec *a,
-					struct timespec *b,
+static inline void starpu_timespec_sub(const struct timespec *a,
+					const struct timespec *b,
 					struct timespec *result)
 {
 	result->tv_sec = a->tv_sec - b->tv_sec;