summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--thread_pthread.c2
2 files changed, 4 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 375be7625e..a2ef7e2a3d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Wed Jun 1 17:19:16 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
+
+ * thread_pthread.c: remove unused macro.
+
Wed Jun 1 15:42:18 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
* parse.y (peek_n): new macro to see next nth char.
diff --git a/thread_pthread.c b/thread_pthread.c
index d14f2b25e5..0a55744650 100644
--- a/thread_pthread.c
+++ b/thread_pthread.c
@@ -824,8 +824,6 @@ ubf_pthread_cond_signal(void *ptr)
native_cond_signal(&th->native_thread_data.sleep_cond);
}
-#define PER_NANO 1000000000
-
static void
native_sleep(rb_thread_t *th, struct timeval *timeout_tv)
{