* installing *source* package ‘locfit’ ...
** package ‘locfit’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: ‘Apple clang version 14.0.3 (clang-1403.0.22.14.1)’
using SDK: ‘MacOSX11.3.sdk’
clang -arch x86_64 -std=gnu17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c S_enter.c -o S_enter.o
clang -arch x86_64 -std=gnu17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c band.c -o band.o
clang -arch x86_64 -std=gnu17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c dbinom.c -o dbinom.o
clang -arch x86_64 -std=gnu17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c dens_haz.c -o dens_haz.o
clang -arch x86_64 -std=gnu17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c dens_int.c -o dens_int.o
clang -arch x86_64 -std=gnu17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c dens_odi.c -o dens_odi.o
In file included from dbinom.c:7:
./mutil.h:94:15: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern double stirlerr(), bd0();
              ^
                       void
dbinom.c:54:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double stirlerr(n)
       ^
In file included from dbinom.c:7:
./mutil.h:94:27: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern double stirlerr(), bd0();
                          ^
                              void
dbinom.c:72:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double bd0(x,np)
       ^
In file included from dbinom.c:7:
./mutil.h:95:15: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern double dbinom_raw(), dpois_raw();
              ^
                         void
dbinom.c:100:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double dbinom_raw(x,n,p,q,give_log)
       ^
In file included from dbinom.c:7:
./mutil.h:96:15: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern double dbinom(), dpois(), dnbinom(), dbeta(), dgamma(), dt(), df(), dhyper();
              ^
                     void
dbinom.c:127:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double dbinom(x,n,p,give_log)
       ^
In file included from dbinom.c:7:
./mutil.h:95:29: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern double dbinom_raw(), dpois_raw();
                            ^
                                      void
dbinom.c:144:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double dpois_raw(x,lambda,give_log)
       ^
In file included from dbinom.c:7:
./mutil.h:96:25: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern double dbinom(), dpois(), dnbinom(), dbeta(), dgamma(), dt(), df(), dhyper();
                        ^
                              void
dbinom.c:155:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double dpois(x,lambda,give_log)
       ^
In file included from dbinom.c:7:
./mutil.h:96:45: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern double dbinom(), dpois(), dnbinom(), dbeta(), dgamma(), dt(), df(), dhyper();
                                            ^
                                                  void
dbinom.c:165:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double dbeta(x,a,b,give_log)
       ^
In file included from dbinom.c:7:
./mutil.h:96:70: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern double dbinom(), dpois(), dnbinom(), dbeta(), dgamma(), dt(), df(), dhyper();
                                                                     ^
                                                                        void
dbinom.c:204:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double df(x,m,n,give_log)
       ^
In file included from dbinom.c:7:
./mutil.h:96:54: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern double dbinom(), dpois(), dnbinom(), dbeta(), dgamma(), dt(), df(), dhyper();
                                                     ^
                                                            void
dbinom.c:241:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double dgamma(x,r,lambda,give_log)
       ^
In file included from dbinom.c:7:
./mutil.h:97:15: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern double dchisq();
              ^
                     void
dbinom.c:262:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double dchisq(x, df, give_log)
       ^
In file included from dbinom.c:7:
./mutil.h:96:76: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern double dbinom(), dpois(), dnbinom(), dbeta(), dgamma(), dt(), df(), dhyper();
                                                                           ^
                                                                                  void
dbinom.c:291:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double dhyper(x,r,b,n,give_log)
       ^
In file included from dbinom.c:7:
./mutil.h:96:34: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern double dbinom(), dpois(), dnbinom(), dbeta(), dgamma(), dt(), df(), dhyper();
                                 ^
                                         void
dbinom.c:315:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double dnbinom(x,n,p,give_log)
       ^
In file included from dbinom.c:7:
./mutil.h:96:64: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern double dbinom(), dpois(), dnbinom(), dbeta(), dgamma(), dt(), df(), dhyper();
                                                               ^
                                                                  void
dbinom.c:330:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double dt(x, df, give_log)
       ^
In file included from dens_int.c:21:
In file included from ./local.h:107:
./lffuns.h:30:41: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern void dens_renorm(), dens_lscv(), lforder();
                                        ^
                                                void
dens_int.c:29:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void lforder(ind,x,l,r)
     ^
dens_haz.c:44:10: warning: passing arguments to 'setzero' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  setzero(r1,p*p);
         ^
dens_haz.c:56:16: warning: passing arguments to 'weight' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    wt = weight(haz_lfd, haz_sp, dfx, NULL, h, 0, 0.0);
               ^
dens_haz.c:57:11: warning: passing arguments to 'fitfun' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    fitfun(haz_lfd, haz_sp, dfx,NULL,ff,NULL);
          ^
dens_haz.c:band.c:20:15: warning: passing arguments to 'procvraw' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  k = procvraw(des,lf,v);
              ^
58:19: warning: passing arguments to 'innerprod' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    th = innerprod(cf,ff,p);
                  ^
band.c:21:8: warning: passing arguments to 'wdiag' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
dens_haz.c:61:13: warning: passing arguments to 'addouter' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    addouter(r1,ff,ff,p,wt*th);
            ^
dens_haz.c:63:14: warning: passing arguments to 'multmatscal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  multmatscal(r1,(t1-t0)/(3*de_mint),p*p);
             ^
  wdiag(&lf->lfd, &lf->sp, des,des->wd,&lf->dv,0,1,0);
       ^
dens_int.c:88:11: warning: passing arguments to 'recurint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  recurint(0.0,dlt,cf,I,0,WRECT);
          ^
dens_int.c:94:11: warning: passing arguments to 'recurint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  recurint(0.0,dlt,cf,I,0,WRECT);
          ^
dens_odi.c:dens_int.c:6223:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double estdiv(x0,x1,f0,f1,d0,d1,lin)
int exbctay(b,c,n,z) /* n-term taylor series of e^(bx+cx^2) */S_enter.c
band.c:dens_haz.c    ^:       ^158

:35:5:: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int haz_sph_int(dfx,cf,h,r1)
    ^
26:50: warning: passing arguments to 'ipower' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    bi = prwt(&lf->lfd,ii)*fabs(des->wd[i]*ipower(des->di[ii],deg(&lf->sp)+1));
                                                 ^
band.c:14:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int procvbind(des,lf,v)
    ^
13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
static void setevs(evs,mi,cut,mg,flim)
            ^
S_enter.c:202:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
static void setdata(lfd,x,y,c,w,b,n,d,sca,sty)
            ^
S_enter.c:221:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
static void setsmpar(sp,dp,mi)
            ^
S_enter.c:248:22: warning: passing arguments to 'lfkernel' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  mi[MKER] = lfkernel(str[0]);
                     ^
S_enter.c:249:22: warning: passing arguments to 'lffamily' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  mi[MTG]  = lffamily(str[1]);
                     ^
S_enter.c:250:20: warning: passing arguments to 'lflink' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  mi[MLINK]= lflink(str[2]);
                   ^
S_enter.c:252:20: warning: passing arguments to 'lfacri' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  mi[MACRI]= lfacri(str[4]);
                   ^
S_enter.c:253:22: warning: passing arguments to 'lfketype' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  mi[MKT]  = lfketype(str[5]);
                     ^
S_enter.c:262:13: warning: passing arguments to 'lfit_alloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  lfit_alloc(&lf);
            ^
dens_odi.c:43:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double explinjtay(l0,l1,j,cf)
       ^
S_enter.c:297:8: warning: passing arguments to 'scb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    scb(&des,&lf);
       ^
dens_odi.c:65:14: warning: passing arguments to 'lf_exp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  y0 = lf_exp(cf[0]+l0*cf[1]);
             ^
dens_odi.c:66:14: warning: passing arguments to 'lf_exp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  y1 = lf_exp(cf[0]+l1*cf[1]);
             ^
band.c:48:22: warning: passing arguments to 'startlf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  if (cri<64) startlf(bdes,blf,pv,0);
                     ^
band.cdens_odi.c:60:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void explint1(l0,l1,cf,I,p) /* int x^j exp(a+bx); j=0..p-1 */
     ^
S_enter.c:303:16: warning: passing arguments to 'startlf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      { startlf(&des,&lf,procv,0);
               ^
S_enter.c:304:31: warning: passing arguments to 'ressumm' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        if (!lf_error) ressumm(&lf,&des);
                              ^
S_enter.c:306:19: warning: passing arguments to 'startlf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      else startlf(&des,&lf,procvvord,0);
                  ^
S_enter.c:309:14: warning: passing arguments to 'startlf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      startlf(&des,&lf,procvraw,0);
             ^
S_enter.c:312:14: warning: passing arguments to 'startlf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      startlf(&des,&lf,procvhatm,(int)mi[MKER]!=WPARM);
             ^
S_enter.c:315:16: warning: passing arguments to 'constants' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      constants(&des,&lf);
               ^
S_enter.c:319:12: warning: passing arguments to 'rband' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      rband(&des,&lf,kap,lf.dv.deriv,lf.dv.nd);
           ^
S_enter.c:322:14: warning: passing arguments to 'startlf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      startlf(&des,&lf,procv,1);
             ^
S_enter.c:323:16: warning: passing arguments to 'dens_lscv' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      dens_lscv(&des,&lf);
               ^
dens_odi.c:92:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
S_enter.cvoid explintyl(l0,l1,cf,I,p) /* small c, use taylor series and explint1 */
     ^
:In file included from dens_int.c:21:
In file included from ./local.h:107:
./lffuns.h:29:15: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern double dens_integrate();
              ^
                             void
dens_int.c:105:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]:51:14: warning: passing arguments to 'ressumm' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]240:13dens_odi.c:103:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]


      ressumm(blf,bdes);
             ^
:band.c:56:14: warning: passing arguments to 'ressumm' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void solvetrid(X,y,m)
     ^
double dens_integrate(lf,des,z)dens_odi.c:127:16:
       ^
 warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      ressumm(blf,bdes);
             ^
band.c:34:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double bcri(h,c,cri)
       ^
 warning: passing arguments to 'lf_exp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  { bi = lf_exp(cf[0]+cf[1]*d+cf[2]*d*d)/c;
               ^
dens_odi.c:129:33: warning: passing arguments to 'ptail' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    { if (a0>6) I[0] = (y0*ptail(-a0)-y1*ptail(-a1))/c;
                                ^
dens_odi.c:129:47: warning: passing arguments to 'ptail' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    { if (a0>6) I[0] = (y0*ptail(-a0)-y1*ptail(-a1))/c;
                                              ^
dens_odi.c:130:34: warning: passing arguments to 'mut_pnorm' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      else I[0] = S2PI*(mut_pnorm(-a0,0.0,1.0)-mut_pnorm(-a1,0.0,1.0))*bi;
                                 ^
dens_odi.c:130:57: warning: passing arguments to 'mut_pnorm' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      else I[0] = S2PI*(mut_pnorm(-a0,0.0,1.0)-mut_pnorm(-a1,0.0,1.0))*bi;
                                                        ^
dens_odi.c:133:35: warning: passing arguments to 'ptail' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    { if (a1< -6) I[0] = (y1*ptail(a1)-y0*ptail(a0))/c;
                                  ^
dens_odi.c:133:48: warning: passing arguments to 'ptail' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    { if (a1< -6) I[0] = (y1*ptail(a1)-y0*ptail(a0))/c;
                                               ^
dens_odi.c:134:34: warning: passing arguments to 'mut_pnorm' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      else I[0] = S2PI*(mut_pnorm(a1,0.0,1.0)-mut_pnorm(a0,0.0,1.0))*bi;
                                 ^
dens_odi.c:134:56: warning: passing arguments to 'mut_pnorm' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      else I[0] = S2PI*(mut_pnorm(a1,0.0,1.0)-mut_pnorm(a0,0.0,1.0))*bi;
                                                       ^
dens_haz.cdens_odi.c:138:16: warning: band.c:65:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void bsel2(h0,g0,ifact,c,cri)
     ^
static void slocfit(x,y,c,w,b,lim,mi,dp,str,sca,xev,wdes,wtre,wpc,nvc,
:73:10: warning: passing arguments to 'setzero' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  setzero(resp,p*p);
         ^
passing arguments to 'lfdaws' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    I[0] = (y1*daws(a1)-y0*daws(a0))/c;
               ^
            ^
dens_haz.c:68:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int hazint_sph(t,resp,r1,cf,h)
    ^
band.c:88:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void bsel3(h0,g0,ifact,c,cri)
     ^
band.c:112:34: warning: passing arguments to 'factorial' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  if (cri==BIND) pen /= factorial(deg(&lf->sp)+1);
                                 ^
./local.h:40:23: note: expanded from macro 'daws'
#define daws(x) lfdaws(x)
                      ^
dens_odi.c:138:28: warning: passing arguments to 'lfdaws' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    I[0] = (y1*daws(a1)-y0*daws(a0))/c;
                           ^
./local.h:40band.c:135:10::23: note: expanded from macro 'daws'
#define daws(x) lfdaws(x)
                      ^S_enter.c:345:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
static void recoef(xev,coef,cell,nvc,mi,dp)
            ^

dens_haz.c:105:10: warning: passing arguments to 'setzero' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
dens_odi.c:121:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void initi0i1(I,cf,y0,y1,l0,l1)
     ^
 warning:   setzero(resp,p*p);
         ^
passing arguments to 'startlf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
S_enter.c:412:22: warning: passing arguments to 'pc_reqd' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  lf.pc.lwk = pc_reqd(mi[MDIM],p);
                     ^
S_enter.c:413:8: warning: passing arguments to 'pcchk' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  pcchk(&lf.pc,(int)mi[MDIM],p,0);
       ^
dens_haz.c:138:21: warning: passing arguments to 'onedint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      { st = onedint(haz_sp,ncf,ilim[0]/hs,il1/hs,prod_wk[0]);
                    ^
S_enter.c:439:51: warning: passing arguments to 'ppwhat' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  preplot(&lf,xx,res,se,what[1][0],m,*where,ppwhat(what[0]));
                                                  ^
dens_haz.cIn file included from S_enter.c  startlf(des,lf,procv,0);dens_int.c:
         ^
band.c:136:10: warning: passing arguments to 'ressumm' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  ressumm(lf,des);
         ^
band.c:102:6: warning: dens_odi.c:157:14: warning: passing arguments to 'lf_exp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  y0 = lf_exp(cf[0]+l0*(cf[1]+l0*cf[2]));
             ^
dens_odi.c:158:14: warning: passing arguments to 'lf_exp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  y1 = lf_exp(cf[0]+l1*(cf[1]+l1*cf[2]));
             ^
a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void bselect(lf,des,c,cri,pn)
     ^
dens_odi.c:142:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void explinsid(l0,l1,cf,I,p) /* large b; don't use fwd recursion */
     ^
band.c:145:12: warning: passing arguments to 'wint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  ik = wint(1,NULL,0,WGAUS);
           ^
band.c:151:30: warning: passing arguments to 'Wconv4' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      sd += (2-(i==j))*Wconv4(z,WGAUS)/(ik*ik);
                             ^
band.c:139:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double compsda(x,h,n)
       ^
dens_odi.c:197:14: warning: passing arguments to 'lf_exp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  y0 = lf_exp(cf[0]+l0*(cf[1]+cf[2]*l0));
             ^
dens_odi.c:198:14: warning: passing arguments to 'lf_exp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  y1 = lf_exp(cf[0]+l1*(cf[1]+cf[2]*l1));
             ^
band.c:164:12: warning: passing arguments to 'wint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
:154:dens_odi.c  ik = wint(1,NULL,0,WGAUS);:439:2131192:
:
In file included from  :           ^./local.h10warning: 
:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void explinbkr(l0,l1,cf,I,p) /* small b,c; use back recursion */
     ^
band.c:170:30: warning: passing arguments to 'Wconv6' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      td += (2-(i==j))*Wconv6(z,WGAUS)/(ik*ik);
                             ^
: warning: passing arguments to 'preplot' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  preplot(&lf,xx,res,se,what[1][0],m,*where,ppwhat(what[0]));
         ^
:passing arguments to 'W' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
107:
S_enter.c:        prod_wk[j][0] = ef * W(dfx[j]/(h*haz_lfd->sca[j]),ker(haz_sp));
385:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                              ^
./lffuns.hband.c:175:14: warning: passing arguments to 'Wconv4' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  c1 = Wconv4(0.0,WGAUS);
             ^
band.c:176:12:dens_haz.cstatic void spreplot(xev,coef,sv,cell,x,res,se,wpc,sca,m,nvc,mi,dp,: dens_odi.c30warning: :
            ^
:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
:extern void dens_renorm(), dens_lscv(), lforder();215passing arguments to 'wint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]160
::            ^
18:   c2 = wint(1,&j,1,WGAUS);14warning: 

passing arguments to 'prodintresp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]           ^:                        void

      prodintresp(resp,prod_wk,d,deg(haz_sp),p);
                 ^
band.c:177:13: warning: passing arguments to 'Wconv' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  c3 = Wconv(0.0,WGAUS);  /* (2*c1/(c2*c3))^(1/7)=1.357 */
            ^
dens_haz.c: warning: passing arguments to 'lf_exp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  y0 = lf_exp(cf[0]+l0*l0*cf[2]);
             ^
band.c:157:8: warning: dens_odi.cS_enter.ca function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
:216dens_int.c:
96:462double widthsj(x,lambda,n)5:::
1418921       ^::: :  warning: 6warning: warning: :a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]passing arguments to 'lf_exp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 

int hazint_prod(t,resp,x,cf,h)
passing arguments to 'pc_reqd' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]warning: 
  y1 = lf_exp(cf[0]+l1*l1*cf[2]);
             ^

  lf.pc.lwk= pc_reqd(mi[MDIM],mi[MP],0);
                    ^
    ^S_enter.c:463:8: warning: passing arguments to 'pcchk' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]

dens_odi.c:209:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void explinfbk0(l0,l1,cf,I,p) /* fwd and bac recur; b=0; c<0 */
     ^
  pcchk(&lf.pc,mi[MDIM],mi[MP],0);
       ^
a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void dens_renorm(lf,des)
     ^
S_enter.c:470:24: warning: passing arguments to 'ppwhat' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  fitted(&lf,fit,ppwhat(what[0]),*cv,*st,restyp(what[1]));
                       ^
S_enter.c:470:48: warning: passing arguments to 'restyp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  fitted(&lf,fit,ppwhat(what[0]),*cv,*st,restyp(what[1]));
                                               ^
S_enter.c:470:9: warning: passing arguments to 'fitted' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  fitted(&lf,fit,ppwhat(what[0]),*cv,*st,restyp(what[1]));
        ^
S_enter.c:442:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
static void sfitted(x,y,w,c,ba,fit,cv,st,xev,coef,sv,cell,wpc,sca,nvc,mi,dp,mg,dv,nd,sty,what,bs)
            ^
band.c:192:12: warning: passing arguments to 'wint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  ik = wint(1,NULL,0,ker);
           ^
dens_int.c:214:37S_enter.c:496:15: warning: passing arguments to 'atree_grow' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    atree_grow(NULL, &lf, lf.evs.ce, nt, term, box, &box[d]);
              ^
S_enter.c:500:18: warning: passing arguments to 'triang_grow' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      triang_grow(NULL,&lf,&lf.evs.ce[i*vc],nt,term);
                 ^
S_enter.c:473:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
static void triterm(xev,h,ce,lo,hi,sca,nvc,mi,dp,nt,term,box)
            ^
In file included from dens_haz.c:25:
In file included from ./local.h:107:
./lffuns.h:26:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
S_enter.cband.cdens_odi.cextern int hazint();::::200
 :           ^512warning: 26618:::3114 passing arguments to 'dointpoint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
warning: passing arguments to 'W' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
: 
          r0 += W(s,ker);
                 ^
warning: passing arguments to 'lf_exp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  y0 = lf_exp(cf[0]+l0*(cf[1]+l0*cf[2]));
: warning: passing arguments to 'lfevstr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  mi[MEV] = ev(&evs) = lfevstr(evt[0]);
                              ^
S_enter.c:513:21: warning: passing arguments to 'lfketype' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  mi[MKT] = lfketype(evt[1]);
                    ^
S_enter.c:521:20: warning: passing arguments to 'atree_guessnv' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      atree_guessnv(&evs,&nvm,&ncm,&vc,d,dp[DALP]);
                   ^
S_enter.c:535:20: warning: passing arguments to 'kdtre_guessnv' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      kdtre_guessnv(&evs,&nvm,&ncm,&vc,n,d,dp[DALP]);
                   ^
S_enter.c:560:17: warning: passing arguments to 'calcp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  mi[MP] = calcp(&sp,d);
                ^
S_enter.c:561:19: warning: passing arguments to 'des_reqd' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  lw[0] = des_reqd(n,(int)mi[MP]);
                  ^
S_enter.c:562:20: warning: passing arguments to 'lfit_reqd' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  lw[1] = lfit_reqd(d,nvm,ncm,(int)mi[MGETH]);
                   ^
S_enter.c:563:20: warning: passing arguments to 'lfit_reqi' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  lw[2] = lfit_reqi(nvm,ncm,vc);
                   ^
S_enter.c:564:19: warning: passing arguments to 'des_reqi' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  lw[6] = des_reqi(n,(int)mi[MP]);
                  ^
S_enter.c:565:18: warning: passing arguments to 'pc_reqd' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  lw[3] = pc_reqd(d,(int)mi[MP]);
                 ^
S_enter.c:569:20: warning: passing arguments to 'k0_reqd' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  { lw[4] = k0_reqd(d,n,0);
                   ^
S_enter.c:577:32: warning: passing arguments to 'k0_reqd' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    case GKAP:  lw[4] = k0_reqd(d,n,0);            /* kappa0       */
                               ^
             ^
In file included from S_enter.c:14:
dens_odi.c    fh = base(&lf->lfd,i)+dointpoint(lf,x,PCOEF,evo,i);                  voidband.cIn file included from 

                                    ^:./local.h:dens_haz.c:267201:107:
:14: warning: passing arguments to 'lf_exp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  y1 = lf_exp(cf[0]+l1*(cf[1]+l1*cf[2]));
             ^
dens_int.c:216:22: warning: passing arguments to 'dointpoint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    infl = dointpoint(lf,x,PT0,evo,i);
                     ^
dens_odi.c:260:In file included from :
23dens_int.c171::: 21./lffuns.h56:
::In file included from warning:  :passing arguments to 'Wd' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] warning: ./local.hwarning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]51

          d0 += s*s*Wd(s,ker);
::a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]23int hazint(t,resp,resp1,cf,h)                      ^:107

 warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
:
./lffuns.h:30:    ^
band.c:205:35: warning: passing arguments to 'W' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        res[0] += -2*log(r0)+pen*W(0.0,ker)/(n*h*ik*r0);
                                  ^
band.c:206:33: warning: passing arguments to 'W' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        res[1] += -2*d0/r0-pen*W(0.0,ker)/(n*h*ik*r0)*(d0/r0+1.0/h);
                                ^
band.c:214:18: warning: passing arguments to 'W' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
          r0 += W(s,ker);
                 ^
band.c:215:23: warning: passing arguments to 'Wd' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
          d0 += s*s*Wd(s,ker);
                      ^
In file included from dens_haz.c:25
28: warning: void explinfbk(l0,l1,cf,I,p) /* fwd and bac recur; b not too large */extern void trchck(), guessnv(), lfit_alloc();band.c
:

a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]     ^                      ^In file included from 

                              void
