summaryrefslogtreecommitdiff
path: root/thread_pthread.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-11-04 07:19:23 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-11-04 07:19:23 +0000
commit413f24d3b01ee6ceaf8b025cf64e05155689fdbe (patch)
tree8745c6ea3b40f5bc6a20630738b774554dda8c19 /thread_pthread.c
parentab682d95e077b43db7dfd293744aa546888d7e35 (diff)
* whitespace cleanup.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'thread_pthread.c')
-rw-r--r--thread_pthread.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/thread_pthread.c b/thread_pthread.c
index 3e4231fd27..7d03bcc561 100644
--- a/thread_pthread.c
+++ b/thread_pthread.c
@@ -1091,7 +1091,7 @@ consume_communication_pipe(void)
{
#define CCP_READ_BUFF_SIZE 1024
/* buffer can be shared because no one refers to them. */
- static char buff[CCP_READ_BUFF_SIZE];
+ static char buff[CCP_READ_BUFF_SIZE];
ssize_t result;
retry:
@@ -1150,11 +1150,11 @@ thread_timer(void *p)
timeout.tv_usec = TIME_QUANTUM_USEC;
/* polling (TIME_QUANTUM_USEC usec) */
- result = select(timer_thread_pipe[0] + 1, &rfds, 0, 0, &timeout);
+ result = select(timer_thread_pipe[0] + 1, &rfds, 0, 0, &timeout);
}
else {
/* wait (infinite) */
- result = select(timer_thread_pipe[0] + 1, &rfds, 0, 0, 0);
+ result = select(timer_thread_pipe[0] + 1, &rfds, 0, 0, 0);
}
if (result == 0) {