timespec-add, timespec-sub: new modules
[gnulib.git] / lib / timespec.h
index 191cf06..acf815c 100644 (file)
@@ -65,6 +65,8 @@ 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'.  */