summaryrefslogtreecommitdiffhomepage
path: root/src/driver/slbt_amain.c
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2024-02-21 05:23:06 +0000
committermidipix <writeonce@midipix.org>2024-02-21 05:23:06 +0000
commit2e30eb25a9f78fcb462c03c4766a8a8669c1f291 (patch)
treeca0f1a7752ac01b3b1c2cfdb2fe1a3820376ea04 /src/driver/slbt_amain.c
parent53c651164d18578c1b50f5b09e923ae1fd5e10c5 (diff)
downloadslibtool-2e30eb25a9f78fcb462c03c4766a8a8669c1f291.tar.bz2
slibtool-2e30eb25a9f78fcb462c03c4766a8a8669c1f291.tar.xz
core api: simplified the _exec_ interfaces.
Diffstat (limited to 'src/driver/slbt_amain.c')
-rw-r--r--src/driver/slbt_amain.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/driver/slbt_amain.c b/src/driver/slbt_amain.c
index 86d5dd5..9b9103d 100644
--- a/src/driver/slbt_amain.c
+++ b/src/driver/slbt_amain.c
@@ -69,22 +69,22 @@ static void slbt_perform_driver_actions(struct slbt_driver_ctx * dctx)
slbt_output_config(dctx);
if (dctx->cctx->mode == SLBT_MODE_COMPILE)
- slbt_exec_compile(dctx,0);
+ slbt_exec_compile(dctx);
if (dctx->cctx->mode == SLBT_MODE_EXECUTE)
- slbt_exec_execute(dctx,0);
+ slbt_exec_execute(dctx);
if (dctx->cctx->mode == SLBT_MODE_INSTALL)
- slbt_exec_install(dctx,0);
+ slbt_exec_install(dctx);
if (dctx->cctx->mode == SLBT_MODE_LINK)
- slbt_exec_link(dctx,0);
+ slbt_exec_link(dctx);
if (dctx->cctx->mode == SLBT_MODE_UNINSTALL)
- slbt_exec_uninstall(dctx,0);
+ slbt_exec_uninstall(dctx);
if (dctx->cctx->mode == SLBT_MODE_AR)
- slbt_exec_ar(dctx,0);
+ slbt_exec_ar(dctx);
}
static int slbt_exit(struct slbt_driver_ctx * dctx, int ret)