1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/astro/ephem/files/patch-srch.c
Pav Lucistnik 409980699a - Fix build with gcc41
- Update maintainer's address

PR:		ports/108190
Submitted by:	Slaven Rezic <slaven@rezic.de> (maintainer)
2007-01-24 23:18:05 +00:00

19 lines
483 B
C

--- 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;