summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGary E. Miller <gem@rellim.com>2015-03-09 11:40:26 -0700
committerGary E. Miller <gem@rellim.com>2015-03-09 11:40:26 -0700
commitf7ffdfedaa6eb678f743d1096ff0b1fbbd160a94 (patch)
tree43d31ded2d9669db16dd1a2af4c59ea570b2c5f7
parentfdad0191d356a69601e10c382833cbd703147a3a (diff)
downloadgpsd-f7ffdfedaa6eb678f743d1096ff0b1fbbd160a94.tar.gz
OS X, missing (misplaced) return in clock_gettime.
Bad nesting of #ifdef and return 0
-rw-r--r--clock_gettime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clock_gettime.c b/clock_gettime.c
index 0e0b7ed5..67a2d21e 100644
--- a/clock_gettime.c
+++ b/clock_gettime.c
@@ -39,8 +39,8 @@ int clock_gettime(clockid_t clk_id UNUSED, struct timespec *tp)
(tv)->tv_usec += 1000000;
(tv)->tv_sec--;
}
- return 0;
#endif /* __MACH__ */
+ return 0;
}
#endif /* HAVE_CLOCK_GETTIME */