diff options
Diffstat (limited to 'ext/pty/pty.c')
-rw-r--r-- | ext/pty/pty.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/pty/pty.c b/ext/pty/pty.c index cb147386a7..4b3ebb19a6 100644 --- a/ext/pty/pty.c +++ b/ext/pty/pty.c @@ -150,7 +150,8 @@ struct child_info { VALUE *argv; }; -int chfunc(void *data) +static int +chfunc(void *data) { struct child_info *carg = data; int master = carg->master; |