Home GnuPG
Diffusion GnuPG 8810314e377a

common: Avoid warning about implicit declaration of gnupg_fd_valid.
8810314e377aUnpublished

Unpublished Commit · Learn More

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

Description

common: Avoid warning about implicit declaration of gnupg_fd_valid.

* common/logging.c: Add #include "sysutils.h".

Without this, we see:

logging.c:573:9: warning: implicit declaration of function \

‘gnupg_fd_valid’ [-Wimplicit-function-declaration]
 if (! gnupg_fd_valid (fd))
       ^~~~~~~~~~~~~~
  • Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>

Details

Provenance
dkgAuthored on Feb 8 2017, 6:05 PM
Parents
rG6823ed46584e: gpg,common: Make sure that all fd given are valid.
Branches
Unknown
Tags
Unknown

Event Timeline

Daniel Kahn Gillmor <dkg@fifthhorseman.net> committed rG8810314e377a: common: Avoid warning about implicit declaration of gnupg_fd_valid. (authored by Daniel Kahn Gillmor <dkg@fifthhorseman.net>).Feb 8 2017, 6:05 PM