aboutsummaryrefslogtreecommitdiffstats
path: root/libred.h
diff options
context:
space:
mode:
authorMattias Andrée <m@maandree.se>2024-10-18 21:56:32 +0200
committerMattias Andrée <m@maandree.se>2024-10-18 21:56:32 +0200
commit693bde5c2fe9ae5ecd85524f8bbee996d052fb4f (patch)
treecbb9ffb18c7bc16d4969a333fff437a7ae9a314b /libred.h
parentcleanup (diff)
downloadlibred-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 'libred.h')
-rw-r--r--libred.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/libred.h b/libred.h
index da03c51..3b0e489 100644
--- a/libred.h
+++ b/libred.h
@@ -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);