=> Bootstrap dependency digest>=20010302: found digest-20121220
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'.
===> Building for molden-4.6nb1
--- atomdens.o ---
--- molden.o ---
--- above.o ---
--- actcal.o ---
--- atomdens.o ---
g77  -c atomdens.f
--- above.o ---
g77  -c above.f
--- actcal.o ---
g77  -c actcal.f
--- molden.o ---
g77  -c molden.f
--- basprt.o ---
g77  -c basprt.f
--- calc.o ---
g77  -c calc.f
--- caldis.o ---
g77  -c caldis.f
--- calfa.o ---
g77  -c calfa.f
--- cntour.o ---
g77  -c cntour.f
--- cnvgam.o ---
--- molden.o ---
In file molden.f:4969
             call parptr(16,fdum,fdum,idum)
                            1
In file molden.f:2609
      call parptr(155,icxp,fdum,idum)
                      2
Warning (155): Inconsistent types (REAL(8)/INTEGER(4)) in actual argument lists at (1) and (2)
In file molden.f:4969
             call parptr(16,fdum,fdum,idum)
                            1
In file molden.f:2550
      call parptr(80,stoalfa,stobnorm,naorbs)
                     2
Warning (155): Inconsistent types (REAL(8)/REAL(4)) in actual argument lists at (1) and (2)
In file molden.f:4969
             call parptr(16,fdum,fdum,idum)
                            1
In file molden.f:2544
      call parptr(10,eigb,focb,ncolb)
                     2
Warning (155): Inconsistent types (REAL(8)/REAL(4)) in actual argument lists at (1) and (2)
In file molden.f:4969
             call parptr(16,fdum,fdum,idum)
                            1
In file molden.f:2543
      call parptr(2,eiga,focc,ncols)
                    2
Warning (155): Inconsistent types (REAL(8)/REAL(4)) in actual argument lists at (1) and (2)
In file molden.f:4969
             call parptr(16,fdum,fdum,idum)
                            1
In file molden.f:2536
      call parptr(68,frmul,fdum,idum)
                     2
Warning (155): Inconsistent types (REAL(8)/REAL(4)) in actual argument lists at (1) and (2)
In file molden.f:4969
             call parptr(16,fdum,fdum,idum)
                                      1
In file molden.f:2519
      call parptr(50,fdum,fdum,ipdbt)
                               2
Warning (155): Inconsistent types (INTEGER(4)/INTEGER(2)) in actual argument lists at (1) and (2)
In file molden.f:4969
             call parptr(16,fdum,fdum,idum)
                                      1
In file molden.f:2518
      call parptr(49,fdum,fdum,ityp)
                               2
Warning (155): Inconsistent types (INTEGER(4)/INTEGER(2)) in actual argument lists at (1) and (2)
In file molden.f:4969
             call parptr(16,fdum,fdum,idum)
                            1
In file molden.f:2483
      call parptr(51,icalf,fdum,idum)
                     2
--- cnvgam.o ---
g77  -c cnvgam.f
--- molden.o ---
Warning (155): Inconsistent types (REAL(8)/INTEGER(4)) in actual argument lists at (1) and (2)
--- cnvgau.o ---
g77  -c cnvgau.f
--- convzmat.o ---
g77  -c convzmat.f
--- cross.o ---
g77  -c cross.f
--- crprod.o ---
g77  -c crprod.f
--- datin.o ---
g77  -c datin.f
--- defpc.o ---
g77  -c defpc.f
--- defrad.o ---
g77  -c defrad.f
--- del.o ---
g77  -c del.f
--- denmak.o ---
g77  -c denmak.f
--- densmat.o ---
--- distot.o ---
--- densmat.o ---
g77  -c densmat.f
--- distot.o ---
g77  -c distot.f
--- dmat.o ---
g77  -c dmat.f
--- docent.o ---
g77  -c docent.f
--- draw.o ---
g77  -c draw.f
--- euler.o ---
g77  -c euler.f
--- eulerh.o ---
g77  -c eulerh.f
--- files.o ---
g77  -c files.f
--- fndcal.o ---
g77  -c fndcal.f
--- gampoi.o ---
g77  -c gampoi.f
--- gaupoi.o ---
g77  -c gaupoi.f
--- gaussian.o ---
g77  -c gaussian.f
--- geogam.o ---
g77  -c geogam.f
--- geogau.o ---
g77  -c geogau.f
--- getmul.o ---
g77  -c getmul.f
--- getpoi.o ---
g77  -c getpoi.f
--- getreal.o ---
g77  -c getreal.f
--- gmmcnv.o ---
g77  -c gmmcnv.f
--- grdcal.o ---
g77  -c grdcal.f
--- gstr.o ---
--- hidedr.o ---
--- gstr.o ---
g77  -c gstr.f
--- hidedr.o ---
g77  -c hidedr.f
--- impsc.o ---
g77  -c impsc.f
--- locatc.o ---
g77  -c locatc.f
--- maxmin.o ---
g77  -c maxmin.f
--- mdout.o ---
--- mmcnv.o ---
--- mdout.o ---
g77  -c mdout.f
--- mmcnv.o ---
g77  -c mmcnv.f
--- mopaco.o ---
g77  -c mopaco.f
--- mopin.o ---
g77  -c mopin.f
--- mulprt.o ---
g77  -c mulprt.f
--- mopaco.o ---
mopaco.f: In function 'mopacd_':
mopaco.f:136: warning: will never be executed
--- occin.o ---
g77  -c occin.f
--- oriin.o ---
g77  -c oriin.f
--- parang.o ---
g77  -c parang.f
--- pareul.o ---
g77  -c pareul.f
--- parfc.o ---
g77  -c parfc.f
--- parori.o ---
g77  -c parori.f
--- parpla.o ---
--- parstp.o ---
g77  -c parstp.f
--- parpla.o ---
g77  -c parpla.f
--- planky.o ---
g77  -c planky.f
--- plend.o ---
g77  -c plend.f
--- plini.o ---
g77  -c plini.f
--- plmol.o ---
g77  -c plmol.f
--- plotgh.o ---
g77  -c plotgh.f
--- plotgr.o ---
--- plotin.o ---
--- plpost.o ---
g77  -c plpost.f
--- plotgr.o ---
g77  -c plotgr.f
--- prev.o ---
g77  -c prev.f
--- plotin.o ---
g77  -c plotin.f
--- proato.o ---
g77  -c proato.f
--- procnv.o ---
g77  -c procnv.f
--- progeo.o ---
g77  -c progeo.f
--- rdbas.o ---
--- rdcor.o ---
g77  -c rdcor.f
--- rdbas.o ---
g77  -c rdbas.f
--- rdgam.o ---
--- rdgaus.o ---
--- rdgam.o ---
g77  -c rdgam.f
--- rdgaus.o ---
g77  -c rdgaus.f
--- rdinfo.o ---
g77  -c rdinfo.f
--- rdpdb.o ---
g77  -c rdpdb.f
--- rdgaus.o ---
In file rdgaus.f:1623
      equivalence (buff,bff)
                   1    2
Warning (101): EQUIVALENCE-ing variable 'buff' at (1) with 'bff' at (2) is nonstandard
In file rdgaus.f:1578
               call byter(buff(ij),den)
                          1
In file rdgaus.f:1896
      subroutine byter(intin,intout)
                       2
Warning (155): Inconsistent types (CHARACTER(1)/INTEGER(4)) in actual argument lists at (1) and (2)
In file rdgaus.f:1568
         call byter(buff(3),ny)
                    1
In file rdgaus.f:1896
      subroutine byter(intin,intout)
                       2
Warning (155): Inconsistent types (CHARACTER(1)/INTEGER(4)) in actual argument lists at (1) and (2)
In file rdgaus.f:1567
         call byter(buff(2),nx)
                    1
In file rdgaus.f:1896
      subroutine byter(intin,intout)
                       2
Warning (155): Inconsistent types (CHARACTER(1)/INTEGER(4)) in actual argument lists at (1) and (2)
In file rdgaus.f:1566
         call byter(buff(1),nz)
                    1
In file rdgaus.f:1896
      subroutine byter(intin,intout)
                       2
Warning (155): Inconsistent types (CHARACTER(1)/INTEGER(4)) in actual argument lists at (1) and (2)
In file rdgaus.f:1532
      call byter(buff(32),orig(3))
                 1
In file rdgaus.f:1896
      subroutine byter(intin,intout)
                       2
Warning (155): Inconsistent types (CHARACTER(1)/INTEGER(4)) in actual argument lists at (1) and (2)
In file rdgaus.f:1531
      call byter(buff(31),orig(2))
                 1
In file rdgaus.f:1896
      subroutine byter(intin,intout)
                       2
Warning (155): Inconsistent types (CHARACTER(1)/INTEGER(4)) in actual argument lists at (1) and (2)
In file rdgaus.f:1530
      call byter(buff(30),orig(1))
                 1
In file rdgaus.f:1896
      subroutine byter(intin,intout)
                       2
Warning (155): Inconsistent types (CHARACTER(1)/INTEGER(4)) in actual argument lists at (1) and (2)
In file rdgaus.f:1526
      call byter(buff(29),ra)
                 1
In file rdgaus.f:1896
      subroutine byter(intin,intout)
                       2
Warning (155): Inconsistent types (CHARACTER(1)/INTEGER(4)) in actual argument lists at (1) and (2)
In file rdgaus.f:1522
      call byter(buff(28),npts3)
                 1
In file rdgaus.f:1896
      subroutine byter(intin,intout)
                       2
Warning (155): Inconsistent types (CHARACTER(1)/INTEGER(4)) in actual argument lists at (1) and (2)
In file rdgaus.f:1521
      call byter(buff(27),npts2)
                 1
In file rdgaus.f:1896
      subroutine byter(intin,intout)
                       2
Warning (155): Inconsistent types (CHARACTER(1)/INTEGER(4)) in actual argument lists at (1) and (2)
In file rdgaus.f:1520
      call byter(buff(26),npts1)
                 1
In file rdgaus.f:1896
      subroutine byter(intin,intout)
                       2
Warning (155): Inconsistent types (CHARACTER(1)/INTEGER(4)) in actual argument lists at (1) and (2)
In file rdgaus.f:482
         call byter(buff(28),npts3)
                    1
In file rdgaus.f:1896
      subroutine byter(intin,intout)
                       2
Warning (155): Inconsistent types (CHARACTER(1)/INTEGER(4)) in actual argument lists at (1) and (2)
In file rdgaus.f:481
         call byter(buff(27),npts2)
                    1
In file rdgaus.f:1896
      subroutine byter(intin,intout)
                       2
Warning (155): Inconsistent types (CHARACTER(1)/INTEGER(4)) in actual argument lists at (1) and (2)
In file rdgaus.f:480
         call byter(buff(26),npts1)
                    1
In file rdgaus.f:1896
      subroutine byter(intin,intout)
                       2
Warning (155): Inconsistent types (CHARACTER(1)/INTEGER(4)) in actual argument lists at (1) and (2)
--- rdvect.o ---
g77  -c rdvect.f
--- reada.o ---
g77  -c reada.f
--- readel.o ---
g77  -c readel.f
--- readvv.o ---
g77  -c readvv.f
--- renorm.o ---
g77  -c renorm.f
--- rdgaus.o ---
rdgaus.f: In function 'cubtst_':
rdgaus.f:560: warning: will never be executed
--- rmomen.o ---
g77  -c rmomen.f
--- rota.o ---
g77  -c rota.f
--- rdgaus.o ---
rdgaus.f: In function 'rdomad_':
rdgaus.f:1848: warning: will never be executed
--- rotatg.o ---
g77  -c rotatg.f
--- rotb.o ---
g77  -c rotb.f
--- rotc.o ---
g77  -c rotc.f
--- rotcor.o ---
g77  -c rotcor.f
--- rotd.o ---
g77  -c rotd.f
--- rotfir.o ---
g77  -c rotfir.f
--- rotm.o ---
g77  -c rotm.f
--- rotmom.o ---
--- scback.o ---
--- rotmom.o ---
g77  -c rotmom.f
--- scback.o ---
g77  -c scback.f
--- search.o ---
g77  -c search.f
--- searchd.o ---
g77  -c searchd.f
--- setang.o ---
--- setbas.o ---
g77  -c setbas.f
--- setang.o ---
g77  -c setang.f
--- settc.o ---
--- shsort.o ---
--- site.o ---
--- shsort.o ---
g77  -c shsort.f
--- settc.o ---
g77  -c settc.f
--- site.o ---
g77  -c site.f
--- slater.o ---
g77  -c slater.f
--- stoc.o ---
g77  -c stoc.f
--- tessa.o ---
g77  -c tessa.f
--- tk4014.o ---
g77  -c tk4014.f
--- tocap.o ---
g77  -c tocap.f
--- tocapf.o ---
g77  -c tocapf.f
--- tomold.o ---
--- under.o ---
--- tomold.o ---
g77  -c tomold.f
--- under.o ---
g77  -c under.f
--- vaxdum.o ---
g77  -c vaxdum.f
--- vclr.o ---
g77  -c vclr.f
--- vec.o ---
g77  -c vec.f
--- vlen.o ---
g77  -c vlen.f
--- vsc1.o ---
g77  -c vsc1.f
--- wrinfo.o ---
g77  -c wrinfo.f
--- zread.o ---
g77  -c zread.f
--- samino.o ---
g77  -c samino.f
--- prtcal.o ---
g77  -c prtcal.f
--- actss.o ---
g77  -c actss.f
--- actami.o ---
g77  -c actami.f
--- plden.o ---
g77  -c plden.f
--- heaps.o ---
g77  -c heaps.f
--- den3d.o ---
g77  -c den3d.f
--- dencnt.o ---
g77  -c dencnt.f
--- plhead.o ---
--- pltab.o ---
--- plhead.o ---
g77  -c plhead.f
--- pltab.o ---
g77  -c pltab.f
--- eucmol.o ---
g77  -c eucmol.f
--- pl3dm.o ---
g77  -c pl3dm.f
--- plbox.o ---
g77  -c plbox.f
--- selsol.o ---
g77  -c selsol.f
--- atmd.o ---
g77  -c atmd.f
--- dolift.o ---
g77  -c dolift.f
--- spaced.o ---
g77  -c spaced.f
--- snypnt.o ---
g77  -c snypnt.f
--- eulstr.o ---
g77  -c eulstr.f
--- calct.o ---
g77  -c calct.f
--- coeffs.o ---
g77  -c coeffs.f
--- epint.o ---
g77  -c epint.f
--- espot.o ---
g77  -c espot.f
--- fcij.o ---
g77  -c fcij.f
--- fmt.o ---
g77  -c fmt.f
--- genaos.o ---
g77  -c genaos.f
--- rys.o ---
g77  -c rys.f
--- ryspol.o ---
g77  -c ryspol.f
--- rysrot.o ---
g77  -c rysrot.f
--- thrcen.o ---
g77  -c thrcen.f
--- twocen.o ---
g77  -c twocen.f
--- ifblen.o ---
g77  -c ifblen.f
--- rott.o ---
g77  -c rott.f
--- plmolp.o ---
g77  -c plmolp.f
--- wrzmat.o ---
g77  -c wrzmat.f
--- rdchx.o ---
g77  -c rdchx.f
--- wrzmat.o ---
wrzmat.f: In function 'addiz_':
wrzmat.f:261: warning: will never be executed
--- obin.o ---
g77  -c obin.f
--- rdchx.o ---
In file rdchx.f:3820
                         read(line,'(i5,x,i5)',err=80) i1,i2
                                   1
Warning (100): X descriptor requires leading space count in format string at (1)
--- pred.o ---
g77  -c pred.f
--- gargpl.o ---
g77  -c gargpl.f
--- inferr.o ---
g77  -c inferr.f
--- freqs.o ---
g77  -c freqs.f
--- wrzmat.o ---
wrzmat.f: In function 'icrcod_':
wrzmat.f:1533: warning: will never be executed
--- freqs.o ---
In file freqs.f:714
      call parptr(112,frint,ramint,ihasi)
                      1
In file freqs.f:713
      call parptr(1,freq,freq,nfreq)
                    2
Warning (155): Inconsistent types (REAL(8)/REAL(4)) in actual argument lists at (1) and (2)
In file freqs.f:714
      call parptr(112,frint,ramint,ihasi)
                      1
In file freqs.f:609
      call parptr(1,freq,freq,nfreq)
                    2
Warning (155): Inconsistent types (REAL(8)/REAL(4)) in actual argument lists at (1) and (2)
In file freqs.f:714
      call parptr(112,frint,ramint,ihasi)
                      1
In file freqs.f:596
      call parptr(1,freq,freq,nfreq)
                    2
Warning (155): Inconsistent types (REAL(8)/REAL(4)) in actual argument lists at (1) and (2)
In file freqs.f:714
      call parptr(112,frint,ramint,ihasi)
                      1
In file freqs.f:306
      call parptr(1,freq,freq,nfreq)
                    2
Warning (155): Inconsistent types (REAL(8)/REAL(4)) in actual argument lists at (1) and (2)
In file freqs.f:714
      call parptr(112,frint,ramint,ihasi)
                      1
In file freqs.f:117
      call parptr(1,freq,freq,nfreq)
                    2
Warning (155): Inconsistent types (REAL(8)/REAL(4)) in actual argument lists at (1) and (2)
--- getmop.o ---
--- brklin.o ---
--- getmop.o ---
g77  -c getmop.f
--- brklin.o ---
g77  -c brklin.f
--- getzm.o ---
g77  -c getzm.f
--- xyzcoo.o ---
g77  -c xyzcoo.f
--- geomop.o ---
g77  -c geomop.f
--- dumzm.o ---
g77  -c dumzm.f
--- getxyz.o ---
g77  -c getxyz.f
--- espchrg.o ---
g77  -c espchrg.f
--- proxim.o ---
g77  -c proxim.f
--- rdgamu.o ---
g77  -c rdgamu.f
--- getxyz.o ---
getxyz.f: In function 'getmod_':
getxyz.f:933: warning: will never be executed
--- rdgamu.o ---
In file rdgamu.f:905

      call parptr(112,frint,ramint,ihasi)
                      1
In file rdgamu.f:904

      call parptr(1,freq,freq,nfreq)
                    2
Warning (155): Inconsistent types (REAL(8)/REAL(4)) in actual argument lists at (1) and (2)
--- plvrml.o ---
g77  -c plvrml.f
--- rdchx.o ---
rdchx.f: In function 'gettrra_':
rdchx.f:3922: warning: will never be executed
rdchx.f: In function 'getenea_':
rdchx.f:4031: warning: will never be executed
--- molsint.o ---
g77  -c molsint.f
--- runjob.o ---
g77  -c runjob.f
--- rdmsf.o ---
g77  -c rdmsf.f
--- wrmsf.o ---
g77  -c wrmsf.f
--- rdmolf.o ---
g77  -c rdmolf.f
--- adf_fun.o ---
g77  -c adf_fun.f
--- rotpol.o ---
g77  -c rotpol.f
--- extbas.o ---
g77  -c extbas.f
--- rdcpmd.o ---
g77  -c rdcpmd.f
--- extbas.o ---
extbas.f: In function 'rdexbas_':
--- eem.o ---
g77  -c eem.f
--- rdchx.o ---
rdchx.f: In function 'clmat_':
rdchx.f:7271: warning: will never be executed
rdchx.f:7273: warning: will never be executed
rdchx.f:7273: warning: will never be executed
rdchx.f:7274: warning: will never be executed
rdchx.f:7273: warning: will never be executed
rdchx.f:7273: warning: will never be executed
rdchx.f:7279: warning: will never be executed
rdchx.f:7281: warning: will never be executed
rdchx.f:7281: warning: will never be executed
rdchx.f:7282: warning: will never be executed
rdchx.f:7281: warning: will never be executed
rdchx.f:7281: warning: will never be executed
rdchx.f:7287: warning: will never be executed
rdchx.f:7289: warning: will never be executed
rdchx.f:7289: warning: will never be executed
rdchx.f:7290: warning: will never be executed
rdchx.f:7289: warning: will never be executed
--- extbas.o ---
extbas.f:32: warning: will never be executed
--- asspmf.o ---
g77  -c asspmf.f
--- srfcal.o ---
g77  -c srfcal.f
--- rdqchm.o ---
g77  -c rdqchm.f
In file rdqchm.f:626
      call parptr(112,frint,ramint,ihasi)
                      1
In file rdqchm.f:625

      call parptr(1,freq,freq,nfreq)
                    2
Warning (155): Inconsistent types (REAL(8)/REAL(4)) in actual argument lists at (1) and (2)
--- rdorca.o ---
g77  -c rdorca.f
--- rdmaux.o ---
g77  -c rdmaux.f
--- mpdum.o ---
g77  -c mpdum.f
--- rdorca.o ---
In file rdorca.f:739
      call parptr(112,frint,ramint,ihasi)
                      1
In file rdorca.f:738
      call parptr(1,freq,freq,nfreq)
                    2
Warning (155): Inconsistent types (REAL(8)/REAL(4)) in actual argument lists at (1) and (2)
--- xwin.o ---
cc -c -I/usr/pkg/include -DDOBACK -DHASTIMER -DCOLOR_OFFSET=0.0 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/libdrm -c xwin.c
--- asspmf.o ---
asspmf.f: In function 'dfisco_':
asspmf.f:627: warning: will never be executed
asspmf.f:632: warning: will never be executed
asspmf.f:633: warning: will never be executed
asspmf.f:634: warning: will never be executed
asspmf.f:637: warning: will never be executed
asspmf.f:638: warning: will never be executed
asspmf.f:639: warning: will never be executed
asspmf.f:640: warning: will never be executed
asspmf.f:643: warning: will never be executed
asspmf.f:644: warning: will never be executed
asspmf.f:645: warning: will never be executed
asspmf.f:646: warning: will never be executed
asspmf.f:649: warning: will never be executed
--- xwin.o ---
xwin.c:3359:12: error: redefinition of 'linkat' as different kind of symbol
static int linkat = 0;
           ^
/usr/include/unistd.h:299:5: note: previous definition is here
int     linkat(int, const char *, int, const char *, int);
        ^
xwin.c:4135:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
rotat(currx,curry)
^~~~~
xwin.c:4150:2: error: non-void function 'rotat' should return a value [-Wreturn-type]
        return;
        ^
xwin.c:4152:44: error: non-void function 'rotat' should return a value [-Wreturn-type]
    if (rsqx == 0 && rsqy == 0){ hold = 0; return;}
                                           ^
xwin.c:4157:2: error: non-void function 'rotat' should return a value [-Wreturn-type]
        return;
        ^
xwin.c:4163:2: error: non-void function 'rotat' should return a value [-Wreturn-type]
        return;
        ^
xwin.c:4268:10: warning: implicit declaration of function 'DoCan' is invalid in C99 [-Wimplicit-function-declaration]
    if (!DoCan(event.xbutton.x_root,event.xbutton.y_root,
         ^
xwin.c:4270:2: warning: implicit declaration of function 'dos2u' is invalid in C99 [-Wimplicit-function-declaration]
        dos2u(strname);
        ^
xwin.c:4319:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
plinzz_(isel,istat)
^~~~~~~
xwin.c:4332:4: warning: implicit declaration of function 'plinz_' is invalid in C99 [-Wimplicit-function-declaration]
   plinz_(isel,istat,
   ^
xwin.c:4346:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
dumlin_(isel,blv,alphv,betv)
^~~~~~~
xwin.c:4361:2: warning: implicit declaration of function 'dumliz_' is invalid in C99 [-Wimplicit-function-declaration]
        dumliz_(isel,blv,alphv,betv,
        ^
xwin.c:4375:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
wline_(iun,iopt,igamb)
^~~~~~
xwin.c:4389:2: warning: implicit declaration of function 'wlinz_' is invalid in C99 [-Wimplicit-function-declaration]
        wlinz_(iun,iopt,igamb,
        ^
xwin.c:4403:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
wrzmat_(iun,iopt)
^~~~~~~
xwin.c:4416:2: warning: implicit declaration of function 'wrzmaz_' is invalid in C99 [-Wimplicit-function-declaration]
        wrzmaz_(iun,iopt,
        ^
xwin.c:4430:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
mapxzz_(iun,imod,iff,izmtmp,istat)
^~~~~~~
xwin.c:4446:2: warning: implicit declaration of function 'mapzzz_' is invalid in C99 [-Wimplicit-function-declaration]
        mapzzz_(iun,imod,iff,izmtmp,istat,
        ^
xwin.c:4460:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
fndmaz_(ixyz,istat)
^~~~~~~
xwin.c:4473:2: warning: implicit declaration of function 'fndmzz_' is invalid in C99 [-Wimplicit-function-declaration]
        fndmzz_(ixyz,istat,zmptr.imap);
        ^
xwin.c:4485:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
chkmaz_(istat)
^~~~~~~
xwin.c:4497:2: warning: implicit declaration of function 'chkmzz_' is invalid in C99 [-Wimplicit-function-declaration]
        chkmzz_(istat,
        ^
xwin.c:4510:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
prtzm_()
^~~~~~
xwin.c:4521:2: warning: implicit declaration of function 'prtzz_' is invalid in C99 [-Wimplicit-function-declaration]
        prtzz_(
        ^
xwin.c:4535:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
getzmz_(istat)
^~~~~~~
xwin.c:4547:2: warning: implicit declaration of function 'getzzz_' is invalid in C99 [-Wimplicit-function-declaration]
        getzzz_(istat,
        ^
xwin.c:4561:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
dumzm_(cc,ianc,nnatoms)
^~~~~~
xwin.c:4575:2: warning: implicit declaration of function 'dumzz_' is invalid in C99 [-Wimplicit-function-declaration]
        dumzz_(cc,ianc,nnatoms,
        ^
xwin.c:4591:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
convzmat_(cc,ianc,nnatoms,igo,ico)
^~~~~~~~~
xwin.c:4607:2: warning: implicit declaration of function 'convzmzz_' is invalid in C99 [-Wimplicit-function-declaration]
        convzmzz_(cc,ianc,nnatoms,igo,ico,
        ^
xwin.c:4622:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
getmop_(nnatoms,heat,igo,ico,istat)
^~~~~~~
xwin.c:4638:2: warning: implicit declaration of function 'getmdp_' is invalid in C99 [-Wimplicit-function-declaration]
        getmdp_(nnatoms,heat,igo,ico,istat,
        ^
xwin.c:4654:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
getzm_(nnatoms,igo,ico,istat)
^~~~~~
xwin.c:4669:2: warning: implicit declaration of function 'getzd_' is invalid in C99 [-Wimplicit-function-declaration]
        getzd_(nnatoms,igo,ico,istat,
        ^
xwin.c:4689:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
adffun_(x,y,z,psi)
^~~~~~~
xwin.c:4704:2: warning: implicit declaration of function 'adffud_' is invalid in C99 [-Wimplicit-function-declaration]
        adffud_(x,y,z,psi,
        ^
xwin.c:4717:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
atdd_(imo,ipsi,iao)
^~~~~
xwin.c:4731:2: warning: implicit declaration of function 'addd_' is invalid in C99 [-Wimplicit-function-declaration]
        addd_(imo,ipsi,iao,
        ^
xwin.c:4744:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
denmad_(ido)
^~~~~~~
xwin.c:4756:2: warning: implicit declaration of function 'denmdd_' is invalid in C99 [-Wimplicit-function-declaration]
        denmdd_(ido,
        ^
xwin.c:4770:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
densmat_(ido)
^~~~~~~~
xwin.c:4782:2: warning: implicit declaration of function 'densmad_' is invalid in C99 [-Wimplicit-function-declaration]
        densmad_(ido,
        ^
xwin.c:4795:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
densmto_(ido)
^~~~~~~~
xwin.c:4807:2: warning: implicit declaration of function 'densmtd_' is invalid in C99 [-Wimplicit-function-declaration]
        densmtd_(ido,
        ^
xwin.c:4820:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
espot_(x,y,z,epot,idebug)
^~~~~~
xwin.c:4836:2: warning: implicit declaration of function 'espod_' is invalid in C99 [-Wimplicit-function-declaration]
        espod_(x,y,z,epot,idebug,
        ^
xwin.c:4849:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
newdenmak_()
^~~~~~~~~~
xwin.c:4860:2: warning: implicit declaration of function 'newdenmad_' is invalid in C99 [-Wimplicit-function-declaration]
        newdenmad_(dorb.p,orb.qd);
        ^
xwin.c:4872:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
calhes_(psi,grd,hess,den,g,hes)
^~~~~~~
xwin.c:4889:2: warning: implicit declaration of function 'calhed_' is invalid in C99 [-Wimplicit-function-declaration]
        calhed_(psi,grd,hess,den,g,hes,
        ^
xwin.c:4902:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
grdcal_(dens,npts1,npts2,iprnt,space)
^~~~~~~
xwin.c:4918:2: warning: implicit declaration of function 'grdcad_' is invalid in C99 [-Wimplicit-function-declaration]
        grdcad_(dens,npts1,npts2,iprnt,space,
        ^
xwin.c:4931:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
prtvec_()
^~~~~~~
xwin.c:4942:2: warning: implicit declaration of function 'prtved_' is invalid in C99 [-Wimplicit-function-declaration]
        prtved_(
        ^
xwin.c:4955:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
stint_()
^~~~~~
xwin.c:4966:2: warning: implicit declaration of function 'stind_' is invalid in C99 [-Wimplicit-function-declaration]
        stind_(dorb.p,xyz.qat);
        ^
xwin.c:4978:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
muldmd_(vdwr,moddma,idm,idd)
^~~~~~~
xwin.c:4993:2: warning: implicit declaration of function 'mulddd_' is invalid in C99 [-Wimplicit-function-declaration]
        mulddd_(vdwr,moddma,idm,idd,
        ^
xwin.c:5006:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
mopid_(istat,ibin,impas)
^~~~~~
xwin.c:5020:2: warning: implicit declaration of function 'mopdd_' is invalid in C99 [-Wimplicit-function-declaration]
        mopdd_(istat,ibin,impas,
        ^
xwin.c:5035:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
rdgad_(idebug,ibefo,istatio,ioxyz,irtype,istats)
^~~~~~
xwin.c:5052:2: warning: implicit declaration of function 'rdgdd_' is invalid in C99 [-Wimplicit-function-declaration]
        rdgdd_(idebug,ibefo,istatio,ioxyz,irtype,istats,
        ^
xwin.c:5066:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
rdgamd_(idebug,ibefo,istatio,irtype,ihsend,istats)
^~~~~~~
xwin.c:5083:2: warning: implicit declaration of function 'rdgadd_' is invalid in C99 [-Wimplicit-function-declaration]
        rdgadd_(idebug,ibefo,istatio,irtype,ihsend,istats,
        ^
xwin.c:5097:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
rdgaud_(idebug,ibefo,istatio,irtype,istats)
^~~~~~~
xwin.c:5113:2: warning: implicit declaration of function 'rdgdud_' is invalid in C99 [-Wimplicit-function-declaration]
        rdgdud_(idebug,ibefo,istatio,irtype,istats,
        ^
xwin.c:5127:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
rdqchm_(idebug,irtype,istats)
^~~~~~~
xwin.c:5141:2: warning: implicit declaration of function 'rdqchd_' is invalid in C99 [-Wimplicit-function-declaration]
        rdqchd_(idebug,irtype,istats,
        ^
xwin.c:5154:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
rdorca_(idebug,irtype,istats)
^~~~~~~
xwin.c:5168:2: warning: implicit declaration of function 'rdorcd_' is invalid in C99 [-Wimplicit-function-declaration]
        rdorcd_(idebug,irtype,istats,
        ^
xwin.c:5182:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
rdmaud_(idebug,istatio,istats)
^~~~~~~
xwin.c:5196:2: warning: implicit declaration of function 'rdmadd_' is invalid in C99 [-Wimplicit-function-declaration]
        rdmadd_(idebug,istatio,istats,
        ^
xwin.c:5213:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
rdmold_(idebug,istatio,irtype,iesp,istats)
^~~~~~~
xwin.c:5229:2: warning: implicit declaration of function 'rdmodd_' is invalid in C99 [-Wimplicit-function-declaration]
        rdmodd_(idebug,istatio,irtype,iesp,istats,
        ^
xwin.c:5246:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
prtmolf_(iun,ihaszm,ipoints)
^~~~~~~~
xwin.c:5260:2: warning: implicit declaration of function 'prtmold_' is invalid in C99 [-Wimplicit-function-declaration]
        prtmold_(iun,ihaszm,ipoints,
        ^
xwin.c:5277:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
rdvect_(idebug,ig94,istats)
^~~~~~~
xwin.c:5291:2: warning: implicit declaration of function 'rdvecd_' is invalid in C99 [-Wimplicit-function-declaration]
        rdvecd_(idebug,ig94,istats,
        ^
xwin.c:5305:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
rdqvec_(idebug,istats)
^~~~~~~
xwin.c:5318:2: warning: implicit declaration of function 'rdqvcd_' is invalid in C99 [-Wimplicit-function-declaration]
        rdqvcd_(idebug,istats,
        ^
xwin.c:5332:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
denfst_(summ,psi)
^~~~~~~
xwin.c:5345:2: warning: implicit declaration of function 'denfsd_' is invalid in C99 [-Wimplicit-function-declaration]
        denfsd_(summ,psi,
        ^
xwin.c:5358:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
datin_(npts1,npts2,npts3)
^~~~~~
xwin.c:5372:2: warning: implicit declaration of function 'datid_' is invalid in C99 [-Wimplicit-function-declaration]
        datid_(npts1,npts2,npts3,
        ^
xwin.c:5385:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
homo_(ipsi)
^~~~~
xwin.c:5397:2: warning: implicit declaration of function 'homod_' is invalid in C99 [-Wimplicit-function-declaration]
        homod_(ipsi,
        ^
xwin.c:5410:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
lumo_(ipsi)
^~~~~
xwin.c:5422:2: warning: implicit declaration of function 'lumod_' is invalid in C99 [-Wimplicit-function-declaration]
        lumod_(ipsi,
        ^
xwin.c:5435:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
occup_(istat)
^~~~~~
xwin.c:5447:2: warning: implicit declaration of function 'occupd_' is invalid in C99 [-Wimplicit-function-declaration]
        occupd_(istat,
        ^
xwin.c:5464:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
asurf_(idomap,idocal)
^~~~~~
xwin.c:5484:21: warning: implicit declaration of function 'almgrd_' is invalid in C99 [-Wimplicit-function-declaration]
       if (*idomap) almgrd_();
                    ^
xwin.c:5485:21: warning: implicit declaration of function 'srfcal_' is invalid in C99 [-Wimplicit-function-declaration]
       if (*idocal) srfcal_(idomap,sgrd.denn,mgrd.fmap,xyz.coo);
                    ^
xwin.c:5486:13: warning: implicit declaration of function 'mapsrf_' is invalid in C99 [-Wimplicit-function-declaration]
       else mapsrf_(sgrd.denn,mgrd.fmap,&mapit);
            ^
xwin.c:5497:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
cntour_(a,mdim,imax,jmax,pz,value,r11,id)
^~~~~~~
xwin.c:5516:2: warning: implicit declaration of function 'cntoud_' is invalid in C99 [-Wimplicit-function-declaration]
        cntoud_(a,mdim,imax,jmax,pz,value,r11,id,
        ^
xwin.c:5529:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
den3d_(npts1,npts2,scale)
^~~~~~
xwin.c:5543:2: warning: implicit declaration of function 'dendd_' is invalid in C99 [-Wimplicit-function-declaration]
        dendd_(npts1,npts2,scale,
        ^
xwin.c:5556:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
dencnt_(npts1,npts2,fcnt)
^~~~~~~
xwin.c:5570:2: warning: implicit declaration of function 'dencnd_' is invalid in C99 [-Wimplicit-function-declaration]
        dencnd_(npts1,npts2,fcnt,
        ^
xwin.c:5583:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
grdcl_(npts1,npts2,iprnt,space)
^~~~~~
xwin.c:5598:2: warning: implicit declaration of function 'grdcd_' is invalid in C99 [-Wimplicit-function-declaration]
        grdcd_(npts1,npts2,iprnt,space,
        ^
xwin.c:5610:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
resedl_()
^~~~~~~
xwin.c:5621:2: warning: implicit declaration of function 'resedd_' is invalid in C99 [-Wimplicit-function-declaration]
        resedd_(sgrd.iedlog);
        ^
xwin.c:5633:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
maxmin_(npts1,npts2,scale)
^~~~~~~
xwin.c:5647:2: warning: implicit declaration of function 'maxmid_' is invalid in C99 [-Wimplicit-function-declaration]
        maxmid_(npts1,npts2,scale,
        ^
xwin.c:5659:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
plden_(ndim1,ndim2,scale,icells,adjus,idisml)
^~~~~~
xwin.c:5676:2: warning: implicit declaration of function 'plded_' is invalid in C99 [-Wimplicit-function-declaration]
        plded_(ndim1,ndim2,scale,icells,adjus,idisml,
        ^
xwin.c:5688:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
p3dv_(iun,scale,ndimx,ndimz,adjus)
^~~~~
xwin.c:5704:2: warning: implicit declaration of function 'p3dd_' is invalid in C99 [-Wimplicit-function-declaration]
        p3dd_(iun,scale,ndimx,ndimz,adjus,
        ^
xwin.c:5716:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
rdcube_(npts1,npts2,npts3,iposng,ipsi,istat,iun,idebug)
^~~~~~~
xwin.c:5735:2: warning: implicit declaration of function 'rdcubd_' is invalid in C99 [-Wimplicit-function-declaration]
        rdcubd_(npts1,npts2,npts3,iposng,ipsi,istat,iun,idebug,
        ^
xwin.c:5748:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
wrcube_(npts1,npts2,npts3,ipsi)
^~~~~~~
xwin.c:5763:2: warning: implicit declaration of function 'wrcubd_' is invalid in C99 [-Wimplicit-function-declaration]
        wrcubd_(npts1,npts2,npts3,ipsi,
        ^
xwin.c:5776:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
rdgrd_(npts1,npts2,npts3,iun,istat)
^~~~~~
xwin.c:5792:2: warning: implicit declaration of function 'rdgrdd_' is invalid in C99 [-Wimplicit-function-declaration]
        rdgrdd_(npts1,npts2,npts3,iun,istat,
        ^
xwin.c:5805:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
rdomap_(npts1,npts2,npts3,iun,istat)
^~~~~~~
xwin.c:5821:2: warning: implicit declaration of function 'rdomad_' is invalid in C99 [-Wimplicit-function-declaration]
        rdomad_(npts1,npts2,npts3,iun,istat,
        ^
xwin.c:5834:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
dpomap_()
^~~~~~~
xwin.c:5845:2: warning: implicit declaration of function 'dpomad_' is invalid in C99 [-Wimplicit-function-declaration]
        dpomad_(
        ^
xwin.c:5858:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
rdvasp_(npts1,npts2,npts3,iposng,istat,lenf,idocub,idebug)
^~~~~~~
xwin.c:5877:2: warning: implicit declaration of function 'rdvasd_' is invalid in C99 [-Wimplicit-function-declaration]
        rdvasd_(npts1,npts2,npts3,iposng,istat,lenf,idocub,idebug,
        ^
xwin.c:5890:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
rdinfo_(npts1,npts2,istat)
^~~~~~~
xwin.c:5904:2: warning: implicit declaration of function 'rdinfd_' is invalid in C99 [-Wimplicit-function-declaration]
        rdinfd_(npts1,npts2,istat,
        ^
xwin.c:5916:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
rd3inf_(npts1,npts2,npts3,isubtr,adjus,istat)
^~~~~~~
xwin.c:5933:2: warning: implicit declaration of function 'rd3ind_' is invalid in C99 [-Wimplicit-function-declaration]
        rd3ind_(npts1,npts2,npts3,isubtr,adjus,istat,
        ^
xwin.c:5945:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
rd3chk_(npts1,npts2,npts3,igauss,impas,istat)
^~~~~~~
xwin.c:5962:2: warning: implicit declaration of function 'rd3chd_' is invalid in C99 [-Wimplicit-function-declaration]
        rd3chd_(npts1,npts2,npts3,igauss,impas,istat,
        ^
xwin.c:5986:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
oginit_(r,adjus,natoms,nat,icol,xsym,ysym,zsym,vdwr,cnst,npts1,npts2)
^~~~~~~
xwin.c:6019:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
wrinfo_(npts1,npts2)
^~~~~~~
xwin.c:6032:2: warning: implicit declaration of function 'wrinfd_' is invalid in C99 [-Wimplicit-function-declaration]
        wrinfd_(npts1,npts2,
        ^
xwin.c:6044:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
wr3inf_(npts1,npts2,npts3,adjus)
^~~~~~~
xwin.c:6059:2: warning: implicit declaration of function 'wr3ind_' is invalid in C99 [-Wimplicit-function-declaration]
        wr3ind_(npts1,npts2,npts3,adjus,
        ^
xwin.c:6071:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
spaced_(npts1,npts2,npts3,valcnt,idofil,adjus,ipsprt,idisml,idvrml,mapit)
^~~~~~~
xwin.c:6092:4: warning: implicit declaration of function 'spacdd_' is invalid in C99 [-Wimplicit-function-declaration]
   spacdd_(npts1,npts2,npts3,valcnt,idofil,adjus,ipsprt,idisml,idvrml,mapit,
   ^
xwin.c:6104:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
spasrf_(npts1,npts2,npts3,valcnt)
^~~~~~~
xwin.c:6119:2: warning: implicit declaration of function 'spasrd_' is invalid in C99 [-Wimplicit-function-declaration]
        spasrd_(npts1,npts2,npts3,valcnt,
        ^
xwin.c:6131:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
isoden_(valc,nvalc,scincr,nespt,iwhere)
^~~~~~~
xwin.c:6147:2: warning: implicit declaration of function 'isoded_' is invalid in C99 [-Wimplicit-function-declaration]
        isoded_(valc,nvalc,scincr,nespt,iwhere,
        ^
xwin.c:6159:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
rdcpmdd_(idebug,ibefo,istatio,ioxyz,irtype,ihsend,istats)
^~~~~~~~
xwin.c:6177:2: warning: implicit declaration of function 'rdcpmddd_' is invalid in C99 [-Wimplicit-function-declaration]
        rdcpmddd_(idebug,ibefo,istatio,ioxyz,irtype,ihsend,istats,
        ^
xwin.c:6197:2: warning: implicit declaration of function 'anid_' is invalid in C99 [-Wimplicit-function-declaration]
        anid_(xyz.coo,xyz.ianz);
        ^
xwin.c:6208:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
actami_(inum,ikleur,iopt,idosrf)
^~~~~~~
xwin.c:6223:2: warning: implicit declaration of function 'actamd_' is invalid in C99 [-Wimplicit-function-declaration]
        actamd_(inum,ikleur,iopt,idosrf,
        ^
xwin.c:6236:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
caldip_()
^~~~~~~
xwin.c:6246:2: warning: implicit declaration of function 'caldid_' is invalid in C99 [-Wimplicit-function-declaration]
        caldid_(
        ^
xwin.c:6258:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
aacom_(vrad,ires,str,nstr,istsrf)
^~~~~~
xwin.c:6274:2: warning: implicit declaration of function 'aacod_' is invalid in C99 [-Wimplicit-function-declaration]
        aacod_(vrad,ires,str,nstr,istsrf,
        ^
xwin.c:6287:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
actcal_(iopt)
^~~~~~~
xwin.c:6299:2: warning: implicit declaration of function 'actcad_' is invalid in C99 [-Wimplicit-function-declaration]
        actcad_(iopt,
        ^
xwin.c:6312:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
acthel_(iopt,iscnd,jcolsp,inclbb)
^~~~~~~
xwin.c:6327:2: warning: implicit declaration of function 'acthed_' is invalid in C99 [-Wimplicit-function-declaration]
        acthed_(iopt,iscnd,jcolsp,inclbb,
        ^
xwin.c:6340:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
actss_(iopt)
^~~~~~
xwin.c:6352:2: warning: implicit declaration of function 'actsd_' is invalid in C99 [-Wimplicit-function-declaration]
        actsd_(iopt,
        ^
xwin.c:6365:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
pmfass_(iopt,dochg)
^~~~~~~
xwin.c:6378:2: warning: implicit declaration of function 'pmfasd_' is invalid in C99 [-Wimplicit-function-declaration]
        pmfasd_(iopt,dochg,
        ^
xwin.c:6391:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
dfiass_()
^~~~~~~
xwin.c:6402:2: warning: implicit declaration of function 'dfiasd_' is invalid in C99 [-Wimplicit-function-declaration]
        dfiasd_(
        ^
xwin.c:6415:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
updres_()
^~~~~~~
xwin.c:6426:2: warning: implicit declaration of function 'updred_' is invalid in C99 [-Wimplicit-function-declaration]
        updred_(
        ^
xwin.c:6439:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
dfires_()
^~~~~~~
xwin.c:6450:2: warning: implicit declaration of function 'dfired_' is invalid in C99 [-Wimplicit-function-declaration]
        dfired_(
        ^
xwin.c:6463:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
twodfi_(tdfi,ires1,ires2)
^~~~~~~
xwin.c:6477:2: warning: implicit declaration of function 'twodfd_' is invalid in C99 [-Wimplicit-function-declaration]
        twodfd_(tdfi,ires1,ires2,
        ^
xwin.c:6490:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
twodfib_(tdfi,ires1,ires2)
^~~~~~~~
xwin.c:6504:2: warning: implicit declaration of function 'twodfid_' is invalid in C99 [-Wimplicit-function-declaration]
        twodfid_(tdfi,ires1,ires2,
        ^
xwin.c:6517:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
onedfi_(tdfi,ires1)
^~~~~~~
xwin.c:6530:2: warning: implicit declaration of function 'onedfd_' is invalid in C99 [-Wimplicit-function-declaration]
        onedfd_(tdfi,ires1,
        ^
xwin.c:6543:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
totpmf_(totpmf)
^~~~~~~
xwin.c:6555:2: warning: implicit declaration of function 'totpmd_' is invalid in C99 [-Wimplicit-function-declaration]
        totpmd_(totpmf,
        ^
xwin.c:6568:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
pmfinf_(iatm)
^~~~~~~
xwin.c:6580:2: warning: implicit declaration of function 'pmfind_' is invalid in C99 [-Wimplicit-function-declaration]
        pmfind_(iatm,
        ^
xwin.c:6593:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
ipmtyp_(iptm,iat,ian,idochg)
^~~~~~~
xwin.c:6608:2: warning: implicit declaration of function 'ipmtyd_' is invalid in C99 [-Wimplicit-function-declaration]
        ipmtyd_(iptm,iat,ian,idochg,
        ^
xwin.c:6621:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
clmon_(car,pot)
^~~~~~
xwin.c:6634:2: warning: implicit declaration of function 'clmod_' is invalid in C99 [-Wimplicit-function-declaration]
        clmod_(car,pot,
        ^
xwin.c:6647:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
clmons_(car,pot,idoloc)
^~~~~~~
xwin.c:6661:2: warning: implicit declaration of function 'clmond_' is invalid in C99 [-Wimplicit-function-declaration]
        clmond_(car,pot,idoloc,
        ^
xwin.c:6673:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
calfa_(istat,istpdb,iaddh,ioatms,nstrt,ioadd)
^~~~~~
xwin.c:6690:2: warning: implicit declaration of function 'calfd_' is invalid in C99 [-Wimplicit-function-declaration]
        calfd_(istat,istpdb,iaddh,ioatms,nstrt,ioadd,
        ^
xwin.c:6703:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
docct_()
^~~~~~
xwin.c:6714:2: warning: implicit declaration of function 'doccd_' is invalid in C99 [-Wimplicit-function-declaration]
        doccd_(
        ^
xwin.c:6727:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
docent_()
^~~~~~~
xwin.c:6738:2: warning: implicit declaration of function 'docend_' is invalid in C99 [-Wimplicit-function-declaration]
        docend_(
        ^
xwin.c:6751:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
valdis_(var,ipntr,numat,iop,iasel,istat)
^~~~~~~
xwin.c:6768:2: warning: implicit declaration of function 'valdid_' is invalid in C99 [-Wimplicit-function-declaration]
        valdid_(var,ipntr,numat,iop,iasel,istat,
        ^
xwin.c:6781:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
eemcalc_(var,ipntr,numat)
^~~~~~~~
xwin.c:6795:2: warning: implicit declaration of function 'eemcald_' is invalid in C99 [-Wimplicit-function-declaration]
        eemcald_(var,ipntr,numat,
        ^
xwin.c:6808:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
distchk_()
^~~~~~~~
xwin.c:6819:2: warning: implicit declaration of function 'distchd_' is invalid in C99 [-Wimplicit-function-declaration]
        distchd_(
        ^
xwin.c:6832:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
calgas_()
^~~~~~~
xwin.c:6843:2: warning: implicit declaration of function 'calgad_' is invalid in C99 [-Wimplicit-function-declaration]
        calgad_(
        ^
xwin.c:6856:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
mkscon_(c,rad,grdw,iptr,npts)
^~~~~~~
xwin.c:6872:2: warning: implicit declaration of function 'mkscod_' is invalid in C99 [-Wimplicit-function-declaration]
        mkscod_(c,rad,grdw,iptr,npts,
        ^
xwin.c:6885:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
connlp_(dens,idomap,isp)
^~~~~~~
xwin.c:6899:2: warning: implicit declaration of function 'connld_' is invalid in C99 [-Wimplicit-function-declaration]
        connld_(dens,idomap,isp,
        ^
xwin.c:6913:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
allsrf_(docol,idomap,idocal,isp)
^~~~~~~
xwin.c:6928:2: warning: implicit declaration of function 'allsrd_' is invalid in C99 [-Wimplicit-function-declaration]
        allsrd_(docol,idomap,idocal,isp,
        ^
xwin.c:6941:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
alasrf_()
^~~~~~~
xwin.c:6952:2: warning: implicit declaration of function 'alasrd_' is invalid in C99 [-Wimplicit-function-declaration]
        alasrd_(
        ^
xwin.c:6965:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
clrsrf_()
^~~~~~~
xwin.c:6976:2: warning: implicit declaration of function 'clrsrd_' is invalid in C99 [-Wimplicit-function-declaration]
        clrsrd_(
        ^
xwin.c:6989:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
propnt_(qx,qy,qz,ipen)
^~~~~~~
xwin.c:7004:2: warning: implicit declaration of function 'propnd_' is invalid in C99 [-Wimplicit-function-declaration]
        propnd_(qx,qy,qz,ipen,
        ^
xwin.c:7017:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
getfr_(istat)
^~~~~~
xwin.c:7029:2: warning: implicit declaration of function 'getfd_' is invalid in C99 [-Wimplicit-function-declaration]
        getfd_(istat,
        ^
xwin.c:7042:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
ggetfr_(istat)
^~~~~~~
xwin.c:7054:2: warning: implicit declaration of function 'ggetfd_' is invalid in C99 [-Wimplicit-function-declaration]
        ggetfd_(istat,
        ^
xwin.c:7067:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
getfrm_(istat)
^~~~~~~
xwin.c:7079:2: warning: implicit declaration of function 'getfrd_' is invalid in C99 [-Wimplicit-function-declaration]
        getfrd_(istat,
        ^
xwin.c:7092:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
getfra_(istat)
^~~~~~~
xwin.c:7104:2: warning: implicit declaration of function 'getfrad_' is invalid in C99 [-Wimplicit-function-declaration]
        getfrad_(istat,
        ^
xwin.c:7117:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
nxtpnt_(iopt,fancy,atcol,dolabs,backb,wpnt)
^~~~~~~
xwin.c:7134:2: warning: implicit declaration of function 'nxtpnd_' is invalid in C99 [-Wimplicit-function-declaration]
        nxtpnd_(iopt,fancy,atcol,dolabs,backb,wpnt,
        ^
xwin.c:7147:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
scalfr_(iopt,fancy,atcol,dolabs,backb,wpnt)
^~~~~~~
xwin.c:7164:2: warning: implicit declaration of function 'scalfd_' is invalid in C99 [-Wimplicit-function-declaration]
        scalfd_(iopt,fancy,atcol,dolabs,backb,wpnt,
        ^
xwin.c:7177:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
resfr_()
^~~~~~
xwin.c:7188:2: warning: implicit declaration of function 'resfd_' is invalid in C99 [-Wimplicit-function-declaration]
        resfd_(
        ^
xwin.c:7201:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
tofcoo_()
^~~~~~~
xwin.c:7212:2: warning: implicit declaration of function 'tofcod_' is invalid in C99 [-Wimplicit-function-declaration]
        tofcod_(
        ^
xwin.c:7225:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
iatnox_(iatnx)
^~~~~~~
xwin.c:7237:2: warning: implicit declaration of function 'iatnod_' is invalid in C99 [-Wimplicit-function-declaration]
        iatnod_(iatnx,
        ^
xwin.c:7250:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
gampoi_(ipoint,istat,oxyz)
^~~~~~~
xwin.c:7264:2: warning: implicit declaration of function 'gampod_' is invalid in C99 [-Wimplicit-function-declaration]
        gampod_(ipoint,istat,oxyz,
        ^
xwin.c:7277:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
gaupoi_(istat)
^~~~~~~
xwin.c:7289:2: warning: implicit declaration of function 'gaupod_' is invalid in C99 [-Wimplicit-function-declaration]
        gaupod_(istat,
        ^
xwin.c:7302:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
getpoi_(icomm,ifd,iff,doscl,ioatms,ioadd)
^~~~~~~
xwin.c:7318:2: warning: implicit declaration of function 'getpod_' is invalid in C99 [-Wimplicit-function-declaration]
        getpod_(icomm,ifd,iff,doscl,ioatms,ioadd,
        ^
xwin.c:7331:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
doconn_()
^~~~~~~
xwin.c:7342:2: warning: implicit declaration of function 'docond_' is invalid in C99 [-Wimplicit-function-declaration]
        docond_(
        ^
xwin.c:7355:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
dohcon_(ihflag)
^~~~~~~
xwin.c:7367:2: warning: implicit declaration of function 'dohcod_' is invalid in C99 [-Wimplicit-function-declaration]
        dohcod_(ihflag,
        ^
xwin.c:7380:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
nohcon_()
^~~~~~~
xwin.c:7391:2: warning: implicit declaration of function 'nohcod_' is invalid in C99 [-Wimplicit-function-declaration]
        nohcod_(
        ^
xwin.c:7404:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
doscal_()
^~~~~~~
xwin.c:7415:2: warning: implicit declaration of function 'doscad_' is invalid in C99 [-Wimplicit-function-declaration]
        doscad_(
        ^
xwin.c:7428:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
redcon_()
^~~~~~~
xwin.c:7439:2: warning: implicit declaration of function 'redcod_' is invalid in C99 [-Wimplicit-function-declaration]
        redcod_(
        ^
xwin.c:7452:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
domcon_(ipt,idoall)
^~~~~~~
xwin.c:7465:2: warning: implicit declaration of function 'domcod_' is invalid in C99 [-Wimplicit-function-declaration]
        domcod_(ipt,idoall,
        ^
xwin.c:7478:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
getxyz_(igetxy,heat,iaddprv)
^~~~~~~
xwin.c:7492:2: warning: implicit declaration of function 'getxyd_' is invalid in C99 [-Wimplicit-function-declaration]
        getxyd_(igetxy,heat,iaddprv,
        ^
xwin.c:7506:5: warning: implicit declaration of function 'allcoo_' is invalid in C99 [-Wimplicit-function-declaration]
           allcoo_(&addat);
           ^
xwin.c:7520:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
aln2ml_(iopt,istat)
^~~~~~~
xwin.c:7533:2: warning: implicit declaration of function 'aln2md_' is invalid in C99 [-Wimplicit-function-declaration]
        aln2md_(iopt,istat,
        ^
xwin.c:7546:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
alnrot_(vec,irot)
^~~~~~~
xwin.c:7559:2: warning: implicit declaration of function 'alnrod_' is invalid in C99 [-Wimplicit-function-declaration]
        alnrod_(vec,irot,
        ^
xwin.c:7572:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
pckrot_(istat,iatsel)
^~~~~~~
xwin.c:7585:2: warning: implicit declaration of function 'pckrod_' is invalid in C99 [-Wimplicit-function-declaration]
        pckrod_(istat,iatsel,
        ^
xwin.c:7598:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
alnwrt_()
^~~~~~~
xwin.c:7609:2: warning: implicit declaration of function 'alnwrd_' is invalid in C99 [-Wimplicit-function-declaration]
        alnwrd_(
        ^
xwin.c:7622:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
alnsel_(isel)
^~~~~~~
xwin.c:7634:2: warning: implicit declaration of function 'alnsed_' is invalid in C99 [-Wimplicit-function-declaration]
        alnsed_(isel,
        ^
xwin.c:7647:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
getchr_(igetca)
^~~~~~~
xwin.c:7659:2: warning: implicit declaration of function 'getchd_' is invalid in C99 [-Wimplicit-function-declaration]
        getchd_(igetca,
        ^
xwin.c:7672:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
getmol_(igetmo)
^~~~~~~
xwin.c:7684:2: warning: implicit declaration of function 'getmod_' is invalid in C99 [-Wimplicit-function-declaration]
        getmod_(igetmo,
        ^
xwin.c:7697:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
outmol_(iun)
^~~~~~~
xwin.c:7709:2: warning: implicit declaration of function 'outmod_' is invalid in C99 [-Wimplicit-function-declaration]
        outmod_(iun,
        ^
xwin.c:7722:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
mopaco_(istats,mopopt,irtype)
^~~~~~~
xwin.c:7736:2: warning: implicit declaration of function 'mopacd_' is invalid in C99 [-Wimplicit-function-declaration]
        mopacd_(istats,mopopt,irtype,
        ^
xwin.c:7749:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
parfc_()
^~~~~~
xwin.c:7760:2: warning: implicit declaration of function 'parfd_' is invalid in C99 [-Wimplicit-function-declaration]
        parfd_(
        ^
xwin.c:7773:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
plmol_()
^~~~~~
xwin.c:7784:2: warning: implicit declaration of function 'plmod_' is invalid in C99 [-Wimplicit-function-declaration]
        plmod_(
        ^
xwin.c:7798:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
plmolp_()
^~~~~~~
xwin.c:7809:2: warning: implicit declaration of function 'plmold_' is invalid in C99 [-Wimplicit-function-declaration]
        plmold_(
        ^
xwin.c:7823:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
plfc_(shade,ixx,k,ihigh,colsc,icltan,zvect)
^~~~~
xwin.c:7841:2: warning: implicit declaration of function 'plfd_' is invalid in C99 [-Wimplicit-function-declaration]
        plfd_(shade,ixx,k,ihigh,colsc,icltan,zvect,
        ^
xwin.c:7854:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
plfcp_(shade,ixx,k,ihigh,colsc,icltan,zvect,scalp)
^~~~~~
xwin.c:7873:2: warning: implicit declaration of function 'plfcd_' is invalid in C99 [-Wimplicit-function-declaration]
        plfcd_(shade,ixx,k,ihigh,colsc,icltan,zvect,scalp,
        ^
xwin.c:7886:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
mstick_(zvect,colsc,icltan,m,k,shade,idash)
^~~~~~~
xwin.c:7904:2: warning: implicit declaration of function 'msticd_' is invalid in C99 [-Wimplicit-function-declaration]
        msticd_(zvect,colsc,icltan,m,k,shade,idash,
        ^
xwin.c:7917:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
mstck_(zvect,colsc,icltan,m,k,shade,idash)
^~~~~~
xwin.c:7935:2: warning: implicit declaration of function 'mstcd_' is invalid in C99 [-Wimplicit-function-declaration]
        mstcd_(zvect,colsc,icltan,m,k,shade,idash,
        ^
xwin.c:7948:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
sstick_()
^~~~~~~
xwin.c:7959:2: warning: implicit declaration of function 'ssticd_' is invalid in C99 [-Wimplicit-function-declaration]
        ssticd_(
        ^
xwin.c:7972:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
astick_(zvect,colsc,icltan,m,k,ihigh,shade,idash,imon)
^~~~~~~
xwin.c:7992:2: warning: implicit declaration of function 'asticd_' is invalid in C99 [-Wimplicit-function-declaration]
        asticd_(zvect,colsc,icltan,m,k,ihigh,shade,idash,imon,
        ^
xwin.c:8005:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
astck_(zvect,colsc,scalp,icltan,m,k,ihigh,shade,idash,imon)
^~~~~~
xwin.c:8026:2: warning: implicit declaration of function 'astcd_' is invalid in C99 [-Wimplicit-function-declaration]
        astcd_(zvect,colsc,scalp,icltan,m,k,ihigh,shade,idash,imon,
        ^
xwin.c:8039:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
snglat_(zvect,scalp,colsc,icltan,k,ihigh,shade,atcol,ipersp,ipost,icolps)
^~~~~~~
xwin.c:8061:2: warning: implicit declaration of function 'snglad_' is invalid in C99 [-Wimplicit-function-declaration]
        snglad_(zvect,scalp,colsc,icltan,k,ihigh,shade,atcol,ipersp,ipost,icolps,
        ^
xwin.c:8074:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
fstick_(roddef,rfac,zvect,colsc,icltan,m,k,ihigh,shade,atcol,scnd)
^~~~~~~
xwin.c:8096:2: warning: implicit declaration of function 'fsticd_' is invalid in C99 [-Wimplicit-function-declaration]
        fsticd_(roddef,rfac,zvect,colsc,icltan,m,k,ihigh,shade,atcol,scnd,
        ^
xwin.c:8109:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
fstck_(roddef,rfac,scalp,zvect,colsc,icltan,m,k,ihigh,shade,atcol,scnd)
^~~~~~
xwin.c:8132:2: warning: implicit declaration of function 'fstcd_' is invalid in C99 [-Wimplicit-function-declaration]
        fstcd_(roddef,rfac,scalp,zvect,colsc,icltan,m,k,ihigh,shade,atcol,scnd,
        ^
xwin.c:8145:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
pldstg_()
^~~~~~~
xwin.c:8156:2: warning: implicit declaration of function 'pldstd_' is invalid in C99 [-Wimplicit-function-declaration]
        pldstd_(
        ^
xwin.c:8169:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
plalab_(iqon)
^~~~~~~
xwin.c:8181:2: warning: implicit declaration of function 'plalad_' is invalid in C99 [-Wimplicit-function-declaration]
        plalad_(iqon,
        ^
xwin.c:8194:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
plalb_(iami)
^~~~~~
xwin.c:8206:2: warning: implicit declaration of function 'plald_' is invalid in C99 [-Wimplicit-function-declaration]
        plald_(iami,
        ^
xwin.c:8219:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
pllab_(ixp,iyp,ianz,k,qat,inr,iqon,ires,ipost)
^~~~~~
xwin.c:8239:2: warning: implicit declaration of function 'pllad_' is invalid in C99 [-Wimplicit-function-declaration]
        pllad_(ixp,iyp,ianz,k,qat,inr,iqon,ires,ipost,
        ^
xwin.c:8252:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
plpost_(backb,dolabs,icolps,fancy,atcol,persp,shade,idelx)
^~~~~~~
xwin.c:8271:2: warning: implicit declaration of function 'plposd_' is invalid in C99 [-Wimplicit-function-declaration]
        plposd_(backb,dolabs,icolps,fancy,atcol,persp,shade,idelx,
        ^
xwin.c:8285:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
plvrml_(iun,fancy,atcol,dolabs,ihnd,backb,dohead)
^~~~~~~
xwin.c:8303:2: warning: implicit declaration of function 'plvrmd_' is invalid in C99 [-Wimplicit-function-declaration]
        plvrmd_(iun,fancy,atcol,dolabs,ihnd,backb,dohead,
        ^
xwin.c:8316:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
plvst_(iun,jcol,k,atcol,hndexl)
^~~~~~
xwin.c:8332:2: warning: implicit declaration of function 'plvsd_' is invalid in C99 [-Wimplicit-function-declaration]
        plvsd_(iun,jcol,k,atcol,hndexl,
        ^
xwin.c:8345:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
hcoord_(ioatms,nstrt)
^~~~~~~
xwin.c:8359:2: warning: implicit declaration of function 'hcoodd_' is invalid in C99 [-Wimplicit-function-declaration]
        hcoodd_(&istat,ioatms,nstrt,
        ^
xwin.c:8388:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
hang_(idx1,idx2,hang)
^~~~~
xwin.c:8402:2: warning: implicit declaration of function 'hand_' is invalid in C99 [-Wimplicit-function-declaration]
        hand_(idx1,idx2,hang,
        ^
xwin.c:8415:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
hbond_(ioatms,nstrt)
^~~~~~
xwin.c:8428:2: warning: implicit declaration of function 'hbodd_' is invalid in C99 [-Wimplicit-function-declaration]
        hbodd_(ioatms,nstrt,
        ^
xwin.c:8441:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
acthb_(iopt,hbfilt)
^~~~~~
xwin.c:8454:2: warning: implicit declaration of function 'acthd_' is invalid in C99 [-Wimplicit-function-declaration]
        acthd_(iopt,hbfilt,
        ^
xwin.c:8467:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
disabh_(iopt)
^~~~~~~
xwin.c:8479:2: warning: implicit declaration of function 'disabd_' is invalid in C99 [-Wimplicit-function-declaration]
        disabd_(iopt,
        ^
xwin.c:8492:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
hbconn_(iopt,iat1,iat2)
^~~~~~~
xwin.c:8506:2: warning: implicit declaration of function 'hbcond_' is invalid in C99 [-Wimplicit-function-declaration]
        hbcond_(iopt,iat1,iat2,
        ^
xwin.c:8519:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
ribbon_(iscnd,dogl,nr,iungl,tori)
^~~~~~~
xwin.c:8536:2: warning: implicit declaration of function 'ribbod_' is invalid in C99 [-Wimplicit-function-declaration]
        ribbod_(&istat,iscnd,dogl,nr,iungl,tori,
        ^
xwin.c:8564:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
ribbs_()
^~~~~~
xwin.c:8575:2: warning: implicit declaration of function 'ribbd_' is invalid in C99 [-Wimplicit-function-declaration]
        ribbd_(
        ^
xwin.c:8588:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
prnts_()
^~~~~~
xwin.c:8599:2: warning: implicit declaration of function 'prntd_' is invalid in C99 [-Wimplicit-function-declaration]
        prntd_(
        ^
xwin.c:8611:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
proxim_(itarg,thresh,ikleur,idosrf)
^~~~~~~
xwin.c:8626:2: warning: implicit declaration of function 'proxid_' is invalid in C99 [-Wimplicit-function-declaration]
        proxid_(itarg,thresh,ikleur,idosrf,
        ^
xwin.c:8639:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
proxic_(itarg,backb)
^~~~~~~
xwin.c:8652:2: warning: implicit declaration of function 'proxd_' is invalid in C99 [-Wimplicit-function-declaration]
        proxd_(itarg,backb,
        ^
xwin.c:8665:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
rdchx_(idebug,iop,istdbd,useab,moddma,istat,icrtp,icssr)
^~~~~~
xwin.c:8684:2: warning: implicit declaration of function 'rdchd_' is invalid in C99 [-Wimplicit-function-declaration]
        rdchd_(idebug,iop,istdbd,useab,moddma,istat,icrtp,icssr,
        ^
xwin.c:8697:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
rfbio_(idebug,ifrst,istat)
^~~~~~
xwin.c:8711:2: warning: implicit declaration of function 'rfbid_' is invalid in C99 [-Wimplicit-function-declaration]
        rfbid_(idebug,ifrst,istat,
        ^
xwin.c:8724:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
getxdt_(ipnt,istat)
^~~~~~~
xwin.c:8737:2: warning: implicit declaration of function 'getxdd_' is invalid in C99 [-Wimplicit-function-declaration]
        getxdd_(ipnt,istat,
        ^
xwin.c:8750:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
rfdat_(idebug,istat,refcod)
^~~~~~
xwin.c:8764:2: warning: implicit declaration of function 'rfdad_' is invalid in C99 [-Wimplicit-function-declaration]
        rfdad_(idebug,istat,refcod,
        ^
xwin.c:8777:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
fdat_(iop,ifrst,istdbd,useab,moddma,idebug)
^~~~~
xwin.c:8794:2: warning: implicit declaration of function 'fdad_' is invalid in C99 [-Wimplicit-function-declaration]
        fdad_(iop,ifrst,istdbd,useab,moddma,idebug,
        ^
xwin.c:8808:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
delat_(iat,iacn,iorg,mxdma)
^~~~~~
xwin.c:8823:2: warning: implicit declaration of function 'delad_' is invalid in C99 [-Wimplicit-function-declaration]
        delad_(iat,iacn,iorg,mxdma,
        ^
xwin.c:8836:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
polh_(ipolh,iatom)
^~~~~
xwin.c:8849:2: warning: implicit declaration of function 'pold_' is invalid in C99 [-Wimplicit-function-declaration]
        pold_(ipolh,iatom,
        ^
xwin.c:8862:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
ifnn_(ifnn,noff,ia1,ia2)
^~~~~
xwin.c:8877:2: warning: implicit declaration of function 'ifnd_' is invalid in C99 [-Wimplicit-function-declaration]
        ifnd_(ifnn,noff,ia1,ia2,
        ^
xwin.c:8890:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
rdgro_(idebug,istat)
^~~~~~
xwin.c:8903:2: warning: implicit declaration of function 'rdgrod_' is invalid in C99 [-Wimplicit-function-declaration]
        rdgrod_(idebug,istat,
        ^
xwin.c:8934:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
addbox_(v1,v2,v3)
^~~~~~~
xwin.c:8948:2: warning: implicit declaration of function 'addbod_' is invalid in C99 [-Wimplicit-function-declaration]
        addbod_(v1,v2,v3,
        ^
xwin.c:8961:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
gropt_(ipnt)
^~~~~~
xwin.c:8973:2: warning: implicit declaration of function 'gropd_' is invalid in C99 [-Wimplicit-function-declaration]
        gropd_(ipnt,
        ^
xwin.c:8986:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
rdmol_(idebug,ipdbon,ioadd,istat)
^~~~~~
xwin.c:9001:2: warning: implicit declaration of function 'rdmod_' is invalid in C99 [-Wimplicit-function-declaration]
        rdmod_(idebug,ipdbon,ioadd,istat,
        ^
xwin.c:9031:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
wrmol_(iun,icel)
^~~~~~
xwin.c:9044:2: warning: implicit declaration of function 'wrmod_' is invalid in C99 [-Wimplicit-function-declaration]
        wrmod_(iun,icel,
        ^
xwin.c:9058:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
ispn_(ispn,iat,irng,idochg,ifive)
^~~~~
xwin.c:9074:2: warning: implicit declaration of function 'ispd_' is invalid in C99 [-Wimplicit-function-declaration]
        ispd_(ispn,iat,irng,idochg,ifive,
        ^
xwin.c:9087:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
wrcrys_(iun,icel)
^~~~~~~
xwin.c:9100:2: warning: implicit declaration of function 'wrcryd_' is invalid in C99 [-Wimplicit-function-declaration]
        wrcryd_(iun,icel,
        ^
xwin.c:9113:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
rdshlx_(idebug,istat)
^~~~~~~
xwin.c:9126:2: warning: implicit declaration of function 'rdshld_' is invalid in C99 [-Wimplicit-function-declaration]
        rdshld_(idebug,istat,
        ^
xwin.c:9139:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
rdcif_(idebug,istat)
^~~~~~
xwin.c:9152:2: warning: implicit declaration of function 'rdcifd_' is invalid in C99 [-Wimplicit-function-declaration]
        rdcifd_(idebug,istat,
        ^
xwin.c:9165:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
wrshlx_(iun,icel,idospf)
^~~~~~~
xwin.c:9179:2: warning: implicit declaration of function 'wrshld_' is invalid in C99 [-Wimplicit-function-declaration]
        wrshld_(iun,icel,idospf,
        ^
xwin.c:9192:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
wrcif_(iun,icel)
^~~~~~
xwin.c:9205:2: warning: implicit declaration of function 'wrcifd_' is invalid in C99 [-Wimplicit-function-declaration]
        wrcifd_(iun,icel,
        ^
xwin.c:9218:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
cllrot_(vec,irot,ifd)
^~~~~~~
xwin.c:9232:2: warning: implicit declaration of function 'cllrod_' is invalid in C99 [-Wimplicit-function-declaration]
        cllrod_(vec,irot,ifd,
        ^
xwin.c:9245:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
zm2fr_(cm,ctmp,imkeep)
^~~~~~
xwin.c:9259:2: warning: implicit declaration of function 'zm2fd_' is invalid in C99 [-Wimplicit-function-declaration]
        zm2fd_(cm,ctmp,imkeep,
        ^
xwin.c:9272:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
wrchx_(iun,icel)
^~~~~~
xwin.c:9285:2: warning: implicit declaration of function 'wrchd_' is invalid in C99 [-Wimplicit-function-declaration]
        wrchd_(iun,icel,
        ^
xwin.c:9298:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
rdmsi_(idebug,istat)
^~~~~~
xwin.c:9311:2: warning: implicit declaration of function 'rdmsd_' is invalid in C99 [-Wimplicit-function-declaration]
        rdmsd_(idebug,istat,
        ^
xwin.c:9324:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
wrmsi_(iun,icel)
^~~~~~
xwin.c:9337:2: warning: implicit declaration of function 'wrmsd_' is invalid in C99 [-Wimplicit-function-declaration]
        wrmsd_(iun,icel,
        ^
xwin.c:9350:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
rdcpmolu_(istats)
^~~~~~~~~
xwin.c:9362:2: warning: implicit declaration of function 'rdcpmold_' is invalid in C99 [-Wimplicit-function-declaration]
        rdcpmold_(istats,
        ^
xwin.c:9375:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
cpmdpt_(ipnt,istat)
^~~~~~~
xwin.c:9388:2: warning: implicit declaration of function 'cpmdpd_' is invalid in C99 [-Wimplicit-function-declaration]
        cpmdpd_(ipnt,istat,
        ^
xwin.c:9401:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
cpmdgetfr_(istat)
^~~~~~~~~~
xwin.c:9413:2: warning: implicit declaration of function 'cpmdgetfd_' is invalid in C99 [-Wimplicit-function-declaration]
        cpmdgetfd_(istat,
        ^
xwin.c:9426:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
cpmdptdyn_(ipnt,istat)
^~~~~~~~~~
xwin.c:9439:2: warning: implicit declaration of function 'cpmdptdyd_' is invalid in C99 [-Wimplicit-function-declaration]
        cpmdptdyd_(ipnt,istat,
        ^
xwin.c:9452:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
wrcpmd_(iun,icel)
^~~~~~~
xwin.c:9465:2: warning: implicit declaration of function 'wrcpdd_' is invalid in C99 [-Wimplicit-function-declaration]
        wrcpdd_(iun,icel,
        ^
xwin.c:9478:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
rdmolu_(sline,iemlin,idocoo,idobohr,istats)
^~~~~~~
xwin.c:9494:2: warning: implicit declaration of function 'rdmodu_' is invalid in C99 [-Wimplicit-function-declaration]
        rdmodu_(sline,iemlin,idocoo,idobohr,istats,
        ^
xwin.c:9507:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
gamupt_(ipnt,istat)
^~~~~~~
xwin.c:9520:2: warning: implicit declaration of function 'gamupd_' is invalid in C99 [-Wimplicit-function-declaration]
        gamupd_(ipnt,istat,
        ^
xwin.c:9533:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
ugetfr_(istat)
^~~~~~~
xwin.c:9545:2: warning: implicit declaration of function 'ugetfd_' is invalid in C99 [-Wimplicit-function-declaration]
        ugetfd_(istat,
        ^
xwin.c:9558:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
wrvasp_(iun)
^~~~~~~
xwin.c:9570:2: warning: implicit declaration of function 'wrvasd_' is invalid in C99 [-Wimplicit-function-declaration]
        wrvasd_(iun,
        ^
xwin.c:9583:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
wrmopa_(iun)
^~~~~~~
xwin.c:9595:2: warning: implicit declaration of function 'wrmopd_' is invalid in C99 [-Wimplicit-function-declaration]
        wrmopd_(iun,
        ^
xwin.c:9608:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
wrfc_(iun3)
^~~~~
xwin.c:9620:2: warning: implicit declaration of function 'wrfd_' is invalid in C99 [-Wimplicit-function-declaration]
        wrfd_(iun3,
        ^
xwin.c:9633:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
rdfc_(ipnt,istats)
^~~~~
xwin.c:9646:2: warning: implicit declaration of function 'rdfd_' is invalid in C99 [-Wimplicit-function-declaration]
        rdfd_(ipnt,istats,
        ^
xwin.c:9659:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
rdmsf_(idebug,istat)
^~~~~~
xwin.c:9672:2: warning: implicit declaration of function 'rdmdf_' is invalid in C99 [-Wimplicit-function-declaration]
        rdmdf_(idebug,istat,
        ^
xwin.c:9685:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
rdpdb_(istat)
^~~~~~
xwin.c:9697:2: warning: implicit declaration of function 'rdpdd_' is invalid in C99 [-Wimplicit-function-declaration]
        rdpdd_(istat,
        ^
xwin.c:9710:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
pdbstd_(istat,doscnd,ioadd)
^~~~~~~
xwin.c:9724:2: warning: implicit declaration of function 'pdbsdd_' is invalid in C99 [-Wimplicit-function-declaration]
        pdbsdd_(istat,doscnd,ioadd,
        ^
xwin.c:9753:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
conpdb_()
^~~~~~~
xwin.c:9764:2: warning: implicit declaration of function 'conpdd_' is invalid in C99 [-Wimplicit-function-declaration]
        conpdd_(
        ^
xwin.c:9777:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
convpdb_()
^~~~~~~~
xwin.c:9788:2: warning: implicit declaration of function 'convpdd_' is invalid in C99 [-Wimplicit-function-declaration]
        convpdd_(
        ^
xwin.c:9801:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
conslv_()
^~~~~~~
xwin.c:9812:2: warning: implicit declaration of function 'consld_' is invalid in C99 [-Wimplicit-function-declaration]
        consld_(
        ^
xwin.c:9825:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
connij_(idcon,i,j,idoconv)
^~~~~~~
xwin.c:9840:2: warning: implicit declaration of function 'connid_' is invalid in C99 [-Wimplicit-function-declaration]
        connid_(idcon,i,j,idoconv,
        ^
xwin.c:9853:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
setchg_(iat,iopt)
^~~~~~~
xwin.c:9866:2: warning: implicit declaration of function 'setchd_' is invalid in C99 [-Wimplicit-function-declaration]
        setchd_(iat,iopt,
        ^
xwin.c:9879:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
flagh_(ihpdb,iat)
^~~~~~
xwin.c:9892:2: warning: implicit declaration of function 'flagd_' is invalid in C99 [-Wimplicit-function-declaration]
        flagd_(ihpdb,iat,
        ^
xwin.c:9905:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
conat_(ipdb,iat1,iat2,iop)
^~~~~~
xwin.c:9920:2: warning: implicit declaration of function 'conad_' is invalid in C99 [-Wimplicit-function-declaration]
        conad_(ipdb,iat1,iat2,iop,
        ^
xwin.c:9933:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
conath_(ipdb,ihpdb,iat1,iat2)
^~~~~~~
xwin.c:9948:2: warning: implicit declaration of function 'conatd_' is invalid in C99 [-Wimplicit-function-declaration]
        conatd_(ipdb,ihpdb,iat1,iat2,
        ^
xwin.c:9961:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
pdbtyp_(ipdb,ihpdb,jres,ihashy)
^~~~~~~
xwin.c:9976:2: warning: implicit declaration of function 'pdbtyd_' is invalid in C99 [-Wimplicit-function-declaration]
        pdbtyd_(ipdb,ihpdb,jres,ihashy,
        ^
xwin.c:9989:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
typeit_(ipdb,jres,ihpdb,ihashy)
^~~~~~~
xwin.c:10004:2: warning: implicit declaration of function 'typeid_' is invalid in C99 [-Wimplicit-function-declaration]
        typeid_(ipdb,jres,ihpdb,ihashy,
        ^
xwin.c:10017:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
typamb_(ipdb,jres,ihpdb,ihashy)
^~~~~~~
xwin.c:10032:2: warning: implicit declaration of function 'typamd_' is invalid in C99 [-Wimplicit-function-declaration]
        typamd_(ipdb,jres,ihpdb,ihashy,
        ^
xwin.c:10045:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
typamo_(ipdb,jres,ihpdb,ihashy)
^~~~~~~
xwin.c:10060:2: warning: implicit declaration of function 'typado_' is invalid in C99 [-Wimplicit-function-declaration]
        typado_(ipdb,jres,ihpdb,ihashy,
        ^
xwin.c:10073:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
mkback_(ipdb,ihpdb,jres,icres,ihashy,idoconv)
^~~~~~~
xwin.c:10090:2: warning: implicit declaration of function 'mkbacd_' is invalid in C99 [-Wimplicit-function-declaration]
        mkbacd_(ipdb,ihpdb,jres,icres,ihashy,idoconv,
        ^
xwin.c:10103:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
mknbck_(ipdb,ihpdb,jres,icres,ihashy,idoconv)
^~~~~~~
xwin.c:10120:2: warning: implicit declaration of function 'mknbcd_' is invalid in C99 [-Wimplicit-function-declaration]
        mknbcd_(ipdb,ihpdb,jres,icres,ihashy,idoconv,
        ^
xwin.c:10133:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
addhs_(ires,jres,ipdb,ihpdb,nterm)
^~~~~~
xwin.c:10149:2: warning: implicit declaration of function 'addhd_' is invalid in C99 [-Wimplicit-function-declaration]
        addhd_(ires,jres,ipdb,ihpdb,nterm,
        ^
xwin.c:10163:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
numhet_(num)
^~~~~~~
xwin.c:10175:2: warning: implicit declaration of function 'numhed_' is invalid in C99 [-Wimplicit-function-declaration]
        numhed_(num,
        ^
xwin.c:10188:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
qcxyz_(idebug,nuclear,ipnt,istat)
^~~~~~
xwin.c:10203:2: warning: implicit declaration of function 'qcxyd_' is invalid in C99 [-Wimplicit-function-declaration]
        qcxyd_(idebug,nuclear,ipnt,istat,
        ^
xwin.c:10216:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
orcxyz_(idebug,ipnt,istat)
^~~~~~~
xwin.c:10230:2: warning: implicit declaration of function 'orcxyd_' is invalid in C99 [-Wimplicit-function-declaration]
        orcxyd_(idebug,ipnt,istat,
        ^
xwin.c:10243:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
getqfr_(istat)
^~~~~~~
xwin.c:10255:2: warning: implicit declaration of function 'getqfd_' is invalid in C99 [-Wimplicit-function-declaration]
        getqfd_(istat,
        ^
xwin.c:10268:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
getofr_(istat)
^~~~~~~
xwin.c:10280:2: warning: implicit declaration of function 'getofd_' is invalid in C99 [-Wimplicit-function-declaration]
        getofd_(istat,
        ^
xwin.c:10293:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
rotcor_(b)
^~~~~~~
xwin.c:10305:2: warning: implicit declaration of function 'rotcod_' is invalid in C99 [-Wimplicit-function-declaration]
        rotcod_(b,
        ^
xwin.c:10318:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
rotmom_(ipoint,favail)
^~~~~~~
xwin.c:10331:2: warning: implicit declaration of function 'rotmod_' is invalid in C99 [-Wimplicit-function-declaration]
        rotmod_(ipoint,favail,
        ^
xwin.c:10344:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
rotfir_(oxyz)
^~~~~~~
xwin.c:10356:2: warning: implicit declaration of function 'rotfid_' is invalid in C99 [-Wimplicit-function-declaration]
        rotfid_(oxyz,
        ^
xwin.c:10369:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
setorg_(iatom)
^~~~~~~
xwin.c:10381:2: warning: implicit declaration of function 'setord_' is invalid in C99 [-Wimplicit-function-declaration]
        setord_(iatom,
        ^
xwin.c:10394:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
samino_(istat)
^~~~~~~
xwin.c:10406:2: warning: implicit declaration of function 'samind_' is invalid in C99 [-Wimplicit-function-declaration]
        samind_(istat,
        ^
xwin.c:10419:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
getpdb_(ires,ipdb,ihpdb)
^~~~~~~
xwin.c:10433:2: warning: implicit declaration of function 'getpdd_' is invalid in C99 [-Wimplicit-function-declaration]
        getpdd_(ires,ipdb,ihpdb,
        ^
xwin.c:10446:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
bckok_(ibckok,ires,iop)
^~~~~~
xwin.c:10460:2: warning: implicit declaration of function 'bckod_' is invalid in C99 [-Wimplicit-function-declaration]
        bckod_(ibckok,ires,iop,
        ^
xwin.c:10473:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
wrsrf_(iun,nesp,iesp)
^~~~~~
xwin.c:10487:2: warning: implicit declaration of function 'wrsrd_' is invalid in C99 [-Wimplicit-function-declaration]
        wrsrd_(iun,nesp,iesp,
        ^
xwin.c:10500:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
rdsrf_(iun,istats,iesp,iaddprv,idebug)
^~~~~~
xwin.c:10516:2: warning: implicit declaration of function 'rdsrd_' is invalid in C99 [-Wimplicit-function-declaration]
        rdsrd_(iun,istats,iesp,iaddprv,idebug,
        ^
xwin.c:10529:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
srfden_(x,y,z,f)
^~~~~~~
xwin.c:10544:2: warning: implicit declaration of function 'srfded_' is invalid in C99 [-Wimplicit-function-declaration]
        srfded_(x,y,z,f,
        ^
xwin.c:10557:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
defsrf_()
^~~~~~~
xwin.c:10568:2: warning: implicit declaration of function 'defsrd_' is invalid in C99 [-Wimplicit-function-declaration]
        defsrd_(
        ^
xwin.c:10581:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
clrmon_()
^~~~~~~
xwin.c:10592:2: warning: implicit declaration of function 'clrmod_' is invalid in C99 [-Wimplicit-function-declaration]
        clrmod_(
        ^
xwin.c:10605:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
intcor_(intc,rout,isel,inum)
^~~~~~~
xwin.c:10620:2: warning: implicit declaration of function 'intcod_' is invalid in C99 [-Wimplicit-function-declaration]
        intcod_(intc,rout,isel,inum,
        ^
xwin.c:10633:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
xyzcoo_(idocopy,idoconv,ioadd)
^~~~~~~
xwin.c:10647:2: warning: implicit declaration of function 'xyzcod_' is invalid in C99 [-Wimplicit-function-declaration]
        xyzcod_(idocopy,idoconv,ioadd,
        ^
xwin.c:10660:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
wrmsf_(iun,icel)
^~~~~~
xwin.c:10673:2: warning: implicit declaration of function 'wrmsfd_' is invalid in C99 [-Wimplicit-function-declaration]
        wrmsfd_(iun,icel,
        ^
xwin.c:10687:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
wrtnk_(iun)
^~~~~~
xwin.c:10699:2: warning: implicit declaration of function 'wrtnd_' is invalid in C99 [-Wimplicit-function-declaration]
        wrtnd_(iun,
        ^
xwin.c:10712:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
wrgff_(iun)
^~~~~~
xwin.c:10724:2: warning: implicit declaration of function 'wrgfd_' is invalid in C99 [-Wimplicit-function-declaration]
        wrgfd_(iun,
        ^
xwin.c:10737:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
wrogl_(iun)
^~~~~~
xwin.c:10749:2: warning: implicit declaration of function 'wrogd_' is invalid in C99 [-Wimplicit-function-declaration]
        wrogd_(iun,
        ^
xwin.c:10763:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
gettnk_(igttnk,idebug,ipdbon,iffset,iheat,heat)
^~~~~~~
xwin.c:10780:2: warning: implicit declaration of function 'gettnd_' is invalid in C99 [-Wimplicit-function-declaration]
        gettnd_(igttnk,idebug,ipdbon,iffset,iheat,heat,
        ^
xwin.c:10808:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
dotyp_(icel)
^~~~~~
xwin.c:10820:2: warning: implicit declaration of function 'dotyd_' is invalid in C99 [-Wimplicit-function-declaration]
        dotyd_(icel,
        ^
xwin.c:10834:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
espfit_(idip,nesp,esp,connl,dx,dy,dz,iz,dmachg,ichadd)
^~~~~~~
xwin.c:10855:2: warning: implicit declaration of function 'espfid_' is invalid in C99 [-Wimplicit-function-declaration]
        espfid_(idip,nesp,esp,connl,dx,dy,dz,iz,dmachg,ichadd,
        ^
xwin.c:10868:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
allzmt_(ipdbon)
^~~~~~~
xwin.c:10880:2: warning: implicit declaration of function 'allzmd_' is invalid in C99 [-Wimplicit-function-declaration]
        allzmd_(ipdbon,
        ^
xwin.c:10893:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
ligzmt_()
^~~~~~~
xwin.c:10904:2: warning: implicit declaration of function 'ligzmd_' is invalid in C99 [-Wimplicit-function-declaration]
        ligzmd_(
        ^
xwin.c:10917:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
pdbzmt_()
^~~~~~~
xwin.c:10928:2: warning: implicit declaration of function 'pdbzmd_' is invalid in C99 [-Wimplicit-function-declaration]
        pdbzmd_(
        ^
xwin.c:10941:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
intzmt_(ispdb)
^~~~~~~
xwin.c:10953:2: warning: implicit declaration of function 'intzmd_' is invalid in C99 [-Wimplicit-function-declaration]
        intzmd_(ispdb,
        ^
xwin.c:10966:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
icrcon_(icrcon,isel,idisc,ndisc,nanz,ispdb)
^~~~~~~
xwin.c:10983:2: warning: implicit declaration of function 'icrcod_' is invalid in C99 [-Wimplicit-function-declaration]
        icrcod_(icrcon,isel,idisc,ndisc,nanz,ispdb,
        ^
xwin.c:10996:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
calcx_(ical,isel,nx)
^~~~~~
xwin.c:11010:2: warning: implicit declaration of function 'calcd_' is invalid in C99 [-Wimplicit-function-declaration]
        calcd_(ical,isel,nx,
        ^
xwin.c:11023:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
prelea_(iprel,ilead,isel,ispdb,ithree)
^~~~~~~
xwin.c:11039:2: warning: implicit declaration of function 'prelead_' is invalid in C99 [-Wimplicit-function-declaration]
        prelead_(iprel,ilead,isel,ispdb,ithree,
        ^
xwin.c:11052:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
preleh_(iprel,ilead,isel,ispdb,ithree)
^~~~~~~
xwin.c:11068:2: warning: implicit declaration of function 'prelehd_' is invalid in C99 [-Wimplicit-function-declaration]
        prelehd_(iprel,ilead,isel,ispdb,ithree,
        ^
xwin.c:11081:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
rdbas_(idebug,dfree,istats)
^~~~~~
xwin.c:11095:2: warning: implicit declaration of function 'rdbad_' is invalid in C99 [-Wimplicit-function-declaration]
        rdbad_(idebug,dfree,istats,
        ^
xwin.c:11108:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
setis_(nset,istart)
^~~~~~
xwin.c:11121:2: warning: implicit declaration of function 'setid_' is invalid in C99 [-Wimplicit-function-declaration]
        setid_(nset,istart,
        ^
xwin.c:11134:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
clkbck_(istsurf,incp,ifogl)
^~~~~~~
xwin.c:11148:2: warning: implicit declaration of function 'clkbcd_' is invalid in C99 [-Wimplicit-function-declaration]
        clkbcd_(istsurf,incp,ifogl,
        ^
xwin.c:11161:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
newfil_(idebug,istat,inc,ioadd,ioatms,nstrt,namols,nxtmf,ipdbon,namls)
^~~~~~~
xwin.c:11182:2: warning: implicit declaration of function 'newfid_' is invalid in C99 [-Wimplicit-function-declaration]
        newfid_(idebug,istat,inc,ioadd,ioatms,nstrt,namols,nxtmf,ipdbon,namls,
        ^
xwin.c:11195:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
setarr_(iop,iopval,ioatms)
^~~~~~~
xwin.c:11209:2: warning: implicit declaration of function 'setard_' is invalid in C99 [-Wimplicit-function-declaration]
        setard_(iop,iopval,ioatms,
        ^
xwin.c:11222:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
epvrml_(vdwr,moddma,natoms,norbs,idops)
^~~~~~~
xwin.c:11238:2: warning: implicit declaration of function 'epvrmd_' is invalid in C99 [-Wimplicit-function-declaration]
        epvrmd_(vdwr,moddma,natoms,norbs,idops,
        ^
xwin.c:11251:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
clrcod_(natorg,natoms,idebug)
^~~~~~~
xwin.c:11265:2: warning: implicit declaration of function 'clrcdd_' is invalid in C99 [-Wimplicit-function-declaration]
        clrcdd_(natorg,natoms,idebug,
        ^
xwin.c:11278:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
wrxyz_(jmod)
^~~~~~
xwin.c:11290:2: warning: implicit declaration of function 'wrxyd_' is invalid in C99 [-Wimplicit-function-declaration]
        wrxyd_(jmod,
        ^
xwin.c:11303:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
progeo_(ipoints,iff,istat)
^~~~~~~
xwin.c:11317:2: warning: implicit declaration of function 'proged_' is invalid in C99 [-Wimplicit-function-declaration]
        proged_(ipoints,iff,istat,
        ^
xwin.c:11331:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
wrcart_(iun,dopdb,idogau,ipdbwh)
^~~~~~~
xwin.c:11346:2: warning: implicit declaration of function 'wrcard_' is invalid in C99 [-Wimplicit-function-declaration]
        wrcard_(iun,dopdb,idogau,ipdbwh,
        ^
xwin.c:11360:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
dyncpmd_(ipoints)
^~~~~~~~
xwin.c:11372:2: warning: implicit declaration of function 'dyncpdd_' is invalid in C99 [-Wimplicit-function-declaration]
        dyncpdd_(ipoints,
        ^
xwin.c:11385:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
plvend_(iun,loop)
^~~~~~~
xwin.c:11398:2: warning: implicit declaration of function 'plvedd_' is invalid in C99 [-Wimplicit-function-declaration]
        plvedd_(iun,loop,
        ^
xwin.c:11490:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
qupd_()
^~~~~
xwin.c:11522:18: warning: implicit declaration of function 'dlogo_' is invalid in C99 [-Wimplicit-function-declaration]
      if (*logo) dlogo_();
                 ^
xwin.c:11523:7: warning: implicit declaration of function 'doexp_' is invalid in C99 [-Wimplicit-function-declaration]
      doexp_();
      ^
xwin.c:11544:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
SetSurfColor(i,j)
^~~~~~~~~~~~
xwin.c:11555:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
sizz(i,j,iset)
^~~~
xwin.c:11727:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
xwin_(x, y, icomm, str, nstr, inct, incp)
^~~~~
xwin.c:11777:8: warning: implicit declaration of function 'DirBox' is invalid in C99 [-Wimplicit-function-declaration]
       DirBox(winC,1);    
       ^
xwin.c:11786:20: warning: implicit declaration of function 'actde' is invalid in C99 [-Wimplicit-function-declaration]
    if ( DoactC ) {actde(*inct,*incp,1);DoactC = 0;}
                   ^
xwin.c:11809:12: warning: implicit declaration of function 'mktrn_' is invalid in C99 [-Wimplicit-function-declaration]
           mktrn_(&holdt,&holdp);
           ^
xwin.c:11834:10: warning: implicit declaration of function 'KeyChk' is invalid in C99 [-Wimplicit-function-declaration]
                   if (KeyChk(&qboxes[i],buf[0])) 
                       ^
xwin.c:11885:8: warning: implicit declaration of function 'OnTop' is invalid in C99 [-Wimplicit-function-declaration]
                   { OnTop(); }
                     ^
xwin.c:11924:18: warning: implicit declaration of function 'RedrawWin' is invalid in C99 [-Wimplicit-function-declaration]
                 RedrawWin();
                 ^
xwin.c:11938:13: warning: implicit declaration of function 'PressList' is invalid in C99 [-Wimplicit-function-declaration]
               if (PressList(&elist,event.xbutton.x, event.xbutton.y)) {
                   ^
xwin.c:12015:7: warning: implicit declaration of function 'Clickwin' is invalid in C99 [-Wimplicit-function-declaration]
                i = Clickwin(qboxclose,2,event.xbutton.x,event.xbutton.y,1);
                    ^
xwin.c:12026:4: warning: implicit declaration of function 'QBoxPaste' is invalid in C99 [-Wimplicit-function-declaration]
                        QBoxPaste(event.xbutton.window,qboxes,NQBOX);
                        ^
xwin.c:12031:8: warning: implicit declaration of function 'ButtonsMAP' is invalid in C99 [-Wimplicit-function-declaration]
                        if (ButtonsMAP(i)) return(0);
                            ^
xwin.c:12033:8: warning: implicit declaration of function 'ClickBox' is invalid in C99 [-Wimplicit-function-declaration]
                        i = ClickBox(&qboxes[QVFILE],8,
                            ^
xwin.c:12038:5: warning: implicit declaration of function 'RedrawMAP' is invalid in C99 [-Wimplicit-function-declaration]
                                RedrawMAP();
                                ^
xwin.c:12046:8: warning: implicit declaration of function 'ButtonsVIR' is invalid in C99 [-Wimplicit-function-declaration]
                        if (ButtonsVIR(i)) return(0);
                            ^
xwin.c:12054:5: warning: implicit declaration of function 'RedrawVIR' is invalid in C99 [-Wimplicit-function-declaration]
                                RedrawVIR();
                                ^
xwin.c:12070:8: warning: implicit declaration of function 'TogBut' is invalid in C99 [-Wimplicit-function-declaration]
                        if (TogBut(&dbut[BPSI])) {
                            ^
xwin.c:12079:9: warning: implicit declaration of function 'DoPopUp' is invalid in C99 [-Wimplicit-function-declaration]
                                if (DoPopUp(winC,dbut[BPSI].x+1,
                                    ^
xwin.c:12085:11: warning: implicit declaration of function 'DefList' is invalid in C99 [-Wimplicit-function-declaration]
                                DefList(&elist,EBox,DIRX,DIRY,DIRW,DIRH,
                                ^
xwin.c:12130:5: warning: implicit declaration of function 'qboxstr' is invalid in C99 [-Wimplicit-function-declaration]
                                qboxstr(&qboxes[QPOST],NULL,1,0,-1,DEFQX,DEFQY,
                                ^
xwin.c:12146:11: warning: implicit declaration of function 'TogUp' is invalid in C99 [-Wimplicit-function-declaration]
                                   TogUp(&dbut[BCOMM]);
                                   ^
xwin.c:12157:30: warning: implicit declaration of function 'ActBut' is invalid in C99 [-Wimplicit-function-declaration]
                             ActBut(&dbut[BCONT],1);
                             ^
xwin.c:12163:30: warning: implicit declaration of function 'DrwBut' is invalid in C99 [-Wimplicit-function-declaration]
                             DrwBut(&dbut[BCONT]);
                             ^
xwin.c:12196:9: warning: implicit declaration of function 'bldlst_' is invalid in C99 [-Wimplicit-function-declaration]
                             bldlst_();
                             ^
xwin.c:12279:5: warning: implicit declaration of function 'InitMAP' is invalid in C99 [-Wimplicit-function-declaration]
                                InitMAP();
                                ^
xwin.c:12282:8: warning: implicit declaration of function 'InitVIR' is invalid in C99 [-Wimplicit-function-declaration]
                                   InitVIR();
                                   ^
xwin.c:12307:7: warning: implicit declaration of function 'TogDown' is invalid in C99 [-Wimplicit-function-declaration]
                           TogDown(&dbut[BCOMM]);
                           ^
xwin.c:12321:13: warning: implicit declaration of function 'FreeAll' is invalid in C99 [-Wimplicit-function-declaration]
                          FreeAll();
                          ^
xwin.c:12399:8: warning: implicit declaration of function 'SetExplButton' is invalid in C99 [-Wimplicit-function-declaration]
              SetExplButton(event.xmotion.window,
              ^
xwin.c:12591:20: warning: implicit declaration of function 'RedrawwinC' is invalid in C99 [-Wimplicit-function-declaration]
                   RedrawwinC(0,0,WINCWIDE,WINCHIGH);}
                   ^
xwin.c:12600:4: warning: implicit declaration of function 'PromptBox' is invalid in C99 [-Wimplicit-function-declaration]
                        PromptBox(&qboxes[i]);
                        ^
xwin.c:12602:45: warning: implicit declaration of function 'RedrawCOMMwin' is invalid in C99 [-Wimplicit-function-declaration]
              if (event.xexpose.window == COMMwin) RedrawCOMMwin();
                                                   ^
xwin.c:12603:42: warning: implicit declaration of function 'RedrawList' is invalid in C99 [-Wimplicit-function-declaration]
              if (event.xexpose.window == EBox) RedrawList(&elist);
                                                ^
xwin.c:12700:25: warning: implicit declaration of function 'getfiles' is invalid in C99 [-Wimplicit-function-declaration]
       if (nfiles == 0) getfiles(lastdir);
                        ^
xwin.c:12719:2: warning: implicit declaration of function 'doclr' is invalid in C99 [-Wimplicit-function-declaration]
        doclr();
        ^
xwin.c:12746:3: warning: implicit declaration of function 'SwitchOffAnim' is invalid in C99 [-Wimplicit-function-declaration]
                SwitchOffAnim();
                ^
xwin.c:12772:2: warning: implicit declaration of function 'AnimLinks' is invalid in C99 [-Wimplicit-function-declaration]
        AnimLinks(vartmp);
        ^
xwin.c:12840:12: warning: implicit declaration of function 'mapchk' is invalid in C99 [-Wimplicit-function-declaration]
                    if (!mapchk()) map_prop();
                         ^
xwin.c:12840:22: warning: implicit declaration of function 'map_prop' is invalid in C99 [-Wimplicit-function-declaration]
                    if (!mapchk()) map_prop();
                                   ^
xwin.c:12841:7: warning: implicit declaration of function 'DeActZME' is invalid in C99 [-Wimplicit-function-declaration]
                    DeActZME(); GetQZME(); UpdateZME(); 
                    ^
xwin.c:12841:19: warning: implicit declaration of function 'GetQZME' is invalid in C99 [-Wimplicit-function-declaration]
                    DeActZME(); GetQZME(); UpdateZME(); 
                                ^
xwin.c:12841:30: warning: implicit declaration of function 'UpdateZME' is invalid in C99 [-Wimplicit-function-declaration]
                    DeActZME(); GetQZME(); UpdateZME(); 
                                           ^
xwin.c:12842:7: warning: implicit declaration of function 'FindZRangeFromBox' is invalid in C99 [-Wimplicit-function-declaration]
                    FindZRangeFromBox(isl);
                    ^
xwin.c:12848:5: warning: implicit declaration of function 'aaexp' is invalid in C99 [-Wimplicit-function-declaration]
                                aaexp(EXPbox[0].str,strlen(EXPbox[0].str));
                                ^
xwin.c:12880:7: warning: implicit declaration of function 'createauthor' is invalid in C99 [-Wimplicit-function-declaration]
                           createauthor();gijsup = 1;
                           ^
xwin.c:12945:25: warning: implicit declaration of function 'ApplSel' is invalid in C99 [-Wimplicit-function-declaration]
                        ApplSel(0);
                        ^
xwin.c:12999:8: warning: implicit declaration of function 'ScreenPDB' is invalid in C99 [-Wimplicit-function-declaration]
                        if (ScreenPDB(curx,cury)) {
                            ^
xwin.c:13020:17: warning: implicit declaration of function 'FindSel' is invalid in C99 [-Wimplicit-function-declaration]
                    *incp = 1+FindSel(xyz.iaton,xyz.iyp,xyz.ixp,*xyz.iatoms,
                              ^
xwin.c:13024:12: warning: implicit declaration of function 'DelAmino' is invalid in C99 [-Wimplicit-function-declaration]
                        idum1 = DelAmino(xyz.iresid[*incp-1]);
                                ^
xwin.c:13031:7: warning: implicit declaration of function 'RedrawSEQ' is invalid in C99 [-Wimplicit-function-declaration]
                           RedrawSEQ();
                           ^
xwin.c:13033:7: warning: implicit declaration of function 'InitSEQ' is invalid in C99 [-Wimplicit-function-declaration]
                           InitSEQ(event.xbutton.x_root,
                           ^
xwin.c:13078:4: warning: implicit declaration of function 'RedrawStatus' is invalid in C99 [-Wimplicit-function-declaration]
                        RedrawStatus();
                        ^
xwin.c:13115:5: warning: implicit declaration of function 'cllvec_' is invalid in C99 [-Wimplicit-function-declaration]
                                cllvec_(asel,&anum,xyz.coo);
                                ^
xwin.c:13128:21: warning: implicit declaration of function 'SelZME' is invalid in C99 [-Wimplicit-function-declaration]
                       } else if (SelZME(asel)) {
                                  ^
xwin.c:13137:6: warning: implicit declaration of function 'tomold_' is invalid in C99 [-Wimplicit-function-declaration]
                          tomold_(&aret,asel,&anum);
                          ^
xwin.c:13140:6: warning: implicit declaration of function 'MkDistWin' is invalid in C99 [-Wimplicit-function-declaration]
                          MkDistWin(asel,anum,aret);
                          ^
xwin.c:13150:11: warning: implicit declaration of function 'ScreenZME' is invalid in C99 [-Wimplicit-function-declaration]
                    if (ScreenZME(event.xbutton.x,event.xbutton.y) && ZMEup) {
                        ^
xwin.c:13154:10: warning: implicit declaration of function 'AmiCom' is invalid in C99 [-Wimplicit-function-declaration]
                                if ( AmiCom(1,event.xbutton.x,event.xbutton.y)) return(0);
                                     ^
xwin.c:13156:13: warning: implicit declaration of function 'GetFrag' is invalid in C99 [-Wimplicit-function-declaration]
                                iret = GetFrag(1,event.xbutton.x,event.xbutton.y);
                                       ^
xwin.c:13174:27: warning: while loop has empty body [-Wempty-body]
                                ButtonRelease,&event));
                                                      ^
xwin.c:13174:27: note: put the semicolon on a separate line to silence this warning
xwin.c:13184:11: warning: implicit declaration of function 'ChangeLevel' is invalid in C99 [-Wimplicit-function-declaration]
                           if (ChangeLevel(event.xbutton.button,
                               ^
xwin.c:13188:8: warning: implicit declaration of function 'FindEsp' is invalid in C99 [-Wimplicit-function-declaration]
                        if (FindEsp(event.xbutton.button,
                            ^
xwin.c:13204:7: warning: implicit declaration of function 'UpdateATM' is invalid in C99 [-Wimplicit-function-declaration]
                           UpdateATM();
                           ^
xwin.c:13206:7: warning: implicit declaration of function 'RedrawATM' is invalid in C99 [-Wimplicit-function-declaration]
                           RedrawATM();
                           ^
xwin.c:13208:7: warning: implicit declaration of function 'InitATM' is invalid in C99 [-Wimplicit-function-declaration]
                           InitATM(event.xbutton.x_root,event.xbutton.y_root);
                           ^
xwin.c:13297:8: warning: implicit declaration of function 'ButtonsSCO' is invalid in C99 [-Wimplicit-function-declaration]
                        if (ButtonsSCO(i)) return(0);
                            ^
xwin.c:13305:8: warning: implicit declaration of function 'ButtonsPMF' is invalid in C99 [-Wimplicit-function-declaration]
                        if (ButtonsPMF(i)) return(0);
                            ^
xwin.c:13319:7: warning: implicit declaration of function 'drwspec' is invalid in C99 [-Wimplicit-function-declaration]
                           drwspec();
                           ^
xwin.c:13354:7: warning: implicit declaration of function 'drwgeo_' is invalid in C99 [-Wimplicit-function-declaration]
                           drwgeo_();
                           ^
xwin.c:13376:6: warning: implicit declaration of function 'showresrot' is invalid in C99 [-Wimplicit-function-declaration]
                   showresrot(flxlist.select);
                   ^
xwin.c:13381:7: warning: implicit declaration of function 'PressZME' is invalid in C99 [-Wimplicit-function-declaration]
                if (PressZME(event.xbutton.button, event.xbutton.x, event.xbutton.y)) return(0);
                    ^
xwin.c:13447:8: warning: implicit declaration of function 'RedrawFwin' is invalid in C99 [-Wimplicit-function-declaration]
                     RedrawFwin();
                     ^
xwin.c:13459:18: warning: implicit declaration of function 'RedrawwinMC' is invalid in C99 [-Wimplicit-function-declaration]
                 RedrawwinMC(0,0,WINMCWIDE,WINMCHIGH);
                 ^
xwin.c:13496:4: warning: implicit declaration of function 'WinName' is invalid in C99 [-Wimplicit-function-declaration]
                 WinName(win,strname);
                 ^
xwin.c:13534:4: warning: implicit declaration of function 'RedrawZME' is invalid in C99 [-Wimplicit-function-declaration]
                 RedrawZME(); XSync(display,False);
                 ^
xwin.c:13603:12: warning: implicit declaration of function 'ButtonsDIST' is invalid in C99 [-Wimplicit-function-declaration]
                     if (ButtonsDIST(i)) return(0);
                         ^
xwin.c:13610:4: warning: implicit declaration of function 'RButtonsCOL' is invalid in C99 [-Wimplicit-function-declaration]
                        RButtonsCOL(i);
                        ^
xwin.c:13615:8: warning: implicit declaration of function 'ButtonsCOL' is invalid in C99 [-Wimplicit-function-declaration]
                            ButtonsCOL(i);
                            ^
xwin.c:13625:8: warning: implicit declaration of function 'ButtonsSEQ' is invalid in C99 [-Wimplicit-function-declaration]
                        if (ButtonsSEQ(i)) return(0);
                            ^
xwin.c:13642:8: warning: implicit declaration of function 'ButtonsTNK' is invalid in C99 [-Wimplicit-function-declaration]
                        if (ButtonsTNK(i)) return(0);
                            ^
xwin.c:13652:5: warning: implicit declaration of function 'RedrawTNK' is invalid in C99 [-Wimplicit-function-declaration]
                                RedrawTNK();
                                ^
xwin.c:13658:9: warning: implicit declaration of function 'ButtonsCP' is invalid in C99 [-Wimplicit-function-declaration]
                  if (ButtonsCP(event.xbutton.x, event.xbutton.y)) {
                      ^
xwin.c:13665:13: warning: implicit declaration of function 'ButtonsCT' is invalid in C99 [-Wimplicit-function-declaration]
                  CTtmp = ButtonsCT(event.xbutton.x, event.xbutton.y);
                          ^
xwin.c:13677:8: warning: implicit declaration of function 'ButtonsISO' is invalid in C99 [-Wimplicit-function-declaration]
                        if (ButtonsISO(i)) {
                            ^
xwin.c:13690:5: warning: implicit declaration of function 'RedrawISO' is invalid in C99 [-Wimplicit-function-declaration]
                                RedrawISO();
                                ^
xwin.c:13698:8: warning: implicit declaration of function 'ButtonsATM' is invalid in C99 [-Wimplicit-function-declaration]
                        if (ButtonsATM(i)) {
                            ^
xwin.c:13724:8: warning: implicit declaration of function 'ButtonsSPC' is invalid in C99 [-Wimplicit-function-declaration]
                        if (ButtonsSPC(i)) {
                            ^
xwin.c:13742:8: warning: implicit declaration of function 'ButtonsONI' is invalid in C99 [-Wimplicit-function-declaration]
                        if (ButtonsONI(i)) {
                            ^
xwin.c:13752:8: warning: implicit declaration of function 'ButtonsSUB' is invalid in C99 [-Wimplicit-function-declaration]
                        if (ButtonsSUB(i)) {
                            ^
xwin.c:13769:5: warning: implicit declaration of function 'RedrawSUB' is invalid in C99 [-Wimplicit-function-declaration]
                                RedrawSUB();
                                ^
xwin.c:13796:11: warning: implicit declaration of function 'ScrollPage' is invalid in C99 [-Wimplicit-function-declaration]
                    if (ScrollPage(NULL,&dptscr[0],event.xbutton.x,
                        ^
xwin.c:13798:4: warning: implicit declaration of function 'UpdateDPT' is invalid in C99 [-Wimplicit-function-declaration]
                        UpdateDPT();
                        ^
xwin.c:13805:4: warning: implicit declaration of function 'SetPalCol' is invalid in C99 [-Wimplicit-function-declaration]
                        SetPalCol(1);
                        ^
xwin.c:13827:8: warning: implicit declaration of function 'ButtonsDEL' is invalid in C99 [-Wimplicit-function-declaration]
                        if (ButtonsDEL(i)) idum1 = 0;
                            ^
xwin.c:13835:8: warning: implicit declaration of function 'ButtonsSRF' is invalid in C99 [-Wimplicit-function-declaration]
                        if (ButtonsSRF(i)) idum1 = 0;
                            ^
xwin.c:13843:8: warning: implicit declaration of function 'ButtonsFLX' is invalid in C99 [-Wimplicit-function-declaration]
                        if (ButtonsFLX(i)) idum1 = 0;
                            ^
xwin.c:13851:8: warning: implicit declaration of function 'ButtonsCHG' is invalid in C99 [-Wimplicit-function-declaration]
                        if (ButtonsCHG(i)) return(0);
                            ^
xwin.c:13859:8: warning: implicit declaration of function 'ButtonsPAR' is invalid in C99 [-Wimplicit-function-declaration]
                        if (ButtonsPAR(i)) return(0);
                            ^
xwin.c:13869:5: warning: implicit declaration of function 'RedrawPAR' is invalid in C99 [-Wimplicit-function-declaration]
                                RedrawPAR();
                                ^
xwin.c:13887:49: warning: implicit declaration of function 'InitDelay' is invalid in C99 [-Wimplicit-function-declaration]
                 case BHOUR:  update_model = 0; InitDelay(); break;
                                                ^
xwin.c:13994:16: warning: implicit declaration of function 'UnMapZME' is invalid in C99 [-Wimplicit-function-declaration]
                                if (ZMEup) UnMapZME();
                                           ^
xwin.c:14055:9: warning: implicit declaration of function 'InitISO' is invalid in C99 [-Wimplicit-function-declaration]
                                           InitISO(event.xbutton.x_root,
                                           ^
xwin.c:14095:8: warning: implicit declaration of function 'inichg' is invalid in C99 [-Wimplicit-function-declaration]
                                   inichg(ieemopt);
                                   ^
xwin.c:14104:9: warning: implicit declaration of function 'molsrf' is invalid in C99 [-Wimplicit-function-declaration]
                                    molsrf(iii);
                                    ^
xwin.c:14142:9: warning: implicit declaration of function 'putxyz_' is invalid in C99 [-Wimplicit-function-declaration]
                                           putxyz_();
                                           ^
xwin.c:14155:6: warning: implicit declaration of function 'calelt_' is invalid in C99 [-Wimplicit-function-declaration]
                                        calelt_();
                                        ^
xwin.c:14172:9: warning: implicit declaration of function 'prtdip_' is invalid in C99 [-Wimplicit-function-declaration]
                                           prtdip_();
                                           ^
xwin.c:14200:21: warning: implicit declaration of function 'InitPar' is invalid in C99 [-Wimplicit-function-declaration]
                                        if (itmp == 3) InitPar();
                                                       ^
xwin.c:14305:10: warning: implicit declaration of function 'StatusStr' is invalid in C99 [-Wimplicit-function-declaration]
                              StatusStr(0,1);
                              ^
xwin.c:14320:6: warning: implicit declaration of function 'mkcell_' is invalid in C99 [-Wimplicit-function-declaration]
                                        mkcell_(xyz.coo,xyz.ianz,xyz.iatclr,xyz.iconn);
                                        ^
xwin.c:14348:8: warning: implicit declaration of function 'CreateCellPar' is invalid in C99 [-Wimplicit-function-declaration]
                                   CreateCellPar();
                                   ^
xwin.c:14360:8: warning: implicit declaration of function 'InitCellDelTrans' is invalid in C99 [-Wimplicit-function-declaration]
                                   InitCellDelTrans();
                                   ^
xwin.c:14393:9: warning: implicit declaration of function 'createfr' is invalid in C99 [-Wimplicit-function-declaration]
                                           createfr();
                                           ^
xwin.c:14394:9: warning: implicit declaration of function 'createspec' is invalid in C99 [-Wimplicit-function-declaration]
                                           createspec();
                                           ^
xwin.c:14520:8: warning: implicit declaration of function 'WriteCML' is invalid in C99 [-Wimplicit-function-declaration]
                                   WriteCML();
                                   ^
xwin.c:14567:11: warning: implicit declaration of function 'DoPDB' is invalid in C99 [-Wimplicit-function-declaration]
                                        if (!DoPDB()) break;
                                             ^
xwin.c:14585:8: warning: implicit declaration of function 'InitZME' is invalid in C99 [-Wimplicit-function-declaration]
                                   InitZME(); 
                                   ^
xwin.c:14640:8: warning: implicit declaration of function 'WriteRes' is invalid in C99 [-Wimplicit-function-declaration]
                                   WriteRes();
                                   ^
xwin.c:14675:20: warning: implicit declaration of function 'InitCOL' is invalid in C99 [-Wimplicit-function-declaration]
                                   if (!COLup) InitCOL();
                                               ^
xwin.c:14684:19: warning: implicit declaration of function 'EditCOL' is invalid in C99 [-Wimplicit-function-declaration]
                                        if (!ECOLup) EditCOL();
                                                     ^
xwin.c:14688:6: warning: implicit declaration of function 'ResetColors' is invalid in C99 [-Wimplicit-function-declaration]
                                        ResetColors();
                                        ^
xwin.c:14691:18: warning: implicit declaration of function 'InitDPT' is invalid in C99 [-Wimplicit-function-declaration]
                                        if (!DPTup) InitDPT();
                                                    ^
xwin.c:14869:38: warning: implicit declaration of function 'createconv' is invalid in C99 [-Wimplicit-function-declaration]
                                    {createconv();cnvup = 1;}
                                     ^
xwin.c:14879:6: warning: implicit declaration of function 'creategeom' is invalid in C99 [-Wimplicit-function-declaration]
                                        creategeom();
                                        ^
xwin.c:14904:8: warning: implicit declaration of function 'motion_screen' is invalid in C99 [-Wimplicit-function-declaration]
              motion_screen(inct,incp);
              ^
xwin.c:14911:4: warning: implicit declaration of function 'parse_motion' is invalid in C99 [-Wimplicit-function-declaration]
                        parse_motion(&scfEfirst);
                        ^
xwin.c:15040:44: warning: implicit declaration of function 'RedrawONI' is invalid in C99 [-Wimplicit-function-declaration]
              if (event.xexpose.window == ONIwin) RedrawONI();
                                                  ^
xwin.c:15041:44: warning: implicit declaration of function 'RedrawRESwin' is invalid in C99 [-Wimplicit-function-declaration]
              if (event.xexpose.window == RESwin) RedrawRESwin();
                                                  ^
xwin.c:15044:44: warning: implicit declaration of function 'RedrawCOL' is invalid in C99 [-Wimplicit-function-declaration]
              if (event.xexpose.window == COLwin) RedrawCOL();
                                                  ^
xwin.c:15045:45: warning: implicit declaration of function 'RedrawECOL' is invalid in C99 [-Wimplicit-function-declaration]
              if (event.xexpose.window == ECOLwin) RedrawECOL();
                                                   ^
xwin.c:15046:44: warning: implicit declaration of function 'RedrawDPT' is invalid in C99 [-Wimplicit-function-declaration]
              if (event.xexpose.window == DPTwin) RedrawDPT();
                                                  ^
xwin.c:15047:52: warning: implicit declaration of function 'RedrawDIST' is invalid in C99 [-Wimplicit-function-declaration]
              if (event.xexpose.window == DISTwin) RedrawDIST();
                                                   ^
xwin.c:15051:43: warning: implicit declaration of function 'RedrawCP' is invalid in C99 [-Wimplicit-function-declaration]
              if (event.xexpose.window == CPwin) RedrawCP();
                                                 ^
xwin.c:15052:43: warning: implicit declaration of function 'RedrawCT' is invalid in C99 [-Wimplicit-function-declaration]
              if (event.xexpose.window == CTwin) RedrawCT();
                                                 ^
xwin.c:15055:46: warning: implicit declaration of function 'RedrawDEL' is invalid in C99 [-Wimplicit-function-declaration]
              if (event.xexpose.window == DELAYwin) RedrawDEL();
                                                    ^
xwin.c:15056:44: warning: implicit declaration of function 'RedrawSRF' is invalid in C99 [-Wimplicit-function-declaration]
              if (event.xexpose.window == SRFwin) RedrawSRF();
                                                  ^
xwin.c:15057:44: warning: implicit declaration of function 'RedrawFLX' is invalid in C99 [-Wimplicit-function-declaration]
              if (event.xexpose.window == FLXwin) RedrawFLX();
                                                  ^
xwin.c:15058:44: warning: implicit declaration of function 'RedrawCHG' is invalid in C99 [-Wimplicit-function-declaration]
              if (event.xexpose.window == CHGwin) RedrawCHG();
                                                  ^
xwin.c:15074:6: warning: implicit declaration of function 'drwcnv' is invalid in C99 [-Wimplicit-function-declaration]
                   drwcnv();
                   ^
xwin.c:15080:6: warning: implicit declaration of function 'drwsco' is invalid in C99 [-Wimplicit-function-declaration]
                   drwsco();
                   ^
xwin.c:15083:6: warning: implicit declaration of function 'drwpmf' is invalid in C99 [-Wimplicit-function-declaration]
                   drwpmf();
                   ^
xwin.c:15024:26: warning: while loop has empty body [-Wempty-body]
                        ExposureMask, &event));
                                              ^
xwin.c:15024:26: note: put the semicolon on a separate line to silence this warning
xwin.c:15468:41: warning: passing 'BMap [910]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                                        icon_bitmap_bits,
                                        ^~~~~~~~~~~~~~~~
/scratch/misc/molden/work/.buildlink/include/X11/Xlib.h:1619:29: note: passing argument to parameter here
    _Xconst char*       /* data */,
                                  ^
xwin.c:15516:5: warning: implicit declaration of function 'def_colors' is invalid in C99 [-Wimplicit-function-declaration]
    def_colors();                       /* define colors        */
    ^
xwin.c:15520:51: warning: passing 'BMap [32]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    stipple = XCreateBitmapFromData(display, win, stipple_bits, stipple_width,
                                                  ^~~~~~~~~~~~
/scratch/misc/molden/work/.buildlink/include/X11/Xlib.h:1619:29: note: passing argument to parameter here
    _Xconst char*       /* data */,
                                  ^
xwin.c:15523:50: warning: passing 'BMap [8]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    qwgrey = XCreateBitmapFromData(display, win, qwgrey_bits, qwgrey_width,
                                                 ^~~~~~~~~~~
/scratch/misc/molden/work/.buildlink/include/X11/Xlib.h:1619:29: note: passing argument to parameter here
    _Xconst char*       /* data */,
                                  ^
xwin.c:15525:51: warning: passing 'BMap [8]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    tqwgrey = XCreateBitmapFromData(display, win, tqwgrey_bits, tqwgrey_width,
                                                  ^~~~~~~~~~~~
/scratch/misc/molden/work/.buildlink/include/X11/Xlib.h:1619:29: note: passing argument to parameter here
    _Xconst char*       /* data */,
                                  ^
xwin.c:15528:58: warning: passing 'BMap [8]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    grayStip = XCreatePixmapFromBitmapData(display, win, gray50_bits,
                                                         ^~~~~~~~~~~
/scratch/misc/molden/work/.buildlink/include/X11/Xlib.h:1626:22: note: passing argument to parameter here
    char*               /* data */,
                                  ^
xwin.c:15532:17: warning: passing 'BMap [1144]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                mol_bits, mol_width, mol_height);
                ^~~~~~~~
/scratch/misc/molden/work/.buildlink/include/X11/Xlib.h:1619:29: note: passing argument to parameter here
    _Xconst char*       /* data */,
                                  ^
xwin.c:15534:17: warning: passing 'BMap [32]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                up_bits, up_width, up_height);
                ^~~~~~~
/scratch/misc/molden/work/.buildlink/include/X11/Xlib.h:1619:29: note: passing argument to parameter here
    _Xconst char*       /* data */,
                                  ^
xwin.c:15536:17: warning: passing 'BMap [32]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                down_bits, down_width, down_height);
                ^~~~~~~~~
/scratch/misc/molden/work/.buildlink/include/X11/Xlib.h:1619:29: note: passing argument to parameter here
    _Xconst char*       /* data */,
                                  ^
xwin.c:15538:17: warning: passing 'BMap [32]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                l_bits, l_width, l_height);
                ^~~~~~
/scratch/misc/molden/work/.buildlink/include/X11/Xlib.h:1619:29: note: passing argument to parameter here
    _Xconst char*       /* data */,
                                  ^
xwin.c:15540:17: warning: passing 'BMap [32]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                r_bits, r_width, r_height);
                ^~~~~~
/scratch/misc/molden/work/.buildlink/include/X11/Xlib.h:1619:29: note: passing argument to parameter here
    _Xconst char*       /* data */,
                                  ^
xwin.c:15542:17: warning: passing 'BMap [7]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                ball_bits, ball_width, ball_height);
                ^~~~~~~~~
/scratch/misc/molden/work/.buildlink/include/X11/Xlib.h:1619:29: note: passing argument to parameter here
    _Xconst char*       /* data */,
                                  ^
xwin.c:15544:17: warning: passing 'BMap [38]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                hourglass_bits, hourglass_width, hourglass_height);
                ^~~~~~~~~~~~~~
/scratch/misc/molden/work/.buildlink/include/X11/Xlib.h:1619:29: note: passing argument to parameter here
    _Xconst char*       /* data */,
                                  ^
xwin.c:15546:17: warning: passing 'BMap [51]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                g_bits, g_width, g_height);
                ^~~~~~
/scratch/misc/molden/work/.buildlink/include/X11/Xlib.h:1619:29: note: passing argument to parameter here
    _Xconst char*       /* data */,
                                  ^
xwin.c:15548:17: warning: passing 'BMap [51]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                skull_bits, skull_width, skull_height);
                ^~~~~~~~~~
/scratch/misc/molden/work/.buildlink/include/X11/Xlib.h:1619:29: note: passing argument to parameter here
    _Xconst char*       /* data */,
                                  ^
xwin.c:15550:17: warning: passing 'BMap [51]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                ff_bits, ff_width, ff_height);
                ^~~~~~~
/scratch/misc/molden/work/.buildlink/include/X11/Xlib.h:1619:29: note: passing argument to parameter here
    _Xconst char*       /* data */,
                                  ^
xwin.c:15552:17: warning: passing 'BMap [51]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                mlf_bits, mlf_width, mlf_height);
                ^~~~~~~~
/scratch/misc/molden/work/.buildlink/include/X11/Xlib.h:1619:29: note: passing argument to parameter here
    _Xconst char*       /* data */,
                                  ^
xwin.c:15554:17: warning: passing 'BMap [51]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                hbit_bits, hbit_width, hbit_height);
                ^~~~~~~~~
/scratch/misc/molden/work/.buildlink/include/X11/Xlib.h:1619:29: note: passing argument to parameter here
    _Xconst char*       /* data */,
                                  ^
xwin.c:15556:17: warning: passing 'BMap [51]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                vrml_bits, vrml_width, vrml_height);
                ^~~~~~~~~
/scratch/misc/molden/work/.buildlink/include/X11/Xlib.h:1619:29: note: passing argument to parameter here
    _Xconst char*       /* data */,
                                  ^
xwin.c:15558:17: warning: passing 'BMap [51]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                align_bits, align_width, align_height);
                ^~~~~~~~~~
/scratch/misc/molden/work/.buildlink/include/X11/Xlib.h:1619:29: note: passing argument to parameter here
    _Xconst char*       /* data */,
                                  ^
xwin.c:15560:17: warning: passing 'BMap [51]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                orig_bits, orig_width, orig_height);
                ^~~~~~~~~
/scratch/misc/molden/work/.buildlink/include/X11/Xlib.h:1619:29: note: passing argument to parameter here
    _Xconst char*       /* data */,
                                  ^
xwin.c:15562:17: warning: passing 'BMap [51]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                cell_bits, cell_width, cell_height);
                ^~~~~~~~~
/scratch/misc/molden/work/.buildlink/include/X11/Xlib.h:1619:29: note: passing argument to parameter here
    _Xconst char*       /* data */,
                                  ^
xwin.c:15564:17: warning: passing 'BMap [51]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                surf_bits, surf_width, surf_height);
                ^~~~~~~~~
/scratch/misc/molden/work/.buildlink/include/X11/Xlib.h:1619:29: note: passing argument to parameter here
    _Xconst char*       /* data */,
                                  ^
xwin.c:15566:17: warning: passing 'BMap [51]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                foto_bits, foto_width, foto_height);
                ^~~~~~~~~
/scratch/misc/molden/work/.buildlink/include/X11/Xlib.h:1619:29: note: passing argument to parameter here
    _Xconst char*       /* data */,
                                  ^
xwin.c:15568:17: warning: passing 'BMap [51]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                palette_bits, palette_width, palette_height);
                ^~~~~~~~~~~~
/scratch/misc/molden/work/.buildlink/include/X11/Xlib.h:1619:29: note: passing argument to parameter here
    _Xconst char*       /* data */,
                                  ^
xwin.c:15570:17: warning: passing 'BMap [32]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                slow_bits, pace_width, pace_height);
                ^~~~~~~~~
/scratch/misc/molden/work/.buildlink/include/X11/Xlib.h:1619:29: note: passing argument to parameter here
    _Xconst char*       /* data */,
                                  ^
xwin.c:15572:17: warning: passing 'BMap [32]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                fast_bits, pace_width, pace_height);
                ^~~~~~~~~
/scratch/misc/molden/work/.buildlink/include/X11/Xlib.h:1619:29: note: passing argument to parameter here
    _Xconst char*       /* data */,
                                  ^
xwin.c:15574:17: warning: passing 'BMap [32]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                blast_bits, pace_width, pace_height);
                ^~~~~~~~~~
/scratch/misc/molden/work/.buildlink/include/X11/Xlib.h:1619:29: note: passing argument to parameter here
    _Xconst char*       /* data */,
                                  ^
xwin.c:15576:17: warning: passing 'BMap [51]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                bigsmall_bits, bigsmall_width, bigsmall_height);
                ^~~~~~~~~~~~~
/scratch/misc/molden/work/.buildlink/include/X11/Xlib.h:1619:29: note: passing argument to parameter here
    _Xconst char*       /* data */,
                                  ^
xwin.c:15578:17: warning: passing 'BMap [51]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                ogl_bits, ogl_width, ogl_height);
                ^~~~~~~~
/scratch/misc/molden/work/.buildlink/include/X11/Xlib.h:1619:29: note: passing argument to parameter here
    _Xconst char*       /* data */,
                                  ^
xwin.c:15618:5: warning: implicit declaration of function 'FakeCMap' is invalid in C99 [-Wimplicit-function-declaration]
    FakeCMap();
    ^
xwin.c:15696:5: warning: implicit declaration of function 'CreatewinC' is invalid in C99 [-Wimplicit-function-declaration]
    CreatewinC(DEFWINCGEOM);
    ^
xwin.c:15701:5: warning: implicit declaration of function 'CreatewinMC' is invalid in C99 [-Wimplicit-function-declaration]
    CreatewinMC(DEFWINMCGEOM);
    ^
xwin.c:15731:5: warning: implicit declaration of function 'DefBut' is invalid in C99 [-Wimplicit-function-declaration]
    DefBut(&rbut[BDIR],  Fwin, 325, 275            , 110, BUTTH, 
    ^
xwin.c:15799:5: warning: implicit declaration of function 'movexy' is invalid in C99 [-Wimplicit-function-declaration]
    movexy(Arg1,Arg2);
    ^
xwin.c:15812:5: warning: implicit declaration of function 'drawxy' is invalid in C99 [-Wimplicit-function-declaration]
    drawxy(Arg1,Arg2);
    ^
xwin.c:15830:8: warning: implicit declaration of function 'strcp' is invalid in C99 [-Wimplicit-function-declaration]
       strcp(str,savestr[scount],ns);
       ^
xwin.c:15834:5: warning: implicit declaration of function 'drawstring' is invalid in C99 [-Wimplicit-function-declaration]
    drawstring(Arg1,Arg2,&savestr[scount][0],nsavestr[scount]);
    ^
xwin.c:15864:5: warning: implicit declaration of function 'sollin_' is invalid in C99 [-Wimplicit-function-declaration]
    sollin_();
    ^
xwin.c:15877:5: warning: implicit declaration of function 'dashline' is invalid in C99 [-Wimplicit-function-declaration]
    dashline();
    ^
xwin.c:15895:5: warning: implicit declaration of function 'cwidth_' is invalid in C99 [-Wimplicit-function-declaration]
    cwidth_(&Arg1);
    ^
xwin.c:15917:5: warning: implicit declaration of function 'changepen' is invalid in C99 [-Wimplicit-function-declaration]
    changepen(Arg1);
    ^
xwin.c:15945:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
ParseBasicColor(activecolor,docmap)
^~~~~~~~~~~~~~~
xwin.c:15978:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
ParseMapColors(docmap)
^~~~~~~~~~~~~~
xwin.c:16005:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
def_col16(colnam)
^~~~~~~~~
xwin.c:16035:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
ResetColors()
^~~~~~~~~~~
xwin.c:16045:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
def_colors()
^~~~~~~~~~
xwin.c:16152:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
FakeCMap()
^~~~~~~~
xwin.c:16169:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
movexy(xval,yval)
^~~~~~
xwin.c:16178:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
drawxy(xval,yval)
^~~~~~
xwin.c:16192:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
drawstring(xval,yval,strval,nval)
^~~~~~~~~~
xwin.c:16211:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
sollin_()
^~~~~~~
xwin.c:16221:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
dashline()
^~~~~~~~
xwin.c:16237:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
dash_(on)
^~~~~
xwin.c:16254:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
cwidth_(linpass)
^~~~~~~
xwin.c:16264:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
changepen(pen)
^~~~~~~~~
xwin.c:16280:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
setcol_(pen)
^~~~~~~
xwin.c:16322:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
RedrawWin()
^~~~~~~~~
xwin.c:16409:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
gethei_(hei)
^~~~~~~
xwin.c:16424:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
drawseg_(segments,npoints,iinv)
^~~~~~~~
xwin.c:16444:6: error: non-void function 'drawseg_' should return a value [-Wreturn-type]
     return;
     ^
xwin.c:16458:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
drwseg_(segments,npoints,iinv)
^~~~~~~
xwin.c:16476:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
drwpol_(points,npoints,icol,icon,isgrey)
^~~~~~~
xwin.c:16497:27: warning: implicit declaration of function 'ststip_' is invalid in C99 [-Wimplicit-function-declaration]
        if (*isgrey == 1) ststip_();
                          ^
xwin.c:16507:27: warning: implicit declaration of function 'unstip_' is invalid in C99 [-Wimplicit-function-declaration]
        if (*isgrey == 1) unstip_();
                          ^
xwin.c:16536:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
plsph_(xori,yori,fwidth,ia)
^~~~~~
xwin.c:16556:27: error: non-void function 'plsph_' should return a value [-Wreturn-type]
  if (xce < 0 && yce < 0) return;
                          ^
xwin.c:16557:46: error: non-void function 'plsph_' should return a value [-Wreturn-type]
  if (xc > (int) width && yc > (int) height) return;
                                             ^
xwin.c:16582:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
plsel_(xori,yori,ia)
^~~~~~
xwin.c:16612:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
ststip_()
^~~~~~~
xwin.c:16629:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
unstip_()
^~~~~~~
xwin.c:16644:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
doexp_()
^~~~~~
xwin.c:16648:30: warning: implicit declaration of function 'PlotColIndex' is invalid in C99 [-Wimplicit-function-declaration]
     if (*doesp && !denmode) PlotColIndex();
                             ^
xwin.c:16661:5: warning: implicit declaration of function 'ToGIF' is invalid in C99 [-Wimplicit-function-declaration]
           ToGIF(molcur,stemp);
           ^
xwin.c:16666:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
doclr()
^~~~~
xwin.c:16669:29: error: non-void function 'doclr' should return a value [-Wreturn-type]
    if (denmode && *ifdogl) return;
                            ^
xwin.c:16698:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
dlogo_()
^~~~~~
xwin.c:16713:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
TrmStr(qp)
^~~~~~
xwin.c:16838:3: warning: implicit declaration of function 'cpstr' is invalid in C99 [-Wimplicit-function-declaration]
                cpstr(qp->str,Sstr,strlen(qp->str));
                ^
xwin.c:16887:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
PFake(win,x,y,w,h,bgcol)
^~~~~
xwin.c:16904:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
PromptBox(qp)
^~~~~~~~~
xwin.c:16914:2: error: non-void function 'PromptBox' should return a value [-Wreturn-type]
        return;
        ^
xwin.c:16927:3: warning: implicit declaration of function 'butje' is invalid in C99 [-Wimplicit-function-declaration]
  butje(qp->win,qp->x+qlen,qp->y,qp->w-qlen-QBOXFR,qp->h-14,QBOXFR,qp->bgcol,qp->col,0,None,0,0,RectThick);
  ^
xwin.c:16998:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
qboxstr(qp,win,active,fake,bgcol,x,y,w,h,col,prompt,defstr,strmax,iopt,qinct,callback)
^~~~~~~
xwin.c:17111:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
RedrawList(lp)
^~~~~~~~~~
xwin.c:17124:4: warning: implicit declaration of function 'LineString' is invalid in C99 [-Wimplicit-function-declaration]
          LineString(lp->win,lp->label,lp->x+5,lp->y-15);
          ^
xwin.c:17139:7: warning: implicit declaration of function 'RedrawLBox' is invalid in C99 [-Wimplicit-function-declaration]
      RedrawLBox(lp);
      ^
xwin.c:17143:7: warning: implicit declaration of function 'RedrawScroll' is invalid in C99 [-Wimplicit-function-declaration]
      RedrawScroll(&lp->scrbar);
      ^
xwin.c:17310:14: warning: implicit declaration of function 'ParseLine' is invalid in C99 [-Wimplicit-function-declaration]
  if (jmode) ParseLine();
             ^
xwin.c:17315:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
RedrawSUB()
^~~~~~~~~
xwin.c:17322:14: warning: implicit declaration of function 'ULineString' is invalid in C99 [-Wimplicit-function-declaration]
  if (jmode) ULineString(SUBwin, "Extra print keys for Molden",SBOXOFFL+100, 35);
             ^
xwin.c:17465:12: error: non-object type 'int (int, const char *, int, const char *, int)' is not assignable
                  linkat = 0;
                  ~~~~~~ ^
xwin.c:17478:68: error: cannot increment value of type 'int (int, const char *, int, const char *, int)'
                       if (xyz.ityp[xyz.iconn[j*(MXCON+1)+k]-1]/10000 > 0) linkat++;
                                                                           ~~~~~~^
xwin.c:17481:12: error: invalid operands to binary expression ('int (int, const char *, int, const char *, int)' and 'int')
                  linkat += 20000;
                  ~~~~~~ ^  ~~~~~
xwin.c:17484:9: warning: implicit declaration of function 'CheckChargeMult' is invalid in C99 [-Wimplicit-function-declaration]
                  if (CheckChargeMult()) {
                      ^
xwin.c:17502:19: error: non-object type 'int (int, const char *, int, const char *, int)' is not assignable
                  linkat = 0;
                  ~~~~~~ ^
xwin.c:17512:72: error: cannot increment value of type 'int (int, const char *, int, const char *, int)'
                           if (xyz.ityp[xyz.iconn[j*(MXCON+1)+k]-1]/10000 > 0) linkat++;
                                                                               ~~~~~~^
xwin.c:17515:12: error: invalid operands to binary expression ('int (int, const char *, int, const char *, int)' and 'int')
                  linkat += 20000;
                  ~~~~~~ ^  ~~~~~
xwin.c:17527:19: error: non-object type 'int (int, const char *, int, const char *, int)' is not assignable
                  linkat = 0;
                  ~~~~~~ ^
xwin.c:17537:66: error: cannot increment value of type 'int (int, const char *, int, const char *, int)'
                           if (xyz.ityp[xyz.iconn[j*(MXCON+1)+k]-1]/10000 == 2) linkat++;
                                                                                ~~~~~~^
xwin.c:17540:12: error: invalid operands to binary expression ('int (int, const char *, int, const char *, int)' and 'int')
                  linkat += 20000;
                  ~~~~~~ ^  ~~~~~
fatal error: too many errors emitted, stopping now [-ferror-limit=]
751 warnings and 20 errors generated.
*** [xwin.o] Error code 1

make: stopped in /scratch/misc/molden/work/molden4.6
1 error

make: stopped in /scratch/misc/molden/work/molden4.6
*** Error code 2

Stop.
make: stopped in /data/pkgsrc/misc/molden
*** Error code 1

Stop.
make: stopped in /data/pkgsrc/misc/molden
