From 3a4534d82682f69788da3cf4a445e38fbaf6b98e Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Mon, 1 Apr 2019 18:12:35 +0200 Subject: gpg: Remove unused arg in a card related function. * g10/call-agent.c (agent_scd_setattr): Remove unused arg serialno. Signed-off-by: Werner Koch --- g10/call-agent.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'g10/call-agent.h') diff --git a/g10/call-agent.h b/g10/call-agent.h index 8619a34f8..4c4fb2d4d 100644 --- a/g10/call-agent.h +++ b/g10/call-agent.h @@ -101,9 +101,8 @@ int agent_keytocard (const char *hexgrip, int keyno, int force, const char *serialno, const char *timestamp); /* Send a SETATTR command to the SCdaemon. */ -int agent_scd_setattr (const char *name, - const unsigned char *value, size_t valuelen, - const char *serialno); +gpg_error_t agent_scd_setattr (const char *name, + const void *value, size_t valuelen); /* Send a WRITECERT command to the SCdaemon. */ int agent_scd_writecert (const char *certidstr, -- cgit v1.2.3