From 2d51bed54445c15086edb413156d2388ce597c24 Mon Sep 17 00:00:00 2001 From: Alessandro Iezzi Date: Sat, 4 Feb 2023 01:48:29 +0100 Subject: Add function to get library version --- src/log.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/log.c') 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() -- cgit v1.2.3