summaryrefslogtreecommitdiffstats
path: root/include
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 /include
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 'include')
-rw-r--r--include/ruby/intern.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ruby/intern.h b/include/ruby/intern.h
index 87f574142..d7ec07ddf 100644
--- a/include/ruby/intern.h
+++ b/include/ruby/intern.h
@@ -200,7 +200,7 @@ PRINTF_ARGS(void rb_compile_error_append(const char*, ...), 1, 2);
NORETURN(void rb_load_fail(const char*));
NORETURN(void rb_error_frozen(const char*));
void rb_check_frozen(VALUE);
-char *rb_strerrno(int);
+const char *rb_strerrno(int);
/* eval.c */
int rb_sourceline(void);
const char *rb_sourcefile(void);