From 1123708437bcf9659cfd7daaef942cf8bb52e4af Mon Sep 17 00:00:00 2001 From: Nikos Mavrogiannopoulos Date: Thu, 1 Nov 2012 19:35:55 +0100 Subject: [PATCH] gettext.h was moved to gnutls_str.h --- lib/gnutls_str.h | 2 ++ lib/openpgp/output.c | 4 ---- lib/x509/output.c | 4 ---- 3 files changed, 2 insertions(+), 8 deletions(-) diff --git a/lib/gnutls_str.h b/lib/gnutls_str.h index f8671c26f..afd99cbc7 100644 --- a/lib/gnutls_str.h +++ b/lib/gnutls_str.h @@ -25,6 +25,8 @@ #include #include +#include "gettext.h" +#define _(String) dgettext (PACKAGE, String) void _gnutls_str_cpy (char *dest, size_t dest_tot_size, const char *src); void _gnutls_mem_cpy (char *dest, size_t dest_tot_size, const char *src, diff --git a/lib/openpgp/output.c b/lib/openpgp/output.c index 88f522db7..cc253420b 100644 --- a/lib/openpgp/output.c +++ b/lib/openpgp/output.c @@ -28,10 +28,6 @@ #include #include -/* I18n of error codes. */ -#include "gettext.h" -#define _(String) dgettext (PACKAGE, String) - #define addf _gnutls_buffer_append_printf #define adds _gnutls_buffer_append_str diff --git a/lib/x509/output.c b/lib/x509/output.c index ec1a6f271..c2f0cb42e 100644 --- a/lib/x509/output.c +++ b/lib/x509/output.c @@ -31,10 +31,6 @@ #include #include -/* I18n of error codes. */ -#include "gettext.h" -#define _(String) dgettext (PACKAGE, String) - #define addf _gnutls_buffer_append_printf #define adds _gnutls_buffer_append_str -- 2.11.4.GIT