From 2695a19da44b04c18763db57ca932237ec248b46 Mon Sep 17 00:00:00 2001 From: jacekpoz Date: Sun, 11 Feb 2024 17:48:01 +0100 Subject: [PATCH] cpmsv -> sveq this name represents the function better I think --- semver.c | 2 +- semver.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/semver.c b/semver.c index 08ee34c..790a334 100644 --- a/semver.c +++ b/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; diff --git a/semver.h b/semver.h index d0e90b0..3a02d33 100644 --- a/semver.h +++ b/semver.h @@ -10,7 +10,7 @@ typedef struct { uint8_t patch; } semver; -bool cmpsv(semver, semver); +bool sveq(semver, semver); char *svtoa(semver);