summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--ext/curses/curses.c5
2 files changed, 7 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index a2598f2c8e..4224fbcc0c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Thu Jun 5 18:33:46 2003 WATANABE Hirofumi <eban@ruby-lang.org>
+
+ * ext/curses/curses.c (window_s_allocate,curses_finalize):
+ avoid VC++ warnings.
+
Thu Jun 5 15:09:06 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
* math.c (math_erf,math_erfc): new function. [ruby-list:37753]
diff --git a/ext/curses/curses.c b/ext/curses/curses.c
index d2263ef007..52c8ab1e7f 100644
--- a/ext/curses/curses.c
+++ b/ext/curses/curses.c
@@ -143,7 +143,7 @@ curses_close_screen()
}
static void
-curses_finalize()
+curses_finalize(VALUE dummy)
{
if (stdscr
#ifdef HAVE_ISENDWIN
@@ -663,8 +663,7 @@ DEFINE_MOUSE_GET_MEMBER(curs_mouse_bstate, bstate)
/* def self.allocate */
static VALUE
-window_s_allocate(class)
- VALUE class;
+window_s_allocate(VALUE class)
{
struct windata *winp;