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 '')
-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)