aboutsummaryrefslogtreecommitdiffstats
path: root/src/coding.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/coding.c')
-rw-r--r--src/coding.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/coding.c b/src/coding.c
index 3f7d11151d4..804b628d3be 100644
--- a/src/coding.c
+++ b/src/coding.c
@@ -11303,24 +11303,4 @@ internal character representation. */);
11303#endif 11303#endif
11304 staticpro (&system_eol_type); 11304 staticpro (&system_eol_type);
11305} 11305}
11306
11307char *
11308emacs_strerror (int error_number)
11309{
11310 char *str;
11311
11312 synchronize_system_messages_locale ();
11313 str = strerror (error_number);
11314
11315 if (! NILP (Vlocale_coding_system))
11316 {
11317 Lisp_Object dec = code_convert_string_norecord (build_string (str),
11318 Vlocale_coding_system,
11319 0);
11320 str = SSDATA (dec);
11321 }
11322
11323 return str;
11324}
11325
11326#endif /* emacs */ 11306#endif /* emacs */