mirror of https://github.com/XEphem/XEphem.git
Fix some build warnings
This commit is contained in:
parent
e11f4d6712
commit
1ab180bba5
|
|
@ -8,6 +8,7 @@
|
|||
#include <sys/stat.h>
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include <X11/IntrinsicP.h> /* to define struct _WidgetRec */
|
||||
#include <X11/Shell.h>
|
||||
|
|
|
|||
|
|
@ -407,7 +407,7 @@ double *alp, double *azp) /* max altitude and transit az at said time */
|
|||
else
|
||||
r = m2;
|
||||
}
|
||||
// fprintf (stderr, "tern nloops = %d\n", nloops);
|
||||
/* fprintf (stderr, "tern nloops = %d\n", nloops); */
|
||||
if (nloops >= MAXLOOPS)
|
||||
return (-1);
|
||||
|
||||
|
|
|
|||
|
|
@ -105,7 +105,7 @@ static void free_vector(double *v, int nl, int nh);
|
|||
#define GAMMA 2.0
|
||||
|
||||
#define GET_PSUM for (j=1;j<=ndim;j++) { for (i=1,sum=0.0;i<=mpts;i++)\
|
||||
sum += p[i][j]; psum[j]=sum;}
|
||||
{ sum += p[i][j]; } psum[j]=sum; }
|
||||
|
||||
static int
|
||||
amoeba(p,y,ndim,ftol,funk,nfunk)
|
||||
|
|
|
|||
Loading…
Reference in New Issue