diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-02-27 07:10:14 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-02-27 07:10:14 +0000 |
commit | cc216f9aae241c2a4407a1d8253909b307df90bb (patch) | |
tree | 19d562d636600e0d8ab66133bd4584b8fbd1ad60 /thread.c | |
parent | 057098bfdcdbdc5bbd26fb51a7f8a37e6f8a2547 (diff) | |
download | ruby-cc216f9aae241c2a4407a1d8253909b307df90bb.tar.gz |
adjust indent and style
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45192 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'thread.c')
-rw-r--r-- | thread.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -1013,7 +1013,8 @@ getclockofday(struct timeval *tp) if (clock_gettime(CLOCK_MONOTONIC, &ts) == 0) { tp->tv_sec = ts.tv_sec; tp->tv_usec = ts.tv_nsec / 1000; - } else + } + else #endif { gettimeofday(tp, NULL); @@ -1084,7 +1085,8 @@ timeofday(void) if (clock_gettime(CLOCK_MONOTONIC, &tp) == 0) { return (double)tp.tv_sec + (double)tp.tv_nsec * 1e-9; - } else + } + else #endif { struct timeval tv; |