summaryrefslogtreecommitdiff
path: root/string.c
diff options
context:
space:
mode:
authorocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-09-13 05:35:27 +0000
committerocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-09-13 05:35:27 +0000
commit54b23dd6b5a9799ff2e14f910f925caf23ec6a59 (patch)
tree1c3eca527b62eeb9fb42b34633e0743723bc9f73 /string.c
parentf1827a2fafaa50ba89f35c8c05beffd28b1dd6e6 (diff)
* string.c, missing.h: failed to build on powerpc-apple-darwin7.9.0
because of crypt argument's constness mismatch. (I hope this works) (http://mput.dip.jp/autobuild/ruby-trunk/log/20050913T110001.gz) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9144 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'string.c')
-rw-r--r--string.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/string.c b/string.c
index fe27fd4c2f..750e920bbf 100644
--- a/string.c
+++ b/string.c
@@ -4141,7 +4141,7 @@ rb_str_oct(VALUE str)
static VALUE
rb_str_crypt(VALUE str, VALUE salt)
{
- extern char *crypt(char *, char *);
+ extern char *crypt(const char *, const char *);
VALUE result;
char *s;