From cc216f9aae241c2a4407a1d8253909b307df90bb Mon Sep 17 00:00:00 2001 From: nobu Date: Thu, 27 Feb 2014 07:10:14 +0000 Subject: adjust indent and style git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45192 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- thread.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'thread.c') diff --git a/thread.c b/thread.c index 43fec8ace1..0b52cbd127 100644 --- a/thread.c +++ b/thread.c @@ -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; -- cgit v1.2.3