aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--ext/pty/pty.c3
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 330a557a12..17e479a751 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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:59:10 2008 Tanaka Akira <akr@fsij.org>
* ext/pty/pty.c (child_info): add slavename.
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;