Home GnuPG
Diffusion GnuPG 813df2fe6656

gpg: Clean up dangling agent_open and agent_closed declarations.
813df2fe6656Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

gpg: Clean up dangling agent_open and agent_closed declarations.

* g10/keydb.h: Remove agent_open, agent_close declarations/
* g10/migrate.c: #include <unistd.h> for access()

agent_open() is only defined statically in common/simple-pw-query.c,
it is neither used nor referenced anywhere else. agent_close doesn't
exist anywhere. The removal of these declarations removes an
unecessary inclusion of libassuan.h.

migrate.c was relying on keydb.h -> libassuan.h -> unistd.h for the
declaration of access(), so we now handle that explicitly instead.

Details

Provenance
dkgAuthored on Feb 11 2016, 1:08 PM
wernerCommitted on Feb 18 2016, 12:11 PM
Parents
rGe1ceff16765b: w32: Make scdaemon build again due to libusb problem.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rG813df2fe6656: gpg: Clean up dangling agent_open and agent_closed declarations. (authored by Daniel Kahn Gillmor <dkg@fifthhorseman.net>).Feb 18 2016, 12:11 PM