diff options
author | Gary E. Miller <gem@rellim.com> | 2015-03-09 11:40:26 -0700 |
---|---|---|
committer | Gary E. Miller <gem@rellim.com> | 2015-03-09 11:40:26 -0700 |
commit | f7ffdfedaa6eb678f743d1096ff0b1fbbd160a94 (patch) | |
tree | 43d31ded2d9669db16dd1a2af4c59ea570b2c5f7 | |
parent | fdad0191d356a69601e10c382833cbd703147a3a (diff) | |
download | gpsd-f7ffdfedaa6eb678f743d1096ff0b1fbbd160a94.tar.gz |
OS X, missing (misplaced) return in clock_gettime.
Bad nesting of #ifdef and return 0
-rw-r--r-- | clock_gettime.c | 2 |
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 */ |