| 28 | } |
| 29 | |
| 30 | static bool cmp_release_version(const char *version) { |
| 31 | if (version[0] != 'v') |
| 32 | return false; |
| 33 | return strspn(version+1, ".0123456789") == strlen(version+1); |
| 34 | } |
| 35 | |
| 36 | /* Released versions are of form v[year].[month]?(.patch)* */ |
| 37 | bool is_released_version(void) |
no outgoing calls