From 51f9acbca935c5287d9a28205037b0923e9a65f5 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Tue, 13 Sep 2016 20:59:07 +0200 Subject: core: Use const char * where appropriate. Signed-off-by: Werner Koch --- src/engine-g13.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/engine-g13.c') diff --git a/src/engine-g13.c b/src/engine-g13.c index ce98b1bd..7f225eb2 100644 --- a/src/engine-g13.c +++ b/src/engine-g13.c @@ -356,7 +356,7 @@ g13_set_locale (void *engine, int category, const char *value) engine_g13_t g13 = engine; gpgme_error_t err; char *optstr; - char *catstr; + const char *catstr; /* FIXME: If value is NULL, we need to reset the option to default. But we can't do this. So we error out here. G13 needs support @@ -405,7 +405,7 @@ g13_set_locale (void *engine, int category, const char *value) #if USE_DESCRIPTOR_PASSING static gpgme_error_t -g13_assuan_simple_command (assuan_context_t ctx, char *cmd, +g13_assuan_simple_command (assuan_context_t ctx, const char *cmd, engine_status_handler_t status_fnc, void *status_fnc_value) { -- cgit v1.2.3