summaryrefslogtreecommitdiff
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 a1285799c4..81f3bf73ad 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: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;