diff options
author | Mattias Andrée <maandree@kth.se> | 2021-09-16 18:13:08 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2021-09-16 18:13:08 +0200 |
commit | 090009a8e107888fb9f1ab5a2997d65c8c121398 (patch) | |
tree | ebb909ccbc6f6d29af5469964953aac987b86960 /solar.c | |
parent | whitespace (diff) | |
download | libred-090009a8e107888fb9f1ab5a2997d65c8c121398.tar.gz libred-090009a8e107888fb9f1ab5a2997d65c8c121398.tar.bz2 libred-090009a8e107888fb9f1ab5a2997d65c8c121398.tar.xz |
Improve makefile + minor fixes and improvements1.0.2
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'solar.c')
-rw-r--r-- | solar.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -19,6 +19,7 @@ # define CLOCK_REALTIME_COARSE CLOCK_REALTIME #endif + /** * Get current Julian Centuries time (100 Julian days since J2000) * @@ -26,7 +27,7 @@ * @return 0 on success, -1 on failure * @throws Any error specified for clock_gettime(3) on error */ -static double +static int julian_centuries(double *nowp) { struct timespec now; |