diff options
author | Werner Koch <wk@gnupg.org> | 2024-05-16 09:33:24 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2024-05-16 09:34:52 +0200 |
commit | 5355d0885512211d3f9a00001ad73e3c87f54fc7 (patch) | |
tree | 2c3e97252932d5268a3dbe21ef1a3f6688c79ca9 /tools | |
parent | kbx: Use standard function to setup gcrypt logging in kbxutil. (diff) | |
download | gnupg2-5355d0885512211d3f9a00001ad73e3c87f54fc7.tar.xz gnupg2-5355d0885512211d3f9a00001ad73e3c87f54fc7.zip |
card: Fix compiler warning.
* tools/gpg-card.h (opt): Make gpg_program, gpgsm_program, and
agent_program const.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/gpg-card.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/gpg-card.h b/tools/gpg-card.h index 8d7975ba9..5b49ef31e 100644 --- a/tools/gpg-card.h +++ b/tools/gpg-card.h @@ -34,9 +34,9 @@ struct unsigned int debug; int quiet; int with_colons; - char *gpg_program; - char *gpgsm_program; - char *agent_program; + const char *gpg_program; + const char *gpgsm_program; + const char *agent_program; int autostart; int no_key_lookup; /* Assume --no-key-lookup for "list". */ |