summaryrefslogtreecommitdiffstats
path: root/missing.h
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
commitc0a51f4e8b45f8e8a25e02f533993c556a216f1d (patch)
tree1c3eca527b62eeb9fb42b34633e0743723bc9f73 /missing.h
parent557918ea13dfb8d459001e91173d05468419d9d5 (diff)
downloadruby-c0a51f4e8b45f8e8a25e02f533993c556a216f1d.tar.gz
ruby-c0a51f4e8b45f8e8a25e02f533993c556a216f1d.tar.xz
ruby-c0a51f4e8b45f8e8a25e02f533993c556a216f1d.zip
* 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: http://svn.ruby-lang.org/repos/ruby/trunk@9144 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'missing.h')
-rw-r--r--missing.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/missing.h b/missing.h
index a4616950e..cb4f12a12 100644
--- a/missing.h
+++ b/missing.h
@@ -32,7 +32,7 @@ extern double atanh _((double));
#endif
#ifndef HAVE_CRYPT
-extern char *crypt _((char *, char *));
+extern char *crypt _((const char *, const char *));
#endif
#ifndef HAVE_DUP2