cpmsv -> sveq
this name represents the function better I think
This commit is contained in:
parent
0e9a7d6bd8
commit
2695a19da4
2 changed files with 2 additions and 2 deletions
2
semver.c
2
semver.c
|
@ -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;
|
||||
|
|
2
semver.h
2
semver.h
|
@ -10,7 +10,7 @@ typedef struct {
|
|||
uint8_t patch;
|
||||
} semver;
|
||||
|
||||
bool cmpsv(semver, semver);
|
||||
bool sveq(semver, semver);
|
||||
|
||||
char *svtoa(semver);
|
||||
|
||||
|
|
Loading…
Reference in a new issue