From 10a51863a2213ea2909f685ca9d7da728e9fabec Mon Sep 17 00:00:00 2001 From: midipix Date: Sat, 9 Jan 2016 14:59:49 -0500 Subject: argv.h: main(): fix signatures. --- src/driver/amgc_driver_ctx.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/driver') 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; -- cgit v1.2.3