* 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
This commit is contained in:
eban 2003-06-05 09:36:30 +00:00
parent 5fe3feca28
commit d9f893b70b
2 changed files with 7 additions and 3 deletions

View File

@ -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]

View File

@ -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;