diff options
author | Mattias Andrée <m@maandree.se> | 2024-10-18 21:56:32 +0200 |
---|---|---|
committer | Mattias Andrée <m@maandree.se> | 2024-10-18 21:56:32 +0200 |
commit | 693bde5c2fe9ae5ecd85524f8bbee996d052fb4f (patch) | |
tree | cbb9ffb18c7bc16d4969a333fff437a7ae9a314b /libred.h | |
parent | cleanup (diff) | |
download | libred-693bde5c2fe9ae5ecd85524f8bbee996d052fb4f.tar.gz libred-693bde5c2fe9ae5ecd85524f8bbee996d052fb4f.tar.bz2 libred-693bde5c2fe9ae5ecd85524f8bbee996d052fb4f.tar.xz |
Fix incorrect functions + general improvements
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to '')
-rw-r--r-- | libred.h | 7 | ||||
-rw-r--r-- | libred.h.0 | 4 |
2 files changed, 4 insertions, 7 deletions
@@ -147,10 +147,11 @@ double libred_solar_elevation(double, double, double *); /** - * Exit if time the is before year 0 in J2000 - * - * @return 0 on success, -1 on error + * This function is obsolete */ +#if defined(__GNUC__) +__attribute__((__deprecated__("libred_check_timetravel is not needed"), __const__)) +#endif int libred_check_timetravel(void); @@ -119,12 +119,8 @@ This header defines the following functions: .BR libred_solar_elevation (3) .TP * -.BR libred_check_timetravel (3) -.TP -* .BR libred_get_colour (3) .SH SEE ALSO .BR libred (7), .BR libred_solar_elevation (3), -.BR libred_check_timetravel (3), .BR libred_get_colour (3) |