agent: Add const qualifier for read-only table.
authorNIIBE Yutaka <gniibe@fsij.org>
Mon, 22 May 2017 21:42:44 +0000 (06:42 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Mon, 22 May 2017 21:42:44 +0000 (06:42 +0900)
commit509e4a4d7491daf496b21e5892f4f63ab90e8e21
treef19697b16fe58ff3274e45fd904a37aef37ea334
parentfbb2259d22e6c6eadc2af722bdc52922da348677
agent: Add const qualifier for read-only table.

* agent/call-pinentry.c (start_pinentry): Add const to tbl.
* agent/command-ssh.c (request_specs): Add const.
(ssh_key_types): Likewise.
(request_spec_lookup): Add const to the return value and SPEC.
(ssh_request_process): Likewise.
* agent/protect.c (protect_info): Add const.
(agent_unprotect): Add const to algotable.

--

Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
agent/call-pinentry.c
agent/command-ssh.c
agent/gpg-agent.c
agent/protect.c