From 537964d9b5819245e8760117fbd9984d23c05721 Mon Sep 17 00:00:00 2001 From: midipix Date: Sun, 26 May 2024 15:13:45 +0000 Subject: library api's: _api_ (package information) namespace overhaul. --- include/tpax/tpax.h | 2 +- src/driver/tpax_amain.c | 2 +- src/driver/tpax_driver_ctx.c | 2 +- 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; } -- cgit v1.2.3