From d9d5b61a9f70556e8fc0775f1501380f65ce9502 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Tue, 26 Aug 2014 13:30:55 +0200 Subject: Export missing init functions. * src/gpg-error.h.in (gpgrt_init): New macro. (gpgrt_check_version): New prototype. * src/init.c (_gpg_err_init): Rename from gpg_err_init. (_gpg_err_deinit): Rename from gpg_err_deinit. * src/visibility.c (gpg_err_init): New. (gpg_err_deinit): New. (gpgrt_check_version): New. * src/gpg-error.vers (gpg_err_init, gpg_err_deinit): Add missing symbols. (gpgrt_check_version): New. * src/gpg-error.def.in (gpg_err_init, gpg_err_deinit): Add missing symbols. (gpgrt_check_version): New. * src/gpg-error.c (main): Use gpgrt_init macro. --- src/gpg-error.def.in | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/gpg-error.def.in') diff --git a/src/gpg-error.def.in b/src/gpg-error.def.in index 2b50962..b318d61 100644 --- a/src/gpg-error.def.in +++ b/src/gpg-error.def.in @@ -30,7 +30,7 @@ EXPORTS gpg_strsource @3 gpg_err_code_from_errno @4 gpg_err_code_to_errno @5 - /* Not anymore used. */ + /* @6 - Not anymore used. */ gpg_err_code_from_syserror @7 gpg_err_set_errno @8 #ifdef HAVE_W32CE_SYSTEM @@ -46,7 +46,7 @@ EXPORTS _gpg_w32_gettext_localename @16 _gpg_w32_gettext_use_utf8 @17 #endif - /* Not anymore used. */ + /* @18 - Not anymore used. */ gpg_error_check_version @19 gpgrt_lock_init @20 @@ -132,5 +132,9 @@ EXPORTS gpgrt_snprintf @98 gpgrt_vsnprintf @99 + gpgrt_check_version @100 + gpg_err_init @101 + gpg_err_deinit @102 + ;; end of file with public symbols for Windows. -- cgit v1.2.3