diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | ext/pty/pty.c | 3 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,7 @@ +Mon Dec 15 21:01:46 2008 Tanaka Akira <akr@fsij.org> + + * ext/pty/pty.c (chfunc): make it static. + Mon Dec 15 20:16:46 2008 NAKAMURA Usaku <usa@ruby-lang.org> * common.mk (EXTMK_ARGS): shouldn't use ``\"'' because cmd.exe eat diff --git a/ext/pty/pty.c b/ext/pty/pty.c index 089322967b..ce805544fb 100644 --- a/ext/pty/pty.c +++ b/ext/pty/pty.c @@ -192,7 +192,8 @@ struct child_info { VALUE *argv; }; -int chfunc(void *data) +static int +chfunc(void *data) { struct child_info *carg = data; int master = carg->master; |