From f6ce87c6d8e7f4c5ef00756f35da91d63bb6a540 Mon Sep 17 00:00:00 2001 From: Alessandro Iezzi Date: Thu, 23 Feb 2023 16:25:05 +0100 Subject: Change the name of all functions strstarts -> strlft strends -> strrgt strlibver -> string2ver --- src/string2.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/string2.c') diff --git a/src/string2.c b/src/string2.c index 6050ea2..ad4c99f 100644 --- a/src/string2.c +++ b/src/string2.c @@ -1,10 +1,9 @@ /* See LICENSE file for copyright and license details. */ -#include #include int -strends(const char *str, const char *end) +strrgt(const char *str, const char *end) { int size_s1 = strlen(str); int size_s2 = strlen(end); @@ -25,7 +24,7 @@ strends(const char *str, const char *end) } int -strstarts(const char *str, const char *end) +strlft(const char *str, const char *end) { int size_s1 = strlen(str); int size_s2 = strlen(end); @@ -46,7 +45,7 @@ strstarts(const char *str, const char *end) } char * -strlibver(void) +string2ver(void) { return LIBVER; } -- cgit v1.2.3