summaryrefslogtreecommitdiff
path: root/include/libintl.h
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2025-08-15 20:29:52 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2025-08-15 20:35:10 +0200
commit9ffed9adb130d45b9f31ca7a305153e86586c877 (patch)
treebaf36f56e1649c3209d4c938b72d2e387e01d9bb /include/libintl.h
parent9a23a016ac45dd3bc5418cf36e6d1548cb41c6b5 (diff)
remove uClibc specific gettext_printf
Other C libraries like musl/glibc does not define it. Including stdio.h here breaks Grub2 compilation with gcc 14 and above. Thanks to Thomas Petazzoni for analyzing the Grub2 build error. Reported-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'include/libintl.h')
-rw-r--r--include/libintl.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/libintl.h b/include/libintl.h
index b7123a963..6d8b9f342 100644
--- a/include/libintl.h
+++ b/include/libintl.h
@@ -50,9 +50,6 @@ char *bindtextdomain(const char *domainname, const char *dirname);
#endif
-#include <stdio.h>
-#define gettext_printf(args...) printf(args)
-
/* to supply LC_MESSAGES and other stuff GNU expects to be exported when
including libintl.h */
#include <locale.h>