MCPcopy Create free account
hub / github.com/eggert/tz / leapcount

Function leapcount

localtime.c:520–528  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

518};
519
520static int
521leapcount(ATTRIBUTE_MAYBE_UNUSED struct state const *sp)
522{
523#if TZ_RUNTIME_LEAPS
524 return sp->leapcnt;
525#else
526 return 0;
527#endif
528}
529static void
530set_leapcount(ATTRIBUTE_MAYBE_UNUSED struct state *sp,
531 ATTRIBUTE_MAYBE_UNUSED int leapcnt)

Callers 5

tzloadbodyFunction · 0.85
tzparseFunction · 0.85
timesubFunction · 0.85
leapcorrFunction · 0.85
posix2time_zFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected