summaryrefslogtreecommitdiff
path: root/ext/digest
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-08-09 23:15:08 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-08-09 23:15:08 +0000
commita64266a72837c350ac6552ac5cb14591b5cb2b05 (patch)
tree8fc8ade904dee168adf5d78483b31e9008442641 /ext/digest
parent0e3d10173bec301c075555e20a0fc1da853ab35c (diff)
* configure.in (rb_cv_missing__dtos18, rb_cv_missing_fconvert),
ext/digest/md5/md5.c, ext/openssl/ossl.c (main), ext/socket/extconf.rb (ipv6, wide-getaddrinfo): main should be int. * main.c (main), win32/winmain.c, wince/wincemain.c (WinMain): envp is no longer used so long time. based on a patch from Peter Bowen at [ruby-core:18208] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18459 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/digest')
-rw-r--r--ext/digest/md5/md5.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/digest/md5/md5.c b/ext/digest/md5/md5.c
index 993bc47..518f823 100644
--- a/ext/digest/md5/md5.c
+++ b/ext/digest/md5/md5.c
@@ -60,6 +60,7 @@
* A.5 of RFC 1321, reproduced below.
*/
#include <string.h>
+int
main()
{
static const char *const test[7*2] = {
@@ -100,6 +101,7 @@ main()
*/
#ifdef COMPUTE_T_VALUES
#include <math.h>
+int
main()
{
int i;