| 670 | } |
| 671 | |
| 672 | static bool add_months(struct tm *tm, u32 number) |
| 673 | { |
| 674 | s64 x = number + (s64)tm->tm_mon; |
| 675 | if (x > INT_MAX) |
| 676 | return false; |
| 677 | tm->tm_mon = (int)x; |
| 678 | return true; |
| 679 | } |
| 680 | |
| 681 | static bool time_change(u64 *new_start, u64 prevstart, u32 number, |
| 682 | bool (*add_time)(struct tm *tm, u32 number), |
nothing calls this directly
no outgoing calls
no test coverage detected