diff options
| author | Yonggang Luo <[email protected]> | 2022-10-16 00:36:21 +0800 |
|---|---|---|
| committer | Mark Wielaard <[email protected]> | 2022-10-16 22:36:22 +0200 |
| commit | 96263dfee3591a9c732b00a33a4a221b8f01bf46 (patch) | |
| tree | 53dfe9fe0d9d4b9185c98935ab6b0598a3accf6b /libelf | |
| parent | a6b2ec76d51386dd06ab86d46eabbcf5140fe80d (diff) | |
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 <[email protected]>
Diffstat (limited to 'libelf')
| -rw-r--r-- | libelf/elf_error.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libelf/elf_error.c b/libelf/elf_error.c index 5364e685..e596108d 100644 --- a/libelf/elf_error.c +++ b/libelf/elf_error.c @@ -32,7 +32,6 @@ #endif #include <assert.h> -#include <libintl.h> #include <stdbool.h> #include <stdint.h> #include <stdlib.h> |
