/* Prototypes for functions defined in moon.c */
void HandleMoonEvents(void);
void MoonRender(void);
int OpenMoonWindow(void);
void CloseMoonWindow(void);
static void drawmoon(double );
int moon_data(long );
int fmt_phase_time(double ,
                   char *);
static long jdate(struct tm *);
static double jtime(struct tm *);
static void jyear(double ,
                  int *,
                  int *,
                  int *);
static void jhms(double ,
                 int *,
                 int *,
                 int *);
static double meanphase(double ,
                        double );
static double truephase(double ,
                        double );
static void phasehunt(double ,
                      double *);
static double kepler(double ,
                     double );
static double phase(double ,
                    double *,
                    double *,
                    double *,
                    double *,
                    double *,
                    double *);
