From aadbad6264e9f88bc886558cf3ed5cb34e747f8c Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 3 Dec 2016 00:23:10 +0100 Subject: fix obstack compile issue after libintl/gettext removal --- libc/misc/gnu/obstack.c | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/libc/misc/gnu/obstack.c b/libc/misc/gnu/obstack.c index a5c646832..75f6d0b65 100644 --- a/libc/misc/gnu/obstack.c +++ b/libc/misc/gnu/obstack.c @@ -402,14 +402,6 @@ _obstack_memory_used (struct obstack *h) return nbytes; } -/* Define the error handler. */ -# ifndef _LIBC -# include "gettext.h" -# endif -# ifndef _ -# define _(msgid) gettext (msgid) -# endif - # if defined _LIBC && !defined __UCLIBC__ # include # endif @@ -431,9 +423,9 @@ print_and_abort (void) like this and the translation should be reused instead of creating a very similar string which requires a separate translation. */ # if defined _LIBC && !defined __UCLIBC__ - (void) __fxprintf (NULL, "%s\n", _("memory exhausted")); + (void) __fxprintf (NULL, "%s\n", "memory exhausted"); # else - fprintf (stderr, "%s\n", _("memory exhausted")); + fprintf (stderr, "%s\n", "memory exhausted"); # endif exit (__obstack_exit_failure); } -- cgit v1.2.3