diff options
Diffstat (limited to 'src/solar.h')
-rw-r--r-- | src/solar.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/solar.h b/src/solar.h index 5897373..304b8ec 100644 --- a/src/solar.h +++ b/src/solar.h @@ -44,7 +44,8 @@ typedef enum { SOLAR_TIME_MAX } solar_time_t; -double solar_elevation(time_t t, double lat, double lon); -void solar_table_fill(time_t date, double lat, double lon, time_t *table); +double solar_elevation(struct timespec date, double lat, double lon); +void solar_table_fill(struct timespec date, double lat, double lon, + time_t *table); #endif /* ! _SOLAR_H */ |