summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-06-05 09:36:30 +0000
committereban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-06-05 09:36:30 +0000
commitd9f893b70ba3c5a62f3a053aad7b6340e34afff9 (patch)
tree98f3655f5f31699c5489c4e936799b2e9c4adb46
parent5fe3feca281137488397269ad6467d7582328ef9 (diff)
* ext/curses/curses.c (window_s_allocate,curses_finalize):
avoid VC++ warnings. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3909 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-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 a2598f2c8e7..4224fbcc0ca 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 d2263ef0076..52c8ab1e7f2 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;