[git] GnuPG - branch, master, updated. gnupg-2.1.18-67-g8810314

by Daniel Kahn Gillmor cvs at cvs.gnupg.org
Thu Feb 9 18:34:12 CET 2017


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The GNU Privacy Guard".

The branch, master has been updated
       via  8810314e377a9cb6612150a57cf99260ed0bb9f6 (commit)
      from  6823ed46584e753de3aba48a00ab738ab009a860 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 8810314e377a9cb6612150a57cf99260ed0bb9f6
Author: Daniel Kahn Gillmor <dkg at fifthhorseman.net>
Date:   Wed Feb 8 12:05:08 2017 -0500

    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 at fifthhorseman.net>

diff --git a/common/logging.c b/common/logging.c
index ac13053..670affb 100644
--- a/common/logging.c
+++ b/common/logging.c
@@ -61,6 +61,7 @@
 #include "i18n.h"
 #include "common-defs.h"
 #include "logging.h"
+#include "sysutils.h"
 
 #ifdef HAVE_W32_SYSTEM
 # define S_IRGRP S_IRUSR

-----------------------------------------------------------------------

Summary of changes:
 common/logging.c | 1 +
 1 file changed, 1 insertion(+)


hooks/post-receive
-- 
The GNU Privacy Guard
http://git.gnupg.org




More information about the Gnupg-commits mailing list