From 4a749a765f6f5a3998d9721e9be5ec3bc52d8a7b Mon Sep 17 00:00:00 2001 From: midipix Date: Sun, 10 Jan 2016 12:13:33 -0500 Subject: argv.h: main(): fix signatures. --- src/driver/sfrt_driver_ctx.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/driver') diff --git a/src/driver/sfrt_driver_ctx.c b/src/driver/sfrt_driver_ctx.c index f09fd14..0989d58 100644 --- a/src/driver/sfrt_driver_ctx.c +++ b/src/driver/sfrt_driver_ctx.c @@ -86,8 +86,8 @@ static int sfrt_get_driver_ctx_fail(struct argv_meta * meta) } int sfrt_get_driver_ctx( - const char ** argv, - const char ** envp, + char ** argv, + char ** envp, uint32_t flags, struct sfrt_driver_ctx ** pctx) { @@ -154,7 +154,7 @@ int sfrt_create_driver_ctx( { struct argv_meta * meta; struct sfrt_driver_ctx_impl * ctx; - const char * argv[] = {"sofort_driver",0}; + char * argv[] = {"sofort_driver",0}; if (!(meta = argv_get(argv,sfrt_default_options,0))) return -1; -- cgit v1.2.3