summaryrefslogtreecommitdiffhomepage
path: root/src/perk.c
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-01-10 12:54:33 -0500
committermidipix <writeonce@midipix.org>2016-11-10 23:35:36 -0500
commit7d4640f3f18eef2bd1306fc8f5e39480f9086b51 (patch)
tree449b267666973e969c7b2f89ac5636857fca3c28 /src/perk.c
parent92345cf034853e07a56c356484adbdf10503c27d (diff)
downloadperk-7d4640f3f18eef2bd1306fc8f5e39480f9086b51.tar.bz2
perk-7d4640f3f18eef2bd1306fc8f5e39480f9086b51.tar.xz
argv.h: main(): fix signatures.
Diffstat (limited to 'src/perk.c')
-rw-r--r--src/perk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/perk.c b/src/perk.c
index 82a3235..22d42a9 100644
--- a/src/perk.c
+++ b/src/perk.c
@@ -67,7 +67,7 @@ static int perk_exit(struct pe_driver_ctx * dctx, int nerrors)
return nerrors ? 2 : 0;
}
-int perk_main(int argc, const char ** argv, const char ** envp)
+int perk_main(int argc, char ** argv, char ** envp)
{
int ret;
struct pe_driver_ctx * dctx;
@@ -94,7 +94,7 @@ int perk_main(int argc, const char ** argv, const char ** envp)
#ifndef PERK_IN_A_BOX
-int main(int argc, const char ** argv, const char ** envp)
+int main(int argc, char ** argv, char ** envp)
{
return perk_main(argc,argv,envp);
}