summaryrefslogtreecommitdiffstats
path: root/error.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-11-24 01:00:02 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-11-24 01:00:02 +0000
commit48f55fd45714506e7754d0b0a2b3cbdff2cf901c (patch)
tree9ccee2ba46a1d86a82a538a17af7ee2a2e90a984 /error.c
parentaabe9e1e3124733891dbb511169ad3b4d7d92515 (diff)
downloadruby-48f55fd45714506e7754d0b0a2b3cbdff2cf901c.tar.gz
ruby-48f55fd45714506e7754d0b0a2b3cbdff2cf901c.tar.xz
ruby-48f55fd45714506e7754d0b0a2b3cbdff2cf901c.zip
* error.c (rb_strerrno): constified.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25896 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'error.c')
-rw-r--r--error.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/error.c b/error.c
index f97452941..9633e9e25 100644
--- a/error.c
+++ b/error.c
@@ -1258,7 +1258,7 @@ Init_syserr(void)
#undef undefined_error
}
-char *
+const char *
rb_strerrno(int err)
{
if (err == 0) return "NOERROR";