summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}