* lib/mktime.c (__mktime_internal): Use bool for a boolean local.
+2025-01-04 Paul Eggert <eggert@cs.ucla.edu>
+
+ mktime: prefer bool to int
+ * lib/mktime.c (__mktime_internal): Use bool for a boolean local.
+
2025-01-04 Bruno Haible <bruno@clisp.org>
mbs_endswith: Fix abort in the case of incomplete characters.
/* Ignore any tm_isdst request for timegm. */
int isdst = local ? tp->tm_isdst : 0;
- /* 1 if the previous probe was DST. */
- int dst2 = 0;
+ /* True if the previous probe was DST. */
+ bool dst2 = false;
/* Ensure that mon is in range, and set year accordingly. */
int mon_remainder = mon % 12;