diff options
| author | Dmitry V. Levin <[email protected]> | 2020-12-16 08:00:00 +0000 |
|---|---|---|
| committer | Dmitry V. Levin <[email protected]> | 2020-12-16 10:01:52 +0000 |
| commit | 0a5defb64e94ecb2847b98b2c29155131edeaf97 (patch) | |
| tree | 2fbbe796e985ad1cefdf4234de8654ce56c14d5e /tests/dwflmodtest.c | |
| parent | 2e0ae048de8ada585e8ba7d505aad5c3268f8433 (diff) | |
Consistently define _(Str) using dgettext ("elfutils", Str)
Move the definition of _(Str) macro to lib/eu-config.h which already
provides a definition of N_(Str) macro. Since lib/eu-config.h is
appended to config.h, it is included into every compilation unit
and therefore both macros are now universally available.
Remove all other definitions of N_(Str) and _(Str) macros from other files
to avoid conflicts and redundancies.
The next step is to replace all uses of gettext(Str) with _(Str).
Signed-off-by: Dmitry V. Levin <[email protected]>
Diffstat (limited to 'tests/dwflmodtest.c')
| -rw-r--r-- | tests/dwflmodtest.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/dwflmodtest.c b/tests/dwflmodtest.c index 9251d158..bec8a07c 100644 --- a/tests/dwflmodtest.c +++ b/tests/dwflmodtest.c @@ -204,10 +204,6 @@ print_module (Dwfl_Module *mod __attribute__ ((unused)), static bool show_functions; -/* gettext helper macro. */ -#undef N_ -#define N_(Str) Str - static const struct argp_option options[] = { { "functions", 'f', NULL, 0, N_("Additionally show function names"), 0 }, |
