[git] GnuPG - branch, master, updated. gnupg-2.1.19-10-gb1f48da

by Werner Koch cvs at cvs.gnupg.org
Thu Mar 2 20:09:57 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  b1f48da02b474e985161aa2778d7b602a13c4292 (commit)
      from  1890896fe698c55d15160a53aa6c5c22dc424031 (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 b1f48da02b474e985161aa2778d7b602a13c4292
Author: Werner Koch <wk at gnupg.org>
Date:   Thu Mar 2 20:07:12 2017 +0100

    tools: Fix compile error with older gcc versions.
    
    * tools/mime-parser.h: Include rfc822parse.h.
    (struct rfc822parse_context): Remove duplicate definition.
    --
    
    GnuPG-bug-id: 2851
    Signed-off-by: Werner Koch <wk at gnupg.org>

diff --git a/tools/mime-parser.h b/tools/mime-parser.h
index b9bb465..5dc0492 100644
--- a/tools/mime-parser.h
+++ b/tools/mime-parser.h
@@ -20,6 +20,8 @@
 #ifndef GNUPG_MIME_PARSER_H
 #define GNUPG_MIME_PARSER_H
 
+#include "rfc822parse.h"
+
 struct mime_parser_context_s;
 typedef struct mime_parser_context_s *mime_parser_t;
 
@@ -50,10 +52,6 @@ void mime_parser_set_collect_signature (mime_parser_t ctx,
 gpg_error_t mime_parser_parse (mime_parser_t ctx, estream_t fp);
 
 
-/* Duplicated declaration of the RFC822 parser context. */
-struct rfc822parse_context;
-typedef struct rfc822parse_context *rfc822parse_t;
-
 rfc822parse_t mime_parser_rfc822parser (mime_parser_t ctx);
 
 

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

Summary of changes:
 tools/mime-parser.h | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)


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




More information about the Gnupg-commits mailing list