diff options
author | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-06-05 09:36:30 +0000 |
---|---|---|
committer | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-06-05 09:36:30 +0000 |
commit | 2e3c832c2b6f9f36425c96995b1c61f060fa4686 (patch) | |
tree | 98f3655f5f31699c5489c4e936799b2e9c4adb46 | |
parent | ce155efeeaba207ebaec4428b69edac34d58278a (diff) | |
download | ruby-2e3c832c2b6f9f36425c96995b1c61f060fa4686.tar.gz ruby-2e3c832c2b6f9f36425c96995b1c61f060fa4686.tar.xz ruby-2e3c832c2b6f9f36425c96995b1c61f060fa4686.zip |
* ext/curses/curses.c (window_s_allocate,curses_finalize):
avoid VC++ warnings.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3909 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | ext/curses/curses.c | 5 |
2 files changed, 7 insertions, 3 deletions
@@ -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 d2263ef00..52c8ab1e7 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; |