diff options
author | midipix <writeonce@midipix.org> | 2025-06-02 01:17:43 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2025-06-02 01:17:43 +0000 |
commit | 5b248de6f0f31354f2b2023ca0ee8be7604e3e23 (patch) | |
tree | 264360912ac335feac8010eac58c64a0ff957cc7 /src | |
parent | c73e19fc0eb524dd28e2b52d7f52e4ee564ba9c4 (diff) | |
download | perk-5b248de6f0f31354f2b2023ca0ee8be7604e3e23.tar.bz2 perk-5b248de6f0f31354f2b2023ca0ee8be7604e3e23.tar.xz |
pe_cmd_ar(): updated function signature, defined action and option constants.
Diffstat (limited to 'src')
-rw-r--r-- | src/cmds/pe_cmd_ar.c | 11 | ||||
-rw-r--r-- | src/driver/pe_amain.c | 2 |
2 files changed, 11 insertions, 2 deletions
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 <perk/perk.h> #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: |