From cefc6820c1c309534fbd671a3f051a66204a4438 Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Thu, 2 May 2024 18:37:05 -0400 Subject: [PATCH] core: remove unused header weechat.h already handles libintl.h and defining suitable macros. Including it again does nothing other than emit a compile warning when compiling without NLS: In file included from /var/tmp/portage/net-irc/weechat-9999/work/weechat-9999/src/core/core-doc.c:35: /var/tmp/portage/net-irc/weechat-9999/work/weechat-9999/src/core/weechat.h:49: warning: "gettext" redefined 49 | #define gettext(string) (string) | In file included from /var/tmp/portage/net-irc/weechat-9999/work/weechat-9999/src/core/core-doc.c:30: /usr/include/libintl.h:109: note: this is the location of the previous definition 109 | # define gettext(msgid) dgettext (NULL, msgid) --- src/core/core-doc.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/core/core-doc.c b/src/core/core-doc.c index 1b6095a7f..d04ecd4a9 100644 --- a/src/core/core-doc.c +++ b/src/core/core-doc.c @@ -27,7 +27,6 @@ #include #include #include -#include #include #include #include