From 5b248de6f0f31354f2b2023ca0ee8be7604e3e23 Mon Sep 17 00:00:00 2001 From: midipix Date: Mon, 2 Jun 2025 01:17:43 +0000 Subject: pe_cmd_ar(): updated function signature, defined action and option constants. --- src/cmds/pe_cmd_ar.c | 11 ++++++++++- src/driver/pe_amain.c | 2 +- 2 files changed, 11 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/cmds/pe_cmd_ar.c b/src/cmds/pe_cmd_ar.c index 2df578c..e578ca0 100644 --- a/src/cmds/pe_cmd_ar.c +++ b/src/cmds/pe_cmd_ar.c @@ -7,8 +7,17 @@ #include #include "perk_driver_impl.h" -int pe_cmd_ar(const struct pe_driver_ctx * dctx) +int pe_cmd_ar( + const struct pe_driver_ctx * dctx, + uint64_t flags, + const char * posname, + const char * arname, + const char ** units) { (void)dctx; + (void)flags; + (void)posname; + (void)arname; + (void)units; return 0; } diff --git a/src/driver/pe_amain.c b/src/driver/pe_amain.c index c48ec1c..f238b2b 100644 --- a/src/driver/pe_amain.c +++ b/src/driver/pe_amain.c @@ -85,7 +85,7 @@ int pe_main(char ** argv, char ** envp, const struct pe_fd_ctx * fdctx) break; case PERK_CMD_AR: - pe_cmd_ar(dctx); + pe_cmd_ar(dctx,0,0,0,0); break; default: -- cgit v1.2.3