diff options
author | Joey Castillo <joeycastillo@utexas.edu> | 2022-05-02 18:39:45 -0500 |
---|---|---|
committer | Joey Castillo <joeycastillo@utexas.edu> | 2022-05-02 18:39:45 -0500 |
commit | cd405735351035df657b64547b3dfc6a3d59db56 (patch) | |
tree | 1cdd5e6b0d0434d20f71045178a1e5e7377eb56f /movement/lib/sunriset/sunriset.c | |
parent | 0004c30f422e702fd184a54e9f1d55da878bcd0f (diff) | |
parent | 35d1f5e647ac1b5fcccdb43ec58058587dd5301b (diff) | |
download | Sensor-Watch-cd405735351035df657b64547b3dfc6a3d59db56.tar.gz Sensor-Watch-cd405735351035df657b64547b3dfc6a3d59db56.tar.bz2 Sensor-Watch-cd405735351035df657b64547b3dfc6a3d59db56.zip |
Merge branch 'main' of github.com:joeycastillo/Sensor-Watch into motion-express
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 */ |