From: Bruno Haible Date: Sat, 3 Aug 2024 10:21:26 +0000 (+0200) Subject: libgettextpo: Remove unused object files. X-Git-Tag: v0.23~186 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a4d91dd1d17af4d7ce6aa24c60fe10d3780998ad;p=thirdparty%2Fgettext.git libgettextpo: Remove unused object files. * gettext-tools/src/read-po-lex.h: Don't include xerror.h. * gettext-tools/libgettextpo/Makefile.am (libgettextpo_la_AUXSOURCES): Remove po-xerror.c and po-error.c. * autogen.sh (GNULIB_MODULES_LIBGETTEXTPO): Remove xerror. --- diff --git a/.gitignore b/.gitignore index 8eb681cec..8ab3d53a3 100644 --- a/.gitignore +++ b/.gitignore @@ -302,8 +302,6 @@ /gettext-tools/libgettextpo/xalloc.h /gettext-tools/libgettextpo/xasprintf.c /gettext-tools/libgettextpo/xconcat-filename.c -/gettext-tools/libgettextpo/xerror.c -/gettext-tools/libgettextpo/xerror.h /gettext-tools/libgettextpo/xmalloc.c /gettext-tools/libgettextpo/xmalloca.c /gettext-tools/libgettextpo/xmalloca.h diff --git a/autogen.sh b/autogen.sh index 82e43299b..0e7f34155 100755 --- a/autogen.sh +++ b/autogen.sh @@ -398,7 +398,6 @@ if ! $skip_gnulib; then xalloc xconcat-filename xmalloca - xerror xstriconv xvasprintf ' diff --git a/gettext-tools/libgettextpo/Makefile.am b/gettext-tools/libgettextpo/Makefile.am index 41f55b1b4..f38543b23 100644 --- a/gettext-tools/libgettextpo/Makefile.am +++ b/gettext-tools/libgettextpo/Makefile.am @@ -57,8 +57,6 @@ libgettextpo_la_AUXSOURCES = \ ../src/message.c \ ../src/pos.c \ ../src/msgl-ascii.c \ - ../src/po-error.c \ - ../src/po-xerror.c \ ../src/write-catalog.c \ ../src/write-po.c \ ../src/po-charset.c \ diff --git a/gettext-tools/src/read-po-lex.h b/gettext-tools/src/read-po-lex.h index 69152be34..57a2b68f5 100644 --- a/gettext-tools/src/read-po-lex.h +++ b/gettext-tools/src/read-po-lex.h @@ -25,7 +25,6 @@ #include #include "error-progname.h" -#include "xerror.h" #include "pos.h" #include "read-catalog-abstract.h"