aboutsummaryrefslogtreecommitdiffstats
path: root/libred.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--libred.h7
-rw-r--r--libred.h.04
2 files changed, 4 insertions, 7 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);
diff --git a/libred.h.0 b/libred.h.0
index c3aa853..3dd97b8 100644
--- a/libred.h.0
+++ b/libred.h.0
@@ -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)