S_enter.c:504:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void guessnv(lw,evt,dp,mi,nvc,mg)
     ^

extern void dens_renorm(), dens_lscv(), lforder();
                           ^
                                     void
dens_int.c:200:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void dens_lscv(des,lf)
     ^
./local.h:107:
./lffuns.h:25:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern void haz_init();
            ^
                     void
dens_haz.c:179:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void haz_init(lfd,des,sp,il)
     ^
dens_odi.c:291:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void recent(I,resp,wt,p,s,x)
     ^
dens_odi.c:315:16: warning: passing arguments to 'wtaylor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  { s = wtaylor(wt,0.0,ker);
               ^
:229:18: warning: passing arguments to 'W' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
          wij = W(s,ker);
                 ^
band.c:240:22: warning: passing arguments to 'Wconv' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
          r0 += Wconv(s,ker);
                     ^dens_odi.c:331:16:
 warning: passing arguments to 'wtaylor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    s = wtaylor(wt,l0,ker);
               ^
band.c:241:28: warning: passing arguments to 'Wconv1' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
          d0 += -s*s*Wconv1(s,ker);
                           ^
dens_odi.c:340:16: warning: passing arguments to 'wtaylor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
band.c:244:26: warning: passing arguments to 'Wd' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    s = wtaylor(wt,l0,ker);
               ^
            d1 += -s*s*Wd(s,ker);
                         ^
dens_odi.c:351:18: warning: passing arguments to 'wtaylor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    { s = wtaylor(wt,l1,ker);
                 ^
band.c:260:25: warning: passing arguments to 'Wconv4' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
          r0 += 2*Wconv4(s,ker);
                        ^
