summaryrefslogtreecommitdiffhomepage
path: root/src/driver
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2024-02-19 02:41:15 +0000
committermidipix <writeonce@midipix.org>2024-02-19 02:59:31 +0000
commitf0270acfad9d499f6a701d1df1cb08f09412eb93 (patch)
tree724943605aaf3328ea1b306e31687b518997dc12 /src/driver
parentea41378c1731e3d3b0faff05346d1aac467823b0 (diff)
downloadslibtool-f0270acfad9d499f6a701d1df1cb08f09412eb93.tar.bz2
slibtool-f0270acfad9d499f6a701d1df1cb08f09412eb93.tar.xz
library api's: _api_ (package information) namespace overhaul.
Diffstat (limited to 'src/driver')
-rw-r--r--src/driver/slbt_amain.c2
-rw-r--r--src/driver/slbt_driver_ctx.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/driver/slbt_amain.c b/src/driver/slbt_amain.c
index 2ff5338..86d5dd5 100644
--- a/src/driver/slbt_amain.c
+++ b/src/driver/slbt_amain.c
@@ -41,7 +41,7 @@ static ssize_t slbt_version(struct slbt_driver_ctx * dctx, int fdout)
const char * const * verclr;
bool gitver;
- verinfo = slbt_source_version();
+ verinfo = slbt_api_source_version();
verclr = isatty(fdout) ? slbt_ver_color : slbt_ver_plain;
gitver = strcmp(verinfo->commit,"unknown");
diff --git a/src/driver/slbt_driver_ctx.c b/src/driver/slbt_driver_ctx.c
index 83f6b1e..308b4fd 100644
--- a/src/driver/slbt_driver_ctx.c
+++ b/src/driver/slbt_driver_ctx.c
@@ -1035,7 +1035,7 @@ void slbt_lib_free_driver_ctx(struct slbt_driver_ctx * ctx)
}
-const struct slbt_source_version * slbt_source_version(void)
+const struct slbt_source_version * slbt_api_source_version(void)
{
return &slbt_src_version;
}