summaryrefslogtreecommitdiffhomepage
path: root/src/driver
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-01-09 14:59:49 -0500
committermidipix <writeonce@midipix.org>2016-01-09 14:59:49 -0500
commit10a51863a2213ea2909f685ca9d7da728e9fabec (patch)
treee971f6ca0f1677bdc2716695c52ebbe3550ab7de /src/driver
parentd46ef90eaf604ebafb5bc6958f7d013e8e122ab0 (diff)
downloadapimagic-10a51863a2213ea2909f685ca9d7da728e9fabec.tar.bz2
apimagic-10a51863a2213ea2909f685ca9d7da728e9fabec.tar.xz
argv.h: main(): fix signatures.
Diffstat (limited to 'src/driver')
-rw-r--r--src/driver/amgc_driver_ctx.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/driver/amgc_driver_ctx.c b/src/driver/amgc_driver_ctx.c
index 1e92e74..fe39dcc 100644
--- a/src/driver/amgc_driver_ctx.c
+++ b/src/driver/amgc_driver_ctx.c
@@ -130,8 +130,8 @@ static int amgc_init_cparser(void)
}
int amgc_get_driver_ctx(
- const char ** argv,
- const char ** envp,
+ char ** argv,
+ char ** envp,
uint32_t flags,
struct amgc_driver_ctx ** pctx)
{
@@ -228,7 +228,7 @@ int amgc_create_driver_ctx(
{
struct argv_meta * meta;
struct amgc_driver_ctx_impl * ctx;
- const char * argv[] = {"apimagic_driver",0};
+ char * argv[] = {"apimagic_driver",0};
if (!(meta = argv_get(argv,amgc_default_options,0)))
return -1;