summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-12-15 12:02:09 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-12-15 12:02:09 +0000
commit67e43bfdf333fd60e2cdca69e226329fe51de25c (patch)
treef277e9708feb66ecf5a9e7317c6c9611e640f4ae /ext
parent9bfd822bd1547e2e6bc549606159de1cb980690e (diff)
* ext/pty/pty.c (chfunc): make it static.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20758 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
-rw-r--r--ext/pty/pty.c3
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;