From 91a463b5c72d27b0e5f7ee23c86579955bb9235d Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Tue, 17 Jul 2007 04:03:53 -0700 Subject: [PATCH] --- yaml --- r: 60771 b: refs/heads/master c: 5b78cc9ac8602baafebb75a09025ffb17d1aebc2 h: refs/heads/master i: 60769: 967264525570c235bcbad01a41d57ed0d91bfcc4 60767: 36ab7479d02ae9dad4e124606a28f81d620eec1f v: v3 --- [refs] | 2 +- trunk/include/linux/time.h | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index dc8e051c991f..3f9dc81acbcf 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 9281acea6a3687ff0f262e0be31eac34895b95d7 +refs/heads/master: 5b78cc9ac8602baafebb75a09025ffb17d1aebc2 diff --git a/trunk/include/linux/time.h b/trunk/include/linux/time.h index 4bb05a829be9..ec3b0ced0afe 100644 --- a/trunk/include/linux/time.h +++ b/trunk/include/linux/time.h @@ -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); }