band.c:261:27: warning: passing arguments to 'Wconv5' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
dens_odi.c:367:18: warning: passing arguments to 'wtaylor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
          d0 += 2*s*Wconv5(s,ker);
                          ^
    { s = wtaylor(wt,l1,ker);
                 ^
band.c:266:16: warning: passing arguments to 'wint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      d1 = wint(1,&j,1,ker);
               ^
band.c:267:17: warning: passing arguments to 'Wconv' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      r1 = Wconv(0.0,ker);
                ^
dens_odi.c:379:18: warning: passing arguments to 'wtaylor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    { s = wtaylor(wt,l0,ker);
                 ^
band.c:275:28: warning: passing arguments to 'Wikk' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      res[1] = exp(log(Wikk(WGAUS,0)/(d0*n))/5)-h;
                           ^
dens_odi.c:386:18: warning: passing arguments to 'wtaylor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    { s = wtaylor(wt,l2,ker);
                 ^
band.c:281:28: warning: passing arguments to 'Wikk' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      res[1] = exp(log(Wikk(WGAUS,0)/(d0*n))/5)-h;
                           ^
dens_odi.c:398:16: warning: passing arguments to 'wtaylor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  { s = wtaylor(wt,l2,ker);
               ^
dens_odi.c:411:14: warning: passing arguments to 'wtaylor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
In file included from band.c:6:
In file included from ./local.h:107:
./lffuns.h:16:34: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern void band(), kdeselect(), kdecri();
                                 ^
  s = wtaylor(wt,l0,ker);
             ^
                                        void
band.c:183:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void kdecri(x,h,res,c,k,ker,n)
     ^
In file included from dens_odi.c:19:
In file included from ./local.h:107:
./lffuns.h:109:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern void recurint();
            ^
                     void
dens_odi.c:307:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void recurint(l0,l2,cf,resp,p,ker)
     ^
band.c:288:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double esolve(x,j,h0,h1,k,c,ker,n)
       ^
dens_odi.c:418:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int onedexpl(cf,deg,resp)
    ^
dens_odi.c:436:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int onedgaus(cf,deg,resp)
    ^
band.c:343:19: warning: passing arguments to 'kordstat' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  scale = kordstat(x,n+1-k,n,ind) - kordstat(x,k,n,ind);
                  ^
band.c:343:45: warning: passing arguments to 'kordstat' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  scale = kordstat(x,n+1-k,n,ind) - kordstat(x,k,n,ind);
                                            ^
In file included from band.c:6:
In file included from ./local.h:107:
./lffuns.h:16:21: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern void band(), kdeselect(), kdecri();
                    ^
                              void
band.c:335:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void kdeselect(band,x,ind,h0,h1,meth,nm,ker,n)
     ^
dens_odi.c:504:12: warning: passing arguments to 'W' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
          W(fabs(u),ker(sp))*exp(MIN(y,300.0));
           ^
In file included from dens_odi.c:19:
In file included from ./local.h:107:
./lffuns.h:108:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern int onedint();
           ^
                   void
dens_odi.c:463:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int onedint(sp,cf,l0,l1,resp) /* int W(u)u^j exp(..), j=0..2*deg */
    ^
26 warnings generated.
13 warnings generated.
clang -arch x86_64 -std=gnu17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c density.c -o density.o
clang -arch x86_64 -std=gnu17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c ev_atree.c -o ev_atree.o
18 warnings generated.
clang -arch x86_64 -std=gnu17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c ev_interp.c -o ev_interp.o
In file included from density.c:6:
In file included from ./local.h:107:
./lffuns.h:21:28: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern void prodintresp(), prresp();
                           ^
                                  void
density.c:20:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void prresp(coef,resp,p)
     ^
density.c:41:14: warning: passing arguments to 'weight' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  wt = weight(den_lfd, den_sp, u, NULL, hh, 0, 0.0);
             ^
density.c:43:12: warning: passing arguments to 'setzero' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  { setzero(resp,p*p);
           ^
density.c:47:9: warning: passing arguments to 'fitfun' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  fitfun(den_lfd, den_sp, u,NULL,ff,NULL);
        ^
density.c:49:27: warning: passing arguments to 'innerprod' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    wt *= lf_exp(innerprod(ff,cff,p));
                          ^
density.c:49:17: warning: passing arguments to 'lf_exp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    wt *= lf_exp(innerprod(ff,cff,p));
                ^
density.c:34:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int mif(u,d,resp,M)
    ^
density.c:60:41: warning: passing arguments to 'gausint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  if (ker(den_sp)==WGAUS) return(gausint(t,resp1,resp2,cf,h,den_lfd->sca));
                                        ^
density.c:67:11: warning: passing arguments to 'simpsonm' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  simpsonm(mif,ilim,&ilim[d],d,resp1,mg,resp2);
          ^
density.c:18:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int multint(), prodint(), gausint(), mlinint();
    ^
            void
density.c:56:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int multint(t,resp1,resp2,cf,h)
    ^
density.c:82:12: warning: passing arguments to 'setzero' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  { setzero(resp1,p*p);
           ^
density.c:83:20: warning: passing arguments to 'wint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    resp1[0] = wint(d,NULL,0,ker(den_sp))*hd;
                   ^
density.c:85:25: warning: passing arguments to 'wint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    jj[0] = 2; w0 = wint(d,jj,1,ker(den_sp))*hd*h*h;
                        ^
density.c:94:16: warning: passing arguments to 'wint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      w0 = wint(d,jj,2,ker(den_sp)) * hd*h*h*h*h;
               ^
density.c:97:14: warning: passing arguments to 'wint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    w1 = wint(d,jj,1,ker(den_sp)) * hd*h*h*h*h/4;
             ^
density.c:114:24: warning: passing arguments to 'lf_exp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      resp1[0] = lf_exp(cf[0])*wint(d,NULL,0,ker(den_sp))*hd;
                       ^
density.c:114:36: warning: passing arguments to 'wint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      resp1[0] = lf_exp(cf[0])*wint(d,NULL,0,ker(den_sp))*hd;
                                   ^
density.c:124:22: warning: passing arguments to 'lf_exp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        g[0] = lf_exp(cf[0]+w0*nb/2+d*log(S2PI/2.5));
                     ^
density.c:129:25: warning: passing arguments to 'lf_exp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      { wt = wu = lf_exp(cf[0]);
                        ^
density.c:130:18: warning: passing arguments to 'wint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        w0 = wint(d,NULL,0,ker(den_sp)); g[0] = wt*w0;
                 ^
density.c:135:33: warning: passing arguments to 'wint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
          jj[0] = 2*j; w0 = wint(d,jj,1,ker(den_sp));
                                ^
density.c:138:48: warning: passing arguments to 'wint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
          { jj[0] = 2; jj[1] = 2*j-2; w1 = wint(d,jj,2,ker(den_sp));
                                               ^
density.c:18:38: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int multint(), prodint(), gausint(), mlinint();
                                     ^
                                             void
density.c:71:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int mlinint(t,resp1,resp2,cf,h)
    ^
In file included from density.c:6:
In file included from ./local.h:107:
./lffuns.h:21:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern void prodintresp(), prresp();
            ^
                        void
density.c:165:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void prodintresp(resp,prod_wk,dim,deg,p)
     ^
density.c:215:17: warning: passing arguments to 'onedint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    st = onedint(den_sp,cf,ilim[i]/hs,ilim[i+dim]/hs,prod_wk[i]);
                ^
density.c:18:16: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int multint(), prodint(), gausint(), mlinint();
               ^
                       void
density.c:197:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int prodint(t,resp,resp2,coef,h)
    ^
In file included from ev_atree.c:10:
In file included from ./local.h:107:
./lffuns.h:33:42: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern void atree_start(), atree_grow(), atree_guessnv();
                                         ^
                                                       void
ev_atree.c:16:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void atree_guessnv(evs,nvm,ncm,vc,d,alp)
     ^
density.c:250:10: warning: passing arguments to 'eig_dec' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  eig_dec(C,P,d);
         ^
density.c:258:13: warning: passing arguments to 'svdsolve' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    svdsolve(&resp[i*p+1],u,P,C,P,d,0.0);
            ^
density.c:260:11: warning: passing arguments to 'svdsolve' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  svdsolve(&resp[1],u,P,C,P,d,0.0);
          ^
density.c:284:13: warning: passing arguments to 'lf_exp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  z = lf_exp(d*0.918938533+cf[0]+nb/2)/det;
            ^
density.c:285:14: warning: passing arguments to 'multmatscal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  multmatscal(resp,z,p*p);
             ^
density.c:18:27: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int multint(), prodint(), gausint(), mlinint();
                          ^
                                  void
density.c:238:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int gausint(t,resp,C,cf,h,sca)
    ^
ev_atree.c:57:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int atree_split(lf,ce,le,ll,ur)
    ^
density.c:297:31: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  lf_status = (den_des->itype)(den_des->xev,A,den_des->xtwx.Q,coef,den_des->h);
                              ^
ev_atree.c:118:24: warning: passing arguments to 'newsplit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      nce[i] = newsplit(des,lf,i0,i1,pv);
                       ^
In file included from ev_atree.c:10:
In file included from ./local.h:107:
./lffuns.h:33:28: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern void atree_start(), atree_grow(), atree_guessnv();
                           ^
                                      void
ev_atree.c:87:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void atree_grow(des,lf,ce,ct,term,ll,ur)
     ^
density.c:312:18: warning: passing arguments to 'multmatscal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      multmatscal(A,r,p*p);
                 ^
In file included from density.c:6:
In file included from ./local.h:107:
./lffuns.h:19:24: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern int densinit(), likeden();
                       ^
                               void
density.c:289:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int likeden(coef, lk0, f1, A)
    ^
ev_atree.c:143:9: warning: passing arguments to 'trchck' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  trchck(lf,nvm,ncm,vc);
        ^
ev_atree.c:159:14: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    des->vfun(des,lf,i);
             ^
In file included from ev_atree.c:10:
In file included from ./local.h:107:
./lffuns.h:33:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern void atree_start(), atree_grow(), atree_guessnv();
            ^
                        void
ev_atree.c:133:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void atree_start(des,lf)
     ^
density.c:338:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int inre(x,bound,d)
    ^
ev_atree.c:186:12: warning: passing arguments to 'setzero' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  { setzero(vv[i],vc);
           ^
ev_atree.c:187:16: warning: passing arguments to 'exvval' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
density.c:349:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int setintlimits(lfd, x, h, ang, lset)
    ^
    nc = exvval(fp,vv[i],i,d,what,1);
               ^
ev_atree.c:199:20: warning: passing arguments to 'findpt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      { nv = findpt(fp,evs,(int)ce[i],(int)ce[i+tk]);
                   ^
ev_atree.c:204:35: warning: passing arguments to 'exvvalpv' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
density.c:394:18: warning: passing arguments to 'iscompact' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if (iscompact(ker(den_sp)))
                 ^
density.c:417:19: warning: passing arguments to 'iscompact' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if (!iscompact(ker(den_sp))) return(INVLD);
                  ^
density.c:426:24: warning: passing arguments to 'iscompact' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
          if (evs->s[nv]) exvvalpv(vv[i+tk],vv[i],vv[i+tk],d,ns,h,nc);
                                  ^
ev_atree.c:205:32: warning: passing arguments to 'exvval' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    else exvval(fp,vv[i+tk],nv,d,what,1);
                               ^
      return( iscompact(ker(den_sp)) ? IMULT : INVLD );
                       ^
ev_atree.c:209:35: warning: passing arguments to 'exvvalpv' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
          if (evs->s[nv]) exvvalpv(vv[i],vv[i],vv[i+tk],d,ns,h,nc);
                                  ^
density.cev_atree.c:210:32: warning: passing arguments to 'exvval' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    else exvval(fp,vv[i],nv,d,what,1);
                               ^
ev_atree.c:214:25: warning: passing arguments to 'rectcell_interp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  return(rectcell_interp(x,vv,ll,ur,d,nc));
                        ^
In file included from ev_atree.c:10:
In file included from ./local.h:107:
./lffuns.h:34:15: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern double atree_int();
              ^
                        void
ev_atree.c:170:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double atree_int(lf,x,what)
       ^
:381:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int selectintmeth(itype,lset,ang)
    ^
density.c:478:10: warning: passing arguments to 'setzero' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  setzero(des->ss,p);
         ^
density.c:488:34: warning: passing arguments to 'haz_init' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  if (fam(den_sp)==THAZ) haz_init(lfd,des,sp,ilim);
                                 ^
In file included from density.c:6:
In file included from ./local.h:107:
./lffuns.h:19:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern int densinit(), likeden();
           ^
                    void
density.c:435:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int densinit(lfd,des,sp,cf)
    ^
In file included from ev_interp.c:6:
In file included from ./local.h:107:
./lffuns.h:38:15: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern double linear_interp(), cubic_interp(), rectcell_interp();
              ^
                            void
ev_interp.c:8:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double linear_interp(h,d,f0,f1)
       ^
In file included from ev_interp.c:6:
In file included from ./local.h:107:
./lffuns.h:40:25: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern void exvvalpv(), hermite2();
                        ^
                                 void
ev_interp.c:14:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void hermite2(x,z,phi)
     ^
In file included from ev_interp.c:6:
In file included from ./local.h:107:
./lffuns.h:38:32: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern double linear_interp(), cubic_interp(), rectcell_interp();
                               ^
                                            void
ev_interp.c:38:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double cubic_interp(h,f0,f1,d0,d1)
       ^
In file included from ev_interp.c:6:
In file included from ./local.h:107:
./lffuns.h:37:29: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern double dointpoint(), cubintd();
                            ^
                                    void
ev_interp.c:45:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double cubintd(h,f0,f1,d0,d1)
       ^
In file included from ev_interp.c:6:
In file included from ./local.h:107:
./lffuns.h:38:48: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern double linear_interp(), cubic_interp(), rectcell_interp();
                                               ^
                                                               void
ev_interp.c:64:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double rectcell_interp(x,vv,ll,ur,d,nc)
       ^
In file included from ev_interp.c:6:
In file included from ./local.h:107:
./lffuns.h:39:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern int exvval();
           ^
                  void
ev_interp.c:114:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int exvval(fp,vv,nv,d,what,z)
    ^
In file included from ev_interp.c:6:
In file included from ./local.h:107:
./lffuns.h:40:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern void exvvalpv(), hermite2();
            ^
                     void
ev_interp.c:162:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void exvvalpv(vv,vl,vr,d,k,dl,nc)
     ^
ev_interp.c:181:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double grid_int(fp,evs,x,what)
       ^
ev_interp.c:215:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double fitp_int(fp,x,what,i)
       ^
ev_interp.c:224:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double xbar_int(fp,x,what)
       ^
ev_interp.c:255:30: warning: passing arguments to 'kdtre_int' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    case EKDTR: f = kdtre_int(fp,evs,x,what); break;
                             ^
ev_interp.c:256:30: warning: passing arguments to 'atree_int' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    case ETREE: f = atree_int(lf,x,what); break;
                             ^
ev_interp.c:257:32: warning: passing arguments to 'triang_int' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    case EPHULL: f = triang_int(lf,x,what); break;
                               ^
ev_interp.c:261:31: warning: passing arguments to 'sphere_int' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    case ESPHR: f = sphere_int(lf,x,what); break;
                              ^
ev_interp.c:265:18: warning: passing arguments to 'addparcomp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  f += addparcomp(lf,x,what);
                 ^
In file included from ev_interp.c:6:
In file included from ./local.h:107:
./lffuns.h:37:15: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern double dointpoint(), cubintd();
              ^
                         void
ev_interp.c:238:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double dointpoint(lf,x,what,ev,j)
       ^
47 warnings generated.
clang -arch x86_64 -std=gnu17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c ev_kdtre.c -o ev_kdtre.o
In file included from ev_kdtre.c:11:
In file included from ./local.h:107:
./lffuns.h:43:28: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern void kdtre_start(), kdtre_guessnv();
                           ^
                                         void
ev_kdtre.c:16:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void kdtre_guessnv(evs,nvm,ncm,vc,n,d,alp)
     ^
ev_kdtre.c:51:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int ksmall(l, r, m, x, pi)
    ^
ev_kdtre.c:103:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int terminal(lf,p,pi,fc,d,m,split_val)
    ^
ev_kdtre.c:152:9: warning: passing arguments to 'trchck' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  trchck(lf,nvm,ncm,vc);
        ^
ev_kdtre.c:200:16: warning: passing arguments to 'newcell' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        newcell(&nv,vc,evp(&lf->fp), d, k, sv,
               ^
ev_kdtre.c:215:16: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      des->vfun(des,lf,nv);
               ^
ev_kdtre.c:224:35: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    for (i=0; i<nv; i++) des->vfun(des,lf,i);
                                  ^
In file included from ev_kdtre.c:11:
In file included from ./local.h:107:
./lffuns.h:43:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern void kdtre_start(), kdtre_guessnv();
            ^
                        void
ev_kdtre.c:144:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void kdtre_start(des,lf)
     ^
20 warnings generated.
ev_kdtre.c:13:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void newcell();
     ^
             void
ev_kdtre.c:230:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void newcell(nv,vc,xev, d, k, split_val, cpar, clef, crig)
     ^
ev_kdtre.c:289:16: warning: passing arguments to 'exvval' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    nc = exvval(fp,g0,j0,2,what,0);
               ^
ev_kdtre.c:290:16: warning: passing arguments to 'exvval' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    nc = exvval(fp,g1,j1,2,what,0);
               ^
ev_kdtre.c:292:28: warning: passing arguments to 'linear_interp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      gg[k] = linear_interp((x[(k>1)]-v0),v1-v0,g0[0],g1[0]);
                           ^
ev_kdtre.c:294:15: warning: passing arguments to 'hermite2' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    { hermite2(x[(k>1)]-v0,v1-v0,phi);
              ^
ev_kdtre.c:302:25: warning: passing arguments to 'linear_interp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      s += linear_interp(x[k]-ll[k],ur[k]-ll[k],gg[3-2*k],gg[2-2*k]);
                        ^
ev_kdtre.c:305:15: warning: passing arguments to 'hermite2' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    { hermite2(x[k]-ll[k],ur[k]-ll[k],phi);
              ^
ev_kdtre.c:259:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double blend(fp,evs,s,x,ll,ur,j,nt,t,what)
       ^
clang -arch x86_64 -std=gnu17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c ev_main.c -o ev_main.o
ev_kdtre.c:336:35: warning: passing arguments to 'exvval' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  for (j=0; j<vc; j++) nc = exvval(fp,vv[j],(int)ce[j],d,what,0);
                                  ^
ev_kdtre.c:337:23: warning: passing arguments to 'rectcell_interp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  ff = rectcell_interp(x,vv,ll,ur,d,nc);
                      ^
In file included from ev_kdtre.c:11:
In file included from ./local.h:107:
./lffuns.h:44:15: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern double kdtre_int();
              ^
                        void
ev_kdtre.c:312:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double kdtre_int(fp,evs,x,what)
       ^
49 warnings generated.
clang -arch x86_64 -std=gnu17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c ev_sphere.c -o ev_sphere.o
24 warnings generated.
clang -arch x86_64 -std=gnu17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c ev_trian.c -o ev_trian.o
In file included from ev_main.c:6:
In file included from ./local.h:107:
./lffuns.h:51:34: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern void trchck(), guessnv(), lfit_alloc();
                                 ^
                                            void
ev_main.c:12:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void lfit_alloc(lf)
     ^
In file included from ev_main.c:6:
In file included from ./local.h:107:
./lffuns.h:53:34: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern int findpt(), newsplit(), lfit_reqd(), lfit_reqi();
                                 ^
                                           void
ev_main.c:17:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int lfit_reqd(d,nvm,ncm,geth)
    ^
In file included from ev_main.c:6:
In file included from ./local.h:107:
./lffuns.h:53:47: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern int findpt(), newsplit(), lfit_reqd(), lfit_reqi();
                                              ^
                                                        void
ev_main.c:23:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int lfit_reqi(nvm,ncm,vc)
    ^
In file included from ev_main.c:6:
In file included from ./local.h:107:
./lffuns.h:51:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern void trchck(), guessnv(), lfit_alloc();
            ^
                   void
ev_main.c:28:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void trchck(lf,nvm,ncm,vc)
     ^
ev_main.c:75:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void data_guessnv(nvm,ncm,vc,n)
     ^
ev_main.c:94:14: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  { des->vfun(des,lf,i);
             ^
In file included from ev_main.c:6:
In file included from ./local.h:107:
./lffuns.h:52:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern void dataf(), gridf(), crossf(), xbarf(), preset();
            ^
                  void
ev_main.c:81:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void dataf(des,lf)
     ^
ev_main.c:100:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void xbar_guessnv(nvm,ncm,vc)
     ^
ev_main.c:115:12: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  des->vfun(des,lf,0);
           ^
In file included from ev_main.c:6:
In file included from ./local.h:107:
./lffuns.h:52:41: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern void dataf(), gridf(), crossf(), xbarf(), preset();
                                        ^
                                              void
ev_main.c:107:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void xbarf(des,lf)
     ^
ev_main.c:129:14: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    des->vfun(des,lf,i);
             ^
In file included from ev_main.c:6:
In file included from ./local.h:107:
./lffuns.h:52:50: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern void dataf(), gridf(), crossf(), xbarf(), preset();
                                                 ^
                                                        void
ev_main.c:120:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void preset(des,lf)
     ^
ev_main.c:152:14: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    des->vfun(des,lf,i);
             ^
In file included from ev_main.c:6:
In file included from ./local.h:107:
./lffuns.h:52:31: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern void dataf(), gridf(), crossf(), xbarf(), preset();
                              ^
                                     void
ev_main.c:135:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void crossf(des,lf)
     ^
ev_main.c:179:14: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    des->vfun(des,lf,i);
             ^
In file included from ev_main.c:6:
In file included from ./local.h:107:
./lffuns.h:52:22: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern void dataf(), gridf(), crossf(), xbarf(), preset();
                     ^
                           void
ev_main.c:158:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void gridf(des,lf)
     ^
In file included from ev_main.c:6:
In file included from ./local.h:107:
./lffuns.h:53:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern int findpt(), newsplit(), lfit_reqd(), lfit_reqi();
           ^
                  void
ev_main.c:184:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int findpt(fp,evs,i0,i1)
    ^
ev_main.c:229:14: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    des->vfun(des,lf,nv);
             ^
In file included from ev_main.c:6:
In file included from ./local.h:107:
./lffuns.h:53:22: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern int findpt(), newsplit(), lfit_reqd(), lfit_reqi();
                     ^
                              void
ev_main.c:199:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int newsplit(des,lf,i0,i1,pv)
    ^
In file included from ev_sphere.c:9:
In file included from ./local.h:107:
./lffuns.h:47:29: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern void sphere_start(), sphere_guessnv();
                            ^
                                           void
ev_sphere.c:14:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void sphere_guessnv(nvm,ncm,vc,mg)
     ^
ev_sphere.c:29:9: warning: passing arguments to 'trchck' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  trchck(lf,nv,0,0);
        ^
ev_sphere.c:46:16: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      des->vfun(des,lf,ct);
               ^
In file included from ev_sphere.c:9:
In file included from ./local.h:107:
./lffuns.h:47:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern void sphere_start(), sphere_guessnv();
            ^
                         void
ev_sphere.c:21:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void sphere_start(des,lf)
     ^
ev_sphere.c:84:14: warning: passing arguments to 'exvval' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  nc = exvval(&lf->fp,v[0],ce[0],2,what,1);
             ^
ev_sphere.c:85:14: warning: passing arguments to 'exvval' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  nc = exvval(&lf->fp,v[1],ce[1],2,what,1);
             ^
ev_sphere.c:86:14: warning: passing arguments to 'exvval' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  nc = exvval(&lf->fp,v[2],ce[2],2,what,1);
             ^
ev_sphere.c:87:14: warning: passing arguments to 'exvval' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  nc = exvval(&lf->fp,v[3],ce[3],2,what,1);
             ^
ev_sphere.c:113:25: warning: passing arguments to 'rectcell_interp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  return(rectcell_interp(xx,v,ll,ur,2,nc));
                        ^
In file included from ev_sphere.c:9:
In file included from ./local.h:107:
./lffuns.h:48:15: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern double sphere_int();
              ^
                         void
ev_sphere.c:54:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double sphere_int(lf,x,what)
       ^
13 warnings generated.
clang -arch x86_64 -std=gnu17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c family.c -o family.o
ev_trian.c:8:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void solve(A,b,d) /* this is crude! A organized by column. */
     ^
In file included from ev_trian.c:6:
In file included from ./local.h:107:
./lffuns.h:56:44: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern void triang_start(), triang_grow(), triang_guessnv();
                                           ^
                                                          void
ev_trian.c:27:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void triang_guessnv(nvm,ncm,vc,d,mk)
     ^
ev_trian.c:45:15: warning: passing arguments to 'rho' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      di = rho(dfx,lf->lfd.sca,d,KSPH,NULL);
              ^
ev_trian.c:34:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int triang_split(lf,ce,le)
    ^
ev_trian.c:52:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void resort(pv,xev,dig)
     ^
ev_trian.c:101:21: warning: passing arguments to 'newsplit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    pv[0] = newsplit(des,lf,(int)ce[im],(int)ce[jm],0);
                    ^
ev_trian.c:111:19: warning: passing arguments to 'newsplit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        = newsplit(des,lf,(int)ce[i],(int)ce[j],le[i*vc+j]<=cut(&lf->evs));
                  ^
In file included from ev_trian.c:6:
In file included from ./local.h:107:
./lffuns.h:56:29: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern void triang_start(), triang_grow(), triang_guessnv();
                            ^
                                        void
ev_trian.c:80:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void triang_grow(des,lf,ce,ct,term)
     ^
ev_trian.c:147:21: warning: passing arguments to 'newsplit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    pv[0] = newsplit(des,tr,(int)ce[im],(int)ce[jm],0);
                    ^
ev_trian.c:159:19: warning: passing arguments to 'newsplit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        = newsplit(des,tr,(int)ce[i],(int)ce[j],le[i*d+j]<=cut(&tr->evs));
                  ^
ev_trian.c:131:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void triang_descend(tr,xa,ce)
     ^
ev_trian.c:205:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void covrofdata(lfd,V,mn) /* covar of data; mean in mn */
     ^
ev_trian.c:221:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int intri(x,w,xev,xa,d) /* is x in triangle bounded by xd[0..d-1]? */
    ^
ev_trian.c:252:9: warning: passing arguments to 'trchck' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  trchck(lf,nvm,ncm,vc);
        ^
ev_trian.c:258:10: warning: passing arguments to 'eig_dec' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  eig_dec(V,P,d);
         ^
ev_trian.c:296:14: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  { des->vfun(des,lf,i);
             ^
In file included from ev_trian.c:6:
In file included from ./local.h:107:
./lffuns.h:56:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern void triang_start(), triang_grow(), triang_guessnv();
            ^
                         void
ev_trian.c:240:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void triang_start(des,lf) /* Triangulation with polyhedral start */
     ^
ev_trian.c:329:30: warning: passing arguments to 'cubic_interp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      vals0[0] = cubic_interp(lb,vals0[0],vals1[0],deriv0,deriv1);
                             ^
ev_trian.c:305:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double triang_cubicint(v,vv,w,d,nc,xxa)
       ^
ev_trian.c:416:24: warning: passing arguments to 'cubic_interp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  cfe[0] = cubic_interp(lb,cg[3],cg[0],d0,d1);
                       ^
ev_trian.c:417:19: warning: passing arguments to 'cubintd' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  cfe[1] = cubintd(lb,cg[3],cg[0],d0,d1);
                  ^
ev_trian.c:421:22: warning: passing arguments to 'cubic_interp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  return(cubic_interp(gam,cfo[0],cfe[0],d0,d1));
                     ^
ev_trian.c:339:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double triang_clotoch(xev,vv,ce,p,xxa)
       ^
ev_trian.c:432:34: warning: passing arguments to 'exvval' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  if (evs->s[i]==0) return(exvval(fp,vv,i,d,what,0));
                                 ^
ev_trian.c:424:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int triang_getvertexvals(fp,evs,vv,i,what)
    ^
In file included from ev_trian.c:6:
In file included from ./local.h:107:
./lffuns.h:57:15: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern double triang_int();
              ^
                         void
ev_trian.c:452:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double triang_int(lf,x,what)
       ^
30 warnings generated.
clang -arch x86_64 -std=gnu17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c fitted.c -o fitted.o
In file included from family.c:6:
In file included from ./local.h:107:
./lffuns.h:60:33: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern int links(), stdlinks(), defaultlink(), validlinks();
                                ^
                                            void
family.c:12:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int defaultlink(link,family)
    ^
In file included from family.c:6:
In file included from ./local.h:107:
./lffuns.h:60:48: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern int links(), stdlinks(), defaultlink(), validlinks();
                                               ^
                                                          void
family.c:50:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int validlinks(link,family)
    ^
family.c:79:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int famdens(mean,th,link,res,cens,w)
    ^
family.c:105:19: warning: passing arguments to 'mut_pnorm' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    pz = mut_pnorm(-z,0.0,1.0);
                  ^
family.c:106:24: warning: passing arguments to 'ptail' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    dp = ((z>6) ? ptail(-z) : exp(-z*z/2)/pz)/2.5066283;
                       ^
family.c:91:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int famgaus(y,mean,th,link,res,cens,w)
    ^
family.c:133:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int famrobu(y,mean,th,link,res,cens,w,rs)
    ^
family.c:159:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int famcauc(y,p,th,link,res,cens,w,rs)
    ^
family.c:174:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int famrbin(y,p,th,link,res,cens,w)
    ^
family.c:200:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int fambino(y,p,th,link,res,cens,w)
    ^
family.c:273:16: warning: passing arguments to 'igamma' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    pt = igamma(wmu,y);
               ^
family.c:274:33: warning: passing arguments to 'Rf_lgammafn' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    dp = exp((y-1)*log(wmu)-wmu-LGAMMA(y))/pt;
                                ^
./local.h:89:32: note: expanded from macro 'LGAMMA'
#define LGAMMA(arg) Rf_lgammafn(arg)
                               ^
family.c:259:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int fampois(y,mean,th,link,res,cens,w)
    ^
family.c:345:20: warning: passing arguments to 'igamma' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    { pt = 1-igamma(y/mean,w);
                   ^
family.c:346:41: warning: passing arguments to 'Rf_lgammafn' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      dg = exp((w-1)*log(y/mean)-y/mean-LGAMMA(w));
                                        ^
./local.h:89:32: note: expanded from macro 'LGAMMA'
#define LGAMMA(arg) Rf_lgammafn(arg)
                               ^
family.c:353:20: warning: passing arguments to 'igamma' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    { pt = 1-igamma(th*y,w);
                   ^
family.c:354:37: warning: passing arguments to 'Rf_lgammafn' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      dg = exp((w-1)*log(th*y)-th*y-LGAMMA(w));
                                    ^
./local.h:89:32: note: expanded from macro 'LGAMMA'
#define LGAMMA(arg) Rf_lgammafn(arg)
                               ^
family.c:330:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int famgamm(y,mean,th,link,res,cens,w)
    ^
family.c:403:17: warning: passing arguments to 'ibeta' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    pt = 1-ibeta(p,w,y);
                ^
family.c:404:15: warning: passing arguments to 'Rf_lgammafn' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    dp = -exp(LGAMMA(w+y)-LGAMMA(w)-LGAMMA(y)+(y-1)*th+(w+y-2)*log(p))/pt;
              ^
./local.h:89:32: note: expanded from macro 'LGAMMA'
#define LGAMMA(arg) Rf_lgammafn(arg)
                               ^
family.c:404:27: warning: passing arguments to 'Rf_lgammafn' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    dp = -exp(LGAMMA(w+y)-LGAMMA(w)-LGAMMA(y)+(y-1)*th+(w+y-2)*log(p))/pt;
                          ^
./local.h:89:32: note: expanded from macro 'LGAMMA'
#define LGAMMA(arg) Rf_lgammafn(arg)
                               ^
family.c:404:37: warning: passing arguments to 'Rf_lgammafn' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    dp = -exp(LGAMMA(w+y)-LGAMMA(w)-LGAMMA(y)+(y-1)*th+(w+y-2)*log(p))/pt;
                                    ^
./local.h:89:32: note: expanded from macro 'LGAMMA'
#define LGAMMA(arg) Rf_lgammafn(arg)
                               ^
family.c:389:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int famgeom(y,mean,th,link,res,cens,w)
    ^
family.c:430:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int famweib(y,mean,th,link,res,cens,w)
    ^
family.c:451:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int famcirc(y,mean,th,link,res,cens,w)
    ^
family.c:477:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void robustify(res,rs)
     ^
family.c:499:30: warning: passing arguments to 'logit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    case LLOGIT: return(logit(y));
                             ^
In file included from family.c:6:
In file included from ./local.h:107:
./lffuns.h:61:33: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern double b2(), b3(), b4(), lf_link(), invlink();
                                ^
                                        void
family.c:493:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double lf_link(y,lin)
       ^
family.c:513:31: warning: passing arguments to 'lf_exp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    case LLOG:   return(lf_exp(th));
                              ^
family.c:514:30: warning: passing arguments to 'expit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    case LLOGIT: return(expit(th));
                             ^
In file included from family.c:6:
In file included from ./local.h:107:
./lffuns.h:61:44: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern double b2(), b3(), b4(), lf_link(), invlink();
                                           ^
                                                   void
family.c:508:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double invlink(th,lin)
       ^
In file included from family.c:6:
In file included from ./local.h:107:
./lffuns.h:60:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern int links(), stdlinks(), defaultlink(), validlinks();
           ^
                 void
family.c:525:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int links(th,y,fam,link,res,c,w,rs)
    ^
In file included from family.c:6:
In file included from ./local.h:107:
./lffuns.h:60:21: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern int links(), stdlinks(), defaultlink(), validlinks();
                    ^
                             void
family.c:569:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int stdlinks(res,lfd,sp,i,th,rs)
    ^
family.c:588:32: warning: passing arguments to 'lf_exp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    case TPOIS: return(w*lf_exp(th));
                               ^
family.c:590:16: warning: passing arguments to 'expit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      y = expit(th);
               ^
In file included from family.c:6:
In file included from ./local.h:107:
./lffuns.h:61:15: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern double b2(), b3(), b4(), lf_link(), invlink();
              ^
                 void
family.c:582:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double b2(th,tg,w)
       ^
family.c:603:32: warning: passing arguments to 'lf_exp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    case TPOIS: return(w*lf_exp(th));
                               ^
family.c:605:16: warning: passing arguments to 'expit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      y = expit(th);
               ^
In file included from family.c:6:
In file included from ./local.h:107:
./lffuns.h:61:21: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern double b2(), b3(), b4(), lf_link(), invlink();
                    ^
                       void
family.c:597:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double b3(th,tg,w)
       ^
family.c:618:32: warning: passing arguments to 'lf_exp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    case TPOIS: return(w*lf_exp(th));
                               ^
family.c:620:16: warning: passing arguments to 'expit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      y = expit(th); y = y*(1-y);
               ^
In file included from family.c:6:
In file included from ./local.h:107:
./lffuns.h:61:27: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern double b2(), b3(), b4(), lf_link(), invlink();
                          ^
                             void
family.c:612:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double b4(th,tg,w)
       ^
In file included from fitted.c:15:
In file included from ./local.h:107:
./lffuns.h:124:15: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern double resid();
              ^
                    void
fitted.c:17:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double resid(y,w,th,fam,ty,res)
       ^
fitted.c:48:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double studentize(res,inl,var,ty,link)
       ^
fitted.c:83:20: warning: passing arguments to 'dointpoint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    th = dointpoint(lf,xx,what,evo,i);
                   ^
fitted.c:87:15: warning: passing arguments to 'stdlinks' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      stdlinks(link,&lf->lfd,&lf->sp,i,th,rsc(&lf->fp));
              ^
fitted.c:89:25: warning: passing arguments to 'dointpoint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      { inl = dointpoint(lf,xx,PT0,evo,i);
                        ^
fitted.c:93:19: warning: passing arguments to 'stdlinks' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
          stdlinks(link,&lf->lfd,&lf->sp,i,th,rsc(&lf->fp));
                  ^
fitted.c:95:33: warning: passing arguments to 'dointpoint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        if (st) var = dointpoint(lf,xx,PNLX,evo,i);
                                ^
In file included from fitted.c:15:
In file included from ./local.h:107:
./lffuns.h:64:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern void fitted();
            ^
                   void
fitted.c:70:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void fitted(lf,fit,what,cv,st,ty)
     ^
48 warnings generated.
10 warnings generated.
clang -arch x86_64 -std=gnu17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c frend.c -o frend.o
clang -arch x86_64 -std=gnu17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c lf_adap.c -o lf_adap.o
23 warnings generated.
clang -arch x86_64 -std=gnu17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c lf_dercor.c -o lf_dercor.o
52 warnings generated.
clang -arch x86_64 -std=gnu17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c lf_fitfun.c -o lf_fitfun.o
51 warnings generated.
clang -arch x86_64 -std=gnu17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c lf_nbhd.c -o lf_nbhd.o
lf_adap.c:17:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double adcri(lk,t0,t2,pen)
       ^
frend.c:11:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void ressummd(lf)
     ^
lf_adap.c:35:8: warning: passing arguments to 'wdiag' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  wdiag(lfd, sp, des,l,dv,0,1,0);
       ^
lf_adap.c:45:17: warning: passing arguments to 'factorial' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  p1 = factorial(deg(sp)+1);
                ^
lf_adap.c:26:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double mmse(lfd,sp,dv,des)
       ^
lf_adap.c:74:9: warning: passing arguments to 'nbhd' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    nbhd(lfd,des,z,redo,sp);
        ^
lf_adap.c:76:38: warning: passing arguments to 'locfit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if (des->h>ho) lf_status = locfit(lfd,des,sp,noit,0,0);
                                     ^
lf_adap.c:84:15: warning: passing arguments to 'local_df' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      local_df(lfd,sp,des,t);
              ^
lf_adap.c:88:15: warning: passing arguments to 'local_df' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      local_df(lfd,sp,des,t);
              ^
lf_adap.c:57:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int ainitband(lfd,sp,dv,des)
    ^
frend.c:54:45: warning: passing arguments to 'dointpoint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    des->th[i] = base(&lf->lfd,i)+dointpoint(lf,u,PCOEF,evo,i);
                                            ^
frend.c:65:11: warning: passing arguments to 'locfit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    locfit(&lf->lfd,des,&lf->sp,1,0);
          ^
frend.c:78:11: warning: passing arguments to 'locfit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    locfit(&lf->lfd,des,&lf->sp,1,0);
          ^
frend.c:86:20: warning: passing arguments to 'dointpoint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    t0 = dointpoint(lf,u,PT0,evo,i);
                   ^
frend.c:87:20: warning: passing arguments to 'dointpoint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    t1 = dointpoint(lf,u,PNLX,evo,i);
                   ^
frend.c:88:13: warning: passing arguments to 'stdlinks' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    stdlinks(link,&lf->lfd,&lf->sp,i,des->th[i],rsc(fp));
            ^
lf_adap.c:123:9: warning: passing arguments to 'nbhd' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    nbhd(lfd,des,0,1,sp);
        ^
lf_adap.c:124:15: warning: passing arguments to 'locfit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if (locfit(lfd,des,sp,1,0,0) > 0) WARN(("aband2: failed fit"));
              ^
lf_adap.c:125:13: warning: passing arguments to 'local_df' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    local_df(lfd,sp,des,t);
            ^
frend.c:124:12: warning: passing arguments to 'lforder' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    lforder(ind,evp(fp),0,nv-1);
           ^
lf_adap.c:107:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double aband2(lfd,sp,dv,des,h0)
       ^
lf_adap.c:181:9: warning: passing arguments to 'nbhd' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    nbhd(lfd,des,0,1,sp);
        ^
lf_adap.c:182:15: warning: passing arguments to 'locfit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if (locfit(lfd,des,sp,1,0,0) > 0) WARN(("aband3: failed fit"));
              ^
lf_adap.c:183:13: warning: passing arguments to 'local_df' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    local_df(lfd,sp,des,t);
            ^
lf_adap.c:163:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double aband3(lfd,sp,dv,des,h0)
       ^
In file included from frend.c:6:
In file included from ./local.h:107:
./lffuns.h:67:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern void ressumm();
            ^
                    void
frend.c:30:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void ressumm(lf,des)
     ^
lf_adap.c:227:7: warning: passing arguments to 'nbhd' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  nbhd(lfd,des,0,1,sp);
      ^
lf_adap.c:228:21: warning: passing arguments to 'locfit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  lf_status = locfit(lfd,des,sp,0,0,0);
                    ^
In file included from lf_adap.c:13:
In file included from ./local.h:107:
./lffuns.h:13:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern int alocfit();
           ^
                   void
lf_adap.c:212:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int alocfit(lfd,sp,dv,des)
    ^
In file included from frend.c:6:
In file included from ./local.h:107:
./lffuns.h:68:15: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern double rss();
              ^
                  void
frend.c:143:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double rss(lf,des,df)
       ^
lf_dercor.c:35:9: warning: passing arguments to 'fitfun' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  fitfun(lfd, sp, des->xev,des->xev,des->f1,NULL);
        ^
lf_dercor.c:36:14: warning: passing arguments to 'jacob_solve' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  jacob_solve(&des->xtwx,des->f1);
             ^
lf_dercor.c:37:10: warning: passing arguments to 'setzero' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  setzero(dc,d);
         ^
lf_dercor.c:41:19: warning: passing arguments to 'innerprod' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  { s1 = innerprod(des->f1,&des->X[i*p],p);
                  ^
lf_dercor.c:43:13: warning: passing arguments to 'stdlinks' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    stdlinks(link,lfd,sp,ii,des->th[i],robscale);
            ^
lf_dercor.c:45:29: warning: passing arguments to 'weightd' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    { wd = des->w[i]*weightd(datum(lfd,j,ii)-des->xev[j],lfd->sca[j],
                            ^
In file included from lf_dercor.c:18:
In file included from ./local.h:107:
./lffuns.h:71:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern void dercor();
            ^
                   void
lf_dercor.c:21:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void dercor(lfd,sp,des,coef)
     ^
In file included from lf_fitfun.c:23:
In file included from ./local.h:107:
./lffuns.h:121:59: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern int procvhatm(), procv(), procvraw(), procvvord(), calcp();
                                                          ^
                                                                void
lf_fitfun.c:25:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int calcp(sp,d)
    ^
In file included from lf_fitfun.c:23:
In file included from ./local.h:107:
./lffuns.h:75:21: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern int calcp(), coefnumber();
                    ^
                               void
lf_fitfun.c:49:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int coefnumber(dv,kt,d,deg)
    ^
In file included from lf_fitfun.c:23:
In file included from ./local.h:107:
./lffuns.h:74:23: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern void fitfun(), makecfn(), designmatrix();
                      ^
                              void
lf_fitfun.c:76:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void makecfn(sp,des,dv,d)
     ^
lf_fitfun.c:105:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void fitfunangl(dx,ff,sca,cd,deg)
     ^
lf_fitfun.c:142:15: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    sp->vbasis(xx,t,1,lfd->d,&i,1,npar(sp),f);
              ^
In file included from lf_fitfun.c:23:
In file included from ./local.h:107:
./lffuns.h:74:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern void fitfun(), makecfn(), designmatrix();
            ^
                   void
lf_fitfun.c:131:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void fitfun(lfd,sp,x,t,f,dv)
     ^
8 warnings generated.
lf_fitfun.c:254:15: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    sp->vbasis(lfd->x,des->xev,lfd->n,lfd->d,des->ind,des->n,p,X);
              ^
In file included from lf_fitfun.c:23:
In file included from ./local.h:107:
./lffuns.h:74:34: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern void fitfun(), makecfn(), designmatrix();
                                 ^
                                              void
lf_fitfun.c:242:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void designmatrix(lfd,sp,des)
     ^
clang -arch x86_64 -std=gnu17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c lf_robust.c -o lf_robust.o
In file included from lf_nbhd.c:11:
In file included from ./local.h:107:
./lffuns.h:78:27: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern double kordstat(), rho();
                          ^
                              void
lf_nbhd.c:13:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double rho(x,sc,d,kt,sty) /* ||x|| for appropriate distance metric */
       ^
In file included from lf_nbhd.c:11:
In file included from ./local.h:107:
./lffuns.h:78:15: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern double kordstat(), rho();
              ^
                       void
lf_nbhd.c:49:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double kordstat(x,k,n,ind)
       ^
lf_nbhd.c:77:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int inlim(lfd,i)
    ^
lf_nbhd.c:93:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double compbandwid(di,ind,x,n,d,nn,fxh)
       ^
lf_nbhd.c:145:15: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    h = sp->vb(des->xev);
              ^
lf_nbhd.c:169:23: warning: passing arguments to 'weight' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    des->w[m] = weight(lfd, sp, &xd[i], &x, h, 1, des->di[i]);
                      ^
lf_nbhd.c:178:23: warning: passing arguments to 'weight' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    des->w[m] = weight(lfd, sp, &xd[i], &x, h, 1, des->di[i]);
                      ^
lf_nbhd.c:115:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void nbhd1(lfd,sp,des,k)
     ^
lf_nbhd.c:189:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void nbhd_zeon(lfd,des)
     ^
lf_nbhd.c:256:20: warning: passing arguments to 'minmax' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  { des->h = minmax(lfd,des,sp);
                   ^
lf_nbhd.c:261:15: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    h = sp->vb(des->xev);
              ^
lf_nbhd.c:267:23: warning: passing arguments to 'weight' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    des->w[m] = weight(lfd, sp, u, des->xev, h, 1, des->di[i]);
                      ^
In file included from lf_nbhd.c:11:
In file included from ./local.h:107:
./lffuns.h:79:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern void nbhd();
            ^
                 void
lf_nbhd.c:208:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void nbhd(lfd,des,nn,redo,sp)
     ^
12 warnings generated.
21 warnings generated.
clang -arch x86_64 -std=gnu17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c lf_vari.c -o lf_vari.o
clang -arch x86_64 -std=gnu17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c lf_wdiag.c -o lf_wdiag.o
In file included from lf_robust.c:26:
In file included from ./local.h:107:
./lffuns.h:82:15: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern double median();
              ^
                     void
lf_robust.c:36:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double median(x,n)
       ^
lf_robust.c:75:40: warning: passing arguments to 'innerprod' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    des->th[i] = base(lfd,ii)+innerprod(des->cf,d_xi(des,i),p);
                                       ^
lf_robust.c:77:13: warning: passing arguments to 'stdlinks' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    stdlinks(link,lfd,sp,ii,des->th[i],rs);
            ^
lf_robust.c:65:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double nrobustscale(lfd,sp,des,rs)
       ^
lf_robust.c:101:42: warning: passing arguments to 'innerprod' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    des->th[i] = base(lfd,ii) + innerprod(des->cf,d_xi(des,i),p);
                                         ^
lf_robust.c:102:10: warning: passing arguments to 'links' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    links(des->th[i],resp(lfd,ii),fam&127,lin,link,cens(lfd,ii),prwt(lfd,ii),1.0);
         ^
lf_robust.c:90:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double robustscale(lfd,sp,des)
       ^
lf_robust.c:115:9: warning: passing arguments to 'lfiter' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  lfiter(rob_des,rob_mxit);
        ^
lf_robust.c:110:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double update_rs(x)
       ^
lf_robust.c:136:11: warning: passing arguments to 'solve_fp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  solve_fp(update_rs, x, 1.0e-6, mxit);
          ^
In file included from lf_robust.c:26:
In file included from ./local.h:107:
./lffuns.h:83:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern void lf_robust();
            ^
                      void
lf_robust.c:123:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void lf_robust(lfd,sp,des,mxit)
     ^
13 warnings generated.
clang -arch x86_64 -std=gnu17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c lfstr.c -o lfstr.o
lf_wdiag.c:24:10: lf_vari.c:30:10warning: passing arguments to 'setzero' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  setzero(des->f1,p);
         ^
lf_wdiag.c:26:13: warning: passing arguments to 'stdlinks' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  { stdlinks(link,lfd,sp,(int)des->ind[j],des->th[j],robscale);
            ^
lf_wdiag.c:29:14: warning: passing arguments to 'jacob_solve' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  jacob_solve(&des->xtwx,des->f1);
             ^
lf_wdiag.c:31:22: warning: passing arguments to 'innerprod' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    u[i] -= innerprod(des->f1,d_xi(des,i),p)*des->w[i];
                     ^
lf_wdiag.c:16:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void nnresproj(lfd,sp,des,u,m,p)
     ^
: warning: passing arguments to 'setzero' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  setzero(M2,p*p);
         ^
lf_vari.c:52:17: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    (des->itype)(des->xev, M2, M12, des->cf, h);
                ^
lf_vari.c:54:35: warning: passing arguments to 'multmatscal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if (fam(sp)==TDEN) multmatscal(M2,des->smwt,p*p);
                                  ^
lf_vari.c:60:15: warning: passing arguments to 'stdlinks' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    { stdlinks(link,lfd,sp,(int)des->ind[i],des->th[i],robscale);
              ^
lf_vari.c:64:15: warning: passing arguments to 'addouter' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      addouter(M2,d_xi(des,i),d_xi(des,i),p,ww);
              ^
lf_vari.c:70:16: warning: passing arguments to 'jacob_solve' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    jacob_solve(&des->xtwx,&M12[i*p]);
               ^
lf_vari.c:22:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void vmat(lfd, sp, des, M12, M2)
     ^
lf_wdiag.c:34:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void wdexpand(l,n,ind,m)
     ^
lf_wdiag.c:69:9: warning: passing arguments to 'fitfun' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  fitfun(lfd,sp,des->xev,pc->xbar,des->f1,dv);
        ^
lf_wdiag.c:71:16: warning: passing arguments to 'jacob_solve' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  { jacob_solve(&pc->xtwx,des->f1);
               ^
lf_wdiag.c:73:24: warning: passing arguments to 'innerprod' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      lx[i] = innerprod(des->f1,d_xi(des,i),p);
                       ^
lf_wdiag.c:76:15: warning: passing arguments to 'jacob_hsolve' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  jacob_hsolve(&pc->xtwx,des->f1);
              ^
lf_wdiag.c:85:13: warning: passing arguments to 'fitfun' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      fitfun(lfd,sp,des->xev,pc->xbar,l1,dv);
            ^
lf_wdiag.c:86:19: warning: passing arguments to 'jacob_hsolve' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      jacob_hsolve(&pc->xtwx,l1);
                  ^
lf_wdiag.c:96:15: warning: passing arguments to 'fitfun' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        fitfun(lfd,sp,des->xev,pc->xbar,l1,dv);
              ^
lf_wdiag.c:97:21: warning: passing arguments to 'jacob_hsolve' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        jacob_hsolve(&pc->xtwx,l1);
                    ^
In file included from lf_wdiag.c:12:
In file included from ./local.h:107:
./lffuns.h:145:21: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern int wdiag(), wdiagp();
                    ^
                           void
lf_wdiag.c:56:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int wdiagp(lfd,sp,des,lx,pc,dv,deg,ty,exp)
    ^
lf_vari.c:81:16: warning: passing arguments to 'm_trace' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  tr2 = m_trace(M12,p);   /* tr (XTWVX)^{-1}(XTW^2VX) */
               ^
lf_wdiag.c:129:12: warning: passing arguments to 'setzero' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    setzero(lxd,m*d);
           ^
lf_vari.c:89:11: warning: passing arguments to 'chol_dec' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  chol_dec(M2,p,p);
          ^
lf_wdiag.c:132:14: warning: passing arguments to 'setzero' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      setzero(lxdd,m*d*d);
             ^
lf_wdiag.c:135:19: warning: passing arguments to 'fitfun' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  if (nd>0) fitfun(lfd,sp,des->xev,des->xev,des->f1,dv); /* c(0) */
                  ^
lf_wdiag.c:136:17: warning: passing arguments to 'unitvec' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    else unitvec(des->f1,0,p);
                ^
lf_wdiag.c:137:14: warning: passing arguments to 'jacob_solve' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  jacob_solve(&des->xtwx,des->f1);   /* c(0) (X^TWX)^{-1} */
             ^
lf_wdiag.c:140:22: warning: passing arguments to 'innerprod' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    lx[i] = innerprod(des->f1,&X[i*p],p); /* c(0)(XTWX)^{-1}X^T */
                     ^
lf_vari.clf_wdiag.c:142:17: warning: passing arguments to 'Wd' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    { wd[i] = Wd(des->di[ii]/h,ker(sp));
                ^
lf_wdiag.c:145:45: warning: passing arguments to 'weightd' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        lxd[j*m+i] = lx[i]*des->w[i]*weightd(dfx[j],lfd->sca[j],
                                            ^
:95:34: warning: passing arguments to 'jacob_solve' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
lf_wdiag.c:150:18: warning: passing arguments to 'Wdd' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      { wdd = Wdd(des->di[ii]/h,ker(sp));
                 ^
  for (i=0; i<p; i++) jacob_solve(&des->xtwx,&M2[i*p]);
                                 ^
lf_wdiag.c:169:13: warning: passing arguments to 'fitfun' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      fitfun(lfd,sp,des->xev,des->xev,des->f1,dv);
            ^
lf_vari.c:104:lf_wdiag.c:171:17: warning: passing arguments to 'stdlinks' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      { stdlinks(link,lfd,sp,(int)des->ind[k],des->th[k],robscale);
                ^
16: warning: passing arguments to 'multmatscal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    multmatscal(M12,1/SQR(des->smwt),p*p);
lf_wdiag.c:176:18: warning: passing arguments to 'jacob_solve' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      jacob_solve(&des->xtwx,des->f1); /* (...)(XTWX)^{-1} */               ^
In file included from lf_vari.c:11:
In file included from ./local.h:107:
./lffuns.h:91:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern void lf_vcov(), comp_vari(), local_df();
            ^
                    void
lf_vari.c:73:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void lf_vcov(lfd,sp,des)
     ^

                 ^
lf_wdiag.c:178:27: warning: passing arguments to 'innerprod' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        ulx[j] = innerprod(des->f1,&X[j*p],p); /* (...)XT */
                          ^
lf_wdiag.c:183:34: warning: passing arguments to 'weightd' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
          wdw = des->w[k]*weightd(dfx[j],lfd->sca[j],d,ker(sp),
                                 ^
lf_wdiag.c:198:13: warning: passing arguments to 'fitfun' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      fitfun(lfd,sp,des->xev,des->xev,des->f1,dv);
            ^
lf_vari.c:118:10: warning: passing arguments to 'unitvec' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  unitvec(des->f1,0,des->p);
         ^
lf_vari.c:119:14: warning: passing arguments to 'jacob_solve' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  jacob_solve(&des->xtwx,des->f1);
             ^
In file included from lf_vari.c:11:
In file included from ./local.h:107:
./lffuns.h:91:24: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern void lf_vcov(), comp_vari(), local_df();
                       ^
                                 void
lf_vari.c:107:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void comp_vari(lfd,sp,des,tr,t0)
     ^
lf_wdiag.c:199:18: warning: passing arguments to 'jacob_solve' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      jacob_solve(&des->xtwx,des->f1);
                 ^
lf_wdiag.c:213:15: warning: passing arguments to 'fitfun' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        fitfun(lfd,sp,des->xev,des->xev,des->f1,dv);
              ^
lf_wdiag.c:214:20: warning: passing arguments to 'jacob_solve' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        jacob_solve(&des->xtwx,des->f1);
                   ^
lf_vari.c:145:18: warning: passing arguments to 'm_trace' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  tr[2] = m_trace(m2,p);   /* tr (XTWVX)^{-1}(XTW^2VX) */
                 ^
lf_vari.c:147:10: warning: passing arguments to 'unitvec' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  unitvec(des->f1,0,p);
         ^
lf_vari.c:148:14: warning: passing arguments to 'jacob_solve' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  jacob_solve(&des->xtwx,des->f1);
             ^
lf_vari.c:156:10: warning: passing arguments to 'setzero' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  setzero(m2,p*p);
         ^
lf_vari.c:158:13: warning: passing arguments to 'stdlinks' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  { stdlinks(link,lfd,sp,(int)des->ind[i],des->th[i],robscale);
            ^
lf_vari.c:160lf_wdiag.c:230:13: warning: passing arguments to 'stdlinks' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  { stdlinks(link,lfd,sp,(int)des->ind[i],des->th[i],robscale);
            ^
:13: warning: passing arguments to 'addouter' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    addouter(m2,d_xi(des,i),d_xi(des,i),p,ww);
            ^
lf_vari.c:163:16: warning: passing arguments to 'jacob_solve' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  { jacob_solve(&des->xtwx,&m2[i*p]);
               ^
In file included from lf_vari.c:11:
In file included from ./local.h:107:
./lffuns.h:91:37: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern void lf_vcov(), comp_vari(), local_df();
                                    ^
                                             void
lf_vari.c:131:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void local_df(lfd,sp,des,tr)
     ^
In file included from lf_wdiag.c:12:
In file included from ./local.h:107:
./lffuns.h:145:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern int wdiag(), wdiagp();
           ^
                 void
lf_wdiag.c:103:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int wdiag(lfd,sp,des,lx,dv,deg,ty,exp)
    ^
lfstr.c:26:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int ct_match(z1, z2)
    ^
In file included from lfstr.c:24:
In file included from ./local.h:107:
./lffuns.h:141:19: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern int stm(), pmatch(), matchlf(), matchrt(), checkltor(), checkrtol();
                  ^
                         void
lfstr.c:36:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int pmatch(z, strings, vals, n, def)
    ^
In file included from lfstr.c:24:
In file included from ./local.h:107:
./lffuns.h:86:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern int lffamily(), lfkernel(), lfketype(), lflink();
           ^
                    void
lfstr.c:60:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int lffamily(z)
    ^
In file included from lfstr.c:24:
In file included from ./local.h:107:
./lffuns.h:86:24: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern int lffamily(), lfkernel(), lfketype(), lflink();
                       ^
                                void
lfstr.c:86:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int lfkernel(char *z)
    ^
In file included from lfstr.c:24:
In file included from ./local.h:107:
./lffuns.h:86:36: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern int lffamily(), lfkernel(), lfketype(), lflink();
                                   ^
                                            void
lfstr.c:92:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int lfketype(char *z)
    ^
In file included from lfstr.c:24:
In file included from ./local.h:107:
./lffuns.h:86:48: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern int lffamily(), lfkernel(), lfketype(), lflink();
                                               ^
                                                      void
lfstr.c:100:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int lflink(char *z)
    ^
In file included from lfstr.c:24:
In file included from ./local.h:107:
./lffuns.h:87:22: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern int deitye(), lfevstr(), lfacri();
                     ^
                             void
lfstr.c:109:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int lfevstr(char *z)
    ^
In file included from lfstr.c:24:
In file included from ./local.h:107:
./lffuns.h:87:33: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern int deitye(), lfevstr(), lfacri();
                                ^
                                       void
lfstr.c:122:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int lfacri(char *z)
    ^
In file included from lfstr.c:24:
In file included from ./local.h:107:
./lffuns.h:88:22: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern int ppwhat(), restyp();
                     ^
                            void
lfstr.c:134:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int restyp(z)
    ^
In file included from lfstr.c:24:
In file included from ./local.h:107:
./lffuns.h:88:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern int ppwhat(), restyp();
           ^
                  void
lfstr.c:143:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int ppwhat(z)
    ^
13 warnings generated.
clang -arch x86_64 -std=gnu17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c locfit.c -o locfit.o
26 warnings generated.
clang -arch x86_64 -std=gnu17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c m_chol.c -o m_chol.o
16 warnings generated.
clang -arch x86_64 -std=gnu17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c m_eigen.c -o m_eigen.o
In file included from m_chol.c:7:
./mutil.h:27:28: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern void jacob_dec(),   chol_dec(),   eig_dec();
                           ^
                                    void
m_chol.c:12:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void chol_dec(A,n,p)
     ^
In file included from m_chol.c:7:
./mutil.h:28:28: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern int  jacob_solve(), chol_solve(), eig_solve();
                           ^
                                      void
m_chol.c:35:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int chol_solve(A,v,n,p)
    ^
In file included from m_chol.c:7:
./mutil.h:29:28: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern int  jacob_hsolve(),chol_hsolve(),eig_hsolve();
                           ^
                                       void
m_chol.c:51:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int chol_hsolve(A,v,n,p)
    ^
In file included from m_chol.c:7:
./mutil.h:30:28: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern double jacob_qf(),  chol_qf(),    eig_qf();
                           ^
                                   void
m_chol.c:63:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double chol_qf(A,v,n,p)
       ^
In file included from locfit.c:6:
In file included from ./local.h:107:
./lffuns.h:95:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern void lfdata_init(), smpar_init(), deriv_init(), des_init(), lfiter();
            ^
                        void
locfit.c:20:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void lfdata_init(lfd)
     ^
locfit.c:45:19: warning: passing arguments to 'calcp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  npar(sp) = calcp(sp,lfd->d);
                  ^
In file included from locfit.c:6:
In file included from ./local.h:107:
./lffuns.h:95:28: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern void lfdata_init(), smpar_init(), deriv_init(), des_init(), lfiter();
                           ^
                                      void
locfit.c:32:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void smpar_init(sp,lfd)
     ^
In file included from locfit.c:6:
In file included from ./local.h:107:
./lffuns.h:95:42: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern void lfdata_init(), smpar_init(), deriv_init(), des_init(), lfiter();
                                         ^
                                                    void
locfit.c:48:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void deriv_init(dv)
     ^
locfit.c:56:38: warning: passing arguments to 'jac_reqd' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  return(n*(p+5)+2*p*p+4*p + jac_reqd(p));
                                     ^
In file included from locfit.c:6:
In file included from ./local.h:107:
./lffuns.h:94:22: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern int locfit(), des_reqd(), des_reqi();
                     ^
                              void
locfit.c:53:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int des_reqd(n,p)
    ^
In file included from locfit.c:6:
In file included from ./local.h:107:
./lffuns.h:94:34: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern int locfit(), des_reqd(), des_reqi();
                                 ^
                                          void
locfit.c:58:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int des_reqi(n,p)
    ^
locfit.c:97:16: warning: passing arguments to 'jac_alloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  z = jac_alloc(&des->xtwx,p,z);
               ^
In file included from locfit.c:6:
In file included from ./local.h:107:
./lffuns.h:95:56: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern void lfdata_init(), smpar_init(), deriv_init(), des_init(), lfiter();
                                                       ^
                                                                void
locfit.c:63:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void des_init(des,n,p)
     ^
locfit.c:113:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void deschk(des,n,p)
     ^
locfit.c:128:10: warning: passing arguments to 'setzero' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  setzero(Z,p*p);
         ^
locfit.c:129:10: warning: passing arguments to 'setzero' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  setzero(f1,p);
         ^
locfit.c:134:46: warning: passing arguments to 'innerprod' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    lf_des->th[i] = base(lf_lfd,ii)+innerprod(coef,X,p);
                                             ^
locfit.c:135:25: warning: passing arguments to 'stdlinks' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    lf_status = stdlinks(link,lf_lfd,lf_sp,ii,lf_des->th[i],robscale);
                        ^
locfit.c:147:13: warning: passing arguments to 'addouter' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    addouter(Z, X, X, p, ww*link[ZDDLL]);
            ^
locfit.c:155:25: warning: passing arguments to 'prresp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  if (lf_debug>4) prresp(coef,Z,p);
                        ^
locfit.c:120:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int likereg(coef, lk0, f1, Z)
    ^
locfit.c:197:22: warning: passing arguments to 'median' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  des->cf[0] = median(des->res,des->n);
                     ^
locfit.c:191:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int robustinit(lfd,des)
    ^
locfit.c:203:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int circinit(lfd,des)
    ^
locfit.c:228:10: warning: passing arguments to 'links' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    links(base(lfd,ii),resp(lfd,ii),fam(lf_sp),LINIT,link,cens(lfd,ii),prwt(lfd,ii),1.0);
         ^
locfit.c:234:10: warning: passing arguments to 'setzero' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  setzero(des->cf,des->p);
         ^
locfit.c:256:25: warning: passing arguments to 'logit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      des->cf[0] = logit(s1/s0)-sb/s0;
                        ^
locfit.c:220:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int reginit(lfd,des)
    ^
19 warnings generated.
locfit.c:284:15: warning: passing arguments to 'designmatrix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  designmatrix(lfd,sp,des);
              ^
locfit.c:287:25: warning: passing arguments to 'defaultlink' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  link(sp) = defaultlink(link(sp),fam(sp));
                        ^
locfit.c:295:22: warning: passing arguments to 'densinit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      return(densinit(lfd,des,sp,des->cf));
                     ^
locfit.c:277:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int lfinit(lfd,sp,des)
    ^
locfit.c:311:9: warning: passing arguments to 'max_nr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  max_nr(like, des->cf, des->oc, des->res, des->f1,
        ^
In file included from locfit.c:6:
In file included from ./local.h:107:
./lffuns.h:95:68: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern void lfdata_init(), smpar_init(), deriv_init(), des_init(), lfiter();
                                                                   ^
                                                                          void
locfit.c:306:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void lfiter(des,maxit)
     ^
locfit.c:354:15: warning: passing arguments to 'nbhd' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  if (nb) nbhd(lfd,des,(int)(lfd->n*nn(sp)+1e-12),0,sp);
              ^
locfit.c:360:14: warning: passing arguments to 'lf_robust' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    lf_robust(lfd,sp,des,lf_maxit);
             ^
locfit.c:366:35: warning: passing arguments to 'setzero' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  if (lf_status == LF_OOB) setzero(des->cf,des->p);
                                  ^
locfit.c:374:20: warning: passing arguments to 'multmatscal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        multmatscal(des->cf,1.0/des->smwt,des->p);
                   ^
locfit.c:382:12: warning: passing arguments to 'lf_vcov' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    lf_vcov(lfd,sp,des);
           ^
In file included from locfit.c:6:
In file included from ./local.h:107:
./lffuns.h:94:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern int locfit(), des_reqd(), des_reqi();
           ^
                  void
locfit.c:331:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int locfit(lfd,des,sp,noit,nb,cv)
    ^
clang -arch x86_64 -std=gnu17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c m_icirc.c -o m_icirc.o
m_eigen.c:15:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double e_tol(D,p)
       ^
In file included from m_eigen.c:10:
./mutil.h:27:42: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern void jacob_dec(),   chol_dec(),   eig_dec();
                                         ^
                                                 void
m_eigen.c:26:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void eig_dec(X,P,d)
     ^
In file included from m_eigen.c:10:
./mutil.h:28:42: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern int  jacob_solve(), chol_solve(), eig_solve();
                                         ^
                                                   void
m_eigen.c:69:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int eig_solve(J,x)
    ^
In file included from m_eigen.c:10:
./mutil.h:29:42: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern int  jacob_hsolve(),chol_hsolve(),eig_hsolve();
                                         ^
                                                    void
m_eigen.c:100:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int eig_hsolve(J,v)
    ^
In file included from m_eigen.c:10:
./mutil.h:30:42: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern double jacob_qf(),  chol_qf(),    eig_qf();
                                         ^
                                                void
m_eigen.c:129:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double eig_qf(J,v)
       ^
8 warnings generated.
clang -arch x86_64 -std=gnu17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c m_imont.c -o m_imont.o
m_icirc.c:11:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void setM(M,r,s,c,b)
     ^
m_icirc.c:44:11: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    nr = f(x,2,tres,M);
          ^
m_icirc.c:45:22: warning: passing arguments to 'setzero' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if (i==0) setzero(res,nr);
                     ^
In file included from m_icirc.c:5:
./mutil.h:72:51: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern void simpsonm(), simpson4(), integ_disc(), integ_circ();
                                                  ^
                                                             void
m_icirc.c:22:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void integ_circ(f,r,orig,res,mint,b)
     ^
m_icirc.c:72:13: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      nr = f(x,2,tres,NULL);
            ^
m_icirc.c:73:25: warning: passing arguments to 'setzero' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      if (ct==0) setzero(res,nr);
                        ^
m_icirc.c:78:17: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        nrb = fb(x,2,tres,M);
                ^
m_icirc.c:79:28: warning: passing arguments to 'setzero' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        if (ctb==0) setzero(resb,nrb);
                           ^
In file included from m_icirc.c:5:
./mutil.h:72:37: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern void simpsonm(), simpson4(), integ_disc(), integ_circ();
                                    ^
                                               void
m_icirc.c:52:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void integ_disc(f,fb,fl,res,resb,mg)
     ^
30 warnings generated.
clang -arch x86_64 -std=gnu17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c m_isimp.c -o m_isimp.o
m_imont.c:31:11: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    nr = f(x,d,tres,NULL);
          ^
m_imont.c:32:22: warning: passing arguments to 'setzero' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if (i==0) setzero(res,nr);
                     ^
In file included from m_imont.c:14:
./mutil.h:73:29: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern void integ_sphere(), monte(), rn3();
                            ^
                                  void
m_imont.c:20:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void monte(f,ll,ur,d,res,n)
     ^
4 warnings generated.
m_isimp.c:26:12: warning: passing arguments to 'setzero' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    setzero(M,d*d);
           ^
m_isimp.c:37:13: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    nrd = fd(x,d,res2,M);
            ^
m_isimp.c:38:54: warning: passing arguments to 'setzero' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if ((ct==0) & (i0==0) & (i1==1) & (k==2)) setzero(resd,nrd);
                                                     ^
m_isimp.c:18:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void simp3(fd,x,d,resd,delta,wt,i0,i1,mg,ct,res2,lfindex)
     ^
m_isimp.c:51:12: warning: passing arguments to 'setzero' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  { setzero(M,d*d);
           ^
m_isimp.c:60:13: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    nrc = fc(x,d,res2,M);
            ^
m_isimp.c:61:44: warning: passing arguments to 'setzero' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if ((ct==0) & (i0==0) & (j==1)) setzero(resc,nrc);
                                           ^
m_isimp.c:45:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void simp2(fc,fd,x,d,resc,resd,delta,wt,i0,mg,ct,res2,lfindex)
     ^
m_isimp.c:76:12: warning: passing arguments to 'setzero' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  { setzero(M,(1+d)*d*d);
           ^
m_isimp.c:83:13: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    nrb = fb(x,d,res2,M);
            ^
m_isimp.c:70:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
clang -arch x86_64 -std=gnu17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c m_isphr.c -o m_isphr.o
void simp1(fb,fc,fd,x,d,resb,resc,resd,delta,wt,mg,ct,res2,lfindex)
     ^
m_isimp.c:113:11: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    nr = f(x,d,res2,NULL);
          ^
m_isimp.c:114:23: warning: passing arguments to 'setzero' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if (ct==0) setzero(res,nr);
                      ^
In file included from m_isimp.c:12:
./mutil.h:72:25: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern void simpsonm(), simpson4(), integ_disc(), integ_circ();
                        ^
                                 void
m_isimp.c:95:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void simpson4(f,fb,fc,fd,ll,ur,d,res,resb,resc,resd,mg,res2)
     ^
In file included from m_isimp.c:12:
./mutil.h:72:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern void simpsonm(), simpson4(), integ_disc(), integ_circ();
            ^
                     void
m_isimp.c:142:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void simpsonm(f,ll,ur,d,res,mg,res2)
     ^
m_isimp.c:156:41: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    sum += (2+2*(i&1)-(i==0)-(i==m)) * f(x);
                                        ^
In file included from m_isimp.c:12:
./mutil.h:74:15: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern double simpson(), sptarea();
              ^
                      void
m_isimp.c:148:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double simpson(f,l0,l1,m)
       ^
11 warnings generated.
clang -arch x86_64 -std=gnu17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c m_jacob.c -o m_jacob.o
37 warnings generated.
clang -arch x86_64 -std=gnu17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c m_max.c -o m_max.o
m_isphr.c:7:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void sphM(M,r,u)
     ^
m_isphr.c:51:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double ip3(a,b)
       ^
In file included from m_isphr.c:1:
./mutil.h:73:38: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern void integ_sphere(), monte(), rn3();
                                     ^
                                         void
m_isphr.c:56:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void rn3(a)
     ^
In file included from m_isphr.c:1:
./mutil.h:74:26: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern double simpson(), sptarea();
                         ^
                                 void
m_isphr.c:63:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double sptarea(a,b,c)
       ^
m_isphr.c:119:11: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    nr = f(u,3,tres,NULL);
          ^
m_isphr.c:120:24: warning: passing arguments to 'setzero' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
9 warnings generated.
    if (ct1==0) setzero(sres,nr);
                       ^
m_isphr.c:127:15: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      nrb = fb(u,3,tres,M);
              ^
m_isphr.c:98:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void li(x,f,fb,mint,ar)
     ^
m_isphr.c:141:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void sphint(f,fb,a,b,c,lev,mint,cent)
     ^
In file included from m_isphr.c:1:
./mutil.h:73:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern void integ_sphere(), monte(), rn3();
            ^
                         void
m_isphr.c:191:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void integ_sphere(f,fb,fl,Res,Resb,mg)
     ^
clang -arch x86_64 -std=gnu17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c m_qr.c -o m_qr.o
44 warnings generated.
clang -arch x86_64 -std=gnu17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c m_solve.c -o m_solve.o
In file included from m_jacob.c:10:
./mutil.h:25:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern int jac_reqd();
           ^
                    void
m_jacob.c:14:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int jac_reqd(int p) { return(2*p*(p+1)); }
    ^
In file included from m_jacob.c:10:
./mutil.h:26:16: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern double *jac_alloc();
               ^
                         void
m_jacob.c:16:9: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double *jac_alloc(J,p,wk)
        ^
m_jacob.c:39:14: warning: passing arguments to 'eig_dec' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      eig_dec(J->Z,J->Q,J->p);
             ^
m_jacob.c:48:14: warning: passing arguments to 'eig_dec' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      eig_dec(J->Z,J->Q,J->p);
             ^
m_jacob.c:52:15: warning: passing arguments to 'chol_dec' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      chol_dec(J->Z,J->p,J->p);
              ^
In file included from m_jacob.c:10:
./mutil.h:27:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern void jacob_dec(),   chol_dec(),   eig_dec();
            ^
                      void
m_jacob.c:29:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void jacob_dec(J, meth)
     ^
m_jacob.c:67:23: warning: passing arguments to 'eig_solve' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      return(eig_solve(J,v));
                      ^
m_jacob.c:70:23: warning: passing arguments to 'eig_solve' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      rank = eig_solve(J,v);
                      ^
m_jacob.c:74:24: warning: passing arguments to 'chol_solve' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      return(chol_solve(J->Z,v,J->p,J->p));
                       ^
In file included from m_jacob.c:10:
./mutil.h:28:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern int  jacob_solve(), chol_solve(), eig_solve();
            ^
                        void
m_jacob.c:58:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int jacob_solve(J,v) /* (X^T W X)^{-1} v */
    ^
m_jacob.c:89:24: warning: passing arguments to 'eig_hsolve' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      return(eig_hsolve(J,v));
                       ^
m_jacob.c:92:24: warning: passing arguments to 'eig_hsolve' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      return(eig_hsolve(J,v));
                       ^
m_jacob.c:94:25: warning: passing arguments to 'chol_hsolve' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      return(chol_hsolve(J->Z,v,J->p,J->p));
                        ^
In file included from m_jacob.c:10:
./mutil.h:29:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern int  jacob_hsolve(),chol_hsolve(),eig_hsolve();
            ^
                         void
m_jacob.c:80:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int jacob_hsolve(J,v) /*  J^{-1/2} v */
    ^
m_jacob.c:109:20: warning: passing arguments to 'eig_qf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      return(eig_qf(J,v));
                   ^
m_jacob.c:112:20: warning: passing arguments to 'eig_qf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      return(eig_qf(J,v));
                   ^
m_jacob.c:114:21: warning: passing arguments to 'chol_qf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      return(chol_qf(J->Z,v,J->p,J->p));
                    ^
In file included from m_jacob.c:10:
./mutil.h:30:15: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern double jacob_qf(),  chol_qf(),    eig_qf();
              ^
                       void
m_jacob.c:100:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double jacob_qf(J,v)  /* vT J^{-1} v */
       ^
m_max.c:50:10: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    y = f(x);
         ^
In file included from m_max.c:37:
./mutil.h:33:15: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern double max_grid(), max_golden(), max_quad(), max_nr();
              ^
                       void
m_max.c:42:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double max_grid(f,xlo,xhi,n,flag)
       ^
m_max.c:76:19: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  x0 = xlo; y0 = f(xlo);
                  ^
m_max.c:77:19: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  x3 = xhi; y3 = f(xhi);
                  ^
m_max.c:78:45: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  x1 = gold_rat*x0 + (1-gold_rat)*x3; y1 = f(x1);
                                            ^
m_max.c:79:45: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  x2 = gold_rat*x3 + (1-gold_rat)*x1; y2 = f(x2);
                                            ^
m_max.c:85:49: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      x1 = gold_rat*x0 + (1-gold_rat)*x3; y1 = f(x1);
                                                ^
m_max.c:90:49: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      x2 = gold_rat*x3 + (1-gold_rat)*x1; y2 = f(x2);
                                                ^
m_max.c:95:49: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      x1 = gold_rat*x0 + (1-gold_rat)*x3; y1 = f(x1);
                                                ^
m_max.c:96:49: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      x2 = gold_rat*x3 + (1-gold_rat)*x1; y2 = f(x2);
                                                ^
In file included from m_max.c:37:
./mutil.h:33:27: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern double max_grid(), max_golden(), max_quad(), max_nr();
                          ^
                                     void
m_max.c:62:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double max_golden(f,xlo,xhi,n,tol,err,flag)
       ^
m_max.c:117:19: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  x0 = xlo; y0 = f(x0);
                  ^
m_max.c:118:19: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  x2 = xhi; y2 = f(x2);
                  ^
m_max.c:119:25: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  x1 = (x0+x2)/2; y1 = f(x1);
                        ^
m_max.c:131:13: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      y1 = f(x1);
            ^
m_max.c:155:15: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      ynew = f(xnew);
              ^
In file included from m_max.c:37:
./mutil.h:33:41: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern double max_grid(), max_golden(), max_quad(), max_nr();
                                        ^
                                                 void
m_max.c:104:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double max_quad(f,xlo,xhi,n,tol,err,flag)
       ^
m_max.c:180:9: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  fr = F(coef, &f, f1, J->Z); J->st = JAC_RAW;
        ^
m_max.c:185:23: warning: passing arguments to 'jacob_solve' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    rank = jacob_solve(J,f1);
                      ^
m_max.c:194:19: warning: passing arguments to 'innerprod' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    nc = innerprod(old_coef,old_coef,p);
                  ^
m_max.c:195:19: warning: passing arguments to 'innerprod' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    nd = innerprod(delta, delta, p);
                  ^
m_max.c:202:13: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      fr = F(coef, &f, f1, J->Z); J->st = JAC_RAW;
            ^
In file included from m_max.c:37:
./mutil.h:33:53: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern double max_grid(), max_golden(), max_quad(), max_nr();
                                                    ^
                                                           void
m_max.c:169:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double max_nr(F, coef, old_coef, f1, delta, J, p, maxit, tol, err)
       ^
In file included from m_qr.c:8:
./mutil.h:36:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern void qr(), qrinvx(), qrtinvx(), qrsolv();
            ^
               void
m_qr.c:13:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void qr(X,n,p,w)
     ^
In file included from m_qr.c:8:
./mutil.h:36:19: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern void qr(), qrinvx(), qrtinvx(), qrsolv();
                  ^
                         void
m_qr.c:74:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void qrinvx(R,x,n,p)
     ^
In file included from m_qr.c:8:
./mutil.h:36:29: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern void qr(), qrinvx(), qrtinvx(), qrsolv();
                            ^
                                    void
m_qr.c:84:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void qrtinvx(R,x,n,p)
     ^
In file included from m_qr.c:8:
./mutil.h:36:40: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern void qr(), qrinvx(), qrtinvx(), qrsolv();
                                       ^
                                              void
m_qr.c:94:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void qrsolv(R,x,n,p)
     ^
m_solve.c:52:10: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  ylo = f(xlo)-c;
         ^
m_solve.c:53:10: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  yhi = f(xhi)-c;
         ^
m_solve.c:59:15: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        y1 = f(x1) - c;
              ^
m_solve.c:67:15: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        y1 = f(x1) - c;
              ^
m_solve.c:87:10: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    y = f(x)-c;
         ^
In file included from m_solve.c:45:
./mutil.h:43:15: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern double solve_secant(), solve_nr(), solve_fp();
              ^
                           void
m_solve.c:47:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double solve_secant(f,c,xlo,xhi,tol,bd_flag,err)
       ^
m_solve.c:105:10: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  { y = f(x0)-c;
         ^
m_solve.c:106:15: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    x0 -= y/f1(x0);
              ^
In file included from m_solve.c:45:
./mutil.h:43:31: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern double solve_secant(), solve_nr(), solve_fp();
                              ^
                                       void
m_solve.c:100:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double solve_nr(f,f1,c,x0,tol,err)
       ^
m_solve.c:117:11: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  { x1 = f(x0);
          ^
In file included from m_solve.c:45:
./mutil.h:43:43: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern double solve_secant(), solve_nr(), solve_fp();
                                          ^
                                                   void
m_solve.c:111:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double solve_fp(f,x0,tol,maxit)
       ^
14 warnings generated.
clang -arch x86_64 -std=gnu17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c m_svd.c -o m_svd.o
13 warnings generated.
clang -arch x86_64 -std=gnu17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c m_vector.c -o m_vector.o
27 warnings generated.
clang -arch x86_64 -std=gnu17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c math.c -o math.o
20 warnings generated.
clang -arch x86_64 -std=gnu17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c minmax.c -o minmax.o
In file included from m_vector.c:16:
./mutil.h:46:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern void setzero(), unitvec(), addouter(), multmatscal(), transpose();
            ^
                    void
m_vector.c:18:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void setzero(v,p)
     ^
In file included from m_vector.c:16:
./mutil.h:46:24: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern void setzero(), unitvec(), addouter(), multmatscal(), transpose();
                       ^
                               void
m_vector.c:25:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void unitvec(x,k,p)
     ^
In file included from m_vector.c:16:
./mutil.h:47:15: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern double innerprod(), m_trace();
              ^
                        void
m_vector.c:32:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double innerprod(v1,v2,p)
       ^
In file included from m_vector.c:16:
./mutil.h:46:35: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern void setzero(), unitvec(), addouter(), multmatscal(), transpose();
                                  ^
                                           void
m_vector.c:42:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void addouter(A,v1,v2,p,c)
     ^
In file included from m_vector.c:16:
./mutil.h:46:47: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern void setzero(), unitvec(), addouter(), multmatscal(), transpose();
                                              ^
                                                          void
m_vector.c:51:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void multmatscal(A,z,n)
     ^
In file included from m_vector.c:16:
./mutil.h:46:62: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern void setzero(), unitvec(), addouter(), multmatscal(), transpose();
                                                             ^
                                                                       void
m_vector.c:65:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void transpose(x,m,n)
     ^
In file included from m_vector.c:16:
./mutil.h:47:28: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern double innerprod(), m_trace();
                           ^
                                   void
m_vector.c:84:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double m_trace(x,n)
       ^
In file included from m_svd.c:7:
In file included from ./local.h:94:
./mutil.h:39:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern void svd(), hsvdsolve();
            ^
                void
m_svd.c:10:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void svd(x,p,q,d,mxit)  /* svd of square matrix */
     ^
In file included from m_svd.c:7:
In file included from ./local.h:94:
./mutil.h:40:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern int svdsolve();
           ^
                    void
m_svd.c:87:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int svdsolve(x,w,P,D,Q,d,tol) /* original X = PDQ^T; comp. QD^{-1}P^T x */
    ^
In file included from m_svd.c:7:
In file included from ./local.h:94:
./mutil.h:39:20: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern void svd(), hsvdsolve();
                   ^
                             void
m_svd.c:114:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void hsvdsolve(x,w,P,D,Q,d,tol) /* original X = PDQ^T; comp. D^{-1/2}P^T x */
     ^
math.c:24:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double lf_exp(x)
       ^
24 warnings generated.
clang -arch x86_64 -std=gnu17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c pcomp.c -o pcomp.o
math.c:42:29: warning: passing arguments to 'lferfc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  if (x>3.2) return(1-lferfc(x));
                            ^
In file included from math.c:30:
In file included from ./local.h:107:
./lffuns.h:99:27: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern double lflgamma(), lferf(), lferfc(), lfdaws(), lf_exp();
                          ^
                                void
math.c:34:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double lferf(x)
       ^
math.c:32:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double lferfc();
       ^
              void
math.c:60:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double lferfc(x)
       ^
In file included from math.c:30:
In file included from ./local.h:107:
./lffuns.h:99:15: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern double lflgamma(), lferf(), lferfc(), lfdaws(), lf_exp();
              ^
                       void
math.c:67:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double lflgamma(x)
       ^
In file included from math.c:30:
In file included from ./local.h:107:
./lffuns.h:99:46: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern double lflgamma(), lferf(), lferfc(), lfdaws(), lf_exp();
                                             ^
                                                    void
math.c:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double lfdaws(x)
       ^
In file included from math.c:30:
In file included from ./local.h:107:
./lffuns.h:100:15: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern double ptail(), logit(), expit();
              ^
                    void
math.c:134:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double ptail(x) /* exp(x*x/2)*int_{-\infty}^x exp(-u^2/2)du for x < -6 */
       ^
In file included from math.c:30:
In file included from ./local.h:107:
./lffuns.h:100:24: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern double ptail(), logit(), expit();
                       ^
                             void
math.c:148:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double logit(x)
       ^
In file included from math.c:30:
In file included from ./local.h:107:
./lffuns.h:100:33: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern double ptail(), logit(), expit();
                                ^
                                      void
math.c:153:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double expit(x)
       ^
In file included from math.c:30:
In file included from ./local.h:107:
./lffuns.h:102:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern int factorial();
           ^
                     void
math.c:163:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int factorial(n)
    ^
14 warnings generated.
clang -arch x86_64 -std=gnu17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c preplot.c -o preplot.o
8 warnings generated.
clang -arch x86_64 -std=gnu17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c prob.c -o prob.o
In file included from minmax.c:9:
In file included from ./local.h:107:
./lffuns.h:105:15: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern double ipower(), minmax();
              ^
                     void
minmax.c:22:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double ipower(x,n) /* use for n not too large!! */
       ^
minmax.c:37:19: warning: passing arguments to 'innerprod' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  { ip = innerprod(a,d_xi(des,i),des->p);
                  ^
minmax.c:30:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double setmmwt(des,a,gam)
       ^
minmax.c:60:10: warning: passing arguments to 'setzero' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  setzero(A,p*p);
         ^
minmax.c:61:10: warning: passing arguments to 'setzero' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  setzero(z,p);
         ^
minmax.c:66:15: warning: passing arguments to 'addouter' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    { addouter(A,d_xi(mm_des,i),d_xi(mm_des,i),p,prwt(mm_lfd,i));
              ^
minmax.c:71:12: warning: passing arguments to 'jacob_dec' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  jacob_dec(J,JAC_EIGD);
           ^
minmax.c:49:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int mmsums(coef,f,z,J)
    ^
minmax.c:82:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double updatesd(des,z,p,a,a0,sw0,gam)
       ^
minmax.c:144:10: warning: passing arguments to 'setzero' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  setzero(coef,p);
         ^
minmax.c:137:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int mm_initial(des,z,p,coef)
    ^
minmax.c:184:18: warning: passing arguments to 'jacob_solve' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      jacob_solve(J,f1);
                 ^
minmax.c:155:7: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void  mmax(coef, old_coef, f1, delta, J, p, maxit, tol, err)
      ^
minmax.c:219:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double findab(gam)
       ^
minmax.c:249:17: warning: passing arguments to 'innerprod' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  ip = innerprod(ff,coef,mm_des->p);
                ^
minmax.c:246:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double weightmm(coef,di,ff,gam)
       ^
minmax.c:267:17: warning: passing arguments to 'factorial' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  p1 = factorial(d1);
                ^
minmax.c:272:11: warning: passing arguments to 'fitfun' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    fitfun(lfd, sp, u,des->xev,d_xi(des,i),NULL);
          ^
minmax.c:283:21: warning: passing arguments to 'solve_secant' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  gam = solve_secant(findab, 0.0, 0.0,1.0, 0.0000001, BDF_EXPRIGHT, &err_flag);
                    ^
In file included from minmax.c:9:
In file included from ./local.h:107:
./lffuns.h:105:25: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern double ipower(), minmax();
                        ^
                               void
minmax.c:255:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double minmax(lfd,des,sp)
       ^
18 warnings generated.
clang -arch x86_64 -std=gnu17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c procv.c -o procv.o
In file included from pcomp.c:10:
In file included from ./local.h:107:
./lffuns.h:114:23: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern int pc_reqd(), noparcomp();
                      ^
                                void
pcomp.c:12:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int noparcomp(sp,geth)
    ^
pcomp.c:28:28: warning: passing arguments to 'jac_reqd' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
{ return(d + 2*p + jac_reqd(p));
                           ^
In file included from pcomp.c:10:
In file included from ./local.h:107:
./lffuns.h:114:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern int pc_reqd(), noparcomp();
           ^
                   void
pcomp.c:26:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int pc_reqd(d,p)
    ^
pcomp.c:48:16: warning: passing arguments to 'jac_alloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  z = jac_alloc(&pc->xtwx,p,z);
               ^
In file included from pcomp.c:10:
In file included from ./local.h:107:
./lffuns.h:113:57: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern void compparcomp(), subparcomp(), subparcomp2(), pcchk();
                                                        ^
                                                              void
pcomp.c:31:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void pcchk(pc,d,p,lc)
     ^
pcomp.c:84:13: warning: passing arguments to 'locfit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  k = locfit(lfd,des,sp,0,0,0);
            ^
In file included from pcomp.c:10:
In file included from ./local.h:107:
./lffuns.h:113:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern void compparcomp(), subparcomp(), subparcomp2(), pcchk();
            ^
                        void
pcomp.c:52:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void compparcomp(des,lfd,sp,pc,geth,nopc)
     ^
pcomp.c:132:9: warning: passing arguments to 'fitfun' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  fitfun(&lf->lfd, &lf->sp, des->xev,pc->xbar,des->f1,dv);
        ^
pcomp.c:133:23: warning: passing arguments to 'innerprod' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  coef[0] -= innerprod(pc->coef,des->f1,pc->xtwx.p);
                      ^
pcomp.c:139:11: warning: passing arguments to 'fitfun' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    fitfun(&lf->lfd, &lf->sp, des->xev,pc->xbar,des->f1,dv);
          ^
pcomp.c:140:27: warning: passing arguments to 'innerprod' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    coef[i+1] -= innerprod(pc->coef,des->f1,pc->xtwx.p);
                          ^
In file included from pcomp.c:10:
In file included from ./local.h:107:
./lffuns.h:113:28: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern void compparcomp(), subparcomp(), subparcomp2(), pcchk();
                           ^
                                      void
pcomp.c:120:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void subparcomp(des,lf,coef)
     ^
pcomp.c:159:9: warning: passing arguments to 'fitfun' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  fitfun(&lf->lfd, &lf->sp, des->xev,pc->xbar,des->f1,dv);
        ^
pcomp.c:161:14: warning: passing arguments to 'jacob_solve' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  jacob_solve(&pc->xtwx,des->f1);
             ^
pcomp.c:162:22: warning: passing arguments to 'innerprod' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  t0 = sqrt(innerprod(pc->f,des->f1,pc->xtwx.p));
                     ^
pcomp.c:170:11: warning: passing arguments to 'fitfun' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    fitfun(&lf->lfd, &lf->sp, des->xev,pc->xbar,pc->f,dv);
          ^
pcomp.c:171:19: warning: passing arguments to 'innerprod' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    t1 = innerprod(pc->f,des->f1,pc->xtwx.p)/t0;
                  ^
In file included from pcomp.c:10:
In file included from ./local.h:107:
./lffuns.h:113:42: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern void compparcomp(), subparcomp(), subparcomp2(), pcchk();
                                         ^
                                                     void
pcomp.c:145:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void subparcomp2(des,lf,vr,il)
     ^
pcomp.c:187:9: warning: passing arguments to 'fitfun' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  fitfun(&lf->lfd, &lf->sp, x,pc->xbar,pc->f,&lf->dv);
        ^
pcomp.c:188:33: warning: passing arguments to 'innerprod' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  if (c==PCOEF) return(innerprod(pc->coef,pc->f,pc->xtwx.p));
                                ^
pcomp.c:190:22: warning: passing arguments to 'jacob_qf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  { y = sqrt(jacob_qf(&pc->xtwx,pc->f));
                     ^
In file included from pcomp.c:10:
In file included from ./local.h:107:
./lffuns.h:112:15: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern double addparcomp();
              ^
                         void
pcomp.c:178:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double addparcomp(lf,x,c)
       ^
prob.c:56:17: warning: passing arguments to 'dbeta' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  factor = dbeta(x,a,b,1) + log(x/a);
                ^
In file included from prob.c:6:
./mutil.h:99:25: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern double igamma(), ibeta();
                        ^
                              void
prob.c:14:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double ibeta(x, a, b)
       ^
prob.c:72:19: warning: passing arguments to 'dgamma' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    return( dgamma(x,df+1.0,1.0,0) + igamma(x,df+1.0) );
                  ^
prob.c:74:22: warning: passing arguments to 'dgamma' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  factor = x * dgamma(x,df,1.0,0);
                     ^
In file included from prob.c:6:
./mutil.h:99:15: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern double igamma(), ibeta();
              ^
                     void
prob.c:65:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double igamma(x, df)
       ^
In file included from prob.c:6:
./mutil.h:100:15: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern double pf(), pchisq(), mut_pnorm();
              ^
                 void
prob.c:123:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double pf(q, df1, df2)
       ^
In file included from prob.c:6:
./mutil.h:100:31: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern double pf(), pchisq(), mut_pnorm();
                              ^
                                        void
prob.c:135:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double mut_pnorm(x,mu,s)
       ^
preplot.c:34:22: warning: passing arguments to 'dointpoint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  fit[i] = dointpoint(lf,x,what,ev,i);
                     ^
preplot.c:36:22: warning: passing arguments to 'dointpoint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  sef[i] = dointpoint(lf,x,PNLX,ev,i);
                     ^
preplot.c:42:21: warning: passing arguments to 'dointpoint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  { lik = dointpoint(lf,x,PLIK,ev,i);
                    ^
preplot.c:43:21: warning: passing arguments to 'dointpoint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    rdf = dointpoint(lf,x,PRDF,ev,i);
                    ^
preplot.c:29:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void predptall(lf,x,what,ev,i)
     ^
preplot.c:53:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void prepvector(lf,x,n,what) /* interpolate a vector */
     ^
preplot.c:66:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void prepfitp(lf,what)
     ^
preplot.c:76:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void prepgrid(lf,x,mg,n,what) /* interpolate a grid given margins */
     ^
In file included from preplot.c:6:
In file included from ./local.h:107:
./lffuns.h:117:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern void preplot(), cpreplot();
            ^
                    void
preplot.c:95:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void preplot(lf,x,f,se,band,mg,where,what)
     ^
6 warnings generated.
clang -arch x86_64 -std=gnu17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c scb.c -o scb.o
11 warnings generated.
clang -arch x86_64 -std=gnu17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c scb_cons.c -o scb_cons.o
procv.c:10:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double vocri(lk,t0,t2,pen)
       ^
procv.c:27:23: warning: passing arguments to 'locfit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    lf_status = locfit(&lf->lfd,des,&lf->sp,0,1,0);
                      ^
procv.c:29:24: warning: passing arguments to 'alocfit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    lf_status = alocfit(&lf->lfd,&lf->sp,&lf->dv,des);
                       ^
procv.c:35:28: warning: passing arguments to 'dercor' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  { if (dc(&lf->fp)) dercor(&lf->lfd,&lf->sp,des,coef);
                           ^
procv.c:36:15: warning: passing arguments to 'subparcomp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    subparcomp(des,lf,coef);
              ^
In file included from procv.c:6:
In file included from ./local.h:107:
./lffuns.h:121:34: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern int procvhatm(), procv(), procvraw(), procvvord(), calcp();
                                 ^
                                          void
procv.c:16:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int procvraw(des,lf,v)
    ^
procv.c:51:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void set_default_like(fp,v)
     ^
procv.c:119:12: warning: passing arguments to 'comp_vari' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  comp_vari(&lf->lfd,&lf->sp,des,trc,t0);
           ^
procv.c:131:14: warning: passing arguments to 'subparcomp2' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  subparcomp2(des,lf,vari,t0);
             ^
In file included from procv.c:6:
In file included from ./local.h:107:
./lffuns.h:121:25: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern int procvhatm(), procv(), procvraw(), procvvord(), calcp();
                        ^
                              void
procv.c:63:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int procv(des,lf,v)
    ^
procv.c:149:25: warning: passing arguments to 'innerprod' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  { th = (1-a)*innerprod(c0,&des->X[i*p],p) + a*innerprod(c1,&des->X[i*p],p);
                        ^
procv.c:149:58: warning: passing arguments to 'innerprod' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  { th = (1-a)*innerprod(c0,&des->X[i*p],p) + a*innerprod(c1,&des->X[i*p],p);
                                                         ^
procv.c:150:13: warning: passing arguments to 'stdlinks' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    stdlinks(link,&lf->lfd,&lf->sp,(int)des->ind[i],th,robscale);
            ^
procv.c:140:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double intvo(des,lf,c0,c1,a,p,t0,t20,t21)
       ^
29 warnings generated.
procv.c:174:35: warning: passing arguments to 'calcp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    des->p = npar(&lf->sp) = calcp(&lf->sp,lf->lfd.d);
                                  ^
procv.c:175:15: warning: passing arguments to 'locfit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    k = locfit(&lf->lfd,des,&lf->sp,0, i==deg0(&lf->sp),0);
              ^
procv.c:177:13: warning: passing arguments to 'local_df' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    local_df(&lf->lfd,&lf->sp,des,tr);
            ^
procv.c:199:35: warning: passing arguments to 'calcp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    des->p = npar(&lf->sp) = calcp(&lf->sp,lf->lfd.d);
                                  ^
procv.c:200:15: warning: passing arguments to 'locfit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    k = locfit(&lf->lfd,des,&lf->sp,0,0,0);
              ^
In file included from procv.c:6:
In file included from ./local.h:107:
./lffuns.h:121:46: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern int procvhatm(), procv(), procvraw(), procvvord(), calcp();
                                             ^
                                                       void
procv.c:157:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int procvvord(des,lf,v)
    ^
procv.c:222:10: warning: passing arguments to 'wdiag' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    wdiag(&lf->lfd,&lf->sp,des,l,&lf->dv,0,1,1);
         ^
procv.c:225:11: warning: passing arguments to 'wdiagp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    wdiagp(&lf->lfd,&lf->sp,des,l,&lf->pc,&lf->dv,0,1,1);
          ^
In file included from procv.c:6:
In file included from ./local.h:107:
./lffuns.h:121:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern int procvhatm(), procv(), procvraw(), procvvord(), calcp();
           ^
                     void
procv.c:213:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int procvhatm(des,lf,v)
    ^
clang -arch x86_64 -std=gnu17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c scb_crit.c -o scb_crit.o
10 warnings generated.
clang -arch x86_64 -std=gnu17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c scb_iface.c -o scb_iface.o
scb.c:30:11: warning: passing arguments to 'fitfun' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    fitfun(&lf->lfd, &lf->sp, &x1,pc->xbar,v1,NULL);
          ^
scb.c:31:11: warning: passing arguments to 'fitfun' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    fitfun(&lf->lfd, &lf->sp, &x2,pc->xbar,v2,NULL);
          ^
scb.c:32:17: warning: passing arguments to 'jacob_hsolve' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    jacob_hsolve(&lf->pc.xtwx,v1);
                ^
scb.c:33:17: warning: passing arguments to 'jacob_hsolve' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    jacob_hsolve(&lf->pc.xtwx,v2);
                ^
scb.c:41:11: warning: passing arguments to 'fitfun' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  { fitfun(&lf->lfd, &lf->sp, &x1,des->xev,wk,NULL);
          ^
scb.c:46:11: warning: passing arguments to 'fitfun' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    fitfun(&lf->lfd, &lf->sp, &x2,des->xev,wk,NULL);
          ^
In file included from scb_cons.c:13:
./tube.h:18:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern int k0_reqd();
           ^
                   void
scb_cons.c:18:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int k0_reqd(d,n,uc)
    ^
scb.c:53:19: warning: passing arguments to 'innerprod' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  return(innerprod(v1,v2,p));
                  ^
scb.c:12:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double covar_par(lf,des,x1,x2)
       ^
scb_cons.c:26:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void assignk0(z,d,n) /* z should be n*(2*d*d+2*d+2); */
     ^
scb_cons.c:43:39: warning: passing arguments to 'innerprod' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  for (i=0; i<p; i++) v[i] = innerprod(&A[i*n],y,n);
                                      ^
scb_cons.c:44:9: warning: passing arguments to 'qrsolv' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  qrsolv(R,v,n,p);
        ^
scb_cons.c:37:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void rproject(y,A,R,n,p)
     ^
scb_cons.c:57:16: warning: passing arguments to 'chol_hsolve' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    chol_hsolve(fd,&lij[i*m],m,dd+1);
               ^
scb_cons.c:60:34: warning: passing arguments to 'innerprod' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      lij[i*m+j+d+1] -= innerprod(&lij[i*m],&lij[j*m],dd+1);
                                 ^
scb.c:77:13: warning: passing arguments to 'b3' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    b3i = b3(des->th[i],fam(&lf->sp),prwt(&lf->lfd,ii));
            ^
scb.c:78:13: warning: passing arguments to 'b4' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    b4i = b4(des->th[i],fam(&lf->sp),prwt(&lf->lfd,ii));
            ^
scb.c:98:15: warning: passing arguments to 'b3' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      b3j = b3(des->th[j],fam(&lf->sp),prwt(&lf->lfd,jj));
              ^
scb.c:56:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void cumulant(lf,des,sd)
     ^
scb.c:128:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double q2(u)
       ^
scb.c:134:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double p2(u)
       ^
scb.c:148:9: warning: passing arguments to 'max_nr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  max_nr(likereg, scb_des->cf, scb_des->oc, scb_des->res, scb_des->f1,
        ^
scb.c:142:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double gldn_like(a)
       ^
scb.c:177:23: warning: passing arguments to 'solve_secant' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  lo[v] = solve_secant(gldn_like,tlk,lo[v],fp->coef[v],1e-8,BDF_EXPLEFT,&err);
                      ^
scb.c:180:23: warning: passing arguments to 'solve_secant' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  hi[v] = solve_secant(gldn_like,tlk,fp->coef[v],hi[v],1e-8,BDF_EXPRIGHT,&err);
                      ^
scb_cons.c:69:19: warning: passing arguments to 'chol_solve' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        chol_solve(fd,v,m,dd+1);
                  ^
scb_cons.c:75:19: warning: passing arguments to 'chol_solve' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        chol_solve(fd,v,m,dd+1);
                  ^
scb_cons.c:50:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double k2c(lij,A,m,dd,d)
       ^
scb.c:156:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void get_gldn(fp,des,lo,hi,v)
     ^
scb_cons.c:102:13: warning: passing arguments to 'qrsolv' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      qrsolv(fd,v,m,d+1);
            ^
scb_cons.c:110:21: warning: passing arguments to 'innerprod' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
scb.c:198:      s += innerprod(&lij[(j*dd+j)*m],&lij[(k*dd+k)*m],m)
15:                     ^
warning: passing arguments to 'procv' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    st = procv(des,lf,v);scb_cons.c:111:
21:               ^
warning: passing arguments to 'innerprod' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
         - innerprod(&lij[(j*dd+k)*m],&lij[(k*dd+j)*m],m);
                    ^
scb_cons.c:83:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double k2x(lij,A,m,d,dd)
       ^
scb.c:219:27: warning: passing arguments to 'solve_secant' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      lo[v] = solve_secant(q2,scb_crit,0.0,2*scb_crit,0.000001,BDF_NONE,&err);
                          ^
scb.c:184:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int procvscb2(des,lf,v)
    ^
scb_cons.c:116:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void d2c(ll,nn,li,ni,lij,nij,M,m,dd,d)
     ^
scb.c:242:24: warning: passing arguments to 'calcp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  npar(&lf->sp) = calcp(&lf->sp,lf->lfd.d);
                       ^
scb.c:243:11: warning: passing arguments to 'des_init' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  des_init(des,lf->lfd.n,npar(&lf->sp));
          ^
scb.c:244:30: warning: passing arguments to 'defaultlink' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  link(&lf->sp) = defaultlink(link(&lf->sp),fam(&lf->sp));
                             ^
scb.c:250:23: warning: passing arguments to 'constants' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    nterms = constants(des,lf);
                      ^
scb.c:251:23: warning: passing arguments to 'critval' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    scb_crit = critval(0.05,lf->fp.kap,nterms,lf->lfd.d,TWO_SIDED,0.0,GAUSS);
                      ^
scb.c:256:23: warning: passing arguments to 'critval' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    scb_crit = critval(0.05,lf->fp.kap,1,lf->lfd.d,TWO_SIDED,0.0,GAUSS);
                      ^
scb.c:260:10: warning: passing arguments to 'startlf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  startlf(des,lf,procvscb2,0);
         ^
scb.c:264:12: warning: passing arguments to 'ressumm' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    ressumm(lf,des);
           ^
scb_cons.c:163:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void d2x(li,lij,nij,M,m,dd,d)
     ^
scb_cons.c:193:18: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  m = globm = wdf(x,ft,r);
                 ^
scb_cons.c:196:26: warning: passing arguments to 'chol_dec' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  if (use_covar) chol_dec(fd,m,d+1);
                         ^
scb_cons.c:197:20: warning: passing arguments to 'qr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            else qr(fd,m,d+1,NULL);
                   ^
scb_cons.c:186:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int k0x(x,d,kap,M)
    ^
scb_cons.c:218:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void d1c(li,ni,m,d,M)
     ^
scb_cons.c:245:10: warning: passing arguments to 'setzero' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  setzero(ni,m*d);
         ^
scb_cons.c:240:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void d1x(li,ni,m,d,M)
     ^
In file included from scb.c:6:
In file included from ./local.h:107:
./lffuns.h:127:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern void scb(), cscbsim();
            ^
                void
scb.c:233:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void scb(des,lf)
     ^
scb_cons.c:262:10: warning: passing arguments to 'setzero' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  setzero(ni,m*d);
         ^
scb_cons.c:263:10: warning: passing arguments to 'setzero' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  setzero(nij,m*d*d);
         ^
scb_cons.c:276:26: warning: passing arguments to 'chol_dec' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  if (use_covar) chol_dec(fd,m,d+1);
                         ^
scb_cons.c:277:20: warning: passing arguments to 'qr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            else qr(fd,m,d+1,NULL);
                   ^
scb_cons.c:287:15: warning: passing arguments to 'chol_solve' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    chol_solve(fd,u,m,d);
              ^
scb_cons.c:291:46: warning: passing arguments to 'innerprod' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        v[j+1] = nij[(i*d+j)*m+d] - innerprod(u,&nij[(i*d+j)*m],d);
                                             ^
scb_cons.c:292:17: warning: passing arguments to 'chol_solve' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      chol_solve(fd,v,m,d);
                ^
scb_cons.c:301:47: warning: passing arguments to 'innerprod' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      for (j=0; j<d-1; j++) v[j+1] = innerprod(&nij[(i*d+j)*m],u,m);
                                              ^
scb_cons.c:302:13: warning: passing arguments to 'qrsolv' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      qrsolv(fd,v,m,d);
            ^
scb_cons.c:252:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int l1x(x,d,lap,M)
    ^
scb_cons.c:327:10: warning: passing arguments to 'setzero' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  setzero(ni,m*d); 
         ^
scb_cons.c:328:10: warning: passing arguments to 'setzero' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  setzero(nij,m*d*d);
         ^
scb_cons.c:344:26: warning: passing arguments to 'chol_dec' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  if (use_covar) chol_dec(fd,m,d+1);
                         ^
scb_cons.c:345:20: warning: passing arguments to 'qr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            else qr(fd,m,d+1,NULL);
                   ^
scb_cons.c:358:15: warning: passing arguments to 'chol_solve' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    chol_solve(fd,u1,m,d);
              ^
scb_cons.c:359:15: warning: passing arguments to 'chol_solve' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    chol_solve(fd,u2,m,d-1);
              ^
scb_cons.c:364:41: warning: passing arguments to 'innerprod' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
          so*(nij[(i*d+j)*m+d]-innerprod(u1,&nij[(i*d+j)*m],d))
                                        ^
scb_cons.c:365:43: warning: passing arguments to 'innerprod' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
         +co*(nij[(i*d+j)*m+d-1]-innerprod(u2,&nij[(i*d+j)*m],d-1));
                                          ^
scb_cons.c:366:13: warning: passing arguments to 'qrsolv' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      qrsolv(fd,v,m,d-1);
            ^
scb_cons.c:379:27: warning: passing arguments to 'innerprod' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        v[j+1] = innerprod(&nij[(i*d+j)*m],u1,m);
                          ^
scb_cons.c:380:13: warning: passing arguments to 'qrsolv' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      qrsolv(fd,v,m,d-1);
            ^
scb_cons.c:315:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int m0x(x,d,m0,M)
    ^
scb_cons.c:405:26: warning: passing arguments to 'chol_dec' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  if (use_covar) chol_dec(fd,m,d+1);
                         ^
scb_cons.c:406:20: warning: passing arguments to 'qr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            else qr(fd,m,d+1,NULL);
                   ^
scb_cons.c:421:6: warning: passing arguments to 'rn3' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rn3(a0); rn3(a1);
     ^
scb_cons.c:421:15: warning: passing arguments to 'rn3' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rn3(a0); rn3(a1);
              ^
scb_cons.c:422:22: warning: passing arguments to 'sptarea' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  n0[0] = det*sptarea(a0,a1,a2);
                     ^
scb_cons.c:389:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int n0x(x,d,n0,M)
    ^
scb_cons.c:437:12: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    n = wdf(x,l0,0);
           ^
scb_cons.c:439:23: warning: passing arguments to 'innerprod' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    t = sqrt(innerprod(l0,l0,n));
                      ^
scb_cons.c:426:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int kodf(ll,ur,mg,kap,lap)
    ^
In file included from scb_cons.c:13:
./tube.h:17:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern int tube_constants();
           ^
                          void
scb_cons.c:455:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int tube_constants(int (*f)(), int d, int m, int ev, int *mg, double *fl, 
    ^
scb_cons.c:481:12: warning: passing arguments to 'monte' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      monte(k0x,fl,&fl[d],d,k0,mg[0]);
           ^
scb_cons.c:484:27: warning: passing arguments to 'integ_disc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      if (d==2) integ_disc(k0x,l1x,fl,k0,l0,mg);
                          ^
scb_cons.c:485:29: warning: passing arguments to 'integ_sphere' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      if (d==3) integ_sphere(k0x,l1x,fl,k0,l0,mg);
                            ^
scb_cons.c:488:30: warning: passing arguments to 'simpson4' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      if (use_covar) simpson4(k0x,l1x,m0x,n0x,fl,&fl[d],d,k0,l0,m0,n0,mg,z);
                             ^
scb_cons.c:489:30: warning: passing arguments to 'simpson4' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                else simpson4(k0x,l1x,m0x,n0x,fl,&fl[d],d,k0,l0,m0,n0,mg,z);
                             ^
scb_crit.c:37:28: warning: passing arguments to 'Rf_lgammafn' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  return(2*exp(d*LOGPI/2.0-LGAMMA(d/2.0)));
                           ^
./local.h:89:32: note: expanded from macro 'LGAMMA'
#define LGAMMA(arg) Rf_lgammafn(arg)
                               ^
scb_crit.c:34:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double area(d)
       ^
scb_crit.c:47:23: warning: passing arguments to 'ibeta' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    p += k0[i] * ibeta(1-c*c,(n-d+i-1)/2.0,(d+1-i)/2.0) / area(d+1-i);
                      ^
scb_crit.c:40:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double tailp_uniform(c,k0,m,d,s,n)
       ^
scb_crit.c:58:21: warning: passing arguments to 'igamma' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    p += k0[i] * (1-pchisq(c*c,(double) d+1-i)) / area(d+1-i);
                    ^
./mutil.h:101:28: note: expanded from macro 'pchisq'
#define pchisq(x,df) igamma((x)/2.0,(df)/2.0)
                           ^
scb_crit.c:51:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double tailp_gaussian(c,k0,m,d,s,n)
       ^
scb_crit.c:69:23: warning: passing arguments to 'pf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    p += k0[i] * (1-pf(c*c/(d+1-i),(double) d+1-i, n)) / area(d+1-i);
                      ^
scb_crit.c:62:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double tailp_tprocess(c,k0,m,d,s,n)
       ^
scb_crit.c:80:27: warning: passing arguments to 'dbeta' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    p += k0[i] * 2*c*dbeta(1-c*c,(n-d+i-1)/2.0,(d+1-i)/2.0,0) / area(d+1-i);
                          ^
scb_crit.c:73:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double taild_uniform(c,k0,m,d,s,n)
       ^
scb_crit.c:91:28: warning: passing arguments to 'dchisq' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    p += k0[i] * 2*c*dchisq(c*c,(double) d+1-i,0) / area(d+1-i);
                           ^
scb_crit.c:84:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double taild_gaussian(c,k0,m,d,s,n)
       ^
scb_crit.c:102:24: warning: passing arguments to 'df' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    p += k0[i] * 2*c*df(c*c/(d+1-i),(double) d+1-i, n,0) / ((d+1-i)*area(d+1-i));
                       ^
scb_crit.c:95:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double taild_tprocess(c,k0,m,d,s,n)
       ^
In file included from scb_crit.c:9:
In file included from ./local.h:95:
./tube.h:16:15: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern double tailp(), taild();
              ^
                    void
scb_crit.c:106:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double tailp(c,k0,m,d,s,nu, process)
       ^
In file included from scb_crit.c:9:
In file included from ./local.h:95:
./tube.h:16:24: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern double tailp(), taild();
                       ^
                             void
scb_crit.c:118:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double taild(c,k0,m,d,s,nu, process)
       ^
scb_crit.c:173:13: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  { tp = tpf(c,k0,m,d,s,nu)-alpha;
            ^
scb_crit.c:174:13: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    td = tdf(c,k0,m,d,s,nu);
            ^
In file included from scb_crit.c:9:
In file included from ./local.h:95:
./tube.h:15:15: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern double critval();
              ^
                      void
scb_crit.c:130:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double critval(alpha,k0,m,d,s,nu,process)
       ^
scb_iface.c:15:11: warning: passing arguments to 'locfit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  { locfit(lfd_scb,des_scb,&lf_scb->sp,1,1);
          ^
scb_iface.c:16:14: warning: passing arguments to 'wdiag' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    m = wdiag(lfd_scb, scb_sp, des_scb,l,&lf_scb->dv,reqd,2,0);
             ^
scb_iface.c:19:15: warning: passing arguments to 'wdiagp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    m = wdiagp(lfd_scb, scb_sp, des_scb,l,&lf_scb->pc,&lf_scb->dv,reqd,2,0);
              ^
scb_iface.c:8:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int scbfitter(x,l,reqd)
    ^
scb_iface.c:63:23: warning: passing arguments to 'calcp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  npar(scb_sp) = calcp(scb_sp,lf->lfd.d);
                      ^
scb_iface.c:64:11: warning: passing arguments to 'des_init' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  des_init(des,m,npar(scb_sp));
          ^
scb_iface.c:65:13: warning: passing arguments to 'set_scales' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  set_scales(&lf->lfd);
            ^
scb_iface.c:66:11: warning: passing arguments to 'set_flim' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  set_flim(&lf->lfd,&lf->evs);
          ^
scb_iface.c:67:14: warning: passing arguments to 'compparcomp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  compparcomp(des,&lf->lfd,&lf->sp,&lf->pc,geth(&lf->fp),ker(scb_sp)!=WPARM);
             ^
scb_iface.c:69:15: warning: passing arguments to 'k0_reqd' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  rw = k0_reqd(d,m,0);
              ^
scb_iface.c:75:22: warning: passing arguments to 'tube_constants' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  nt = tube_constants(scbfitter,d,m,ev(evs),mg(evs),evs->fl,
                     ^
In file included from scb_iface.c:1:
In file included from ./local.h:107:
./lffuns.h:130:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern int constants();
           ^
                     void
scb_iface.c:44:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int constants(des,lf)
    ^
13 warnings generated.
clang -arch x86_64 -std=gnu17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c simul.c -o simul.o
32 warnings generated.
clang -arch x86_64 -std=gnu17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c smisc.c -o smisc.o
22 warnings generated.
clang -arch x86_64 -std=gnu17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c startlf.c -o startlf.o
22 warnings generated.
clang -arch x86_64 -std=gnu17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c weight.c -o weight.o
simul.c:24:14: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    yy[i] = f(xx[i],des,tr,meth);
             ^
simul.c:33:11: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  y[2] = f(x[2],des,tr,meth);
          ^
simul.c:39:15: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      y[1] = f(x[1],des,tr,meth);
              ^
simul.c:45:15: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      y[2] = f(x[2],des,tr,meth);
              ^
simul.c:10:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void goldensec(f,des,tr,eps,xm,ym,meth)
     ^
simul.c:53:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double dnk(x,k)
       ^
simul.c:76:10: warning: passing arguments to 'startlf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  startlf(des,lf,procv,0);
         ^
simul.c:77:10: warning: passing arguments to 'ressumm' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  ressumm(lf,des);
         ^
simul.c:70:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double locai(h,des,lf)
       ^
simul.c:95:10: warning: passing arguments to 'startlf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  startlf(des,lf,procv,0);
         ^
simul.c:96:10: warning: passing arguments to 'ressumm' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  ressumm(lf,des);
         ^
simul.c:82:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double loccp(h,des,lf,m) /* m=1: cp    m=2: gcv */
       ^
simul.c:107:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double cp(des,lf,meth)
       ^
simul.c:131:12: warning: passing arguments to 'startlf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    startlf(des,lf,procv,0);
           ^
simul.c:136:21: warning: passing arguments to 'Wikk' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    h5 = sig2 * Wikk(ker(&lf->sp),dg0) / th;
                    ^
simul.c:116:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double gkk(des,lf)
       ^
simul.c:160:12: warning: passing arguments to 'startlf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    startlf(des,lf,procv,0);
           ^
simul.c:176:10: warning: passing arguments to 'startlf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  startlf(des,lf,procv,0);
         ^
simul.c:189:12: warning: passing arguments to 'Wikk' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  hh = Wikk(mk,dg0)*sig2/th22*(n-20.0)/n;
           ^
simul.c:143:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double rsw(des,lf)
       ^
simul.c:205:10: warning: passing arguments to 'startlf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  startlf(des,lf,procv,0);
         ^
simul.c:206:10: warning: passing arguments to 'ressumm' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  ressumm(lf,des);
         ^
In file included from simul.c:6:
In file included from ./local.h:107:
./lffuns.h:133:54: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern void liksim(), scbsim(), scbmax(), regband(), rband();
                                                     ^
                                                           void
simul.c:193:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void rband(des,lf,hhat,meth,nmeth)
     ^
smisc.c:16:19: warning: passing arguments to 'critval' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    z[i] = critval(1-cov[i], k0, (int)(*m), (int)(*d), TWO_SIDED,*rdf, (*rdf==0) ? GAUSS : TPROC);
                  ^
smisc.c:10:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void scritval(k0,d,cov,m,rdf,z,k)
     ^
smisc.c:23:9: warning: passing arguments to 'kdecri' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  kdecri(x,*h,res,0.0,3,WGAUS,*n);
        ^
smisc.c:19:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void slscv(x,n,h,z)
     ^
smisc.c:33:12: warning: passing arguments to 'kdeselect' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  kdeselect(band,x,ind,*h0,*h1,imeth,(int)*nmeth,(int)*ker,(int)mi[MN]);
           ^
smisc.c:28:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void kdeb(x,mi,band,ind,h0,h1,meth,nmeth,ker)
     ^
startlf.c:23:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void evstruc_init(evs)
     ^
startlf.c:36:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void fitpt_init(fp)
     ^
startlf.c:47:14: warning: passing arguments to 'lfdata_init' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  lfdata_init(&lf->lfd);
             ^
startlf.c:49:13: warning: passing arguments to 'smpar_init' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  smpar_init(&lf->sp,&lf->lfd);
            ^
startlf.c:50:13: warning: passing arguments to 'deriv_init' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  deriv_init(&lf->dv);
            ^
In file included from startlf.c:21:
In file included from ./local.h:107:
./lffuns.h:136:50: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern void set_flim(), set_scales(), startlf(), lfit_init();
                                                 ^
                                                           void
startlf.c:44:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void lfit_init(lf)
     ^
startlf.c:54:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void fitdefault(lf)
     ^
In file included from startlf.c:21:
In file included from ./local.h:107:
./lffuns.h:136:13: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern void set_flim(), set_scales(), startlf(), lfit_init();
            ^
                     void
startlf.c:60:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void set_flim(lfd,evs)
     ^
startlf.c:91:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double vecsum(v,n)
       ^
startlf.c:101:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double vvari(v,n)
       ^
In file included from startlf.c:21:
In file included from ./local.h:107:
./lffuns.h:136:25: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern void set_flim(), set_scales(), startlf(), lfit_init();
                        ^
                                   void
startlf.c:113:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void set_scales(lfd)
     ^
startlf.c:134:24: warning: passing arguments to 'calcp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  npar(&lf->sp) = calcp(&lf->sp,lf->lfd.d);
                       ^
startlf.c:136:11: warning: passing arguments to 'des_init' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  des_init(des,n,npar(&lf->sp));
          ^
startlf.c:140:14: warning: passing arguments to 'compparcomp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  compparcomp(des,&lf->lfd,&lf->sp,&lf->pc,geth(&lf->fp),nopc);
             ^
startlf.c:141:10: warning: passing arguments to 'makecfn' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  makecfn(&lf->sp,des,&lf->dv,lf->lfd.d);
         ^
startlf.c:156:30: warning: passing arguments to 'triang_start' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  { case EPHULL: triang_start(des,lf); break;
                             ^
startlf.c:157:23: warning: passing arguments to 'dataf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    case EDATA:  dataf(des,lf); break;
                      ^
startlf.c:158:24: warning: passing arguments to 'crossf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    case ECROS:  crossf(des,lf); break;
                       ^
startlf.c:159:23: warning: passing arguments to 'gridf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    case EGRID:  gridf(des,lf); break;
                      ^
startlf.c:160:29: warning: passing arguments to 'atree_start' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    case ETREE:  atree_start(des,lf); break;
                            ^
startlf.c:162:29: warning: passing arguments to 'kdtre_start' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    case EKDTR:  kdtre_start(des,lf); break;
                            ^
startlf.c:163:24: warning: passing arguments to 'preset' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    case EPRES:  preset(des,lf); break;
                       ^
startlf.c:164:23: warning: passing arguments to 'xbarf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    case EXBAR:  xbarf(des,lf); break;
                      ^
startlf.c:167:30: warning: passing arguments to 'sphere_start' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    case ESPHR:  sphere_start(des,lf); break;
                             ^
startlf.c:168:31: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    case ESPEC:  lf->evs.espec(des,lf); break;
                              ^
startlf.c:173:55: warning: passing arguments to 'dens_renorm' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  if ((de_renorm) && (fam(&lf->sp)==TDEN)) dens_renorm(lf,des);
                                                      ^
In file included from startlf.c:21:
In file included from ./local.h:107:
./lffuns.h:136:39: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern void set_flim(), set_scales(), startlf(), lfit_init();
                                      ^
                                              void
startlf.c:124:6: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void startlf(des,lf,vfun,nopc)
     ^
6 warnings generated.
In file included from weight.c:10:
In file included from ./local.h:107:
./lffuns.h:148:15: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern double W(), weight(), weightd(), Wd(), Wdd(), wint();
              ^
                void
weight.c:14:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double W(u,ker)
       ^
In file included from weight.c:10:
In file included from ./local.h:107:
./lffuns.h:150:12: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern int iscompact(), wtaylor();
           ^
                     void
weight.c:44:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int iscompact(ker)
    ^
weight.c:50:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double weightprod(lfd,u,h,ker)
       ^
weight.c:87:23: warning: passing arguments to 'rho' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  if (!hasdi) di = rho(u,lfd->sca,lfd->d,KSPH,lfd->sty);
                      ^
weight.c:81:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double weightsph(lfd,u,h,ker, hasdi,di)
       ^
In file included from weight.c:10:
In file included from ./local.h:107:
./lffuns.h:148:20: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern double W(), weight(), weightd(), Wd(), Wdd(), wint();
                   ^
                          void
weight.c:98:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double weight(lfd,sp,x,t,h, hasdi,di)
       ^
weight.c:114:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double sgn(x)
       ^
weight.c:121:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double WdW(u,ker) /* W'(u)/W(u) */
       ^
In file included from weight.c:10:
In file included from ./local.h:107:
./lffuns.h:148:30: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern double W(), weight(), weightd(), Wd(), Wdd(), wint();
                             ^
                                     void
weight.c:145:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double weightd(u,sc,d,ker,kt,h,sty,di)
       ^
weight.c:161:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double weightdd(u,sc,d,ker,kt,h,sty,di,i0,i1)
       ^
In file included from weight.c:10:
In file included from ./local.h:107:
./lffuns.h:148:41: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern double W(), weight(), weightd(), Wd(), Wdd(), wint();
                                        ^
                                           void
weight.c:176:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double Wd(u,ker)
       ^
In file included from weight.c:10:
In file included from ./local.h:107:
./lffuns.h:148:47: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern double W(), weight(), weightd(), Wd(), Wdd(), wint();
                                              ^
                                                  void
weight.c:197:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double Wdd(u,ker)
       ^
weight.c:245:30: warning: passing arguments to 'factorial' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    case WEXPL: I = factorial(dj-1)/ipower(EFACT,dj); break;
                             ^
weight.c:245:43: warning: passing arguments to 'ipower' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    case WEXPL: I = factorial(dj-1)/ipower(EFACT,dj); break;
                                          ^
weight.c:249:22: warning: passing arguments to 'Rf_lgammafn' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  z = (d-nj)*LOGPI/2-LGAMMA(dj/2.0);
                     ^
./local.h:89:32: note: expanded from macro 'LGAMMA'
#define LGAMMA(arg) Rf_lgammafn(arg)
                               ^
weight.c:250:29: warning: passing arguments to 'Rf_lgammafn' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  for (k=0; k<nj; k++) z += LGAMMA((j[k]+1)/2.0);
                            ^
./local.h:89:32: note: expanded from macro 'LGAMMA'
#define LGAMMA(arg) Rf_lgammafn(arg)
                               ^
In file included from weight.c:10:
In file included from ./local.h:107:
./lffuns.h:148:54: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern double W(), weight(), weightd(), Wd(), Wdd(), wint();
                                                     ^
                                                          void
weight.c:219:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double wint(d,j,nj,ker)
       ^
In file included from weight.c:10:
In file included from ./local.h:107:
./lffuns.h:150:25: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern int iscompact(), wtaylor();
                        ^
                                void
weight.c:259:5: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int wtaylor(f,x,ker)
    ^
In file included from weight.c:10:
In file included from ./local.h:107:
./lffuns.h:149:15: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern double Wconv(), Wconv1(), Wconv4(), Wconv5(), Wconv6(), Wikk();
              ^
                    void
weight.c:332:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double Wconv(v,ker)
       ^
27 warnings generated.
In file included from weight.c:10:
In file included from ./local.h:107:
./lffuns.h:149:24: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern double Wconv(), Wconv1(), Wconv4(), Wconv5(), Wconv6(), Wikk();
                       ^
                              void
weight.c:360:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double Wconv1(v,ker)
       ^
In file included from weight.c:10:
In file included from ./local.h:107:
./lffuns.h:149:34: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern double Wconv(), Wconv1(), Wconv4(), Wconv5(), Wconv6(), Wikk();
                                 ^
                                        void
weight.c:385:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double Wconv4(v,ker)
       ^
In file included from weight.c:10:
In file included from ./local.h:107:
./lffuns.h:149:44: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern double Wconv(), Wconv1(), Wconv4(), Wconv5(), Wconv6(), Wikk();
                                           ^
                                                  void
weight.c:401:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double Wconv5(v,ker) /* (d/dv)^5 int W(x)W(x+v)dx */
       ^
In file included from weight.c:10:
In file included from ./local.h:107:
./lffuns.h:149:54: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern double Wconv(), Wconv1(), Wconv4(), Wconv5(), Wconv6(), Wikk();
                                                     ^
                                                            void
weight.c:417:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double Wconv6(v,ker)
       ^
In file included from weight.c:10:
In file included from ./local.h:107:
./lffuns.h:149:64: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
extern double Wconv(), Wconv1(), Wconv4(), Wconv5(), Wconv6(), Wikk();
                                                               ^
                                                                    void
weight.c:436:8: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double Wikk(ker,deg)
       ^
24 warnings generated.
31 warnings generated.
38 warnings generated.
62 warnings generated.
clang -arch x86_64 -std=gnu17 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -L/Library/Frameworks/R.framework/Resources/lib -L/opt/R/x86_64/lib -o locfit.so S_enter.o band.o dbinom.o dens_haz.o dens_int.o dens_odi.o density.o ev_atree.o ev_interp.o ev_kdtre.o ev_main.o ev_sphere.o ev_trian.o family.o fitted.o frend.o lf_adap.o lf_dercor.o lf_fitfun.o lf_nbhd.o lf_robust.o lf_vari.o lf_wdiag.o lfstr.o locfit.o m_chol.o m_eigen.o m_icirc.o m_imont.o m_isimp.o m_isphr.o m_jacob.o m_max.o m_qr.o m_solve.o m_svd.o m_vector.o math.o minmax.o pcomp.o preplot.o prob.o procv.o scb.o scb_cons.o scb_crit.o scb_iface.o simul.o smisc.o startlf.o weight.o -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation
installing to /Volumes/Builds/packages/big-sur-x86_64/results/4.4/locfit.Rcheck/00LOCK-locfit/00new/locfit/libs
** generating debug symbols (dSYM)
** R
** data
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded from temporary location
** checking absolute paths in shared objects and dynamic libraries
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (locfit)