|
@@ -36,7 +36,8 @@ struct timezone {
|
|
|
#define NSEC_PER_SEC 1000000000L
|
|
|
#define FSEC_PER_SEC 1000000000000000L
|
|
|
|
|
|
-static inline int timespec_equal(struct timespec *a, struct timespec *b)
|
|
|
+static inline int timespec_equal(const struct timespec *a,
|
|
|
+ const struct timespec *b)
|
|
|
{
|
|
|
return (a->tv_sec == b->tv_sec) && (a->tv_nsec == b->tv_nsec);
|
|
|
}
|