summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/log.c6
-rw-r--r--src/log.h1
2 files changed, 7 insertions, 0 deletions
diff --git a/src/log.c b/src/log.c
index 85f94c9..a7605da 100644
--- a/src/log.c
+++ b/src/log.c
@@ -15,6 +15,12 @@
#define BUFF_SIZE 256
#define HALF_SIZE (BUFF_SIZE / 2 - 1)
+char *
+loglibver(void)
+{
+ return LIBVER;
+}
+
/* Checks if the terminal supports colors */
static int
check_term_colors()
diff --git a/src/log.h b/src/log.h
index 7fdfa92..84c9c72 100644
--- a/src/log.h
+++ b/src/log.h
@@ -20,5 +20,6 @@ int log_is_error(Log *);
int log_is_info(Log *);
int log_is_warn(Log *);
+char *loglibver(void);
#endif /* __LOG_H__ */