aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/string2.c6
-rw-r--r--src/string2.h5
2 files changed, 9 insertions, 2 deletions
diff --git a/src/string2.c b/src/string2.c
index 332dbf7..6050ea2 100644
--- a/src/string2.c
+++ b/src/string2.c
@@ -44,3 +44,9 @@ strstarts(const char *str, const char *end)
return 0;
}
+
+char *
+strlibver(void)
+{
+ return LIBVER;
+}
diff --git a/src/string2.h b/src/string2.h
index 4d79dfd..e927470 100644
--- a/src/string2.h
+++ b/src/string2.h
@@ -5,7 +5,8 @@
#include <string.h>
-int strends(const char *, const char *);
-int strstarts(const char *, const char *);
+int strends(const char *, const char *);
+int strstarts(const char *, const char *);
+char *strlibver(void);
#endif /* __STRING2_H__ */