summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2024-05-26 15:13:45 +0000
committermidipix <writeonce@midipix.org>2024-05-26 15:13:45 +0000
commit537964d9b5819245e8760117fbd9984d23c05721 (patch)
treeb62aa297070ade284b245f9a8650aaa6abcdcf11
parent0ee4a827bc3b3a71234df5c44288d15ad697b724 (diff)
downloadtpax-537964d9b5819245e8760117fbd9984d23c05721.tar.bz2
tpax-537964d9b5819245e8760117fbd9984d23c05721.tar.xz
library api's: _api_ (package information) namespace overhaul.
-rw-r--r--include/tpax/tpax.h2
-rw-r--r--src/driver/tpax_amain.c2
-rw-r--r--src/driver/tpax_driver_ctx.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/include/tpax/tpax.h b/include/tpax/tpax.h
index ac7745a..6a43415 100644
--- a/include/tpax/tpax.h
+++ b/include/tpax/tpax.h
@@ -180,7 +180,7 @@ tpax_api int tpax_io_create_tmpfs_snapshot (const struct tpax_driver_ctx *, int
const struct stat *);
/* package info */
-tpax_api const struct tpax_source_version * tpax_source_version(void);
+tpax_api const struct tpax_source_version * tpax_api_source_version(void);
#ifdef __cplusplus
}
diff --git a/src/driver/tpax_amain.c b/src/driver/tpax_amain.c
index 0ec20f4..61f53d1 100644
--- a/src/driver/tpax_amain.c
+++ b/src/driver/tpax_amain.c
@@ -38,7 +38,7 @@ static ssize_t tpax_version(struct tpax_driver_ctx * dctx, int fdout)
const struct tpax_source_version * verinfo;
const char * const * verclr;
- verinfo = tpax_source_version();
+ verinfo = tpax_api_source_version();
verclr = isatty(fdout) ? tpax_ver_color : tpax_ver_plain;
return tpax_dprintf(
diff --git a/src/driver/tpax_driver_ctx.c b/src/driver/tpax_driver_ctx.c
index f573523..8ab684d 100644
--- a/src/driver/tpax_driver_ctx.c
+++ b/src/driver/tpax_driver_ctx.c
@@ -609,7 +609,7 @@ void tpax_lib_free_driver_ctx(struct tpax_driver_ctx * ctx)
}
}
-const struct tpax_source_version * tpax_source_version(void)
+const struct tpax_source_version * tpax_api_source_version(void)
{
return &tpax_src_version;
}