mattyowl / RSSMOSPipeline

Pipeline for reducing both longslit and multi-object spectroscopic data from the Robert Stobie Spectrograph on SALT.
https://rssmospipeline.readthedocs.io
GNU General Public License v3.0
4 stars 2 forks source link

Installation problem: "python setup.py egg_info did not run successfully" #28

Closed svw26 closed 5 months ago

svw26 commented 11 months ago

Hey Matt,

Hope you're well! I am trying to install RSSMOSPipeline on my new laptop, but upon running:

pip install RSSMOSPipeline

I get the following output:

Collecting RSSMOSPipeline
  Downloading RSSMOSPipeline-0.4.0.tar.gz (980 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 980.7/980.7 kB 7.3 MB/s eta 0:00:00
  Preparing metadata ([setup.py](http://setup.py/)) ... error
  error: subprocess-exited-with-error
  × python [setup.py](http://setup.py/) egg_info did not run successfully.
  │ exit code: 1
  ╰─> [8 lines of output]
      /private/var/folders/8s/40dv4cn95dx4qybr7nyr3klw0000gn/T/pip-install-yctebo3p/rssmospipeline_f4adc92c2d6f4d50bc49d1f175dee3bb/[versioneer.py:421](http://versioneer.py:421/): SyntaxWarning: invalid escape sequence '\s'
        LONG_VERSION_PY['git'] = '''
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "/private/var/folders/8s/40dv4cn95dx4qybr7nyr3klw0000gn/T/pip-install-yctebo3p/rssmospipeline_f4adc92c2d6f4d50bc49d1f175dee3bb/[setup.py](http://setup.py/)", line 10, in <module>
          import numpy
      ModuleNotFoundError: No module named 'numpy'
      [end of output]
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

It is strange that 'numpy' could not be found, and is the pipeline compatible with Python 3.12.0? Or, from reading https://github.com/mattyowl/RSSMOSPipeline/blob/master/INSTALL.rst, do I need to specify Python 3.6?

If so, I'll need to find a workaround for my conda environment, because I already tried the following:

(base) sarahwhite@Sivuyile-s-A23 ~ % conda create --name python_3p6 python=3.6
Collecting package metadata (current_repodata.json): done
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed

PackagesNotFoundError: The following packages are not available from current channels:

  - python=3.6

Many thanks, Sarah x

mattyowl commented 11 months ago

Hi Sarah,

I'm good thanks - hope you are too.

Please could you try the version in the 'master' branch and do 'pip install -e .' and let me know if that works ?

It certainly works on python 3.10, which is what I'm currently running. I don't think there is anything that should break on python 3.12 (we're not using e.g. distutils for installation). We're overdue for another release, so maybe I should just do that and update the version on pypi.

Cheers Matt

svw26 commented 11 months ago

Hiya Matt,

Thank you. I created a conda environment based on Python 3.10:

conda create --name rssmospipeline_master python=3.10

but then get the following error message:

(rssmospipeline_master) sarahwhite@Sivuyile-s-A23 ~ % pip install -e git+https://github.com/mattyowl/RSSMOSPipeline
ERROR: Could not detect requirement name for 'git+https://github.com/mattyowl/RSSMOSPipeline', please specify one with #egg=your_package_name

Have I written the command incorrectly? I also tried:

(rssmospipeline_master) sarahwhite@Sivuyile-s-A23 ~ % pip install -e https://github.com/mattyowl/RSSMOSPipeline 
ERROR: https://github.com/mattyowl/RSSMOSPipeline is not a valid editable requirement. It should either be a path to a local project or a VCS URL (beginning with bzr+http, bzr+https, bzr+ssh, bzr+sftp, bzr+ftp, bzr+lp, bzr+file, git+http, git+https, git+ssh, git+git, git+file, hg+file, hg+http, hg+https, hg+ssh, hg+static-http, svn+ssh, svn+http, svn+https, svn+svn, svn+file).
(rssmospipeline_master) sarahwhite@Sivuyile-s-A23 ~ % pip install -e git+https://github.com/mattyowl/RSSMOSPipeline.git
ERROR: Could not detect requirement name for 'git+https://github.com/mattyowl/RSSMOSPipeline.git', please specify one with #egg=your_package_name

and

pip install git+https://github.com/mattyowl/RSSMOSPipeline

for which the output ends with:

note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for astLib
  Running [setup.py](http://setup.py/) clean for astLib
Successfully built RSSMOSPipeline
Failed to build astLib
ERROR: Could not build wheels for astLib, which is required to install pyproject.toml-based projects

Best wishes, Sarah x

mattyowl commented 11 months ago

I was thinking:

git clone https://github.com/mattyowl/RSSMOSPipeline.git cd RSSMOSPipeline pip install -e .

Cheers Matt

svw26 commented 11 months ago

Ah OK, but I still run into an error message about

ERROR: Failed building wheel for astLib
ERROR: Could not build wheels for astLib, which is required to install pyproject.toml-based projects

Please see below for the full Traceback, and the output from piping the result of pip install -e ..

Thanks, Sarah x

  error: subprocess-exited-with-error

  × python setup.py bdist_wheel did not run successfully.
  │ exit code: 1
  ╰─> [2743 lines of output]
      /private/var/folders/8s/40dv4cn95dx4qybr7nyr3klw0000gn/T/pip-install-_acvcbs4/astlib_2529594ed9f94cea9bb6fe3f8dd78c72/setup.py:14: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
        from pkg_resources import require
      iget.c:61:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      mgeti4 (hstring, mkey, keyword, ival)
      ^
      iget.c:95:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      mgetr8 (hstring, mkey, keyword, dval)
      ^
      iget.c:129:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      mgetstr (hstring, mkey, keyword, lstr, str)
      ^
      iget.c:167:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      igeti4 (hstring, keyword, ival)
      ^
      iget.c:209:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      igeti2 (hstring,keyword,ival)
      ^
      iget.c:250:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      igetr4 (hstring,keyword,rval)
      ^
      iget.c:281:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      igetr8 (hstring,keyword,dval)
      ^
      iget.c:312:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      igets (hstring, keyword, lstr, str)
      ^
      iget.c:348:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      igetc (hstring,keyword0)
      ^
      iget.c:379:17: warning: passing arguments to 'isearch' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
              vpos = isearch (hstring,keyword);
                             ^
      iget.c:440:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      isearch (hstring,keyword)
      ^
      iget.c:55:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
      static char *isearch();
                   ^
      12 warnings generated.
      wcsinit.c:60:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      wcsninitn (hstring, lhstring, name)
      ^
      wcsinit.c:75:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      wcsinitn (hstring, name)
      ^
      wcsinit.c:83:21: warning: passing arguments to 'wcschar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
          mchar = wcschar (hstring, name);
                          ^
      wcsinit.c:96:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      wcschar (hstring, name)
      ^
      wcsinit.c:54:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
      char wcschar();
           ^
      wcsinit.c:145:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      uppercase (string)
      ^
      wcsinit.c:167:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      wcsninit (hstring, lhstring)
      ^
      wcsinit.c:183:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      wcsninitc (hstring, lhstring, mchar)
      ^
      wcsinit.c:200:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      wcsinit (hstring)
      ^
      wcsinit.c:214:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      wcsinitc (hstring, wchar)
      ^
      wcsinit.c:245:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
          extern int tnxinit();
                     ^
      ./wcs.h:698:9: note: conflicting prototype is here
          int tnxinit (       /* initialize the gnomonic forward or inverse transform */
              ^
      wcsinit.c:246:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
          extern int zpxinit();
                     ^
      ./wcs.h:715:9: note: conflicting prototype is here
          int zpxinit (       /* initialize the zenithal forward or inverse transform */
              ^
      wcsinit.c:247:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
          extern int platepos();
                     ^
      ./wcs.h:671:9: note: conflicting prototype is here
          int platepos (      /* Convert from pixel location to RA,Dec */
              ^
      wcsinit.c:248:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
          extern int dsspos();
                     ^
      ./wcs.h:657:9: note: conflicting prototype is here
          int dsspos (        /* Convert from pixel location to RA,Dec */
              ^
      wcsinit.c:571:13: warning: passing arguments to 'wcseqm' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                  wcseqm (hstring, wcs, &mchar);
                         ^
      wcsinit.c:572:11: warning: passing arguments to 'wcsioset' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
              wcsioset (wcs);
                       ^
      wcsinit.c:610:16: warning: passing arguments to 'wcsrotset' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                  wcsrotset (wcs);
                            ^
      wcsinit.c:798:13: warning: passing arguments to 'invert_wcs' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                      invert_wcs(wcs);
                                ^
      wcsinit.c:920:11: warning: passing arguments to 'wcsioset' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
              wcsioset (wcs);
                       ^
      wcsinit.c:924:12: warning: passing arguments to 'wcsrotset' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
              wcsrotset (wcs);
                        ^
      wcsinit.c:1083:8: warning: passing arguments to 'wcseq' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
              wcseq (hstring,wcs);
                    ^
      wcsinit.c:1084:11: warning: passing arguments to 'wcsioset' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
              wcsioset (wcs);
                       ^
      wcsinit.c:249:10: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
          void invert_wcs();
               ^
      wcsinit.c:1122:1: note: conflicting prototype is here
      invert_wcs( struct WorldCoor *wcs)
      ^
      wcsinit.c:1299:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      wcsioset (wcs)
      ^
      wcsinit.c:52:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
      static void wcsioset();
                  ^
      wcsinit.c:1333:12: warning: passing arguments to 'wcseqm' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
          wcseqm (hstring, wcs, &mchar);
                 ^
      wcsinit.c:1325:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      wcseq (hstring, wcs)
      ^
      wcsinit.c:50:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
      static void wcseq();
                  ^
      wcsinit.c:1339:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      wcseqm (hstring, wcs, mchar)
      ^
      wcsinit.c:51:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
      static void wcseqm();
                  ^
      30 warnings generated.
      imio.c:79:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      setscale (scale0)
      ^
      imio.c:86:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      getpix1 (image, bitpix, w, h, bzero, bscale, x, y)
      ^
      imio.c:107:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      getpix (image, bitpix, w, h, bzero, bscale, x, y)
      ^
      imio.c:181:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      putpix1 (image, bitpix, w, h, bzero, bscale, x, y, dpix)
      ^
      imio.c:204:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      putpix (image, bitpix, w, h, bzero, bscale, x, y, dpix)
      ^
      imio.c:287:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      addpix1 (image, bitpix, w, h, bzero, bscale, x, y, dpix)
      ^
      imio.c:310:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      addpix (image, bitpix, w, h, bzero, bscale, x, y, dpix)
      ^
      imio.c:393:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      movepix (image1, bitpix1, w1, x1, y1, image2, bitpix2, w2, x2, y2)
      ^
      imio.c:637:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      maxvec (image, bitpix, bzero, bscale, pix1, npix)
      ^
      imio.c:741:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      minvec (image, bitpix, bzero, bscale, pix1, npix)
      ^
      imio.c:844:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      addvec (image, bitpix, bzero, bscale, pix1, npix, dpix)
      ^
      imio.c:940:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      multvec (image, bitpix, bzero, bscale, pix1, npix, dpix)
      ^
      imio.c:1069:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      getvec (image, bitpix, bzero, bscale, pix1, npix, dvec0)
      ^
      imio.c:1148:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      putvec (image, bitpix, bzero, bscale, pix1, npix, dvec)
      ^
      imio.c:1236:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      fillvec1 (image, bitpix, bzero, bscale, pix1, npix, dpix)
      ^
      imio.c:1256:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      fillvec (image, bitpix, bzero, bscale, pix1, npix, dpix)
      ^
      imio.c:1345:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      imswap (bitpix, string, nbytes)
      ^
      imio.c:1392:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      imswap2 (string,nbytes)
      ^
      imio.c:1416:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      imswap4 (string,nbytes)
      ^
      imio.c:1446:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      imswap8 (string,nbytes)
      ^
      20 warnings generated.
      hget.c:77:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
      char *hgetc ();
            ^
      ./fitshead.h:108:11: note: conflicting prototype is here
          char* hgetc(                /* Return pointer to value for FITS keyword */
                ^
      hget.c:86:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      hlength (header, lhead)
      ^
      hget.c:103:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      gethlength (header)
      ^
      hget.c:116:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      hgeti4c (hstring,keyword,wchar,ival)
      ^
      hget.c:146:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      hgeti4 (hstring,keyword,ival)
      ^
      hget.c:205:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      hgeti2 (hstring,keyword,ival)
      ^
      hget.c:263:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      hgetr4 (hstring,keyword,rval)
      ^
      hget.c:311:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      hgetra (hstring,keyword,dval)
      ^
      hget.c:340:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      hgetdec (hstring,keyword,dval)
      ^
      hget.c:369:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      hgetr8c (hstring,keyword,wchar,dval)
      ^
      hget.c:400:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      hgetr8 (hstring,keyword,dval)
      ^
      hget.c:448:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      hgetl (hstring,keyword,ival)
      ^
      hget.c:491:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      hgetdate (hstring,keyword,dval)
      ^
      hget.c:654:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      hgetm (hstring, keyword, lstr, str)
      ^
      hget.c:732:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      hgetsc (hstring,keyword,wchar,lstr,str)
      ^
      hget.c:763:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      hgets (hstring, keyword, lstr, str)
      ^
      hget.c:799:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      hgetndec (hstring, keyword, ndec)
      ^
      hget.c:835:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      hgetc (hstring,keyword0)
      ^
      hget.c:77:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
      char *hgetc ();
            ^
      hget.c:1070:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      blsearch (hstring,keyword)
      ^
      hget.c:1167:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      ksearch (hstring,keyword)
      ^
      hget.c:1266:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      str2ra (in)
      ^
      hget.c:1284:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      str2dec (in)
      ^
      hget.c:1374:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      strsrch (s1, s2)
      ^
      hget.c:1389:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      strnsrch (s1, s2, ls1)
      ^
      hget.c:1452:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      strcsrch (s1, s2)
      ^
      hget.c:1467:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      strncsrch (s1, s2, ls1)
      ^
      hget.c:1579:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      notnum (string)
      ^
      hget.c:1598:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      isnum (string)
      ^
      hget.c:1679:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      numdec (string)
      ^
      hget.c:1714:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      strfix (string, fillblank, dropzero)
      ^
      31 warnings generated.
      dateutil.c:324:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      setlongitude (longitude0)
      ^
      dateutil.c:330:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      setdatedec (nd)
      ^
      dateutil.c:337:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      ang2hr (angle, lstr, string)
      ^
      dateutil.c:353:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      ang2deg (angle, lstr, string)
      ^
      dateutil.c:367:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      deg2ang (angle)
      ^
      dateutil.c:380:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      hr2ang (angle)
      ^
      dateutil.c:396:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      dt2fd (date, time)
      ^
      dateutil.c:457:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      dt2jd (date,time)
      ^
      dateutil.c:487:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      dt2mjd (date,time)
      ^
      dateutil.c:516:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      hjd2jd (dj, ra, dec, sys)
      ^
      dateutil.c:525:16: warning: passing arguments to 'suntl' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
          lt = suntl (dj, ra, dec, sys);
                     ^
      dateutil.c:535:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      jd2hjd (dj, ra, dec, sys)
      ^
      dateutil.c:544:16: warning: passing arguments to 'suntl' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
          lt = suntl (dj, ra, dec, sys);
                     ^
      dateutil.c:555:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      mhjd2mjd (mhjd, ra, dec, sys)
      ^
      dateutil.c:567:16: warning: passing arguments to 'suntl' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
          lt = suntl (hjd, ra, dec, sys);
                     ^
      dateutil.c:578:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      mjd2mhjd (mjd, ra, dec, sys)
      ^
      dateutil.c:590:16: warning: passing arguments to 'suntl' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
          lt = suntl (dj, ra, dec, sys);
                     ^
      dateutil.c:634:37: warning: passing arguments to 'dint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
          manom = manom - (360.0 * (dint) (manom / 360.0));
                                          ^
      dateutil.c:635:37: warning: passing arguments to 'dint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
          lperi = lperi - (360.0 * (dint) (lperi / 360.0));
                                          ^
      dateutil.c:601:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      suntl (dj, ra, dec, sys)
      ^
      dateutil.c:316:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
      static double suntl();
                    ^
      dateutil.c:672:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      jd2dt (dj,date,time)
      ^
      dateutil.c:705:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      jd2i (dj, iyr, imon, iday, ihr, imn, sec, ndsec)
      ^
      dateutil.c:730:12: warning: passing arguments to 'dint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
              ts = dint (tsec + dts);
                        ^
      dateutil.c:732:12: warning: passing arguments to 'dint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
              ts = dint (tsec * 10.0 + dts) / 10.0;
                        ^
      dateutil.c:734:12: warning: passing arguments to 'dint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
              ts = dint (tsec * 100.0 + dts) / 100.0;
                        ^
      dateutil.c:736:12: warning: passing arguments to 'dint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
              ts = dint (tsec * 1000.0 + dts) / 1000.0;
                        ^
      dateutil.c:738:12: warning: passing arguments to 'dint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
              ts = dint (tsec * 10000.0 + dts) / 10000.0;
                        ^
      dateutil.c:744:17: warning: passing arguments to 'dmod' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
          frac = dmod (dj, 1.0);
                      ^
      dateutil.c:778:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      jd2mjd (dj)
      ^
      dateutil.c:790:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      jd2ep (dj)
      ^
      dateutil.c:804:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      jd2epb (dj)
      ^
      dateutil.c:816:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      jd2epj (dj)
      ^
      dateutil.c:828:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      lt2dt(date, time)
      ^
      dateutil.c:925:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      mjd2dt (dj,date,time)
      ^
      dateutil.c:952:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      mjd2i (dj, iyr, imon, iday, ihr, imn, sec, ndsec)
      ^
      dateutil.c:975:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      mjd2doy (dj, year, doy)
      ^
      dateutil.c:990:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      mjd2jd (dj)
      ^
      dateutil.c:1002:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      mjd2ep (dj)
      ^
      dateutil.c:1016:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      mjd2epb (dj)
      ^
      dateutil.c:1028:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      mjd2epj (dj)
      ^
      dateutil.c:1040:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      mjd2fd (dj)
      ^
      dateutil.c:1051:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      mjd2ts (dj)
      ^
      dateutil.c:1062:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      ep2fd (epoch)
      ^
      dateutil.c:1075:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      epb2fd (epoch)
      ^
      dateutil.c:1088:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      epj2fd (epoch)
      ^
      dateutil.c:1101:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      ep2ts (epoch)
      ^
      dateutil.c:1114:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      epb2ts (epoch)
      ^
      dateutil.c:1127:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      epj2ts (epoch)
      ^
      dateutil.c:1140:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      epb2ep (epoch)
      ^
      dateutil.c:1153:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      ep2epb (epoch)
      ^
      dateutil.c:1166:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      epj2ep (epoch)
      ^
      dateutil.c:1179:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      ep2epj (epoch)
      ^
      dateutil.c:1192:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      ep2i (epoch, iyr, imon, iday, ihr, imn, sec, ndsec)
      ^
      dateutil.c:1214:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      epb2i (epoch, iyr, imon, iday, ihr, imn, sec, ndsec)
      ^
      dateutil.c:1236:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      epj2i (epoch, iyr, imon, iday, ihr, imn, sec, ndsec)
      ^
      dateutil.c:1258:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      ep2jd (epoch)
      ^
      dateutil.c:1275:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      epb2jd (epoch)
      ^
      dateutil.c:1287:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      epj2jd (epoch)
      ^
      dateutil.c:1299:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      ep2mjd (epoch)
      ^
      dateutil.c:1316:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      epb2mjd (epoch)
      ^
      dateutil.c:1328:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      epj2mjd (epoch)
      ^
      dateutil.c:1341:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      epb2epj (epoch)
      ^
      dateutil.c:1354:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      epj2epb (epoch)
      ^
      dateutil.c:1367:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      jd2fd (dj)
      ^
      dateutil.c:1380:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      jd2ts (dj)
      ^
      dateutil.c:1391:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      jd2tsi (dj)
      ^
      dateutil.c:1404:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      jd2tsu (dj)
      ^
      dateutil.c:1415:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      dt2doy (date, time, year, doy)
      ^
      dateutil.c:1440:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      doy2dt (year, doy, date, time)
      ^
      dateutil.c:1462:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      doy2ep (year, doy)
      ^
      dateutil.c:1477:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      doy2epb (year, doy)
      ^
      dateutil.c:1491:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      doy2epj (year, doy)
      ^
      dateutil.c:1505:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      doy2fd (year, doy)
      ^
      dateutil.c:1520:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      doy2jd (year, doy)
      ^
      dateutil.c:1539:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      doy2mjd (year, doy)
      ^
      dateutil.c:1558:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      doy2tsu (year, doy)
      ^
      dateutil.c:1572:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      doy2tsi (year, doy)
      ^
      dateutil.c:1586:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      doy2ts (year, doy)
      ^
      dateutil.c:1600:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      fd2doy (string, year, doy)
      ^
      dateutil.c:1622:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      jd2doy (dj, year, doy)
      ^
      dateutil.c:1645:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      ts2jd (tsec)
      ^
      dateutil.c:1656:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      ts2mjd (tsec)
      ^
      dateutil.c:1667:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      ts2ep (tsec)
      ^
      dateutil.c:1681:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      ts2epb (tsec)
      ^
      dateutil.c:1695:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      ts2epj (tsec)
      ^
      dateutil.c:1709:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      dt2ep (date, time)
      ^
      dateutil.c:1730:15: warning: passing arguments to 'dint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
              date0 = dint (date) + 0.0101;
                           ^
      dateutil.c:1731:15: warning: passing arguments to 'dint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
              date1 = dint (date) + 1.0101;
                           ^
      dateutil.c:1734:15: warning: passing arguments to 'dint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
              epoch = dint (date) + ((dj - dj0) / (dj1 - dj0));
                           ^
      dateutil.c:1743:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      dt2epb (date, time)
      ^
      dateutil.c:1770:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      dt2epj (date, time)
      ^
      dateutil.c:1797:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      ep2dt (epoch, date, time)
      ^
      dateutil.c:1814:19: warning: passing arguments to 'dint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
          epochi = dint (epoch);
                        ^
      dateutil.c:1829:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      epb2dt (epoch, date, time)
      ^
      dateutil.c:1852:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      epj2dt (epoch, date, time)
      ^
      dateutil.c:1875:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      fd2jd (string)
      ^
      dateutil.c:1894:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      fd2mjd (string)
      ^
      dateutil.c:1910:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      fd2tsu (string)
      ^
      dateutil.c:1928:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      fd2tsi (string)
      ^
      dateutil.c:1946:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      fd2ts (string)
      ^
      dateutil.c:1964:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      fd2fd (string)
      ^
      dateutil.c:1982:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      fd2of (string)
      ^
      dateutil.c:2043:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      tai2fd (string)
      ^
      dateutil.c:2067:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      fd2tai (string)
      ^
      dateutil.c:2089:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      dt2tai (date, time)
      ^
      dateutil.c:2108:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      tai2dt (date, time)
      ^
      dateutil.c:2130:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      et2fd (string)
      ^
      dateutil.c:2154:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      fd2et (string)
      ^
      dateutil.c:2176:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      dt2et (date, time)
      ^
      dateutil.c:2195:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      edt2dt (date, time)
      ^
      dateutil.c:2217:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      jd2jed (dj)
      ^
      dateutil.c:2231:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      jed2jd (dj)
      ^
      dateutil.c:2248:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      ts2ets (tsec)
      ^
      dateutil.c:2263:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      ets2ts (tsec)
      ^
      dateutil.c:2280:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      utdt (dj)
      ^
      dateutil.c:2339:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      fd2ofd (string)
      ^
      dateutil.c:2371:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      fd2oft (string)
      ^
      dateutil.c:2396:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      fd2dt (string, date, time)
      ^
      dateutil.c:2438:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      fd2ep (string)
      ^
      dateutil.c:2460:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      fd2epb (string)
      ^
      dateutil.c:2482:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      fd2epj (string)
      ^
      dateutil.c:2504:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      dt2tsu (date,time)
      ^
      dateutil.c:2517:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      dt2tsi (date,time)
      ^
      dateutil.c:2531:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      dt2ts (date,time)
      ^
      dateutil.c:2596:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      ts2dt (tsec,date,time)
      ^
      dateutil.c:2633:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      tsi2dt (isec,date,time)
      ^
      dateutil.c:2646:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      tsi2fd (isec)
      ^
      dateutil.c:2657:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      tsi2ts (isec)
      ^
      dateutil.c:2667:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      tsu2fd (isec)
      ^
      dateutil.c:2677:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      tsu2dt (isec,date,time)
      ^
      dateutil.c:2689:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      tsu2ts (isec)
      ^
      dateutil.c:2698:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      tsu2tsi (isec)
      ^
      dateutil.c:2722:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      ts2fd (tsec)
      ^
      dateutil.c:2736:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      tsd2fd (tsec)
      ^
      dateutil.c:2757:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      tsd2dt (tsec)
      ^
      dateutil.c:2772:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      dt2i (date, time, iyr, imon, iday, ihr, imn, sec, ndsec)
      ^
      dateutil.c:2802:17: warning: passing arguments to 'dint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
          *ihr = dint (t + 0.000000001);
                      ^
      dateutil.c:2804:17: warning: passing arguments to 'dint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
          *imn = dint (t + 0.0000001);
                      ^
      dateutil.c:2808:17: warning: passing arguments to 'dint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
          *iyr = dint (d + 0.00001);
                      ^
      dateutil.c:2812:18: warning: passing arguments to 'dint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
          *imon = dint (d + 0.001);
                       ^
      dateutil.c:2814:18: warning: passing arguments to 'dint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
          *iday = dint (d + 0.1);
                       ^
      dateutil.c:2817:13: warning: passing arguments to 'fixdate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
          fixdate (iyr, imon, iday, ihr, imn, sec, ndsec);
                  ^
      dateutil.c:2826:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      fd2i (string, iyr, imon, iday, ihr, imn, sec, ndsec)
      ^
      dateutil.c:3000:13: warning: passing arguments to 'fixdate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
          fixdate (iyr, imon, iday, ihr, imn, sec, ndsec);
                  ^
      dateutil.c:3009:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      ts2i (tsec,iyr,imon,iday,ihr,imn,sec, ndsec)
      ^
      dateutil.c:3031:11: warning: passing arguments to 'dint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
              t = dint (ts + dts) * 10000.0;
                       ^
      dateutil.c:3033:11: warning: passing arguments to 'dint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
              t = dint (ts * 10.0 + dts) * 1000.0;
                       ^
      dateutil.c:3035:11: warning: passing arguments to 'dint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
              t = dint (ts * 100.0 + dts) * 100.0;
                       ^
      dateutil.c:3037:11: warning: passing arguments to 'dint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
              t = dint (ts * 1000.0 + dts) * 10.0;
                       ^
      dateutil.c:3039:11: warning: passing arguments to 'dint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
              t = dint (ts * 10000.0 + dts);
                       ^
      dateutil.c:3043:24: warning: passing arguments to 'dmod' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
          *ihr = (int) (dmod (ts/3600.0, 24.0));
                             ^
      dateutil.c:3044:24: warning: passing arguments to 'dmod' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
          *imn = (int) (dmod (ts/60.0, 60.0));
                             ^
      dateutil.c:3045:17: warning: passing arguments to 'dmod' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
          *sec = dmod (ts, 60.0);
                      ^
      dateutil.c:3048:17: warning: passing arguments to 'dint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
          days = dint ((t / 864000000.0) + 0.000001);
                      ^
      dateutil.c:3090:13: warning: passing arguments to 'fixdate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
          fixdate (iyr, imon, iday, ihr, imn, sec, ndsec);
                  ^
      dateutil.c:3099:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      ut2doy (year, doy)
      ^
      dateutil.c:3114:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      ut2dt(date, time)
      ^
      dateutil.c:3255:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      fd2gst (string)
      ^
      dateutil.c:3277:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      dt2gst (date, time)
      ^
      dateutil.c:3295:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      jd2lst (dj)
      ^
      dateutil.c:3318:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      fd2lst (string)
      ^
      dateutil.c:3340:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      dt2lst (date, time)
      ^
      dateutil.c:3361:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      ts2lst (tsec)
      ^
      dateutil.c:3389:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      lst2fd (string)
      ^
      dateutil.c:3409:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      lst2jd (sdj)
      ^
      dateutil.c:3457:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      mst2fd (string)
      ^
      dateutil.c:3477:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      mst2jd (sdj)
      ^
      dateutil.c:3512:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      gst2fd (string)
      ^
      dateutil.c:3532:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      gst2jd (sdj)
      ^
      dateutil.c:3571:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      lst2dt (date0, time0)
      ^
      dateutil.c:3608:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      ts2gst (tsec)
      ^
      dateutil.c:3638:16: warning: passing arguments to 'dmod' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
          gst = dmod (gst,86400.0);
                     ^
      dateutil.c:3647:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      fd2mst (string)
      ^
      dateutil.c:3670:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      dt2mst (date, time)
      ^
      dateutil.c:3690:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      ts2mst (tsec)
      ^
      dateutil.c:3708:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      jd2mst2 (dj)
      ^
      dateutil.c:3723:16: warning: passing arguments to 'dmod' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
          mst = dmod (st, 86400.0);
                     ^
      dateutil.c:3752:16: warning: passing arguments to 'dmod' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
          mst = dmod (st, 86400.0);
                     ^
      dateutil.c:3737:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      mjd2mst (dj)
      ^
      dateutil.c:3765:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      jd2gst (dj)
      ^
      dateutil.c:3796:16: warning: passing arguments to 'dmod' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
          gst = dmod (gst, 86400.0);
                     ^
      dateutil.c:3805:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      eqeqnx (dj)
      ^
      dateutil.c:3837:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      jd2mst (dj)
      ^
      dateutil.c:3877:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      compnut (dj, dpsi, deps, eps0)
      ^
      dateutil.c:4237:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      isdate (string)
      ^
      dateutil.c:4347:14: warning: passing arguments to 'dint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
              *sec = dint (*sec + 0.5);
                          ^
      dateutil.c:4349:14: warning: passing arguments to 'dint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
              *sec = dint (*sec * 10.0 + 0.5) / 10.0;
                          ^
      dateutil.c:4351:14: warning: passing arguments to 'dint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
              *sec = dint (*sec * 100.0 + 0.5) / 100.0;
                          ^
      dateutil.c:4353:14: warning: passing arguments to 'dint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
              *sec = dint (*sec * 1000.0 + 0.5) / 1000.0;
                          ^
      dateutil.c:4355:14: warning: passing arguments to 'dint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
              *sec = dint (*sec * 10000.0 + 0.5) / 10000.0;
                          ^
      dateutil.c:4376:20: warning: passing arguments to 'caldays' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
          days = caldays (*iyr, *imon);
                         ^
      dateutil.c:4387:17: warning: passing arguments to 'caldays' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
              days = caldays (*iyr, *imon);
                             ^
      dateutil.c:4393:17: warning: passing arguments to 'caldays' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
              days = caldays (*iyr, *imon);
                             ^
      dateutil.c:4333:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      fixdate (iyr, imon, iday, ihr, imn, sec, ndsec)
      ^
      dateutil.c:317:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
      static void fixdate();
                  ^
      dateutil.c:4410:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      caldays (year, month)
      ^
      dateutil.c:318:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
      static int caldays();
                 ^
      dateutil.c:4462:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      dint (dnum)
      ^
      dateutil.c:319:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
      static double dint();
                    ^
      dateutil.c:4477:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      dmod (dnum, dm)
      ^
      dateutil.c:320:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
      static double dmod();
                    ^
      202 warnings generated.
      worldpos.c:94:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      worldpos (xpix, ypix, wcs, xpos, ypos)
      ^
      worldpos.c:374:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      worldpix (xpos, ypos, wcs, xpix, ypix)
      ^
      2 warnings generated.
      cel.c:259:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      celset(pcode, cel, prj)
      ^
      cel.c:408:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      celfwd(pcode, lng, lat, cel, phi, theta, prj, x, y)
      ^
      cel.c:438:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      celrev(pcode, x, y, prj, phi, theta, cel, lng, lat)
      ^
      3 warnings generated.
      wcscon.c:76:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
      void fk524(), fk524e(), fk524m(), fk524pv();
                    ^
      ./wcs.h:581:10: note: conflicting prototype is here
          void fk524e (       /* Convert J2000(FK5) to B1950(FK4) coordinates */
               ^
      wcscon.c:77:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
      void fk425(), fk425e(), fk425m(), fk425pv();
                    ^
      ./wcs.h:577:10: note: conflicting prototype is here
          void fk425e (       /* Convert B1950(FK4) to J2000(FK5) coordinates */
               ^
      wcscon.c:85:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      wcsconp (sys1, sys2, eq1, eq2, ep1, ep2, dtheta, dphi, ptheta, pphi)
      ^
      wcscon.c:161:11: warning: passing arguments to 'fk4prec' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                      fk4prec (eq1, eq2, dtheta, dphi);
                              ^
      wcscon.c:163:11: warning: passing arguments to 'fk5prec' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                      fk5prec (eq1, 2000.0, dtheta, dphi);
                              ^
      wcscon.c:170:10: warning: passing arguments to 'fk4prec' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
              fk4prec (eq1, 1950.0, dtheta, dphi);
                      ^
      wcscon.c:172:10: warning: passing arguments to 'fk5prec' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
              fk5prec (eq1, 2000.0, dtheta, dphi);
                      ^
      wcscon.c:178:10: warning: passing arguments to 'fk524m' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                      fk524m (dtheta, dphi, ptheta, pphi);
                             ^
      wcscon.c:187:9: warning: passing arguments to 'fk524' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                      fk524 (dtheta, dphi);
                            ^
      wcscon.c:190:14: warning: passing arguments to 'gal2fk4' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                  gal2fk4 (dtheta, dphi);
                          ^
      wcscon.c:192:14: warning: passing arguments to 'ecl2fk4' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                  ecl2fk4 (dtheta, dphi, ep2);
                          ^
      wcscon.c:198:10: warning: passing arguments to 'fk425m' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                      fk425m (dtheta, dphi, ptheta, pphi);
                             ^
      wcscon.c:207:23: warning: passing arguments to 'fk425' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                      fk425 (dtheta, dphi);
                            ^
      wcscon.c:210:21: warning: passing arguments to 'gal2fk5' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                  gal2fk5 (dtheta, dphi);
                          ^
      wcscon.c:212:14: warning: passing arguments to 'ecl2fk5' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                  ecl2fk5 (dtheta, dphi, ep2);
                          ^
      wcscon.c:221:14: warning: passing arguments to 'fk42gal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                  fk42gal (dtheta, dphi);
                          ^
      wcscon.c:228:14: warning: passing arguments to 'fk52gal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                  fk52gal (dtheta, dphi);
                          ^
      wcscon.c:231:14: warning: passing arguments to 'ecl2fk5' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                  ecl2fk5 (dtheta, dphi, ep2);
                          ^
      wcscon.c:232:14: warning: passing arguments to 'fk52gal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                  fk52gal (dtheta, dphi);
                          ^
      wcscon.c:243:11: warning: passing arguments to 'fk42ecl' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                      fk42ecl (dtheta, dphi, ep2);
                              ^
      wcscon.c:245:11: warning: passing arguments to 'fk42ecl' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                      fk42ecl (dtheta, dphi, 1950.0);
                              ^
      wcscon.c:252:14: warning: passing arguments to 'fk52ecl' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                  fk52ecl (dtheta, dphi, ep2);
                          ^
      wcscon.c:255:14: warning: passing arguments to 'gal2fk5' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                  gal2fk5 (dtheta, dphi);
                          ^
      wcscon.c:256:14: warning: passing arguments to 'fk52ecl' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                  fk52ecl (dtheta, dphi, ep2);
                          ^
      wcscon.c:262:10: warning: passing arguments to 'fk4prec' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
              fk4prec (1950.0, eq2, dtheta, dphi);
                      ^
      wcscon.c:264:10: warning: passing arguments to 'fk5prec' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
              fk5prec (2000.0, eq2, dtheta, dphi);
                      ^
      wcscon.c:289:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      wcsconv (sys1, sys2, eq1, eq2, ep1, ep2, dtheta, dphi, ptheta, pphi, px, rv)
      ^
      wcscon.c:371:13: warning: passing arguments to 'fk4prec' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                 fk4prec (eq1, 1950.0, dtheta, dphi);
                         ^
      wcscon.c:373:13: warning: passing arguments to 'fk5prec' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                 fk5prec (eq1, 2000.0, dtheta, dphi);
                         ^
      wcscon.c:381:15: warning: passing arguments to 'fk524pv' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                          fk524pv (dtheta, dphi, ptheta, pphi, px, rv);
                                  ^
      wcscon.c:383:14: warning: passing arguments to 'fk524m' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                          fk524m (dtheta, dphi, ptheta, pphi);
                                 ^
      wcscon.c:394:9: warning: passing arguments to 'fk524' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                      fk524 (dtheta, dphi);
                            ^
      wcscon.c:397:14: warning: passing arguments to 'gal2fk4' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                  gal2fk4 (dtheta, dphi);
                          ^
      wcscon.c:399:14: warning: passing arguments to 'ecl2fk4' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                  ecl2fk4 (dtheta, dphi, ep2);
                          ^
      wcscon.c:406:15: warning: passing arguments to 'fk425pv' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                          fk425pv (dtheta, dphi, ptheta, pphi, px, rv);
                                  ^
      wcscon.c:408:14: warning: passing arguments to 'fk425m' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                          fk425m (dtheta, dphi, ptheta, pphi);
                                 ^
      wcscon.c:417:23: warning: passing arguments to 'fk425' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                      fk425 (dtheta, dphi);
                            ^
      wcscon.c:420:21: warning: passing arguments to 'gal2fk5' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                  gal2fk5 (dtheta, dphi);
                          ^
      wcscon.c:422:14: warning: passing arguments to 'ecl2fk5' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                  ecl2fk5 (dtheta, dphi, ep2);
                          ^
      wcscon.c:431:14: warning: passing arguments to 'fk42gal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                  fk42gal (dtheta, dphi);
                          ^
      wcscon.c:438:14: warning: passing arguments to 'fk52gal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                  fk52gal (dtheta, dphi);
                          ^
      wcscon.c:441:14: warning: passing arguments to 'ecl2fk5' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                  ecl2fk5 (dtheta, dphi, ep2);
                          ^
      wcscon.c:442:14: warning: passing arguments to 'fk52gal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                  fk52gal (dtheta, dphi);
                          ^
      wcscon.c:453:11: warning: passing arguments to 'fk42ecl' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                      fk42ecl (dtheta, dphi, ep2);
                              ^
      wcscon.c:455:11: warning: passing arguments to 'fk42ecl' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                      fk42ecl (dtheta, dphi, 1950.0);
                              ^
      wcscon.c:462:14: warning: passing arguments to 'fk52ecl' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                  fk52ecl (dtheta, dphi, ep2);
                          ^
      wcscon.c:465:14: warning: passing arguments to 'gal2fk5' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                  gal2fk5 (dtheta, dphi);
                          ^
      wcscon.c:466:14: warning: passing arguments to 'fk52ecl' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                  fk52ecl (dtheta, dphi, ep2);
                          ^
      wcscon.c:473:14: warning: passing arguments to 'fk4prec' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                  fk4prec (1950.0, eq2, dtheta, dphi);
                          ^
      wcscon.c:475:14: warning: passing arguments to 'fk5prec' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                  fk5prec (2000.0, eq2, dtheta, dphi);
                          ^
      wcscon.c:500:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      wcscon (sys1, sys2, eq1, eq2, dtheta, dphi, epoch)
      ^
      wcscon.c:550:13: warning: passing arguments to 'fk4prec' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                 fk4prec (eq1, 1950.0, dtheta, dphi);
                         ^
      wcscon.c:552:13: warning: passing arguments to 'fk5prec' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                 fk5prec (eq1, 2000.0, dtheta, dphi);
                         ^
      wcscon.c:561:9: warning: passing arguments to 'fk524' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                      fk524 (dtheta, dphi);
                            ^
      wcscon.c:564:14: warning: passing arguments to 'gal2fk4' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                  gal2fk4 (dtheta, dphi);
                          ^
      wcscon.c:567:11: warning: passing arguments to 'ecl2fk4' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                      ecl2fk4 (dtheta, dphi, epoch);
                              ^
      wcscon.c:569:11: warning: passing arguments to 'ecl2fk4' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                      ecl2fk4 (dtheta, dphi, 1950.0);
                              ^
      wcscon.c:578:23: warning: passing arguments to 'fk425' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                      fk425 (dtheta, dphi);
                            ^
      wcscon.c:581:21: warning: passing arguments to 'gal2fk5' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                  gal2fk5 (dtheta, dphi);
                          ^
      wcscon.c:584:11: warning: passing arguments to 'ecl2fk5' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                      ecl2fk5 (dtheta, dphi, epoch);
                              ^
      wcscon.c:586:11: warning: passing arguments to 'ecl2fk5' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                      ecl2fk5 (dtheta, dphi, 2000.0);
                              ^
      wcscon.c:592:14: warning: passing arguments to 'fk42gal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                  fk42gal (dtheta, dphi);
                          ^
      wcscon.c:594:14: warning: passing arguments to 'fk52gal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                  fk52gal (dtheta, dphi);
                          ^
      wcscon.c:597:11: warning: passing arguments to 'ecl2fk5' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                      ecl2fk5 (dtheta, dphi, epoch);
                              ^
      wcscon.c:599:11: warning: passing arguments to 'ecl2fk5' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                      ecl2fk5 (dtheta, dphi, 2000.0);
                              ^
      wcscon.c:600:14: warning: passing arguments to 'fk52gal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                  fk52gal (dtheta, dphi);
                          ^
      wcscon.c:607:11: warning: passing arguments to 'fk42ecl' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                      fk42ecl (dtheta, dphi, epoch);
                              ^
      wcscon.c:609:11: warning: passing arguments to 'fk42ecl' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                      fk42ecl (dtheta, dphi, 1950.0);
                              ^
      wcscon.c:613:11: warning: passing arguments to 'fk52ecl' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                      fk52ecl (dtheta, dphi, epoch);
                              ^
      wcscon.c:615:11: warning: passing arguments to 'fk52ecl' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                      fk52ecl (dtheta, dphi, 2000.0);
                              ^
      wcscon.c:618:14: warning: passing arguments to 'gal2fk5' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                  gal2fk5 (dtheta, dphi);
                          ^
      wcscon.c:620:11: warning: passing arguments to 'fk52ecl' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                      fk52ecl (dtheta, dphi, epoch);
                              ^
      wcscon.c:622:11: warning: passing arguments to 'fk52ecl' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                      fk52ecl (dtheta, dphi, 2000.0);
                              ^
      wcscon.c:629:14: warning: passing arguments to 'fk4prec' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                  fk4prec (1950.0, eq2, dtheta, dphi);
                          ^
      wcscon.c:631:14: warning: passing arguments to 'fk5prec' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                  fk5prec (2000.0, eq2, dtheta, dphi);
                          ^
      wcscon.c:656:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      wcscsys (wcstring)
      ^
      wcscon.c:714:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      wcsceq (wcstring)
      ^
      wcscon.c:740:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      wcscstr (cstr, syswcs, equinox, epoch)
      ^
      wcscon.c:889:12: warning: passing arguments to 'fk524m' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
          fk524m (ra, dec, &rapm, &decpm);
                 ^
      wcscon.c:877:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      fk524 (ra,dec)
      ^
      wcscon.c:76:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
      void fk524(), fk524e(), fk524m(), fk524pv();
           ^
      wcscon.c:907:12: warning: passing arguments to 'fk524m' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
          fk524m (ra, dec, &rapm, &decpm);
                 ^
      wcscon.c:894:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      fk524e (ra, dec, epoch)
      ^
      wcscon.c:76:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
      void fk524(), fk524e(), fk524m(), fk524pv();
                    ^
      wcscon.c:926:13: warning: passing arguments to 'fk524pv' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
          fk524pv (ra, dec, rapm, decpm, &parallax, &rv);
                  ^
      wcscon.c:914:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      fk524m (ra,dec,rapm,decpm)
      ^
      wcscon.c:76:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
      void fk524(), fk524e(), fk524m(), fk524pv();
                              ^
      wcscon.c:932:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      fk524pv (ra,dec,rapm,decpm, parallax, rv)
      ^
      wcscon.c:76:35: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
      void fk524(), fk524e(), fk524m(), fk524pv();
                                        ^
      wcscon.c:1183:12: warning: passing arguments to 'fk425m' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
          fk425m (ra, dec, &rapm, &decpm);
                 ^
      wcscon.c:1171:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      fk425 (ra, dec)
      ^
      wcscon.c:77:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
      void fk425(), fk425e(), fk425m(), fk425pv();
           ^
      wcscon.c:1201:12: warning: passing arguments to 'fk425m' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
          fk425m (ra, dec, &rapm, &decpm);
                 ^
      wcscon.c:1189:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      fk425e (ra, dec, epoch)
      ^
      wcscon.c:77:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
      void fk425(), fk425e(), fk425m(), fk425pv();
                    ^
      wcscon.c:1219:13: warning: passing arguments to 'fk425pv' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
          fk425pv (ra, dec, rapm, decpm, &parallax, &rv);
                  ^
      wcscon.c:1208:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      fk425m (ra, dec, rapm, decpm)
      ^
      wcscon.c:77:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
      void fk425(), fk425e(), fk425m(), fk425pv();
                              ^
      wcscon.c:1225:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      fk425pv (ra,dec,rapm,decpm, parallax, rv)
      ^
      wcscon.c:77:35: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
      void fk425(), fk425e(), fk425m(), fk425pv();
                                        ^
      wcscon.c:1444:10: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
          void v2s3(),s2v3();
               ^
      ./wcs.h:609:10: note: conflicting prototype is here
          void v2s3 (         /* Convert vector to RA and Dec in radians and distance */
               ^
      wcscon.c:1444:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
          void v2s3(),s2v3();
                      ^
      ./wcs.h:599:10: note: conflicting prototype is here
          void s2v3 (         /* Convert RA and Dec in radians and distance to vector */
               ^
      wcscon.c:1475:18: warning: passing arguments to 'eqstrn' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
              eqcoor = eqstrn (dra,ddec);
                              ^
      wcscon.c:1432:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      fk42gal (dtheta,dphi)
      ^
      wcscon.c:78:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
      void fk42gal(), fk52gal(), gal2fk4(), gal2fk5();
           ^
      wcscon.c:1502:10: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
          void v2s3(),s2v3();
               ^
      ./wcs.h:609:10: note: conflicting prototype is here
          void v2s3 (         /* Convert vector to RA and Dec in radians and distance */
               ^
      wcscon.c:1502:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
          void v2s3(),s2v3();
                      ^
      ./wcs.h:599:10: note: conflicting prototype is here
          void s2v3 (         /* Convert RA and Dec in radians and distance to vector */
               ^
      wcscon.c:1533:18: warning: passing arguments to 'eqstrn' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
              eqcoor = eqstrn (dra,ddec);
                              ^
      wcscon.c:1489:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      gal2fk4 (dtheta,dphi)
      ^
      wcscon.c:78:28: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
      void fk42gal(), fk52gal(), gal2fk4(), gal2fk5();
                                 ^
      wcscon.c:1577:10: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
          void v2s3(),s2v3();
               ^
      ./wcs.h:609:10: note: conflicting prototype is here
          void v2s3 (         /* Convert vector to RA and Dec in radians and distance */
               ^
      wcscon.c:1577:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
          void v2s3(),s2v3();
                      ^
      ./wcs.h:599:10: note: conflicting prototype is here
          void s2v3 (         /* Convert RA and Dec in radians and distance to vector */
               ^
      wcscon.c:1604:18: warning: passing arguments to 'eqstrn' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
              eqcoor = eqstrn (dra,ddec);
                              ^
      wcscon.c:1563:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      fk52gal (dtheta,dphi)
      ^
      wcscon.c:78:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
      void fk42gal(), fk52gal(), gal2fk4(), gal2fk5();
                      ^
      wcscon.c:1630:10: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
          void v2s3(),s2v3();
               ^
      ./wcs.h:609:10: note: conflicting prototype is here
          void v2s3 (         /* Convert vector to RA and Dec in radians and distance */
               ^
      wcscon.c:1630:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
          void v2s3(),s2v3();
                      ^
      ./wcs.h:599:10: note: conflicting prototype is here
          void s2v3 (         /* Convert RA and Dec in radians and distance to vector */
               ^
      wcscon.c:1657:18: warning: passing arguments to 'eqstrn' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
              eqcoor = eqstrn (dra,ddec);
                              ^
      wcscon.c:1617:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      gal2fk5 (dtheta,dphi)
      ^
      wcscon.c:78:39: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
      void fk42gal(), fk52gal(), gal2fk4(), gal2fk5();
                                            ^
      wcscon.c:1668:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      char *eqstrn (dra, ddec)
            ^
      wcscon.c:1736:13: warning: passing arguments to 'fk52ecl' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
          fk52ecl (dtheta, dphi, epoch);
                  ^
      wcscon.c:1721:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      fk42ecl (dtheta, dphi, epoch)
      ^
      wcscon.c:79:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
      void fk42ecl(), fk52ecl(), ecl2fk4(), ecl2fk5();
           ^
      wcscon.c:1758:20: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
          void rotmat(), v2s3(), s2v3(), fk5prec();
                         ^
      ./wcs.h:609:10: note: conflicting prototype is here
          void v2s3 (         /* Convert vector to RA and Dec in radians and distance */
               ^
      wcscon.c:1758:28: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
          void rotmat(), v2s3(), s2v3(), fk5prec();
                                 ^
      ./wcs.h:599:10: note: conflicting prototype is here
          void s2v3 (         /* Convert RA and Dec in radians and distance to vector */
               ^
      wcscon.c:1762:10: warning: passing arguments to 'fk5prec' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
              fk5prec (2000.0, epoch, dtheta, dphi);
                      ^
      wcscon.c:1782:12: warning: passing arguments to 'rotmat' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
          rotmat (1, eps0, 0.0, 0.0, rmat);
                 ^
      wcscon.c:1744:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      fk52ecl (dtheta, dphi, epoch)
      ^
      wcscon.c:79:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
      void fk42ecl(), fk52ecl(), ecl2fk4(), ecl2fk5();
                      ^
      wcscon.c:1816:13: warning: passing arguments to 'ecl2fk5' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
          ecl2fk5 (dtheta, dphi, epoch);
                  ^
      wcscon.c:1804:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      ecl2fk4 (dtheta, dphi, epoch)
      ^
      wcscon.c:79:28: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
      void fk42ecl(), fk52ecl(), ecl2fk4(), ecl2fk5();
                                 ^
      wcscon.c:1842:10: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
          void v2s3(),s2v3(), fk5prec(), rotmat();
               ^
      ./wcs.h:609:10: note: conflicting prototype is here
          void v2s3 (         /* Convert vector to RA and Dec in radians and distance */
               ^
      wcscon.c:1842:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
          void v2s3(),s2v3(), fk5prec(), rotmat();
                      ^
      ./wcs.h:599:10: note: conflicting prototype is here
          void s2v3 (         /* Convert RA and Dec in radians and distance to vector */
               ^
      wcscon.c:1861:12: warning: passing arguments to 'rotmat' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
          rotmat (1, eps0, 0.0, 0.0, rmat);
                 ^
      wcscon.c:1878:10: warning: passing arguments to 'fk5prec' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
              fk5prec (epoch, 2000.0, dtheta, dphi);
                      ^
      wcscon.c:1829:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      ecl2fk5 (dtheta, dphi, epoch)
      ^
      wcscon.c:79:39: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
      void fk42ecl(), fk52ecl(), ecl2fk4(), ecl2fk5();
                                            ^
      wcscon.c:1905:10: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
          void v2s3(),s2v3(), mprecfk4();
               ^
      ./wcs.h:609:10: note: conflicting prototype is here
          void v2s3 (         /* Convert vector to RA and Dec in radians and distance */
               ^
      wcscon.c:1905:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
          void v2s3(),s2v3(), mprecfk4();
                      ^
      ./wcs.h:599:10: note: conflicting prototype is here
          void s2v3 (         /* Convert RA and Dec in radians and distance to vector */
               ^
      wcscon.c:1912:14: warning: passing arguments to 'mprecfk4' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
          mprecfk4 ( ep0, ep1, pm );
                   ^
      wcscon.c:1886:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      fk4prec (ep0, ep1, ra, dec)
      ^
      wcscon.c:1953:10: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
          void v2s3(),s2v3(), mprecfk5();
               ^
      ./wcs.h:609:10: note: conflicting prototype is here
          void v2s3 (         /* Convert vector to RA and Dec in radians and distance */
               ^
      wcscon.c:1953:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
          void v2s3(),s2v3(), mprecfk5();
                      ^
      ./wcs.h:599:10: note: conflicting prototype is here
          void s2v3 (         /* Convert RA and Dec in radians and distance to vector */
               ^
      wcscon.c:1960:14: warning: passing arguments to 'mprecfk5' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
          mprecfk5 (ep0, ep1, pm);
                   ^
      wcscon.c:1934:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      fk5prec (ep0, ep1, ra, dec)
      ^
      wcscon.c:2023:12: warning: passing arguments to 'rotmat' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
          rotmat (323, -zeta, theta, -z, rmatp);
                 ^
      wcscon.c:1984:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      mprecfk4 (bep0, bep1, rmatp)
      ^
      wcscon.c:2067:12: warning: passing arguments to 'rotmat' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
          rotmat (323, -zeta, theta, -z, rmatp);
                 ^
      wcscon.c:2029:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      mprecfk5 (ep0, ep1, rmatp)
      ^
      wcscon.c:2075:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      rotmat (axes, rot1, rot2, rot3, matrix)
      ^
      wcscon.c:2189:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      d2v3 (rra,rdec,r,pos)
      ^
      wcscon.c:2206:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      s2v3 (rra,rdec,r,pos)
      ^
      wcscon.c:2225:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      v2d3 (pos,rra,rdec,r)
      ^
      wcscon.c:2242:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      v2s3 (pos,rra,rdec,r)
      ^
      156 warnings generated.
      zpxpos.c:78:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      zpxinit (header, wcs)
      ^
      zpxpos.c:152:30: warning: passing arguments to 'wf_gsopen' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                  wcs->lngcor = wf_gsopen (lngstr);
                                          ^
      zpxpos.c:155:26: warning: passing arguments to 'wf_gsopen' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
              wcs->lngcor = wf_gsopen (lngstr);
                                      ^
      zpxpos.c:165:30: warning: passing arguments to 'wf_gsopen' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                  wcs->latcor = wf_gsopen (latstr);
                                          ^
      zpxpos.c:168:26: warning: passing arguments to 'wf_gsopen' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
              wcs->latcor = wf_gsopen (latstr);
                                      ^
      zpxpos.c:225:15: warning: passing arguments to 'wcsrotset' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
          wcsrotset (wcs);
                    ^
      zpxpos.c:244:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      zpxpos (xpix, ypix, wcs, xpos, ypos)
      ^
      zpxpos.c:311:21: warning: passing arguments to 'wf_gseval' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
              xp = x + wf_gseval (wcs->lngcor, x, y);
                                 ^
      zpxpos.c:315:21: warning: passing arguments to 'wf_gseval' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
              yp = y + wf_gseval (wcs->latcor, x, y);
                                 ^
      zpxpos.c:512:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      zpxpix (xpos, ypos, wcs, xpix, ypix)
      ^
      zpxpos.c:617:21: warning: passing arguments to 'wf_gseval' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                      f = x + wf_gseval (wcs->lngcor, x, y) - xm;
                                        ^
      zpxpos.c:618:17: warning: passing arguments to 'wf_gsder' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                      fx = wf_gsder (wcs->lngcor, x, y, 1, 0);
                                    ^
      zpxpos.c:620:17: warning: passing arguments to 'wf_gsder' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                      fy = wf_gsder (wcs->lngcor, x, y, 0, 1);
                                    ^
      zpxpos.c:628:21: warning: passing arguments to 'wf_gseval' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                      g = y + wf_gseval (wcs->latcor, x, y) - ym;
                                        ^
      zpxpos.c:629:17: warning: passing arguments to 'wf_gsder' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                      gx = wf_gsder (wcs->latcor, x, y, 1, 0);
                                    ^
      zpxpos.c:630:17: warning: passing arguments to 'wf_gsder' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                      gy = wf_gsder (wcs->latcor, x, y, 0, 1);
                                    ^
      zpxpos.c:704:13: warning: passing arguments to 'wf_gsclose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
              wf_gsclose (wcs->lngcor);
                         ^
      zpxpos.c:706:13: warning: passing arguments to 'wf_gsclose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
              wf_gsclose (wcs->latcor);
                         ^
      zpxpos.c:698:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      zpxclose (wcs)
      ^
      zpxpos.c:714:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      wf_gsclose (sf)
      ^
      zpxpos.c:53:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
      static void wf_gsclose();
                  ^
      21 warnings generated.
      lin.c:186:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      int linset(lin)
          ^
      lin.c:223:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      int linfwd(imgcrd, lin, pixcrd)
          ^
      lin.c:254:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      int linrev(pixcrd, lin, imgcrd)
          ^
      lin.c:286:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      int matinv(n, mat, inv)
          ^
      4 warnings generated.
      fitsfile.c:92:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      setfitsinherit (inh)
      ^
      fitsfile.c:105:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      fitsrhead (filename, lhead, nbhead)
      ^
      fitsfile.c:293:56: warning: format specifies type 'int' but the argument has type 'off_t' (aka 'long long') [-Wformat]
                  fprintf (stderr,"FITSRHEAD: %d bytes in header\n",ibhead);
                                              ~~                    ^~~~~~
                                              %lld
      fitsfile.c:552:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      fitsrtail (filename, lhead, nbhead)
      ^
      fitsfile.c:647:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      fitsrsect (filename, header, nbhead, x0, y0, nx, ny, nlog)
      ^
      fitsfile.c:786:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      fitsrimage (filename, nbhead, header)
      ^
      fitsfile.c:905:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      fitsrfull (filename, nbhead, header)
      ^
      fitsfile.c:1020:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      fitsropen (inpath)
      ^
      fitsfile.c:1086:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      fitsrtopen (inpath, nk, kw, nrows, nchar, nbhead)
      ^
      fitsfile.c:1152:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      fitsrthead (header, nk, kw, nrows, nchar)
      ^
      fitsfile.c:1326:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      fitsrtline (fd, nbhead, lbuff, tbuff, irow, nbline, line)
      ^
      fitsfile.c:1393:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      ftgeti2 (entry, kw)
      ^
      fitsfile.c:1431:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      ftgeti4 (entry, kw)
      ^
      fitsfile.c:1469:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      ftgetr4 (entry, kw)
      ^
      fitsfile.c:1507:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      ftgetr8 (entry, kw)
      ^
      fitsfile.c:1545:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      ftgetc (entry, kw, string, maxchar)
      ^
      fitsfile.c:1571:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      fitswimage (filename, header, image)
      ^
      fitsfile.c:1610:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      fitswext (filename, header, image)
      ^
      fitsfile.c:1651:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      fitswhdu (fd, filename, header, image)
      ^
      fitsfile.c:1788:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      fitscimage (filename, header, filename0)
      ^
      fitsfile.c:1958:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      fitswhead (filename, header)
      ^
      fitsfile.c:2012:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      fitswexhead (filename, header)
      ^
      fitsfile.c:2098:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      isfits (filename)
      ^
      fitsfile.c:2149:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      fitsheadsize (header)
      ^
      fitsfile.c:2175:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      moveb (source, dest, nbytes, offs, offd)
      ^
      25 warnings generated.
      wcstrig.c:42:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      double cosdeg (angle)
             ^
      wcstrig.c:65:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      double sindeg (angle)
             ^
      wcstrig.c:88:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      double tandeg (angle)
             ^
      wcstrig.c:109:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      double acosdeg(v)
             ^
      wcstrig.c:127:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      double asindeg (v)
             ^
      wcstrig.c:145:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      double atandeg (v)
             ^
      wcstrig.c:163:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      double atan2deg (y, x)
             ^
      7 warnings generated.
      hput.c:67:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      hputi4 (hstring,keyword,ival)
      ^
      hput.c:91:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      hputr4 (hstring, keyword, rval)
      ^
      hput.c:104:16: warning: passing arguments to 'fixnegzero' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
          fixnegzero (value);
                     ^
      hput.c:114:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      hputr8 (hstring, keyword, dval)
      ^
      hput.c:126:16: warning: passing arguments to 'fixnegzero' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
          fixnegzero (value);
                     ^
      hput.c:136:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      hputnr8 (hstring, keyword, ndec, dval)
      ^
      hput.c:161:16: warning: passing arguments to 'fixnegzero' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
          fixnegzero (value);
                     ^
      hput.c:171:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      hputra (hstring, keyword, ra)
      ^
      hput.c:183:16: warning: passing arguments to 'fixnegzero' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
          fixnegzero (value);
                     ^
      hput.c:193:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      hputdec (hstring, keyword, dec)
      ^
      hput.c:205:16: warning: passing arguments to 'fixnegzero' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
          fixnegzero (value);
                     ^
      hput.c:215:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      fixnegzero (string)
      ^
      hput.c:61:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
      static void fixnegzero();
                  ^
      hput.c:246:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      hputl (hstring, keyword,lval)
      ^
      hput.c:269:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      hputm (hstring,keyword,cval)
      ^
      hput.c:351:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      hputs (hstring,keyword,cval)
      ^
      hput.c:398:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      hputc (hstring,keyword,value)
      ^
      hput.c:595:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      hputcom (hstring,keyword,comment)
      ^
      hput.c:731:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      setleaveblank (lb)
      ^
      hput.c:736:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      setheadshrink (hsh)
      ^
      hput.c:745:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      hdel (hstring,keyword)
      ^
      hput.c:797:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      hadd (hplace, keyword)
      ^
      hput.c:843:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      hchange (hstring, keyword1, keyword2)
      ^
      hput.c:879:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      ra2str (string, lstr, ra, ndec)
      ^
      hput.c:1020:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      dec2str (string, lstr, dec, ndec)
      ^
      hput.c:1163:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      deg2str (string, lstr, deg, ndec)
      ^
      hput.c:1216:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      num2str (string, num, field, ndec)
      ^
      27 warnings generated.
      distort.c:47:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      distortinit (wcs, hstring)
      ^
      distort.c:143:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      DelDistort (header, verbose)
      ^
      distort.c:228:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      foc2pix (wcs, x, y, u, v)
      ^
      distort.c:289:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      pix2foc (wcs, u, v, x, y)
      ^
      distort.c:355:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      setdistcode (wcs, ctype)
      ^
      distort.c:381:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      getdistcode (wcs)
      ^
      6 warnings generated.
      wcs.c:99:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      wcsfree (wcs)
      ^
      wcs.c:135:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      wcsxinit (cra,cdec,secpix,xrpix,yrpix,nxpix,nypix,rotate,equinox,epoch,proj)
      ^
      wcs.c:238:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      wcskinit (naxis1, naxis2, ctype1, ctype2, crpix1, crpix2, crval1, crval2,
      ^
      wcs.c:338:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      wcstype (wcs, ctype1, ctype2)
      ^
      wcs.c:616:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      wcsreset (wcs, crpix1, crpix2, crval1, crval2, cdelt1, cdelt2, crota, cd)
      ^
      wcs.c:681:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      wcseqset (wcs, equinox)
      ^
      wcs.c:744:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      wcscdset (wcs, cd)
      ^
      wcs.c:771:15: warning: passing arguments to 'wcslibrot' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
          wcslibrot (wcs);
                    ^
      wcs.c:775:15: warning: passing arguments to 'wcsrotset' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
          wcsrotset (wcs);
                    ^
      wcs.c:787:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      wcsdeltset (wcs, cdelt1, cdelt2, crota)
      ^
      wcs.c:846:15: warning: passing arguments to 'wcslibrot' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
          wcslibrot (wcs);
                    ^
      wcs.c:926:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      wcspcset (wcs, cdelt1, cdelt2, pc)
      ^
      wcs.c:984:15: warning: passing arguments to 'wcsrotset' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
          wcsrotset (wcs);
                    ^
      wcs.c:993:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      wcslibrot (wcs)
      ^
      wcs.c:92:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
      static void wcslibrot();
                  ^
      wcs.c:1053:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      wcsrotset (wcs)
      ^
      wcs.c:93:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
      void wcsrotset();
           ^
      wcs.c:1141:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      iswcs (wcs)
      ^
      wcs.c:1156:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      nowcs (wcs)
      ^
      wcs.c:1171:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      wcsshift (wcs,rra,rdec,coorsys)
      ^
      wcs.c:1203:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      wcscent (wcs)
      ^
      wcs.c:1295:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      wcssize (wcs, cra, cdec, dra, ddec)
      ^
      wcs.c:1325:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      wcsfull (wcs, cra, cdec, width, height)
      ^
      wcs.c:1385:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      wcsrange (wcs, ra1, ra2, dec1, dec2)
      ^
      wcs.c:1451:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      wcsdist (x1,y1,x2,y2)
      ^
      wcs.c:1486:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      wcsdist1 (x1,y1,x2,y2)
      ^
      wcs.c:1517:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      wcsdiff (x1,y1,x2,y2)
      ^
      wcs.c:1541:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      wcscominit (wcs, i, command)
      ^
      wcs.c:1574:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      wcscom ( wcs, i, filename, xfile, yfile, wcstring )
      ^
      wcs.c:1665:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      wcsoutinit (wcs, coorsys)
      ^
      wcs.c:1761:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      getwcsout(wcs)
      ^
      wcs.c:1774:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      wcsininit (wcs, coorsys)
      ^
      wcs.c:1840:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      getwcsin (wcs)
      ^
      wcs.c:1852:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      setwcsdeg(wcs, new)
      ^
      wcs.c:1872:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      wcsndec (wcs, ndec)
      ^
      wcs.c:1888:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      getradecsys(wcs)
      ^
      wcs.c:1901:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      setwcslin (wcs, mode)
      ^
      wcs.c:1916:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      pix2wcst (wcs, xpix, ypix, wcstring, lstr)
      ^
      wcs.c:2118:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      pix2wcs (wcs,xpix,ypix,xpos,ypos)
      ^
      wcs.c:2176:21: warning: passing arguments to 'wcspos' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
          else if (wcspos (xpi, ypi, wcs, &xp, &yp))
                          ^
      wcs.c:2221:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      wcs2pix (wcs, xpos, ypos, xpix, ypix, offscl)
      ^
      wcs.c:2235:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      wcsc2pix (wcs, xpos, ypos, coorsys, xpix, ypix, offscl)
      ^
      wcs.c:2310:21: warning: passing arguments to 'wcspix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
          else if (wcspix (xp, yp, wcs, &xpi, &ypi)) {
                          ^
      wcs.c:2354:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
          int wcsrev();
              ^
      ./wcslib.h:345:8: note: conflicting prototype is here
         int wcsrev(const char[][16],
             ^
      wcs.c:2341:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      wcspos (xpix, ypix, wcs, xpos, ypos)
      ^
      wcs.c:2395:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype]
          int wcsfwd();
              ^
      ./wcslib.h:333:8: note: conflicting prototype is here
         int wcsfwd(const char[][16],
             ^
      wcs.c:2382:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      wcspix (xpos, ypos, wcs, xpix, ypix)
      ^
      wcs.c:2444:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      wcszin (izpix0)
      ^
      wcs.c:2460:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      wcszout (wcs)
      ^
      wcs.c:2469:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      setwcsfile (filename)
      ^
      wcs.c:2479:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      setwcserr (errmsg)
      ^
      wcs.c:2495:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      setdefwcs (wp)
      ^
      wcs.c:2507:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      savewcscoor (wcscoor)
      ^
      wcs.c:2521:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      savewcscom (i, wcscom)
      ^
      wcs.c:2536:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      setwcscom (wcs)
      ^
      wcs.c:2570:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      getwcscom (i)
      ^
      wcs.c:2576:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      freewcscom (wcs)
      ^
      wcs.c:2597:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      cpwcs (header, cwcs)
      ^
      58 warnings generated.
      wcslib.c:424:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      wcsset (naxis, ctype, wcs)
      ^
      wcslib.c:554:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      wcsfwd(ctype, wcs, world, crval, cel, phi, theta, prj, imgcrd, lin, pixcrd)
      ^
      wcslib.c:644:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      wcsrev(ctype, wcs, pixcrd, lin, imgcrd, prj, phi, theta, crval, cel, world)
      ^
      wcslib.c:743:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      wcsmix(ctype, wcs, mixpix, mixcel, vspan, vstep, viter, world, crval, cel,
      ^
      4 warnings generated.
      fileutil.c:82:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      getfilelines (filename)
      ^
      fileutil.c:114:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      getfilebuff (filename)
      ^
      fileutil.c:192:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      getfilesize (filename)
      ^
      fileutil.c:205:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      getfilesize0 (filename)
      ^
      fileutil.c:233:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      isimlist (filename)
      ^
      fileutil.c:256:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      isimlistd (filename, rootdir)
      ^
      fileutil.c:288:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      isfilelist (filename, rootdir)
      ^
      fileutil.c:321:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      isfile (filename)
      ^
      fileutil.c:334:39: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand]
              if (S_ISDIR(statbuff.st_mode) && S_IFDIR)
                                            ^  ~~~~~~~
      fileutil.c:334:39: note: use '&' for a bitwise operation
              if (S_ISDIR(statbuff.st_mode) && S_IFDIR)
                                            ^~
                                            &
      fileutil.c:334:39: note: remove constant to silence this warning
              if (S_ISDIR(statbuff.st_mode) && S_IFDIR)
                                           ~^~~~~~~~~~
      fileutil.c:346:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      next_line (diskfile, ncmax, line)
      ^
      fileutil.c:382:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      first_token (diskfile, ncmax, token)
      ^
      fileutil.c:420:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      stc2s (spchar, string)
      ^
      fileutil.c:441:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      sts2c (spchar, string)
      ^
      fileutil.c:461:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      istiff (filename)
      ^
      fileutil.c:502:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      isjpeg (filename)
      ^
      fileutil.c:546:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      isgif (filename)
      ^
      fileutil.c:586:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      setoken (tokens, string, cwhite)
      ^
      fileutil.c:766:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      nextoken (tokens, token, maxchars)
      ^
      fileutil.c:795:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      getoken (tokens, itok, token, maxchars)
      ^
      19 warnings generated.
      tnxpos.c:73:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      tnxinit (header, wcs)
      ^
      tnxpos.c:121:30: warning: passing arguments to 'wf_gsopen' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                  wcs->lngcor = wf_gsopen (lngstr);
                                          ^
      tnxpos.c:124:26: warning: passing arguments to 'wf_gsopen' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
              wcs->lngcor = wf_gsopen (lngstr);
                                      ^
      tnxpos.c:134:30: warning: passing arguments to 'wf_gsopen' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                  wcs->latcor = wf_gsopen (latstr);
                                          ^
      tnxpos.c:137:26: warning: passing arguments to 'wf_gsopen' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
              wcs->latcor = wf_gsopen (latstr);
                                      ^
      tnxpos.c:140:15: warning: passing arguments to 'wcsrotset' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
          wcsrotset (wcs);
                    ^
      tnxpos.c:159:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      tnxpos (xpix, ypix, wcs, xpos, ypos)
      ^
      tnxpos.c:224:21: warning: passing arguments to 'wf_gseval' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
              xp = x + wf_gseval (wcs->lngcor, x, y);
                                 ^
      tnxpos.c:228:21: warning: passing arguments to 'wf_gseval' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
              yp = y + wf_gseval (wcs->latcor, x, y);
                                 ^
      tnxpos.c:309:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      tnxpix (xpos, ypos, wcs, xpix, ypix)
      ^
      tnxpos.c:417:25: warning: passing arguments to 'wf_gseval' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                          f = x + wf_gseval (wcs->lngcor, x, y) - xm;
                                            ^
      tnxpos.c:418:21: warning: passing arguments to 'wf_gsder' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                          fx = wf_gsder (wcs->lngcor, x, y, 1, 0);
                                        ^
      tnxpos.c:420:21: warning: passing arguments to 'wf_gsder' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                          fy = wf_gsder (wcs->lngcor, x, y, 0, 1);
                                        ^
      tnxpos.c:428:25: warning: passing arguments to 'wf_gseval' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                          g = y + wf_gseval (wcs->latcor, x, y) - ym;
                                            ^
      tnxpos.c:429:21: warning: passing arguments to 'wf_gsder' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                          gx = wf_gsder (wcs->latcor, x, y, 1, 0);
                                        ^
      tnxpos.c:430:21: warning: passing arguments to 'wf_gsder' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                          gy = wf_gsder (wcs->latcor, x, y, 0, 1);
                                        ^
      tnxpos.c:505:13: warning: passing arguments to 'wf_gsclose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
              wf_gsclose (wcs->lngcor);
                         ^
      tnxpos.c:507:13: warning: passing arguments to 'wf_gsclose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
              wf_gsclose (wcs->latcor);
                         ^
      tnxpos.c:499:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      tnxclose (wcs)
      ^
      tnxpos.c:592:23: warning: passing arguments to 'wf_gsrestore' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
          gs = wf_gsrestore (coeff);
                            ^
      tnxpos.c:555:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      wf_gsopen (astr)
      ^
      tnxpos.c:606:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      wf_gsclose (sf)
      ^
      tnxpos.c:50:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
      static void wf_gsclose();
                  ^
      tnxpos.c:641:25: warning: passing arguments to 'wf_gsb1cheb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                  wf_gsb1cheb (x, sf->xorder, sf->xmaxmin, sf->xrange, sf->xbasis);
                              ^
      tnxpos.c:642:25: warning: passing arguments to 'wf_gsb1cheb' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                  wf_gsb1cheb (y, sf->yorder, sf->ymaxmin, sf->yrange, sf->ybasis);
                              ^
      tnxpos.c:645:24: warning: passing arguments to 'wf_gsb1leg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                  wf_gsb1leg (x, sf->xorder, sf->xmaxmin, sf->xrange, sf->xbasis);
                             ^
      tnxpos.c:646:24: warning: passing arguments to 'wf_gsb1leg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                  wf_gsb1leg (y, sf->yorder, sf->ymaxmin, sf->yrange, sf->ybasis);
                             ^
      tnxpos.c:649:24: warning: passing arguments to 'wf_gsb1pol' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                  wf_gsb1pol (x, sf->xorder, sf->xbasis);
                             ^
      tnxpos.c:650:24: warning: passing arguments to 'wf_gsb1pol' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                  wf_gsb1pol (y, sf->yorder, sf->ybasis);
                             ^
      tnxpos.c:629:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      wf_gseval (sf, x, y)
      ^
      tnxpos.c:703:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      wf_gscoeff (sf, coeff)
      ^
      tnxpos.c:728:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      wf_gsder (sf1, x, y, nxd, nyd)
      ^
      tnxpos.c:938:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      wf_gsrestore (fit)
      ^
      tnxpos.c:1026:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      wf_gsb1pol (x, order, basis)
      ^
      tnxpos.c:51:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
      static void wf_gsb1pol();
                  ^
      tnxpos.c:1053:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      wf_gsb1leg (x, order, k1, k2, basis)
      ^
      tnxpos.c:52:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
      static void wf_gsb1leg();
                  ^
      tnxpos.c:1086:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      wf_gsb1cheb (x, order, k1, k2, basis)
      ^
      tnxpos.c:53:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
      static void wf_gsb1cheb();
                  ^
      tnxpos.c:1128:29: warning: passing arguments to 'wf_gspset' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
          wcs->lngcor = wf_gspset (xorder, yorder, xterms, coeff);
                                  ^
      tnxpos.c:1130:29: warning: passing arguments to 'wf_gspset' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
          wcs->latcor = wf_gspset (xorder, yorder, xterms, ycoeff);
                                  ^
      tnxpos.c:1114:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      tnxpset (wcs, xorder, yorder, xterms, coeff)
      ^
      tnxpos.c:1143:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      wf_gspset (xorder, yorder, xterms, coeff)
      ^
      43 warnings generated.
      platepos.c:45:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      platepos (xpix, ypix, wcs, xpos, ypos)
      ^
      platepos.c:129:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      platepix (xpos, ypos, wcs, xpix, ypix)
      ^
      platepos.c:296:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      SetPlate (wcs, ncoeff1, ncoeff2, coeff)
      ^
      platepos.c:332:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      GetPlate (wcs, ncoeff1, ncoeff2, coeff)
      ^
      platepos.c:360:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      SetFITSPlate (header, wcs)
      ^
      5 warnings generated.
      sph.c:103:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      int sphfwd (lng, lat, eul, phi, theta)
          ^
      sph.c:163:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      int sphrev (phi, theta, eul, lng, lat)
          ^
      2 warnings generated.
      dsspos.c:45:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      dsspos (xpix, ypix, wcs, xpos, ypos)
      ^
      dsspos.c:136:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      dsspix (xpos, ypos, wcs, xpix, ypix)
      ^
      2 warnings generated.
      imhfile.c:183:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      irafrhead (filename, lihead)
      ^
      imhfile.c:205:28: warning: passing arguments to 'irafsize' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
          if ((nbhead = irafsize (fd)) <= 0) {
                                 ^
      imhfile.c:234:27: warning: passing arguments to 'head_version' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
          imhver = head_version (irafheader);
                                ^
      imhfile.c:258:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      irafrimage (fitsheader)
      ^
      imhfile.c:326:26: warning: passing arguments to 'pix_version' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
          imhver = pix_version (pixheader);
                               ^
      imhfile.c:404:11: warning: passing arguments to 'irafswap' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
              irafswap (bitpix, image, nbimage);
                       ^
      imhfile.c:420:18: warning: passing arguments to 'irafncmp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
          if (irafncmp (irafheader, "imhdr", 5) != 0 ) {
                       ^
      imhfile.c:413:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      head_version (irafheader)
      ^
      imhfile.c:167:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
      int head_version ();
          ^
      imhfile.c:441:18: warning: passing arguments to 'irafncmp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
          if (irafncmp (irafheader, "impix", 5) != 0) {
                       ^
      imhfile.c:434:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      pix_version (irafheader)
      ^
      imhfile.c:168:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
      int pix_version ();
          ^
      imhfile.c:466:26: warning: passing arguments to 'iraf2str' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
          if ((line = iraf2str (irafheader, nc)) == NULL)
                               ^
      imhfile.c:456:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      irafncmp (irafheader, teststring, nc)
      ^
      imhfile.c:169:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
      int irafncmp ();
          ^
      imhfile.c:481:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      iraf2fits (hdrname, irafheader, nbiraf, nbfits)
      ^
      imhfile.c:558:25: warning: passing arguments to 'irafgeti4' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
          pixtype = irafgeti4 (irafheader, impixtype);
                              ^
      imhfile.c:591:21: warning: passing arguments to 'irafgeti4' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
          nax = irafgeti4 (irafheader, imndim);
                          ^
      imhfile.c:596:19: warning: passing arguments to 'irafgeti4' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
          n = irafgeti4 (irafheader, imlen);
                        ^
      imhfile.c:602:16: warning: passing arguments to 'irafgeti4' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
              n = irafgeti4 (irafheader, imlen+4);
                            ^
      imhfile.c:612:16: warning: passing arguments to 'irafgeti4' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
              n = irafgeti4 (irafheader, imlen+8);
                            ^
      imhfile.c:618:16: warning: passing arguments to 'irafgeti4' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
              n = irafgeti4 (irafheader, imlen+12);
                            ^
      imhfile.c:626:21: warning: passing arguments to 'irafgetc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
              objname = irafgetc (irafheader, IM2_TITLE, SZ_IM2TITLE);
                                 ^
      imhfile.c:628:22: warning: passing arguments to 'irafgetc2' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
              objname = irafgetc2 (irafheader, IM_TITLE, SZ_IMTITLE);
                                  ^
      imhfile.c:640:19: warning: passing arguments to 'irafgeti4' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
          n = irafgeti4 (irafheader, imphyslen);
                        ^
      imhfile.c:645:16: warning: passing arguments to 'irafgeti4' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
              n = irafgeti4 (irafheader, imphyslen+4);
                            ^
      imhfile.c:651:16: warning: passing arguments to 'irafgeti4' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
              n = irafgeti4 (irafheader, imphyslen+8);
                            ^
      imhfile.c:657:16: warning: passing arguments to 'irafgeti4' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
              n = irafgeti4 (irafheader, imphyslen+12);
                            ^
      imhfile.c:664:22: warning: passing arguments to 'irafgetr4' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
          rmax = irafgetr4 (irafheader, immax);
                           ^
      imhfile.c:665:22: warning: passing arguments to 'irafgetr4' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
          rmin = irafgetr4 (irafheader, immin);
                           ^
      imhfile.c:691:21: warning: passing arguments to 'irafgetc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
              pixname = irafgetc (irafheader, IM2_PIXFILE, SZ_IM2PIXFILE);
                                 ^
      imhfile.c:693:22: warning: passing arguments to 'irafgetc2' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
              pixname = irafgetc2 (irafheader, IM_PIXFILE, SZ_IMPIXFILE);
                                  ^
      imhfile.c:695:25: warning: passing arguments to 'same_path' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
              newpixname = same_path (pixname, hdrname);
                                     ^
      imhfile.c:700:25: warning: passing arguments to 'same_path' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
              newpixname = same_path (pixname, hdrname);
                                     ^
      imhfile.c:722:24: warning: passing arguments to 'irafgeti4' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
          pixoff = irafgeti4 (irafheader, impixoff);
                             ^
      imhfile.c:743:23: warning: passing arguments to 'irafgeti4' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
              hpixswap = irafgeti4 (irafheader, IM2_SWAPPED);
                                   ^
      imhfile.c:761:23: warning: passing arguments to 'irafgeti4' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
          mtime = irafgeti4 (irafheader, imtime);
                            ^
      imhfile.c:871:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      irafwhead (hdrname, lhead, irafheader, fitsheader)
      ^
      imhfile.c:928:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      irafwimage (hdrname, lhead, irafheader, fitsheader, image )
      ^
      imhfile.c:948:22: warning: passing arguments to 'irafgetc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                  pixn = irafgetc (irafheader, IM2_PIXFILE, SZ_IM2PIXFILE);
                                  ^
      imhfile.c:950:23: warning: passing arguments to 'irafgetc2' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                  pixn = irafgetc2 (irafheader, IM_PIXFILE, SZ_IMPIXFILE);
                                   ^
      imhfile.c:952:29: warning: passing arguments to 'same_path' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                  newpixname = same_path (pixn, hdrname);
                                         ^
      imhfile.c:1010:11: warning: passing arguments to 'irafputc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
              irafputc ("impv2", irafheader, 0, 5);
                       ^
      imhfile.c:1012:12: warning: passing arguments to 'irafputc2' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
              irafputc2 ("impix", irafheader, 0, 5);
                        ^
      imhfile.c:1017:11: warning: passing arguments to 'irafswap' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
              irafswap (bitpix, image, nbimage);
                       ^
      imhfile.c:1030:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      same_path (pixname, hdrname)
      ^
      imhfile.c:156:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
      static char *same_path();
                   ^
      imhfile.c:1099:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      fits2iraf (fitsheader, irafheader, nbhead, nbiraf)
      ^
      imhfile.c:1174:15: warning: passing arguments to 'irafputi4' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
          irafputi4 (irafheader, impixtype, pixtype);
                    ^
      imhfile.c:1179:15: warning: passing arguments to 'irafputi4' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
          irafputi4 (irafheader, imndim, nax);
                    ^
      imhfile.c:1183:15: warning: passing arguments to 'irafputi4' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
          irafputi4 (irafheader, imlen, n);
                    ^
      imhfile.c:1184:15: warning: passing arguments to 'irafputi4' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
          irafputi4 (irafheader, imphyslen, n);
                    ^
      imhfile.c:1188:15: warning: passing arguments to 'irafputi4' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
          irafputi4 (irafheader, imlen+4, n);
                    ^
      imhfile.c:1189:15: warning: passing arguments to 'irafputi4' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
          irafputi4 (irafheader, imphyslen+4, n);
                    ^
      imhfile.c:1194:12: warning: passing arguments to 'irafputi4' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
              irafputi4 (irafheader, imlen+8, n);
                        ^
      imhfile.c:1195:12: warning: passing arguments to 'irafputi4' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
              irafputi4 (irafheader, imphyslen+8, n);
                        ^
      imhfile.c:1201:12: warning: passing arguments to 'irafputi4' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
              irafputi4 (irafheader, imlen+12, n);
                        ^
      imhfile.c:1202:12: warning: passing arguments to 'irafputi4' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
              irafputi4 (irafheader, imphyslen+12, n);
                        ^
      imhfile.c:1212:12: warning: passing arguments to 'irafputr4' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
              irafputr4 (irafheader, immax, rmax);
                        ^
      imhfile.c:1213:12: warning: passing arguments to 'irafputr4' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
              irafputr4 (irafheader, immin, rmin);
                        ^
      imhfile.c:1241:22: warning: passing arguments to 'irafputc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                  irafputc (pixfile, irafheader, IM2_PIXFILE, SZ_IM2PIXFILE);
                           ^
      imhfile.c:1243:23: warning: passing arguments to 'irafputc2' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                  irafputc2 (pixfile, irafheader, IM_PIXFILE, SZ_IMPIXFILE);
                            ^
      imhfile.c:1258:22: warning: passing arguments to 'irafputc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                  irafputc (pixfile, irafheader, IM2_HDRFILE, SZ_IM2HDRFILE);
                           ^
      imhfile.c:1260:23: warning: passing arguments to 'irafputc2' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                  irafputc2 (pixfile, irafheader, IM_HDRFILE, SZ_IMHDRFILE);
                            ^
      imhfile.c:1270:22: warning: passing arguments to 'irafputc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                  irafputc (title, irafheader, IM2_TITLE, SZ_IM2TITLE);
                           ^
      imhfile.c:1272:23: warning: passing arguments to 'irafputc2' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                  irafputc2 (title, irafheader, IM_TITLE, SZ_IMTITLE);
                            ^
      imhfile.c:1298:15: warning: passing arguments to 'irafputi4' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
          irafputi4 (irafheader, imtime, mtime);
                    ^
      imhfile.c:1329:15: warning: passing arguments to 'irafputi4' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
          irafputi4 (irafheader, imhlen, hdrlength);
                    ^
      imhfile.c:1340:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      irafgeti4 (irafheader, offset)
      ^
      imhfile.c:151:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
      int irafgeti4();
          ^
      imhfile.c:1377:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      irafgetr4 (irafheader, offset)
      ^
      imhfile.c:152:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
      float irafgetr4();
            ^
      imhfile.c:1425:27: warning: passing arguments to 'irafgetc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
          irafstring = irafgetc (irafheader, offset, 2*(nc+1));
                                ^
      imhfile.c:1426:23: warning: passing arguments to 'iraf2str' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
          string = iraf2str (irafstring, nc);
                            ^
      imhfile.c:1416:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      irafgetc2 (irafheader, offset, nc)
      ^
      imhfile.c:153:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
      char *irafgetc2();
            ^
      imhfile.c:1436:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      irafgetc (irafheader, offset, nc)
      ^
      imhfile.c:154:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
      char *irafgetc();
            ^
      imhfile.c:1466:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      iraf2str (irafstring, nchar)
      ^
      imhfile.c:155:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
      char *iraf2str();
            ^
      imhfile.c:1510:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      irafputi4 (irafheader, offset, inum)
      ^
      imhfile.c:158:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
      static void irafputi4();
                  ^
      imhfile.c:1542:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      irafputr4 (irafheader, offset, rnum)
      ^
      imhfile.c:157:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
      static void irafputr4();
                  ^
      imhfile.c:1589:14: warning: passing arguments to 'str2iraf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
          str2iraf (string, irafstring, nc);
                   ^
      imhfile.c:1590:14: warning: passing arguments to 'irafputc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
          irafputc (irafstring, irafheader, offset, 2*nc);
                   ^
      imhfile.c:1574:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      irafputc2 (string, irafheader, offset, nc)
      ^
      imhfile.c:159:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
      static void irafputc2();
                  ^
      imhfile.c:1599:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      irafputc (string, irafheader, offset, nc)
      ^
      imhfile.c:160:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
      static void irafputc();
                  ^
      imhfile.c:1621:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      str2iraf (string, irafstring, nchar)
      ^
      imhfile.c:161:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
      static void str2iraf();
                  ^
      imhfile.c:1671:16: warning: passing arguments to 'irafswap2' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                  irafswap2 (string,nbytes);
                            ^
      imhfile.c:1676:16: warning: passing arguments to 'irafswap4' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                  irafswap4 (string,nbytes);
                            ^
      imhfile.c:1681:16: warning: passing arguments to 'irafswap2' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                  irafswap2 (string,nbytes);
                            ^
      imhfile.c:1686:16: warning: passing arguments to 'irafswap4' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                  irafswap4 (string,nbytes);
                            ^
      imhfile.c:1691:16: warning: passing arguments to 'irafswap8' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                  irafswap8 (string,nbytes);
                            ^
      imhfile.c:1658:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      irafswap (bitpix, string, nbytes)
      ^
      imhfile.c:163:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
      static void irafswap();
                  ^
      imhfile.c:1702:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      irafswap2 (string,nbytes)
      ^
      imhfile.c:164:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
      static void irafswap2();
                  ^
      imhfile.c:1726:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      irafswap4 (string,nbytes)
      ^
      imhfile.c:165:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
      static void irafswap4();
                  ^
      imhfile.c:1756:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      irafswap8 (string,nbytes)
      ^
      imhfile.c:166:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
      static void irafswap8();
                  ^
      imhfile.c:1812:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      isiraf (filename)
      ^
      imhfile.c:1828:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      irafsize (diskfile)
      ^
      imhfile.c:171:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
      static int irafsize();
                 ^
      108 warnings generated.
      proj.c:293:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      int prjset(pcode, prj)
          ^
      proj.c:362:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      int prjfwd(phi, theta, prj, x, y)
          ^
      proj.c:374:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      int prjrev(x, y, prj, phi, theta)
          ^
      proj.c:411:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      int azpset(prj)
          ^
      proj.c:454:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      int azpfwd(phi, theta, prj, x, y)
          ^
      proj.c:512:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      int azprev(x, y, prj, phi, theta)
          ^
      proj.c:593:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      int szpset(prj)
          ^
      proj.c:633:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      int szpfwd(phi, theta, prj, x, y)
          ^
      proj.c:692:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      int szprev(x, y, prj, phi, theta)
          ^
      proj.c:779:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      int tanset(prj)
          ^
      proj.c:806:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      int tanfwd(phi, theta, prj, x, y)
          ^
      proj.c:840:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      int tanrev(x, y, prj, phi, theta)
          ^
      proj.c:891:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      int stgset(prj)
          ^
      proj.c:918:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      int stgfwd(phi, theta, prj, x, y)
          ^
      proj.c:945:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      int stgrev(x, y, prj, phi, theta)
          ^
      proj.c:991:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      int sinset(prj)
          ^
      proj.c:1016:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      int sinfwd(phi, theta, prj, x, y)
          ^
      proj.c:1068:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      int sinrev (x, y, prj, phi, theta)
          ^
      proj.c:1181:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      int arcset(prj)
          ^
      proj.c:1208:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      int arcfwd(phi, theta, prj, x, y)
          ^
      proj.c:1230:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      int arcrev(x, y, prj, phi, theta)
          ^
      proj.c:1275:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      int zpnset(prj)
          ^
      proj.c:1369:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      int zpnfwd(phi, theta, prj, x, y)
          ^
      proj.c:1403:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      int zpnrev(x, y, prj, phi, theta)
          ^
      proj.c:1532:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      int zeaset(prj)
          ^
      proj.c:1559:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      int zeafwd(phi, theta, prj, x, y)
          ^
      proj.c:1581:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      int zearev(x, y, prj, phi, theta)
          ^
      proj.c:1643:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      int airset(prj)
          ^
      proj.c:1683:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      int airfwd(phi, theta, prj, x, y)
          ^
      proj.c:1719:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      int airrev(x, y, prj, phi, theta)
          ^
      proj.c:1818:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      int cypset(prj)
          ^
      proj.c:1868:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      int cypfwd(phi, theta, prj, x, y)
          ^
      proj.c:1894:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      int cyprev(x, y, prj, phi, theta)
          ^
      proj.c:1937:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      int ceaset(prj)
          ^
      proj.c:1974:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      int ceafwd(phi, theta, prj, x, y)
          ^
      proj.c:1993:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      int cearev(x, y, prj, phi, theta)
          ^
      proj.c:2038:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      int carset(prj)
          ^
      proj.c:2065:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      int carfwd(phi, theta, prj, x, y)
          ^
      proj.c:2084:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      int carrev(x, y, prj, phi, theta)
          ^
      proj.c:2118:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      int merset(prj)
          ^
      proj.c:2145:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      int merfwd(phi, theta, prj, x, y)
          ^
      proj.c:2168:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      int merrev(x, y, prj, phi, theta)
          ^
      proj.c:2202:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      int sflset(prj)
          ^
      proj.c:2229:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      int sflfwd(phi, theta, prj, x, y)
          ^
      proj.c:2248:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      int sflrev(x, y, prj, phi, theta)
          ^
      proj.c:2291:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      int parset(prj)
          ^
      proj.c:2322:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      int parfwd(phi, theta, prj, x, y)
          ^
      proj.c:2344:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      int parrev(x, y, prj, phi, theta)
          ^
      proj.c:2397:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      int molset(prj)
          ^
      proj.c:2423:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      int molfwd(phi, theta, prj, x, y)
          ^
      proj.c:2471:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      int molrev(x, y, prj, phi, theta)
          ^
      proj.c:2543:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      int aitset(prj)
          ^
      proj.c:2568:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      int aitfwd(phi, theta, prj, x, y)
          ^
      proj.c:2591:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      int aitrev(x, y, prj, phi, theta)
          ^
      proj.c:2661:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      int copset(prj)
          ^
      proj.c:2698:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      int copfwd(phi, theta, prj, x, y)
          ^
      proj.c:2732:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      int coprev(x, y, prj, phi, theta)
          ^
      proj.c:2790:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      int coeset(prj)
          ^
      proj.c:2831:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      int coefwd(phi, theta, prj, x, y)
          ^
      proj.c:2859:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      int coerev(x, y, prj, phi, theta)
          ^
      proj.c:2928:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      int codset(prj)
          ^
      proj.c:2962:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      int codfwd(phi, theta, prj, x, y)
          ^
      proj.c:2986:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      int codrev(x, y, prj, phi, theta)
          ^
      proj.c:3042:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      int cooset(prj)
          ^
      proj.c:3090:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      int coofwd(phi, theta, prj, x, y)
          ^
      proj.c:3122:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      int coorev(x, y, prj, phi, theta)
          ^
      proj.c:3179:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      int bonset(prj)
          ^
      proj.c:3206:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      int bonfwd(phi, theta, prj, x, y)
          ^
      proj.c:3235:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      int bonrev(x, y, prj, phi, theta)
          ^
      proj.c:3292:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      int pcoset(prj)
          ^
      proj.c:3321:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      int pcofwd(phi, theta, prj, x, y)
          ^
      proj.c:3352:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      int pcorev(x, y, prj, phi, theta)
          ^
      proj.c:3373:16: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value]
            *theta = copysgni (90.0,y);
                     ^
      proj.c:289:36: note: expanded from macro 'copysgni'
      #define copysgni(X, Y) ((Y) < 0 ? -abs(X) : abs(X))
                                         ^
      proj.c:3373:16: note: use function 'fabs' instead
      proj.c:289:36: note: expanded from macro 'copysgni'
      #define copysgni(X, Y) ((Y) < 0 ? -abs(X) : abs(X))
                                         ^
      proj.c:3373:16: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value]
            *theta = copysgni (90.0,y);
                     ^
      proj.c:289:45: note: expanded from macro 'copysgni'
      #define copysgni(X, Y) ((Y) < 0 ? -abs(X) : abs(X))
                                                  ^
      proj.c:3373:16: note: use function 'fabs' instead
      proj.c:289:45: note: expanded from macro 'copysgni'
      #define copysgni(X, Y) ((Y) < 0 ? -abs(X) : abs(X))
                                                  ^
      proj.c:3451:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      int tscset(prj)
          ^
      proj.c:3478:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      int tscfwd(phi, theta, prj, x, y)
          ^
      proj.c:3578:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      int tscrev(x, y, prj, phi, theta)
          ^
      proj.c:3670:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      int cscset(prj)
          ^
      proj.c:3697:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      int cscfwd(phi, theta, prj, x, y)
          ^
      proj.c:3832:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      int cscrev(x, y, prj, phi, theta)
          ^
      proj.c:3990:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      int qscset(prj)
          ^
      proj.c:4017:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      int qscfwd(phi, theta, prj, x, y)
          ^
      proj.c:4196:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      int qscrev(x, y, prj, phi, theta)
          ^
      83 warnings generated.
      PyWCSTools/wcssubs-3.9.5/wcscon_wrap.c:3027:3: error: call to undeclared function 'wcscon'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
        wcscon(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
        ^
      PyWCSTools/wcssubs-3.9.5/wcscon_wrap.c:3063:17: error: call to undeclared function 'wcscsys'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
        result = (int)wcscsys(arg1);
                      ^
      2 errors generated.
      error: command '/usr/bin/clang' failed with exit code 1
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for astLib
ERROR: Could not build wheels for astLib, which is required to install pyproject.toml-based projects
Obtaining file:///Users/sarahwhite/RSSMOSPipeline
  Installing build dependencies: started
  Installing build dependencies: finished with status 'done'
  Checking if build backend supports build_editable: started
  Checking if build backend supports build_editable: finished with status 'done'
  Getting requirements to build editable: started
  Getting requirements to build editable: finished with status 'done'
  Preparing editable metadata (pyproject.toml): started
  Preparing editable metadata (pyproject.toml): finished with status 'done'
Requirement already satisfied: astropy>=3.2 in /Users/sarahwhite/anaconda3/envs/rssmospipeline_master/lib/python3.10/site-packages (from RSSMOSPipeline==0.4.0+25.gac0250b) (5.1)
Requirement already satisfied: numpy>=1.10 in /Users/sarahwhite/anaconda3/envs/rssmospipeline_master/lib/python3.10/site-packages (from RSSMOSPipeline==0.4.0+25.gac0250b) (1.26.0)
Requirement already satisfied: matplotlib>=2.0 in /Users/sarahwhite/anaconda3/envs/rssmospipeline_master/lib/python3.10/site-packages (from RSSMOSPipeline==0.4.0+25.gac0250b) (3.7.2)
Requirement already satisfied: scipy>=1.0 in /Users/sarahwhite/anaconda3/envs/rssmospipeline_master/lib/python3.10/site-packages (from RSSMOSPipeline==0.4.0+25.gac0250b) (1.11.3)
Collecting astLib>=0.11.6 (from RSSMOSPipeline==0.4.0+25.gac0250b)
  Using cached astLib-0.11.8.tar.gz (9.9 MB)
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'done'
Requirement already satisfied: pyerfa>=2.0 in /Users/sarahwhite/anaconda3/envs/rssmospipeline_master/lib/python3.10/site-packages (from astropy>=3.2->RSSMOSPipeline==0.4.0+25.gac0250b) (2.0.0)
Requirement already satisfied: PyYAML>=3.13 in /Users/sarahwhite/anaconda3/envs/rssmospipeline_master/lib/python3.10/site-packages (from astropy>=3.2->RSSMOSPipeline==0.4.0+25.gac0250b) (6.0)
Requirement already satisfied: packaging>=19.0 in /Users/sarahwhite/anaconda3/envs/rssmospipeline_master/lib/python3.10/site-packages (from astropy>=3.2->RSSMOSPipeline==0.4.0+25.gac0250b) (23.1)
Requirement already satisfied: contourpy>=1.0.1 in /Users/sarahwhite/anaconda3/envs/rssmospipeline_master/lib/python3.10/site-packages (from matplotlib>=2.0->RSSMOSPipeline==0.4.0+25.gac0250b) (1.0.5)
Requirement already satisfied: cycler>=0.10 in /Users/sarahwhite/anaconda3/envs/rssmospipeline_master/lib/python3.10/site-packages (from matplotlib>=2.0->RSSMOSPipeline==0.4.0+25.gac0250b) (0.11.0)
Requirement already satisfied: fonttools>=4.22.0 in /Users/sarahwhite/anaconda3/envs/rssmospipeline_master/lib/python3.10/site-packages (from matplotlib>=2.0->RSSMOSPipeline==0.4.0+25.gac0250b) (4.25.0)
Requirement already satisfied: kiwisolver>=1.0.1 in /Users/sarahwhite/anaconda3/envs/rssmospipeline_master/lib/python3.10/site-packages (from matplotlib>=2.0->RSSMOSPipeline==0.4.0+25.gac0250b) (1.4.4)
Requirement already satisfied: pillow>=6.2.0 in /Users/sarahwhite/anaconda3/envs/rssmospipeline_master/lib/python3.10/site-packages (from matplotlib>=2.0->RSSMOSPipeline==0.4.0+25.gac0250b) (10.0.1)
Requirement already satisfied: pyparsing<3.1,>=2.3.1 in /Users/sarahwhite/anaconda3/envs/rssmospipeline_master/lib/python3.10/site-packages (from matplotlib>=2.0->RSSMOSPipeline==0.4.0+25.gac0250b) (3.0.9)
Requirement already satisfied: python-dateutil>=2.7 in /Users/sarahwhite/anaconda3/envs/rssmospipeline_master/lib/python3.10/site-packages (from matplotlib>=2.0->RSSMOSPipeline==0.4.0+25.gac0250b) (2.8.2)
Requirement already satisfied: six>=1.5 in /Users/sarahwhite/anaconda3/envs/rssmospipeline_master/lib/python3.10/site-packages (from python-dateutil>=2.7->matplotlib>=2.0->RSSMOSPipeline==0.4.0+25.gac0250b) (1.16.0)
Building wheels for collected packages: RSSMOSPipeline, astLib
  Building editable for RSSMOSPipeline (pyproject.toml): started
  Building editable for RSSMOSPipeline (pyproject.toml): finished with status 'done'
  Created wheel for RSSMOSPipeline: filename=RSSMOSPipeline-0.4.0+25.gac0250b-0.editable-py3-none-any.whl size=37878 sha256=6b0c7641cb7e0d5941ee25985eee6e9ee88c764a782f0f9461e477f0cd2704ab
  Stored in directory: /private/var/folders/8s/40dv4cn95dx4qybr7nyr3klw0000gn/T/pip-ephem-wheel-cache-kxkb5paq/wheels/2f/a3/d6/76a957469fa5b7295af803fd9504a254917862404d6fb26e3b
  Building wheel for astLib (setup.py): started
  Building wheel for astLib (setup.py): finished with status 'error'
  Running setup.py clean for astLib
Successfully built RSSMOSPipeline
Failed to build astLib
mattyowl commented 11 months ago

Ok - so RSSMOSPipeline in master is fine. Thanks for trying that.

Your issue here is astLib not building on Mac I think - that's a known issue (see here: https://astlib.readthedocs.io/en/latest/usage.html) which I may have already fixed in the master branch of astLib.

So - I should try to get out new releases on PyPI for both astLib and RSSMOSPipeline. I should have time to look at that in the next week.

Cheers Matt

mattyowl commented 11 months ago

I've made a new astLib release (v0.11.9) which is on PyPI now and you should be able to install with pip. Please could you give that a try and let me know if it works for you on MacOS (especially if you have Python 3.12)?

Cheers Matt

svw26 commented 10 months ago

Thanks, Matt. I have created a new environment, and run the following commands:

conda create --name rssmospipeline_astlib
conda activate rssmospipeline_astlib
conda install python=3.10
conda install numpy scipy astropy matplotlib IPython 
pip install RSSMOSPipeline

The output includes:

Collecting astLib>=0.11.6 (from RSSMOSPipeline)
  Using cached astLib-0.11.9.tar.gz (9.9 MB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Installing backend dependencies ... done
  Preparing metadata (pyproject.toml) ... done

but still ends with:

      PyWCSTools/wcssubs-3.9.5/wcscon_wrap.c:3061:3: error: call to undeclared function 'wcscon'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
        wcscon(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
        ^
      PyWCSTools/wcssubs-3.9.5/wcscon_wrap.c:3097:17: error: call to undeclared function 'wcscsys'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
        result = (int)wcscsys(arg1);
                      ^
      2 errors generated.
      error: command '/usr/bin/clang' failed with exit code 1
      [end of output]
  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for astLib
Failed to build astLib
ERROR: Could not build wheels for astLib, which is required to install pyproject.toml-based projects

Thanks, Sarah x

svw26 commented 10 months ago

P.S. If I separately run pip install astLib, the output starts with:

Collecting astLib
  Using cached astLib-0.11.9.tar.gz (9.9 MB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Installing backend dependencies ... done
  Preparing metadata (pyproject.toml) ... done
Building wheels for collected packages: astLib
  Building wheel for astLib (pyproject.toml) ... error
  error: subprocess-exited-with-error

and ends with:

      83 warnings generated.
      building 'PyWCSTools._wcscon' extension
      creating build/temp.macosx-11.1-arm64-cpython-310
      creating build/temp.macosx-11.1-arm64-cpython-310/PyWCSTools
      creating build/temp.macosx-11.1-arm64-cpython-310/PyWCSTools/wcssubs-3.9.5
      clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /Users/sarahwhite/anaconda3/envs/rssmospipeline_astlib/include -arch arm64 -fPIC -O2 -isystem /Users/sarahwhite/anaconda3/envs/rssmospipeline_astlib/include -arch arm64 -I/Users/sarahwhite/anaconda3/envs/rssmospipeline_astlib/include/python3.10 -c PyWCSTools/wcssubs-3.9.5/wcscon_wrap.c -o build/temp.macosx-11.1-arm64-cpython-310/PyWCSTools/wcssubs-3.9.5/wcscon_wrap.o
      PyWCSTools/wcssubs-3.9.5/wcscon_wrap.c:3061:3: error: call to undeclared function 'wcscon'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
        wcscon(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
        ^
      PyWCSTools/wcssubs-3.9.5/wcscon_wrap.c:3097:17: error: call to undeclared function 'wcscsys'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
        result = (int)wcscsys(arg1);
                      ^
      2 errors generated.
      error: command '/usr/bin/clang' failed with exit code 1
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for astLib
Failed to build astLib
ERROR: Could not build wheels for astLib, which is required to install pyproject.toml-based projects
mattyowl commented 10 months ago

Ok, thanks. That's annoying. RSSMOSPipeline is fine I'm sure, it's just astLib not installing on MacOS without a work around that is causing the problem here. The workaround is:

CFLAGS="-Wno-error=implicit-function-declaration" python setup.py install

(which is in the astLib docs).

I was hoping I'd worked out how to get rid of this, but seems like I'll only be able to do that if I get access to a Mac.

Cheers Matt

mattyowl commented 10 months ago

Hi Sarah,

Please can you try:

import sysconfig
print(sysconfig.get_config_var('CC').split()+sysconfig.get_config_var('CFLAGS').split()+sysconfig.get_config_var('CFLAGSFORSHARED').split())

and let me know what the output is. This isn't to do with RSSMOSPipeline, it's to do with trying to get astLib to install on MacOS without manually specifying compiler flags.

Cheers Matt

mattyowl commented 10 months ago

Hi Sarah, I've put out a new astLib release (0.11.10) on PyPI which may fix your issues. This builds on macOS without needing additional flags, I think (at least in Anaconda with macOS 11, on GitHub Actions).

mattyowl commented 10 months ago

I've also put a new release of RSSMOSPipeline on PyPI that you can install with pip. Please let me know how this goes. Should be working on Python 3.11 and lower, not sure about Python 3.12.

svw26 commented 6 months ago

Hiya Matt,

I have tried the following:

conda create --name rssmospipeline_pypi python=3.11
conda activate rssmospipeline_pypi
pip install astLib

but (following the last command) the terminal output still ends with:

...
wcscon(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
        ^
      PyWCSTools/wcssubs-3.9.5/wcscon_wrap.c:3097:17: error: call to undeclared function 'wcscsys'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
        result = (int)wcscsys(arg1);
                      ^
      2 errors generated.
      error: command '/usr/bin/clang' failed with exit code 1
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for astLib
Failed to build astLib
ERROR: Could not build wheels for astLib, which is required to install pyproject.toml-based projects

(Note that my MacOS is 14.3.1)

The same message arises when trying to install RSSMOSPipeline via PyPI:

conda create --name rssmospipeline_pypi python=3.11
conda activate rssmospipeline_pypi
pip install RSSMOSPipeline
...
      PyWCSTools/wcssubs-3.9.5/wcscon_wrap.c:3097:17: error: call to undeclared function 'wcscsys'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
        result = (int)wcscsys(arg1);
                      ^
      2 errors generated.
      error: command '/usr/bin/clang' failed with exit code 1
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for astLib
Successfully built RSSMOSPipeline
Failed to build astLib
ERROR: Could not build wheels for astLib, which is required to install pyproject.toml-based projects

and also when trying to install RSSMOSPipeline directly via 'master' on GitHub:

conda create --name rssmospipeline_3p11 python=3.11
conda activate rssmospipeline_3p11
pip install git+https://github.com/mattyowl/RSSMOSPipeline
...
     PyWCSTools/wcssubs-3.9.5/wcscon_wrap.c:3097:17: error: call to undeclared function 'wcscsys'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
        result = (int)wcscsys(arg1);
                      ^
      2 errors generated.
      error: command '/usr/bin/clang' failed with exit code 1
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for astLib
Successfully built RSSMOSPipeline
Failed to build astLib
ERROR: Could not build wheels for astLib, which is required to install pyproject.toml-based projects

My student, Katlego, has been running into the same problems when trying to reinstall the pipeline on ilifu (and the ilifu team are unable to help).

For completeness, outside of a Conda environment, I get:

(base) sarahwhite@Sarahs-MacBook-Pro SALT_data_Semester_2023_1 % python
Python 3.10.9 (main, Mar  1 2023, 12:20:14) [Clang 14.0.6 ] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import sysconfig
>>> print(sysconfig.get_config_var('CC').split()+sysconfig.get_config_var('CFLAGS').split()+sysconfig.get_config_var('CFLAGSFORSHARED').split())
['clang', '-Wno-unused-result', '-Wsign-compare', '-Wunreachable-code', '-DNDEBUG', '-fwrapv', '-O2', '-Wall', '-fPIC', '-O2', '-isystem', '/Users/sarahwhite/anaconda3/include', '-arch', 'arm64', '-fPIC', '-O2', '-isystem', '/Users/sarahwhite/anaconda3/include', '-arch', 'arm64']

And the result within a Conda environment is:

(rssmospipeline_pypi) sarahwhite@Sarahs-MacBook-Pro SALT_data_Semester_2023_1 % python
Python 3.11.8 (main, Feb 26 2024, 15:36:12) [Clang 14.0.6 ] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import sysconfig
>>> print(sysconfig.get_config_var('CC').split()+sysconfig.get_config_var('CFLAGS').split()+sysconfig.get_config_var('CFLAGSFORSHARED').split())
['clang', '-DNDEBUG', '-fwrapv', '-O2', '-Wall', '-fPIC', '-O2', '-isystem', '/Users/sarahwhite/anaconda3/envs/rssmospipeline_pypi/include', '-arch', 'arm64', '-fPIC', '-O2', '-isystem', '/Users/sarahwhite/anaconda3/envs/rssmospipeline_pypi/include', '-arch', 'arm64']

Thanks, Sarah x

mattyowl commented 6 months ago

Ok - this is an issue with astLib, not RSSMOSPipeline, and it is specific to MacOS. This is a problem for me because I do not own a Mac so I'm limited to testing with whatever is on GitHub actions, and it is a very slow turnaround time.

On Mac, I believe this should work as a workaround for now:

Download the astLib source tarball:

https://files.pythonhosted.org/packages/6c/77/29d2079b09f1d519c616a15eff32628057c0d0f15e157ddcf1d2a4ee4338/astLib-0.11.10.tar.gz

Install with something like:

CFLAGS="-Wno-error=implicit-function-declaration" python setup.py install (see: https://astlib.readthedocs.io/en/latest/install.html#installation-on-recent-versions-of-macos-may-no-longer-be-relevant)

or a variation of that (we did this last week on a friend's Mac)

Then you should be able to do

pip install RSSMOSPipeline

assuming you have installed astLib successfully.

There is no reason why astLib shouldn't build on Ilifu though as it's linux. I build and install this in lots of places with no problems. So, please ask Katlego to file an issue that shows what error they are getting because otherwise I can't help.

Cheers Matt

svw26 commented 6 months ago

Hiya Matt,

Thanks, but please could you provide clearer instructions for installing astLib?

I have downloaded https://files.pythonhosted.org/packages/6c/77/29d2079b09f1d519c616a15eff32628057c0d0f15e157ddcf1d2a4ee4338/astLib-0.11.10.tar.gz to my laptop, and have placed astLib-0.11.10/ within the /Applications folder.

I then created a copy of this directory within the conda environment, like so:

scp -r /Applications/astLib-0.11.10 .

Then, when I try:

CFLAGS="-Wno-error=implicit-function-declaration" python astLib-0.11.10/setup.py install

I get:

/Users/sarahwhite/anaconda3/envs/rssmospipeline_astlib/lib/python3.11/site-packages/setuptools/_distutils/cmd.py:66: EasyInstallDeprecationWarning: easy_install command is deprecated.
!!

        ********************************************************************************
        Please avoid running ``setup.py`` and ``easy_install``.
        Instead, use pypa/build, pypa/installer or other
        standards-based tools.

        See https://github.com/pypa/setuptools/issues/917 for details.
        ********************************************************************************

!!
  self.initialize_options()
running bdist_egg
running egg_info
writing astLib.egg-info/PKG-INFO
writing dependency_links to astLib.egg-info/dependency_links.txt
writing top-level names to astLib.egg-info/top_level.txt
error: package directory 'astLib' does not exist

When debugging on a friend's Mac, please did you keep a record of the exact steps that you completed? (Or maybe your friend did?) Perhaps your mention of setup.py does not refer to astLib-0.11.10/setup.py, as I thought it did?

Thanks, Sarah x

mattyowl commented 6 months ago

Sorry, I didn't keep a set of the steps.

I think an issue above is that you didn't run setup.py from inside the source directory, which would be the standard way to run it so far as I know. That's why it complains 'package directory 'astLib' does not exist.

So I think you should be doing something like this:

wget https://files.pythonhosted.org/packages/6c/77/29d2079b09f1d519c616a15eff32628057c0d0f15e157ddcf1d2a4ee4338/astLib-0.11.10.tar.gz

tar -zxvf astLib-0.11.10.tar.gz

cd astLib-0.11.10/

pip install setuptools --upgrade

CFLAGS="-Wno-error=implicit-function-declaration" python3 setup.py build

pip install .

You probably don't need to upgrade setuptools I guess - I have that because I'm running python 3.10 from an Ubuntu 22.04 variant and this is how you would start from a clean venv. Probably setuptools > 65.0 works.

svw26 commented 5 months ago

Thank you, Matt. Those commands have worked, and so I have successfully installed astLib.

Installation of the pipeline has also been successful, with

pip install git+https://github.com/mattyowl/RSSMOSPipeline

completing with

Building wheels for collected packages: RSSMOSPipeline
  Building wheel for RSSMOSPipeline (pyproject.toml) ... done
  Created wheel for RSSMOSPipeline: filename=RSSMOSPipeline-0.6.0-py3-none-any.whl size=787852 sha256=7bafa7f5d99d0ef602b43c73e97ee92d85bd0a8cf8d3763aa34cd169973593d2
  Stored in directory: /private/var/folders/8s/40dv4cn95dx4qybr7nyr3klw0000gn/T/pip-ephem-wheel-cache-tjat7c09/wheels/b3/98/24/94d0280c312ebd9a9018b9d731ffd582e5f9106ed16a0a90e9
Successfully built RSSMOSPipeline
Installing collected packages: RSSMOSPipeline
Successfully installed RSSMOSPipeline-0.6.0

Many thanks for your help, Sarah x