cpmsv -> sveq

this name represents the function better I think
This commit is contained in:
jacekpoz 2024-02-11 17:48:01 +01:00
parent 0e9a7d6bd8
commit 2695a19da4
No known key found for this signature in database
GPG key ID: 94E812A8B12AAE3C
2 changed files with 2 additions and 2 deletions

View file

@ -8,7 +8,7 @@ uint8_t num_digits(uint8_t x) {
1;
}
bool cmpsv(semver s1, semver s2) {
bool sveq(semver s1, semver s2) {
return s1.major == s2.major &&
s1.minor == s2.minor &&
s1.patch == s2.patch;

View file

@ -10,7 +10,7 @@ typedef struct {
uint8_t patch;
} semver;
bool cmpsv(semver, semver);
bool sveq(semver, semver);
char *svtoa(semver);