aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/string2.c7
-rw-r--r--src/string2.h6
2 files changed, 6 insertions, 7 deletions
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 <stdio.h>
#include <string.h>
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;
}
diff --git a/src/string2.h b/src/string2.h
index e927470..e96ddc5 100644
--- a/src/string2.h
+++ b/src/string2.h
@@ -5,8 +5,8 @@
#include <string.h>
-int strends(const char *, const char *);
-int strstarts(const char *, const char *);
-char *strlibver(void);
+int strrgt(const char *, const char *);
+int strlft(const char *, const char *);
+char *string2ver(void);
#endif /* __STRING2_H__ */