aboutsummaryrefslogtreecommitdiffstats
path: root/libred.h
diff options
context:
space:
mode:
authorMattias Andrée <m@maandree.se>2025-03-07 22:31:13 +0100
committerMattias Andrée <m@maandree.se>2025-03-07 22:31:13 +0100
commit7efe006a319f91f5bfa98a72b424a99897e9792f (patch)
treee590bff6f9a0529e30a804941da462ac78c60ace /libred.h
parentImprove quality, fix errors, update comments, update man pages, add new man pages (diff)
downloadlibred-7efe006a319f91f5bfa98a72b424a99897e9792f.tar.gz
libred-7efe006a319f91f5bfa98a72b424a99897e9792f.tar.bz2
libred-7efe006a319f91f5bfa98a72b424a99897e9792f.tar.xz
Fix bugs
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to 'libred.h')
-rw-r--r--libred.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/libred.h b/libred.h
index 21920ff..9d59d39 100644
--- a/libred.h
+++ b/libred.h
@@ -3,6 +3,9 @@
#define LIBRED_H
+/* bug fix: */
+#define libred_solar_elevation libred_solar_elevation__int
+
/**
* Approximate apparent size of the Sun in degrees
@@ -143,7 +146,7 @@
* @return 0 on success, -1 on failure
* @throws Any error specified for clock_gettime(3) on error
*/
-double libred_solar_elevation(double, double, double *);
+int libred_solar_elevation(double, double, double *);
/**