summaryrefslogtreecommitdiffstats
path: root/libasm
diff options
context:
space:
mode:
authorYonggang Luo <[email protected]>2022-10-16 00:36:21 +0800
committerMark Wielaard <[email protected]>2022-10-16 22:36:22 +0200
commit96263dfee3591a9c732b00a33a4a221b8f01bf46 (patch)
tree53dfe9fe0d9d4b9185c98935ab6b0598a3accf6b /libasm
parenta6b2ec76d51386dd06ab86d46eabbcf5140fe80d (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 'libasm')
-rw-r--r--libasm/asm_end.c1
-rw-r--r--libasm/asm_error.c1
-rw-r--r--libasm/asm_newscn.c1
3 files changed, 0 insertions, 3 deletions
diff --git a/libasm/asm_end.c b/libasm/asm_end.c
index 077d2aa5..a26120f2 100644
--- a/libasm/asm_end.c
+++ b/libasm/asm_end.c
@@ -32,7 +32,6 @@
#endif
#include <assert.h>
-#include <libintl.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
diff --git a/libasm/asm_error.c b/libasm/asm_error.c
index cc3e660b..2b769395 100644
--- a/libasm/asm_error.c
+++ b/libasm/asm_error.c
@@ -31,7 +31,6 @@
# include <config.h>
#endif
-#include <libintl.h>
#include <stdbool.h>
#include <stdlib.h>
diff --git a/libasm/asm_newscn.c b/libasm/asm_newscn.c
index 1150015f..d258d969 100644
--- a/libasm/asm_newscn.c
+++ b/libasm/asm_newscn.c
@@ -32,7 +32,6 @@
#endif
#include <assert.h>
-#include <libintl.h>
#include <stdlib.h>
#include <string.h>