diff options
author | joeycastillo <joeycastillo@utexas.edu> | 2022-03-04 14:52:49 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-04 14:52:49 -0600 |
commit | ccdf08da876d2c66bbc54cc246443676c4f9bf2e (patch) | |
tree | 77473da9df40f9b1f7cec5f8bd03c1b52c26b8e7 /movement/lib/sunriset/sunriset.c | |
parent | ea988208e10dbcf62eff65522ec9f92231d880e9 (diff) | |
download | Sensor-Watch-ccdf08da876d2c66bbc54cc246443676c4f9bf2e.tar.gz Sensor-Watch-ccdf08da876d2c66bbc54cc246443676c4f9bf2e.tar.bz2 Sensor-Watch-ccdf08da876d2c66bbc54cc246443676c4f9bf2e.zip |
Movement: Astronomy and Orrery watch faces (#55)
Diffstat (limited to 'movement/lib/sunriset/sunriset.c')
-rw-r--r-- | movement/lib/sunriset/sunriset.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/movement/lib/sunriset/sunriset.c b/movement/lib/sunriset/sunriset.c index 9126c3bc..178f2ff5 100644 --- a/movement/lib/sunriset/sunriset.c +++ b/movement/lib/sunriset/sunriset.c @@ -17,6 +17,7 @@ Released to the public domain by Paul Schlyter, December 1992 #include <math.h> #include "sunriset.h" +static void sunpos( double d, double *lon, double *r ); /* A macro to compute the number of days elapsed since 2000 Jan 0.0 */ /* (which is equal to 1999 Dec 31, 0h UT) */ @@ -199,7 +200,7 @@ double __daylen__( int year, int month, int day, double lon, double lat, /* This function computes the Sun's position at any instant */ -void sunpos( double d, double *lon, double *r ) +static void sunpos( double d, double *lon, double *r ) /******************************************************/ /* Computes the Sun's ecliptic longitude and distance */ /* at an instant given in d, number of days since */ |