From 21dd885eecdee13da1689519e2fc50fcf64f6ef2 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Mon, 4 Feb 2019 11:50:17 +0100 Subject: build: Fix for Microsoft MSVC. * src/gpgrt-int.h (_gpgrt_functions_w32_pollable): Declare with extern so that strict toolchains don't get confused. -- GnuPG-bug-id: 4356 Signed-off-by: Werner Koch --- src/gpgrt-int.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/gpgrt-int.h b/src/gpgrt-int.h index 08496b2..c6188e1 100644 --- a/src/gpgrt-int.h +++ b/src/gpgrt-int.h @@ -473,8 +473,8 @@ const char *_gpgrt_fname_get (gpgrt_stream_t stream); #if HAVE_W32_SYSTEM -/* Prototypes for w32-estream.c. */ -struct cookie_io_functions_s _gpgrt_functions_w32_pollable; +/* Prototypes for w32-estream.c. */ +extern struct cookie_io_functions_s _gpgrt_functions_w32_pollable; int _gpgrt_w32_pollable_create (void *_GPGRT__RESTRICT *_GPGRT__RESTRICT cookie, unsigned int modeflags, struct cookie_io_functions_s next_functions, -- cgit v1.2.3