scc

simple c99 compiler
git clone git://git.simple-cc.org/scc
Log | Files | Refs | README | LICENSE

difftime.c (105B)


      1 #include <time.h>
      2 #undef difftime
      3 
      4 double
      5 difftime(time_t t1, time_t t2)
      6 {
      7 	return (double) (t1 - t2);
      8 }