From 216e7def2118a1774fa7ebeb45b8635b9fe6ba42 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Fri, 22 Aug 2014 19:08:08 +0200 Subject: Implement symbol visibility. * configure.ac: New option --enable-ld-version-script. (GPGRT_USE_VISIBILITY): New ac_define. (HAVE_LD_VERSION_SCRIPT): New am_conditional. * src/gpg-error.vers: New. * src/gpgrt-int.h: New. * src/visibility.c, src/visibility.h: New. Lot of changes to symbold names. -- This is only doe for the old API. The estream API needs to be added. --- src/estream.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/estream.c') diff --git a/src/estream.c b/src/estream.c index 2e31b51..5a1a80b 100644 --- a/src/estream.c +++ b/src/estream.c @@ -101,7 +101,7 @@ # include "../common/util.h" #endif -#include "estream.h" +#include "gpgrt-int.h" #include "estream-printf.h" @@ -1143,8 +1143,6 @@ es_func_w32_read (void *cookie, void *buffer, size_t size) else { _set_errno (map_w32_to_errno (ec)); - log_debug ("estream: ReadFile returned %d\n", - (int)GetLastError ()); bytes_read = -1; } } -- cgit v1.2.3