summaryrefslogtreecommitdiff
path: root/src/driver
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-01-10 12:13:33 -0500
committermidipix <writeonce@midipix.org>2016-01-10 12:19:44 -0500
commit4a749a765f6f5a3998d9721e9be5ec3bc52d8a7b (patch)
tree919da5a8a9b8859b9debc1abbe440ccaf9a905d1 /src/driver
parent35b2ffd19b71228f056deade21ac1d33027f5fee (diff)
downloadsofort-4a749a765f6f5a3998d9721e9be5ec3bc52d8a7b.tar.bz2
sofort-4a749a765f6f5a3998d9721e9be5ec3bc52d8a7b.tar.xz
argv.h: main(): fix signatures.
Diffstat (limited to 'src/driver')
-rw-r--r--src/driver/sfrt_driver_ctx.c6
1 files changed, 3 insertions, 3 deletions
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;