| 661 | } |
| 662 | |
| 663 | static bool add_days(struct tm *tm, u32 number) |
| 664 | { |
| 665 | s64 x = number + (s64)tm->tm_mday; |
| 666 | if (x > INT_MAX) |
| 667 | return false; |
| 668 | tm->tm_mday = (int)x; |
| 669 | return true; |
| 670 | } |
| 671 | |
| 672 | static bool add_months(struct tm *tm, u32 number) |
| 673 | { |
nothing calls this directly
no outgoing calls
no test coverage detected