Browse Source

suppress compiler warning

pre-master-46
dwarning 1 year ago
committed by Holger Vogt
parent
commit
821733a5f6
  1. 1
      src/misc/misc_time.c

1
src/misc/misc_time.c

@ -33,6 +33,7 @@ typedef struct timeval {
*/ */
int gettimeofday(struct timeval * tp, void * unused) int gettimeofday(struct timeval * tp, void * unused)
{ {
NG_IGNORE(unused);
// Note: some broken versions only have 8 trailing zero's, the correct epoch has 9 trailing zero's // Note: some broken versions only have 8 trailing zero's, the correct epoch has 9 trailing zero's
// This magic number is the number of 100 nanosecond intervals since January 1, 1601 (UTC) // This magic number is the number of 100 nanosecond intervals since January 1, 1601 (UTC)
// until 00:00:00 January 1, 1970 // until 00:00:00 January 1, 1970

Loading…
Cancel
Save