summaryrefslogtreecommitdiffhomepage
path: root/src/driver/slbt_amain.c
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2024-02-19 02:30:23 +0000
committermidipix <writeonce@midipix.org>2024-02-19 02:59:31 +0000
commitea41378c1731e3d3b0faff05346d1aac467823b0 (patch)
tree121851c0d7c6a2100d65154b0226e3db3f1cfdb9 /src/driver/slbt_amain.c
parentf3d47a5271ef3cbe5755d1dd51bd96508aa0c3bc (diff)
downloadslibtool-ea41378c1731e3d3b0faff05346d1aac467823b0.tar.bz2
slibtool-ea41378c1731e3d3b0faff05346d1aac467823b0.tar.xz
library api's: _lib_ (program driver) namespace overhaul.
Diffstat (limited to 'src/driver/slbt_amain.c')
-rw-r--r--src/driver/slbt_amain.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/driver/slbt_amain.c b/src/driver/slbt_amain.c
index 9ac5669..2ff5338 100644
--- a/src/driver/slbt_amain.c
+++ b/src/driver/slbt_amain.c
@@ -90,7 +90,7 @@ static void slbt_perform_driver_actions(struct slbt_driver_ctx * dctx)
static int slbt_exit(struct slbt_driver_ctx * dctx, int ret)
{
slbt_output_error_vector(dctx);
- slbt_free_driver_ctx(dctx);
+ slbt_lib_free_driver_ctx(dctx);
return ret;
}
@@ -169,7 +169,7 @@ int slbt_main(char ** argv, char ** envp, const struct slbt_fd_ctx * fdctx)
| SLBT_DRIVER_LEGABITS);
/* driver context */
- if ((ret = slbt_get_driver_ctx(argv,envp,flags|noclr,fdctx,&dctx)))
+ if ((ret = slbt_lib_get_driver_ctx(argv,envp,flags|noclr,fdctx,&dctx)))
return (ret == SLBT_USAGE)
? !argv || !argv[0] || !argv[1] || !argv[2]
: SLBT_ERROR;