aboutsummaryrefslogtreecommitdiffstats
path: root/libred.h
diff options
context:
space:
mode:
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);