summaryrefslogtreecommitdiff
path: root/ext/curses
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 /ext/curses
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
Diffstat (limited to 'ext/curses')
-rw-r--r--ext/curses/curses.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/ext/curses/curses.c b/ext/curses/curses.c
index d2263ef..52c8ab1 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;