diff options
Diffstat (limited to 'astro/ephem/files/patch-srch.c')
-rw-r--r-- | astro/ephem/files/patch-srch.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/astro/ephem/files/patch-srch.c b/astro/ephem/files/patch-srch.c new file mode 100644 index 0000000..e419956 --- /dev/null +++ b/astro/ephem/files/patch-srch.c @@ -0,0 +1,18 @@ +--- srch.c.orig Sun Jan 21 21:10:29 2007 ++++ srch.c Sun Jan 21 21:11:37 2007 +@@ -6,9 +6,14 @@ + + #include <stdio.h> + #include <math.h> ++#include <string.h> + #include "screen.h" + +-extern char *strcpy(); ++static set_function(); ++static set_accuracy(); ++static srch_minmax(double mjd, double v, double *tmincp); ++static srch_solve0(double mjd, double v, double *tmincp); ++static srch_binary(double mjd, double v, double *tmincp); + + static int (*srch_f)(); + static int srch_tmscalled; |