X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Ftimespec.h;h=acf815c8dbceb7f5bd27d18553a951600f373a51;hb=6e33eaed1cd5ddcdfc48476059012fed68f71f8e;hp=071f3a1fbc437a1d0f7918b7d9c49d38042b4efe;hpb=1a37ff9e61f483132e7734f929e6675b1651a647;p=gnulib.git diff --git a/lib/timespec.h b/lib/timespec.h index 071f3a1fb..acf815c8d 100644 --- a/lib/timespec.h +++ b/lib/timespec.h @@ -65,6 +65,10 @@ 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); + /* Return an approximation to A, of type 'double'. */ static inline double timespectod (struct timespec a)