diff options
Diffstat (limited to 'src/driver/amgc_driver_ctx.c')
-rw-r--r-- | src/driver/amgc_driver_ctx.c | 6 |
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; |