summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/cmds/pe_cmd_ar.c11
-rw-r--r--src/driver/pe_amain.c2
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: