summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-05-27 11:33:46 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-05-27 11:33:46 +0000
commitdc2bab2207d3bf9d7576194abf191fead31735c5 (patch)
tree0e30fc6718a3c4a59e951fefbebf4128dce3c7b0
parentaa37cc71279123d870263f9e9b315e7fd48095eb (diff)
* eval.c, util.c: removed duplicated includes/defines.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3872 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog4
-rw-r--r--eval.c8
-rw-r--r--util.c4
3 files changed, 3 insertions, 13 deletions
diff --git a/ChangeLog b/ChangeLog
index 717b8c470ee..69972e282f1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,6 @@
-Tue May 27 20:07:52 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net>
+Tue May 27 20:33:18 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net>
+
+ * eval.c, util.c: removed duplicated includes/defines.
* ext/socket/socket.c (sock_addrinfo): get rid of SEGV at NULL ptr
String. increase buffer size for 64bit platforms.
diff --git a/eval.c b/eval.c
index d02694a2f02..d37ace4b652 100644
--- a/eval.c
+++ b/eval.c
@@ -5114,14 +5114,6 @@ rb_f_send(argc, argv, recv)
return vid;
}
-#ifdef HAVE_STDARG_PROTOTYPES
-#include <stdarg.h>
-#define va_init_list(a,b) va_start(a,b)
-#else
-#include <varargs.h>
-#define va_init_list(a,b) va_start(a)
-#endif
-
VALUE
#ifdef HAVE_STDARG_PROTOTYPES
rb_funcall(VALUE recv, ID mid, int n, ...)
diff --git a/util.c b/util.c
index b0cf8256bda..9a3ce69c2c7 100644
--- a/util.c
+++ b/util.c
@@ -75,10 +75,6 @@ scan_hex(start, len, retlen)
# define S_ISDIR(m) ((m & S_IFMT) == S_IFDIR)
#endif
-#ifdef _WIN32
-#include "missing/file.h"
-#endif
-
#if defined(MSDOS) || defined(__CYGWIN32__) || defined(_WIN32)
/*
* Copyright (c) 1993, Intergraph Corporation