summaryrefslogtreecommitdiff
path: root/missing/crypt.h
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-06-04 01:54:54 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-06-04 01:54:54 +0000
commit40c3c3ec6cff9a04579faf478297d75a371fd54a (patch)
tree131e658a37e24bd5696f198ac1e0fdc172882638 /missing/crypt.h
parent200d4afd444812a19c535c980f5ed2ef2ab17567 (diff)
downloadruby-40c3c3ec6cff9a04579faf478297d75a371fd54a.tar.gz
crypt.h: remove initialized
* missing/crypt.h (struct crypt_data): remove unnecessary member "initialized". * missing/crypt.c (des_setkey_r): nothing to be initialized in crypt_data. * configure.in (struct crypt_data): check for "initialized" in struct crypt_data, which may be only in glibc, and isn't on AIX at least. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55272 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'missing/crypt.h')
-rw-r--r--missing/crypt.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/missing/crypt.h b/missing/crypt.h
index 2048f76b1a..2b86fb0ca7 100644
--- a/missing/crypt.h
+++ b/missing/crypt.h
@@ -224,7 +224,6 @@ struct crypt_data {
/* ==================================== */
char cryptresult[1+4+4+11+1]; /* encrypted result */
- int initialized;
};
char *crypt(const char *key, const char *setting);