Show
Ignore:
Timestamp:
01/28/08 06:44:04 (11 years ago)
Author:
Theo Schlossnagle <jesus@omniti.com>
git-committer:
Theo Schlossnagle <jesus@omniti.com> 1201502644 +0000
git-parent:

[80235b3f11f72d0a54a7ae6df1139d23ed59e2ac]

git-author:
Theo Schlossnagle <jesus@omniti.com> 1201502644 +0000
Message:

I can ping things...whahahahahaha

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/noit_defines.h

    rb62cf2b rb09f3a7  
    2929} 
    3030 
     31static inline void add_timeval(struct timeval a, struct timeval b, 
     32                               struct timeval *out) 
     33{ 
     34  out->tv_usec = a.tv_usec + b.tv_usec; 
     35  if (out->tv_usec > 1000000L) { 
     36    a.tv_sec++; 
     37    out->tv_usec -= 1000000L; 
     38  } 
     39  out->tv_sec = a.tv_sec + b.tv_sec; 
     40} 
     41 
    3142#endif