Fix some build warnings

This commit is contained in:
89391914+robxnano@users.noreply.github.com 2023-04-10 12:34:55 +01:00
parent e11f4d6712
commit 1ab180bba5
No known key found for this signature in database
GPG Key ID: 9FB6B03B782D1E42
4 changed files with 31 additions and 30 deletions

View File

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

View File

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

View File

@ -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)