]> git.ipfire.org Git - thirdparty/elfutils.git/commit
Move the #include <libintl.h> into eu-config.h
authorYonggang Luo <luoyonggang@gmail.com>
Sat, 15 Oct 2022 16:36:21 +0000 (00:36 +0800)
committerMark Wielaard <mark@klomp.org>
Sun, 16 Oct 2022 20:36:22 +0000 (22:36 +0200)
commit96263dfee3591a9c732b00a33a4a221b8f01bf46
tree53dfe9fe0d9d4b9185c98935ab6b0598a3accf6b
parenta6b2ec76d51386dd06ab86d46eabbcf5140fe80d
Move the #include <libintl.h> into eu-config.h

So we do not need include in each file.
And indeed the macro
#define _(Str) dgettext ("elfutils", Str)
access libintl function dgettext, so it's make more sense
#include <libintl.h> in file eu-config.h

Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
32 files changed:
debuginfod/debuginfod.cxx
lib/color.c
lib/eu-config.h
lib/printversion.c
lib/xasprintf.c
lib/xmalloc.c
libasm/asm_end.c
libasm/asm_error.c
libasm/asm_newscn.c
libcpu/i386_lex.l
libcpu/i386_parse.y
libdw/libdwP.h
libdwfl/argp-std.c
libdwfl/dwfl_error.c
libebl/libeblP.h
libelf/elf_error.c
src/addr2line.c
src/ar.c
src/arlib-argp.c
src/arlib.c
src/arlib2.c
src/elfcmp.c
src/elflint.c
src/findtextrel.c
src/nm.c
src/objdump.c
src/ranlib.c
src/readelf.c
src/size.c
src/strings.c
src/strip.c
src/unstrip.c