diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2012-07-09 01:34:39 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2012-07-09 01:34:39 -0700 |
commit | 2f93ecceb91ec8b0a18c95787503341780ca9233 (patch) | |
tree | fdeb5f997a4ae19147f1ba490922b3c9bc223b1f /lib/timespec.h | |
parent | d01ba2f14965203aef327c2cebf1474af0f12f90 (diff) | |
download | emacs-2f93ecceb91ec8b0a18c95787503341780ca9233.tar.gz |
Merge from gnulib.
Diffstat (limited to 'lib/timespec.h')
-rw-r--r-- | lib/timespec.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/timespec.h b/lib/timespec.h index 388ddb83a76..a58707947ce 100644 --- a/lib/timespec.h +++ b/lib/timespec.h @@ -65,9 +65,12 @@ timespec_sign (struct timespec a) return a.tv_sec < 0 ? -1 : a.tv_sec || a.tv_nsec; } -struct timespec timespec_add (struct timespec, struct timespec); -struct timespec timespec_sub (struct timespec, struct timespec); -struct timespec dtotimespec (double); +struct timespec timespec_add (struct timespec, struct timespec) + _GL_ATTRIBUTE_CONST; +struct timespec timespec_sub (struct timespec, struct timespec) + _GL_ATTRIBUTE_CONST; +struct timespec dtotimespec (double) + _GL_ATTRIBUTE_CONST; /* Return an approximation to A, of type 'double'. */ static inline double |