From 40eefdd931066129d0bb2f6144a0ec7741c6cc2b Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Wed, 25 Jul 2012 22:56:37 +0300 Subject: Remove translation of errno strings from API. --- gawkapi.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'gawkapi.c') diff --git a/gawkapi.c b/gawkapi.c index 09c9f399..b72a62a6 100644 --- a/gawkapi.c +++ b/gawkapi.c @@ -241,12 +241,11 @@ api_update_ERRNO_int(awk_ext_id_t id, int errno_val) static void api_update_ERRNO_string(awk_ext_id_t id, - const char *string, - awk_bool_t translate) + const char *string) { (void) id; - update_ERRNO_string(string, (translate ? TRANSLATE : DONT_TRANSLATE)); + update_ERRNO_string(string); } /* api_unset_ERRNO --- unset ERRNO */ -- cgit v1.2.3