Mon Sep 15 19:33:38 UTC 2025 I: starting to build fastlink/forky/amd64 on jenkins on '2025-09-15 19:33' Mon Sep 15 19:33:38 UTC 2025 I: The jenkins build log is/was available at https://jenkins.debian.net/userContent/reproducible/debian/build_service/amd64_18/52995/console.log Mon Sep 15 19:33:38 UTC 2025 I: Downloading source for forky/fastlink=4.1P-fix100+dfsg-5 --2025-09-15 19:33:39-- http://deb.debian.org/debian/pool/main/f/fastlink/fastlink_4.1P-fix100%2bdfsg-5.dsc Connecting to 46.16.76.132:3128... connected. Proxy request sent, awaiting response... 200 OK Length: 2162 (2.1K) [text/prs.lines.tag] Saving to: ‘fastlink_4.1P-fix100+dfsg-5.dsc’ 0K .. 100% 208M=0s 2025-09-15 19:33:39 (208 MB/s) - ‘fastlink_4.1P-fix100+dfsg-5.dsc’ saved [2162/2162] Mon Sep 15 19:33:39 UTC 2025 I: fastlink_4.1P-fix100+dfsg-5.dsc -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 3.0 (quilt) Source: fastlink Binary: fastlink, fastlink-doc Architecture: any all Version: 4.1P-fix100+dfsg-5 Maintainer: Debian Med Packaging Team Uploaders: Andreas Tille , Charles Plessy Homepage: https://www.ncbi.nlm.nih.gov/CBBResearch/Schaffer/fastlink.html Standards-Version: 4.6.2 Vcs-Browser: https://salsa.debian.org/med-team/fastlink Vcs-Git: https://salsa.debian.org/med-team/fastlink.git Testsuite: autopkgtest Build-Depends: debhelper-compat (= 13) Package-List: fastlink deb science optional arch=any fastlink-doc deb doc optional arch=all Checksums-Sha1: c50556344babe05151b5f2c047ee89dbac8b7c06 543348 fastlink_4.1P-fix100+dfsg.orig.tar.xz 200fe5e56263324fdbf312c7babbd41c354959ea 23880 fastlink_4.1P-fix100+dfsg-5.debian.tar.xz Checksums-Sha256: 80cd1372f6ac008fa04bf3b8024f86e596126daada2a62b046bafc367f71adae 543348 fastlink_4.1P-fix100+dfsg.orig.tar.xz eec299149c61c0f7ba8240f3ca4256f5acaeeb6ba69993c30f76ec2d0b5fb3eb 23880 fastlink_4.1P-fix100+dfsg-5.debian.tar.xz Files: a9a00135e296a97c42fc604fe126b9fa 543348 fastlink_4.1P-fix100+dfsg.orig.tar.xz 0fe3434648f3167942089c4c9d4e0c82 23880 fastlink_4.1P-fix100+dfsg-5.debian.tar.xz -----BEGIN PGP SIGNATURE----- iQJFBAEBCgAvFiEE8fAHMgoDVUHwpmPKV4oElNHGRtEFAmW6j2IRHHRpbGxlQGRl Ymlhbi5vcmcACgkQV4oElNHGRtGAIw//fcmD+z2/NW4ZzGTADt5dnOfzUZcszzdu m22PSmvA6RNNzJ5q0pnM+s6UvK1wqj8Qu7rTOT6pm7OmA3C8zjzFN0Kpm9J4Vz0Y 5uC01WEtxqKC8Uf81mW9s0uy+dfY++JdShvzXQG8yhI74D6Pro2qenUbJa5ScHcL +s51KCDSbdqMkN/kUBcYQaI2rgK+tCZij/TwG1/c+Q53V6LeoLGIgGu+m6g/xbNy NM9rjm8kJN0lUX03HsRMW38Vu4DqccEm3oUJTmJJWAlGj8BPErQI2q8YRcwPE+Ui Zs2Jw+IRH18SK3bt2U0BqAVv8dNBGWT6iLE4x4lJ5WRsXWY/QYepttD1o2pHE12+ e+eYI4bmqc3HuQ16MJBLJbmTYkGolwM3TeM0JZ7LrJNEwsU9E8pvZDuSXEjrSzD+ 8GVKsKH6tAFf/9Wee5H+HLwnb3BL5JzORpqeiX0P8mql9eh4Kcj4UnMlqcJ6XvEy hT1QwOYivqgZmKpLCU6qTdB+hyHrcQ+/ZBponVx1zonHlbwa372cRU8CTKnbi2+t WoJGc7XgDOLw9ohKAVBJ4Ol3Vo9DYfqAf673KbXZwQZihCp62ZwDHWP9G6MX41bD C9t9ReepOdGWLAvHbDOK67iQ3MT+/24COER42ZUG6Nn1DXe45kd99iyyVtuUe6iK q0E1orDv3Dw= =QEVf -----END PGP SIGNATURE----- Mon Sep 15 19:33:39 UTC 2025 I: Checking whether the package is not for us Mon Sep 15 19:33:39 UTC 2025 I: Starting 1st build on remote node ionos5-amd64.debian.net. Mon Sep 15 19:33:39 UTC 2025 I: Preparing to do remote build '1' on ionos5-amd64.debian.net. Mon Sep 15 19:36:41 UTC 2025 I: Deleting $TMPDIR on ionos5-amd64.debian.net. I: pbuilder: network access will be disabled during build I: Current time: Sun Oct 18 13:56:40 -12 2026 I: pbuilder-time-stamp: 1792375000 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/forky-reproducible-base.tgz] I: copying local configuration W: --override-config is not set; not updating apt.conf Read the manpage for details. I: mounting /proc filesystem I: mounting /sys filesystem I: creating /{dev,run}/shm I: mounting /dev/pts filesystem I: redirecting /dev/ptmx to /dev/pts/ptmx I: policy-rc.d already exists I: Copying source file I: copying [fastlink_4.1P-fix100+dfsg-5.dsc] I: copying [./fastlink_4.1P-fix100+dfsg.orig.tar.xz] I: copying [./fastlink_4.1P-fix100+dfsg-5.debian.tar.xz] I: Extracting source dpkg-source: warning: cannot verify inline signature for ./fastlink_4.1P-fix100+dfsg-5.dsc: no acceptable signature found dpkg-source: info: extracting fastlink in fastlink-4.1P-fix100+dfsg dpkg-source: info: unpacking fastlink_4.1P-fix100+dfsg.orig.tar.xz dpkg-source: info: unpacking fastlink_4.1P-fix100+dfsg-5.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying hardening.patch I: Not using root during the build. I: Installing the build-deps I: user script /srv/workspace/pbuilder/2422418/tmp/hooks/D02_print_environment starting I: set BUILDDIR='/build/reproducible-path' BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' BUILDUSERNAME='pbuilder1' BUILD_ARCH='amd64' DEBIAN_FRONTEND='noninteractive' DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=42 ' DISTRIBUTION='forky' HOME='/root' HOST_ARCH='amd64' IFS=' ' INVOCATION_ID='4a381381d5c347b1800b285d44eece8d' LANG='C' LANGUAGE='en_US:en' LC_ALL='C' MAIL='/var/mail/root' OPTIND='1' PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' PBCURRENTCOMMANDLINEOPERATION='build' PBUILDER_OPERATION='build' PBUILDER_PKGDATADIR='/usr/share/pbuilder' PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' PBUILDER_SYSCONFDIR='/etc' PPID='2422418' PS1='# ' PS2='> ' PS4='+ ' PWD='/' SHELL='/bin/bash' SHLVL='2' SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.iJRloUO5/pbuilderrc_dorx --distribution forky --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/forky-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.iJRloUO5/b1 --logfile b1/build.log fastlink_4.1P-fix100+dfsg-5.dsc' SUDO_GID='110' SUDO_HOME='/var/lib/jenkins' SUDO_UID='105' SUDO_USER='jenkins' TERM='unknown' TZ='/usr/share/zoneinfo/Etc/GMT+12' USER='root' _='/usr/bin/systemd-run' http_proxy='http://213.165.73.152:3128' I: uname -a Linux ionos5-amd64 6.12.43+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.43-1 (2025-08-27) x86_64 GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Aug 10 2025 /bin -> usr/bin I: user script /srv/workspace/pbuilder/2422418/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy Version: 0.invalid.0 Architecture: amd64 Maintainer: Debian Pbuilder Team Description: Dummy package to satisfy dependencies with aptitude - created by pbuilder This package was created automatically by pbuilder to satisfy the build-dependencies of the package being currently built. Depends: debhelper-compat (= 13) dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in '/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'. Selecting previously unselected package pbuilder-satisfydepends-dummy. (Reading database ... 19917 files and directories currently installed.) Preparing to unpack .../pbuilder-satisfydepends-dummy.deb ... Unpacking pbuilder-satisfydepends-dummy (0.invalid.0) ... dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring anyway as you requested: pbuilder-satisfydepends-dummy depends on debhelper-compat (= 13); however: Package debhelper-compat is not installed. Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ... Reading package lists... Building dependency tree... Reading state information... Initializing package states... Writing extended state information... Building tag database... pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) The following NEW packages will be installed: autoconf{a} automake{a} autopoint{a} autotools-dev{a} bsdextrautils{a} debhelper{a} dh-autoreconf{a} dh-strip-nondeterminism{a} dwz{a} file{a} gettext{a} gettext-base{a} groff-base{a} intltool-debian{a} libarchive-zip-perl{a} libdebhelper-perl{a} libelf1t64{a} libfile-stripnondeterminism-perl{a} libmagic-mgc{a} libmagic1t64{a} libpipeline1{a} libtool{a} libuchardet0{a} libunistring5{a} libxml2-16{a} m4{a} man-db{a} po-debconf{a} sensible-utils{a} The following packages are RECOMMENDED but will NOT be installed: curl libarchive-cpio-perl libltdl-dev libmail-sendmail-perl lynx wget 0 packages upgraded, 29 newly installed, 0 to remove and 0 not upgraded. Need to get 11.2 MB of archives. After unpacking 42.7 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian forky/main amd64 sensible-utils all 0.0.26 [27.0 kB] Get: 2 http://deb.debian.org/debian forky/main amd64 libmagic-mgc amd64 1:5.46-5 [338 kB] Get: 3 http://deb.debian.org/debian forky/main amd64 libmagic1t64 amd64 1:5.46-5 [109 kB] Get: 4 http://deb.debian.org/debian forky/main amd64 file amd64 1:5.46-5 [43.6 kB] Get: 5 http://deb.debian.org/debian forky/main amd64 gettext-base amd64 0.23.1-2+b1 [244 kB] Get: 6 http://deb.debian.org/debian forky/main amd64 libuchardet0 amd64 0.0.8-2 [68.5 kB] Get: 7 http://deb.debian.org/debian forky/main amd64 groff-base amd64 1.23.0-9 [1187 kB] Get: 8 http://deb.debian.org/debian forky/main amd64 bsdextrautils amd64 2.41.1-3 [100 kB] Get: 9 http://deb.debian.org/debian forky/main amd64 libpipeline1 amd64 1.5.8-1 [42.0 kB] Get: 10 http://deb.debian.org/debian forky/main amd64 man-db amd64 2.13.1-1 [1469 kB] Get: 11 http://deb.debian.org/debian forky/main amd64 m4 amd64 1.4.20-1 [324 kB] Get: 12 http://deb.debian.org/debian forky/main amd64 autoconf all 2.72-3.1 [494 kB] Get: 13 http://deb.debian.org/debian forky/main amd64 autotools-dev all 20240727.1 [60.2 kB] Get: 14 http://deb.debian.org/debian forky/main amd64 automake all 1:1.17-4 [862 kB] Get: 15 http://deb.debian.org/debian forky/main amd64 autopoint all 0.23.1-2 [770 kB] Get: 16 http://deb.debian.org/debian forky/main amd64 libdebhelper-perl all 13.26 [91.8 kB] Get: 17 http://deb.debian.org/debian forky/main amd64 libtool all 2.5.4-5 [540 kB] Get: 18 http://deb.debian.org/debian forky/main amd64 dh-autoreconf all 20 [17.1 kB] Get: 19 http://deb.debian.org/debian forky/main amd64 libarchive-zip-perl all 1.68-1 [104 kB] Get: 20 http://deb.debian.org/debian forky/main amd64 libfile-stripnondeterminism-perl all 1.15.0-1 [19.9 kB] Get: 21 http://deb.debian.org/debian forky/main amd64 dh-strip-nondeterminism all 1.15.0-1 [8812 B] Get: 22 http://deb.debian.org/debian forky/main amd64 libelf1t64 amd64 0.193-3 [192 kB] Get: 23 http://deb.debian.org/debian forky/main amd64 dwz amd64 0.16-2 [108 kB] Get: 24 http://deb.debian.org/debian forky/main amd64 libunistring5 amd64 1.3-2 [477 kB] Get: 25 http://deb.debian.org/debian forky/main amd64 libxml2-16 amd64 2.14.5+dfsg-0.2 [638 kB] Get: 26 http://deb.debian.org/debian forky/main amd64 gettext amd64 0.23.1-2+b1 [1680 kB] Get: 27 http://deb.debian.org/debian forky/main amd64 intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 28 http://deb.debian.org/debian forky/main amd64 po-debconf all 1.0.21+nmu1 [248 kB] Get: 29 http://deb.debian.org/debian forky/main amd64 debhelper all 13.26 [939 kB] Fetched 11.2 MB in 6s (1760 kB/s) Preconfiguring packages ... Selecting previously unselected package sensible-utils. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19917 files and directories currently installed.) Preparing to unpack .../00-sensible-utils_0.0.26_all.deb ... Unpacking sensible-utils (0.0.26) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../01-libmagic-mgc_1%3a5.46-5_amd64.deb ... Unpacking libmagic-mgc (1:5.46-5) ... Selecting previously unselected package libmagic1t64:amd64. Preparing to unpack .../02-libmagic1t64_1%3a5.46-5_amd64.deb ... Unpacking libmagic1t64:amd64 (1:5.46-5) ... Selecting previously unselected package file. Preparing to unpack .../03-file_1%3a5.46-5_amd64.deb ... Unpacking file (1:5.46-5) ... Selecting previously unselected package gettext-base. Preparing to unpack .../04-gettext-base_0.23.1-2+b1_amd64.deb ... Unpacking gettext-base (0.23.1-2+b1) ... Selecting previously unselected package libuchardet0:amd64. Preparing to unpack .../05-libuchardet0_0.0.8-2_amd64.deb ... Unpacking libuchardet0:amd64 (0.0.8-2) ... Selecting previously unselected package groff-base. Preparing to unpack .../06-groff-base_1.23.0-9_amd64.deb ... Unpacking groff-base (1.23.0-9) ... Selecting previously unselected package bsdextrautils. Preparing to unpack .../07-bsdextrautils_2.41.1-3_amd64.deb ... Unpacking bsdextrautils (2.41.1-3) ... Selecting previously unselected package libpipeline1:amd64. Preparing to unpack .../08-libpipeline1_1.5.8-1_amd64.deb ... Unpacking libpipeline1:amd64 (1.5.8-1) ... Selecting previously unselected package man-db. Preparing to unpack .../09-man-db_2.13.1-1_amd64.deb ... Unpacking man-db (2.13.1-1) ... Selecting previously unselected package m4. Preparing to unpack .../10-m4_1.4.20-1_amd64.deb ... Unpacking m4 (1.4.20-1) ... Selecting previously unselected package autoconf. Preparing to unpack .../11-autoconf_2.72-3.1_all.deb ... Unpacking autoconf (2.72-3.1) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../12-autotools-dev_20240727.1_all.deb ... Unpacking autotools-dev (20240727.1) ... Selecting previously unselected package automake. Preparing to unpack .../13-automake_1%3a1.17-4_all.deb ... Unpacking automake (1:1.17-4) ... Selecting previously unselected package autopoint. Preparing to unpack .../14-autopoint_0.23.1-2_all.deb ... Unpacking autopoint (0.23.1-2) ... Selecting previously unselected package libdebhelper-perl. Preparing to unpack .../15-libdebhelper-perl_13.26_all.deb ... Unpacking libdebhelper-perl (13.26) ... Selecting previously unselected package libtool. Preparing to unpack .../16-libtool_2.5.4-5_all.deb ... Unpacking libtool (2.5.4-5) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../17-dh-autoreconf_20_all.deb ... Unpacking dh-autoreconf (20) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../18-libarchive-zip-perl_1.68-1_all.deb ... Unpacking libarchive-zip-perl (1.68-1) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../19-libfile-stripnondeterminism-perl_1.15.0-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.15.0-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../20-dh-strip-nondeterminism_1.15.0-1_all.deb ... Unpacking dh-strip-nondeterminism (1.15.0-1) ... Selecting previously unselected package libelf1t64:amd64. Preparing to unpack .../21-libelf1t64_0.193-3_amd64.deb ... Unpacking libelf1t64:amd64 (0.193-3) ... Selecting previously unselected package dwz. Preparing to unpack .../22-dwz_0.16-2_amd64.deb ... Unpacking dwz (0.16-2) ... Selecting previously unselected package libunistring5:amd64. Preparing to unpack .../23-libunistring5_1.3-2_amd64.deb ... Unpacking libunistring5:amd64 (1.3-2) ... Selecting previously unselected package libxml2-16:amd64. Preparing to unpack .../24-libxml2-16_2.14.5+dfsg-0.2_amd64.deb ... Unpacking libxml2-16:amd64 (2.14.5+dfsg-0.2) ... Selecting previously unselected package gettext. Preparing to unpack .../25-gettext_0.23.1-2+b1_amd64.deb ... Unpacking gettext (0.23.1-2+b1) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../26-intltool-debian_0.35.0+20060710.6_all.deb ... Unpacking intltool-debian (0.35.0+20060710.6) ... Selecting previously unselected package po-debconf. Preparing to unpack .../27-po-debconf_1.0.21+nmu1_all.deb ... Unpacking po-debconf (1.0.21+nmu1) ... Selecting previously unselected package debhelper. Preparing to unpack .../28-debhelper_13.26_all.deb ... Unpacking debhelper (13.26) ... Setting up libpipeline1:amd64 (1.5.8-1) ... Setting up bsdextrautils (2.41.1-3) ... Setting up libmagic-mgc (1:5.46-5) ... Setting up libarchive-zip-perl (1.68-1) ... Setting up libxml2-16:amd64 (2.14.5+dfsg-0.2) ... Setting up libdebhelper-perl (13.26) ... Setting up libmagic1t64:amd64 (1:5.46-5) ... Setting up gettext-base (0.23.1-2+b1) ... Setting up m4 (1.4.20-1) ... Setting up file (1:5.46-5) ... Setting up libelf1t64:amd64 (0.193-3) ... Setting up autotools-dev (20240727.1) ... Setting up libunistring5:amd64 (1.3-2) ... Setting up autopoint (0.23.1-2) ... Setting up autoconf (2.72-3.1) ... Setting up dwz (0.16-2) ... Setting up sensible-utils (0.0.26) ... Setting up libuchardet0:amd64 (0.0.8-2) ... Setting up automake (1:1.17-4) ... update-alternatives: using /usr/bin/automake-1.17 to provide /usr/bin/automake (automake) in auto mode Setting up libfile-stripnondeterminism-perl (1.15.0-1) ... Setting up gettext (0.23.1-2+b1) ... Setting up libtool (2.5.4-5) ... Setting up intltool-debian (0.35.0+20060710.6) ... Setting up dh-autoreconf (20) ... Setting up dh-strip-nondeterminism (1.15.0-1) ... Setting up groff-base (1.23.0-9) ... Setting up po-debconf (1.0.21+nmu1) ... Setting up man-db (2.13.1-1) ... Not building database; man-db/auto-update is not 'true'. Setting up debhelper (13.26) ... Processing triggers for libc-bin (2.41-12) ... Reading package lists... Building dependency tree... Reading state information... Reading extended state information... Initializing package states... Writing extended state information... Building tag database... -> Finished parsing the build-deps I: Building the package I: Running cd /build/reproducible-path/fastlink-4.1P-fix100+dfsg/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../fastlink_4.1P-fix100+dfsg-5_source.changes dpkg-buildpackage: info: source package fastlink dpkg-buildpackage: info: source version 4.1P-fix100+dfsg-5 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Andreas Tille dpkg-source --before-build . dpkg-buildpackage: info: host architecture amd64 debian/rules clean dh clean --sourcedirectory=4.1P/src dh_auto_clean -O--sourcedirectory=4.1P/src cd 4.1P/src && make -j42 clean make[1]: Entering directory '/build/reproducible-path/fastlink-4.1P-fix100+dfsg/4.1P/src' rm -f *.o make[1]: Leaving directory '/build/reproducible-path/fastlink-4.1P-fix100+dfsg/4.1P/src' dh_autoreconf_clean -O--sourcedirectory=4.1P/src debian/rules override_dh_clean make[1]: Entering directory '/build/reproducible-path/fastlink-4.1P-fix100+dfsg' dh_clean -- allclean find 4.1P/src -executable -type f -delete make[1]: Leaving directory '/build/reproducible-path/fastlink-4.1P-fix100+dfsg' debian/rules binary dh binary --sourcedirectory=4.1P/src dh_update_autotools_config -O--sourcedirectory=4.1P/src dh_autoreconf -O--sourcedirectory=4.1P/src dh_auto_configure -O--sourcedirectory=4.1P/src debian/rules override_dh_auto_build make[1]: Entering directory '/build/reproducible-path/fastlink-4.1P-fix100+dfsg' dh_auto_build -- CFLAGS="-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/fastlink-4.1P-fix100+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fcommon" DEBIANLDFLAGS="-Wl,-z,relro -Wl,-z,now" cd 4.1P/src && make -j42 "INSTALL=install --strip-program=true" "CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/fastlink-4.1P-fix100+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fcommon" "DEBIANLDFLAGS=-Wl,-z,relro -Wl,-z,now" make[2]: Entering directory '/build/reproducible-path/fastlink-4.1P-fix100+dfsg/4.1P/src' gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/fastlink-4.1P-fix100+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fcommon -DLODSCORE -c iostuff.c -o loiostuff.o gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/fastlink-4.1P-fix100+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fcommon -DLODSCORE -c check.c -o locheck.o gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/fastlink-4.1P-fix100+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fcommon -DLODSCORE -c comrec.c -o locomrec.o gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/fastlink-4.1P-fix100+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fcommon -DLODSCORE -c logetvect.c -o logetvect.o gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/fastlink-4.1P-fix100+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fcommon -DLODSCORE -c loinputcode.c -o loinputcode.o gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/fastlink-4.1P-fix100+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fcommon -DLODSCORE -c looldnuclear.c -o looldnuclear.o gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/fastlink-4.1P-fix100+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fcommon -c automodified.c -o automodified.o gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/fastlink-4.1P-fix100+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fcommon -DLODSCORE -c comlike.c -o locomlike.o gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/fastlink-4.1P-fix100+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fcommon -c sexmodified.c -o sexmodified.o gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/fastlink-4.1P-fix100+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fcommon -DLODSCORE -c lodscore.c -o lodscore.o gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/fastlink-4.1P-fix100+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fcommon -DILINK -c iostuff.c -o iliostuff.o gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/fastlink-4.1P-fix100+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fcommon -DILINK -c check.c -o ilcheck.o gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/fastlink-4.1P-fix100+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fcommon -DILINK -c cominputcode.c -o ilcominputcode.o gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/fastlink-4.1P-fix100+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fcommon -DILINK -c comrec.c -o ilcomrec.o gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/fastlink-4.1P-fix100+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fcommon -DILINK -c ilgetvect.c -o ilgetvect.o gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/fastlink-4.1P-fix100+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fcommon -DILINK -c ilinputcode.c -o ilinputcode.o gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/fastlink-4.1P-fix100+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fcommon -DILINK -c iloldnuclear.c -o iloldnuclear.o gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/fastlink-4.1P-fix100+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fcommon -c comlike.c -o comlike.o gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/fastlink-4.1P-fix100+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fcommon -DILINK -c commoncode.c -o ilcommoncode.o gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/fastlink-4.1P-fix100+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fcommon -DILINK -c ilink.c -o ilink.o gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/fastlink-4.1P-fix100+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fcommon -DLINKMAP -c iostuff.c -o liiostuff.o gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/fastlink-4.1P-fix100+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fcommon -DLINKMAP -c check.c -o licheck.o gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/fastlink-4.1P-fix100+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fcommon -DLINKMAP -c cominputcode.c -o licominputcode.o gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/fastlink-4.1P-fix100+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fcommon -DLINKMAP -c comrec.c -o licomrec.o gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/fastlink-4.1P-fix100+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fcommon -DLINKMAP -c ligetvect.c -o ligetvect.o gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/fastlink-4.1P-fix100+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fcommon -DLINKMAP -c liinputcode.c -o liinputcode.o gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/fastlink-4.1P-fix100+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fcommon -DLINKMAP -c lioldnuclear.c -o lioldnuclear.o gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/fastlink-4.1P-fix100+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fcommon -DLINKMAP -c commoncode.c -o licommoncode.o gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/fastlink-4.1P-fix100+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fcommon -DLINKMAP -c linkmap.c -o linkmap.o gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/fastlink-4.1P-fix100+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fcommon -DMLINK -c iostuff.c -o mliostuff.o gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/fastlink-4.1P-fix100+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fcommon -DMLINK -c check.c -o mlcheck.o gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/fastlink-4.1P-fix100+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fcommon -DMLINK -c cominputcode.c -o mlcominputcode.o gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/fastlink-4.1P-fix100+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fcommon -DMLINK -c comrec.c -o mlcomrec.o gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/fastlink-4.1P-fix100+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fcommon -DMLINK -c mlgetvect.c -o mlgetvect.o gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/fastlink-4.1P-fix100+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fcommon -DMLINK -c mlinputcode.c -o mlinputcode.o gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/fastlink-4.1P-fix100+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fcommon -DMLINK -c mloldnuclear.c -o mloldnuclear.o gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/fastlink-4.1P-fix100+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fcommon -DMLINK -c commoncode.c -o mlcommoncode.o gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/fastlink-4.1P-fix100+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fcommon -DMLINK -c mlink.c -o mlink.o gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/fastlink-4.1P-fix100+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fcommon unknown.c -c -o unknown.o gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/fastlink-4.1P-fix100+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fcommon loopbrk.c -c -o loopbrk.o In file included from iostuff.c:24: commondefs.h:1166:15: error: conflicting types for 'mapfunction'; have 'double(void)' 1166 | extern double mapfunction(); | ^~~~~~~~~~~ In file included from comrec.c:17: commondefs.h:1166:15: error: conflicting types for 'mapfunction'; have 'double(void)' 1166 | extern double mapfunction(); | ^~~~~~~~~~~ commondefs.h:1067:8: note: previous declaration of 'mapfunction' with type 'double(double, double)' 1067 | double mapfunction(double, double); | ^~~~~~~~~~~ In file included from check.c:22: commondefs.h:1166:15: error: conflicting types for 'mapfunction'; have 'double(void)' 1166 | extern double mapfunction(); | ^~~~~~~~~~~ commondefs.h:1167:15: error: conflicting types for 'getdist'; have 'double(void)' 1167 | extern double getdist(); | ^~~~~~~ commondefs.h:1067:8: note: previous declaration of 'mapfunction' with type 'double(double, double)' 1067 | double mapfunction(double, double); | ^~~~~~~~~~~ commondefs.h:1167:15: error: conflicting types for 'getdist'; have 'double(void)' 1167 | extern double getdist(); | ^~~~~~~ commondefs.h:1068:8: note: previous declaration of 'getdist' with type 'double(double *)' 1068 | double getdist(double*); | ^~~~~~~ commondefs.h:1068:8: note: previous declaration of 'getdist' with type 'double(double *)' 1068 | double getdist(double*); | ^~~~~~~ commondefs.h:1168:15: error: conflicting types for 'invdist'; have 'double(void)' 1168 | extern double invdist(); | ^~~~~~~ commondefs.h:1168:15: error: conflicting types for 'invdist'; have 'double(void)' 1168 | extern double invdist(); | ^~~~~~~ commondefs.h:1069:8: note: previous declaration of 'invdist' with type 'double(double *)' 1069 | double invdist(double*); | ^~~~~~~ commondefs.h:1069:8: note: previous declaration of 'invdist' with type 'double(double *)' 1069 | double invdist(double*); | ^~~~~~~ commondefs.h:1173:13: error: conflicting types for 'malloc_err'; have 'void(void)' 1173 | extern void malloc_err(); | ^~~~~~~~~~ commondefs.h:1173:13: error: conflicting types for 'malloc_err'; have 'void(void)' 1173 | extern void malloc_err(); | ^~~~~~~~~~ commondefs.h:1021:6: note: previous declaration of 'malloc_err' with type 'void(char *)' 1021 | void malloc_err(char*); | ^~~~~~~~~~ commondefs.h:1021:6: note: previous declaration of 'malloc_err' with type 'void(char *)' 1021 | void malloc_err(char*); | ^~~~~~~~~~ In file included from cominputcode.c:21: commondefs.h:1166:15: error: conflicting types for 'mapfunction'; have 'double(void)' 1166 | extern double mapfunction(); | ^~~~~~~~~~~ commondefs.h:1174:12: error: conflicting types for 'P_eof'; have 'int(void)' 1174 | extern int P_eof(); | ^~~~~ commondefs.h:1174:12: error: conflicting types for 'P_eof'; have 'int(void)' 1174 | extern int P_eof(); | ^~~~~ commondefs.h:1022:5: note: previous declaration of 'P_eof' with type 'int(FILE *)' 1022 | int P_eof(FILE*); | ^~~~~ commondefs.h:1022:5: note: previous declaration of 'P_eof' with type 'int(FILE *)' 1022 | int P_eof(FILE*); | ^~~~~ commondefs.h:1067:8: note: previous declaration of 'mapfunction' with type 'double(double, double)' 1067 | double mapfunction(double, double); | ^~~~~~~~~~~ commondefs.h:1175:12: error: conflicting types for 'P_eoln'; have 'int(void)' 1175 | extern int P_eoln(); | ^~~~~~ commondefs.h:1175:12: error: conflicting types for 'P_eoln'; have 'int(void)' 1175 | extern int P_eoln(); | ^~~~~~ commondefs.h:1023:5: note: previous declaration of 'P_eoln' with type 'int(FILE *)' 1023 | int P_eoln(FILE*); | ^~~~~~ commondefs.h:1167:15: error: conflicting types for 'getdist'; have 'double(void)' 1167 | extern double getdist(); | ^~~~~~~ commondefs.h:1023:5: note: previous declaration of 'P_eoln' with type 'int(FILE *)' 1023 | int P_eoln(FILE*); | ^~~~~~ commondefs.h:1068:8: note: previous declaration of 'getdist' with type 'double(double *)' 1068 | double getdist(double*); | ^~~~~~~ commondefs.h:1184:17: error: conflicting types for 'MakeMask'; have 'unsigned int(void)' 1184 | extern unsigned MakeMask(); | ^~~~~~~~ commondefs.h:1184:17: error: conflicting types for 'MakeMask'; have 'unsigned int(void)' 1184 | extern unsigned MakeMask(); | ^~~~~~~~ commondefs.h:1024:10: note: previous declaration of 'MakeMask' with type 'unsigned int(int, int)' 1024 | unsigned MakeMask(int start, int end); | ^~~~~~~~ commondefs.h:1168:15: error: conflicting types for 'invdist'; have 'double(void)' 1168 | extern double invdist(); | ^~~~~~~ commondefs.h:1024:10: note: previous declaration of 'MakeMask' with type 'unsigned int(int, int)' 1024 | unsigned MakeMask(int start, int end); | ^~~~~~~~ commondefs.h:1069:8: note: previous declaration of 'invdist' with type 'double(double *)' 1069 | double invdist(double*); | ^~~~~~~ commondefs.h:1185:13: error: conflicting types for 'getlocus'; have 'void(void)' 1185 | extern void getlocus(); | ^~~~~~~~ commondefs.h:1185:13: error: conflicting types for 'getlocus'; have 'void(void)' 1185 | extern void getlocus(); | ^~~~~~~~ commondefs.h:1025:6: note: previous declaration of 'getlocus' with type 'void(long int, struct LOC_readloci *)' 1025 | void getlocus(long, struct LOC_readloci*); | ^~~~~~~~ commondefs.h:1025:6: note: previous declaration of 'getlocus' with type 'void(long int, struct LOC_readloci *)' 1025 | void getlocus(long, struct LOC_readloci*); | ^~~~~~~~ commondefs.h:1173:13: error: conflicting types for 'malloc_err'; have 'void(void)' 1173 | extern void malloc_err(); | ^~~~~~~~~~ commondefs.h:1021:6: note: previous declaration of 'malloc_err' with type 'void(char *)' 1021 | void malloc_err(char*); | ^~~~~~~~~~ commondefs.h:1186:13: error: conflicting types for 'inputerror'; have 'void(void)' 1186 | extern void inputerror(); | ^~~~~~~~~~ commondefs.h:1186:13: error: conflicting types for 'inputerror'; have 'void(void)' 1186 | extern void inputerror(); | ^~~~~~~~~~ commondefs.h:1026:6: note: previous declaration of 'inputerror' with type 'void(long int, long int, long int, struct LOC_inputdata *)' 1026 | void inputerror(long, long, long, struct LOC_inputdata*); | ^~~~~~~~~~ commondefs.h:1174:12: error: conflicting types for 'P_eof'; have 'int(void)' 1174 | extern int P_eof(); | ^~~~~ commondefs.h:1026:6: note: previous declaration of 'inputerror' with type 'void(long int, long int, long int, struct LOC_inputdata *)' 1026 | void inputerror(long, long, long, struct LOC_inputdata*); | ^~~~~~~~~~ commondefs.h:1067:8: note: previous declaration of 'mapfunction' with type 'double(double, double)' 1067 | double mapfunction(double, double); | ^~~~~~~~~~~ commondefs.h:1187:13: error: conflicting types for 'inputwarning'; have 'void(void)' 1187 | extern void inputwarning(); | ^~~~~~~~~~~~ commondefs.h:1187:13: error: conflicting types for 'inputwarning'; have 'void(void)' 1187 | extern void inputwarning(); | ^~~~~~~~~~~~ commondefs.h:1022:5: note: previous declaration of 'P_eof' with type 'int(FILE *)' 1022 | int P_eof(FILE*); | ^~~~~ commondefs.h:1027:6: note: previous declaration of 'inputwarning' with type 'void(long int, long int, long int, struct LOC_inputdata *)' 1027 | void inputwarning(long, long, long, struct LOC_inputdata*); | ^~~~~~~~~~~~ commondefs.h:1027:6: note: previous declaration of 'inputwarning' with type 'void(long int, long int, long int, struct LOC_inputdata *)' 1027 | void inputwarning(long, long, long, struct LOC_inputdata*); | ^~~~~~~~~~~~ commondefs.h:1175:12: error: conflicting types for 'P_eoln'; have 'int(void)' 1175 | extern int P_eoln(); | ^~~~~~ commondefs.h:1167:15: error: conflicting types for 'getdist'; have 'double(void)' 1167 | extern double getdist(); | ^~~~~~~ commondefs.h:1023:5: note: previous declaration of 'P_eoln' with type 'int(FILE *)' 1023 | int P_eoln(FILE*); | ^~~~~~ commondefs.h:1191:13: error: conflicting types for 'readped'; have 'void(void)' 1191 | extern void readped(); | ^~~~~~~ commondefs.h:1191:13: error: conflicting types for 'readped'; have 'void(void)' 1191 | extern void readped(); | ^~~~~~~ commondefs.h:1068:8: note: previous declaration of 'getdist' with type 'double(double *)' 1068 | double getdist(double*); | ^~~~~~~ commondefs.h:1028:6: note: previous declaration of 'readped' with type 'void(struct LOC_inputdata *)' 1028 | void readped(struct LOC_inputdata*); | ^~~~~~~ commondefs.h:1028:6: note: previous declaration of 'readped' with type 'void(struct LOC_inputdata *)' 1028 | void readped(struct LOC_inputdata*); | ^~~~~~~ commondefs.h:1168:15: error: conflicting types for 'invdist'; have 'double(void)' 1168 | extern double invdist(); | ^~~~~~~ commondefs.h:1184:17: error: conflicting types for 'MakeMask'; have 'unsigned int(void)' 1184 | extern unsigned MakeMask(); | ^~~~~~~~ commondefs.h:1069:8: note: previous declaration of 'invdist' with type 'double(double *)' 1069 | double invdist(double*); | ^~~~~~~ commondefs.h:1024:10: note: previous declaration of 'MakeMask' with type 'unsigned int(int, int)' 1024 | unsigned MakeMask(int start, int end); | ^~~~~~~~ commondefs.h:1185:13: error: conflicting types for 'getlocus'; have 'void(void)' 1185 | extern void getlocus(); | ^~~~~~~~ commondefs.h:1173:13: error: conflicting types for 'malloc_err'; have 'void(void)' 1173 | extern void malloc_err(); | ^~~~~~~~~~ commondefs.h:1025:6: note: previous declaration of 'getlocus' with type 'void(long int, struct LOC_readloci *)' 1025 | void getlocus(long, struct LOC_readloci*); | ^~~~~~~~ commondefs.h:1021:6: note: previous declaration of 'malloc_err' with type 'void(char *)' 1021 | void malloc_err(char*); | ^~~~~~~~~~ commondefs.h:1186:13: error: conflicting types for 'inputerror'; have 'void(void)' 1186 | extern void inputerror(); | ^~~~~~~~~~ commondefs.h:1174:12: error: conflicting types for 'P_eof'; have 'int(void)' 1174 | extern int P_eof(); | ^~~~~ commondefs.h:1026:6: note: previous declaration of 'inputerror' with type 'void(long int, long int, long int, struct LOC_inputdata *)' 1026 | void inputerror(long, long, long, struct LOC_inputdata*); | ^~~~~~~~~~ commondefs.h:1187:13: error: conflicting types for 'inputwarning'; have 'void(void)' 1187 | extern void inputwarning(); | ^~~~~~~~~~~~ commondefs.h:1022:5: note: previous declaration of 'P_eof' with type 'int(FILE *)' 1022 | int P_eof(FILE*); | ^~~~~ commondefs.h:1027:6: note: previous declaration of 'inputwarning' with type 'void(long int, long int, long int, struct LOC_inputdata *)' 1027 | void inputwarning(long, long, long, struct LOC_inputdata*); | ^~~~~~~~~~~~ commondefs.h:1175:12: error: conflicting types for 'P_eoln'; have 'int(void)' 1175 | extern int P_eoln(); | ^~~~~~ commondefs.h:1023:5: note: previous declaration of 'P_eoln' with type 'int(FILE *)' 1023 | int P_eoln(FILE*); | ^~~~~~ commondefs.h:1191:13: error: conflicting types for 'readped'; have 'void(void)' 1191 | extern void readped(); | ^~~~~~~ In file included from comlike.c:20: commondefs.h:1166:15: error: conflicting types for 'mapfunction'; have 'double(void)' 1166 | extern double mapfunction(); | ^~~~~~~~~~~ commondefs.h:1028:6: note: previous declaration of 'readped' with type 'void(struct LOC_inputdata *)' 1028 | void readped(struct LOC_inputdata*); | ^~~~~~~ commondefs.h:1184:17: error: conflicting types for 'MakeMask'; have 'unsigned int(void)' 1184 | extern unsigned MakeMask(); | ^~~~~~~~ commondefs.h:1067:8: note: previous declaration of 'mapfunction' with type 'double(double, double)' 1067 | double mapfunction(double, double); | ^~~~~~~~~~~ commondefs.h:1024:10: note: previous declaration of 'MakeMask' with type 'unsigned int(int, int)' 1024 | unsigned MakeMask(int start, int end); | ^~~~~~~~ commondefs.h:1185:13: error: conflicting types for 'getlocus'; have 'void(void)' 1185 | extern void getlocus(); | ^~~~~~~~ commondefs.h:1167:15: error: conflicting types for 'getdist'; have 'double(void)' 1167 | extern double getdist(); | ^~~~~~~ commondefs.h:1025:6: note: previous declaration of 'getlocus' with type 'void(long int, struct LOC_readloci *)' 1025 | void getlocus(long, struct LOC_readloci*); | ^~~~~~~~ commondefs.h:1068:8: note: previous declaration of 'getdist' with type 'double(double *)' 1068 | double getdist(double*); | ^~~~~~~ commondefs.h:1186:13: error: conflicting types for 'inputerror'; have 'void(void)' 1186 | extern void inputerror(); | ^~~~~~~~~~ commondefs.h:1168:15: error: conflicting types for 'invdist'; have 'double(void)' 1168 | extern double invdist(); | ^~~~~~~ commondefs.h:1026:6: note: previous declaration of 'inputerror' with type 'void(long int, long int, long int, struct LOC_inputdata *)' 1026 | void inputerror(long, long, long, struct LOC_inputdata*); | ^~~~~~~~~~ commondefs.h:1069:8: note: previous declaration of 'invdist' with type 'double(double *)' 1069 | double invdist(double*); | ^~~~~~~ commondefs.h:1187:13: error: conflicting types for 'inputwarning'; have 'void(void)' 1187 | extern void inputwarning(); | ^~~~~~~~~~~~ commondefs.h:1173:13: error: conflicting types for 'malloc_err'; have 'void(void)' 1173 | extern void malloc_err(); | ^~~~~~~~~~ commondefs.h:1027:6: note: previous declaration of 'inputwarning' with type 'void(long int, long int, long int, struct LOC_inputdata *)' 1027 | void inputwarning(long, long, long, struct LOC_inputdata*); | ^~~~~~~~~~~~ commondefs.h:1021:6: note: previous declaration of 'malloc_err' with type 'void(char *)' 1021 | void malloc_err(char*); | ^~~~~~~~~~ commondefs.h:1174:12: error: conflicting types for 'P_eof'; have 'int(void)' 1174 | extern int P_eof(); | ^~~~~ commondefs.h:1191:13: error: conflicting types for 'readped'; have 'void(void)' 1191 | extern void readped(); | ^~~~~~~ commondefs.h:1028:6: note: previous declaration of 'readped' with type 'void(struct LOC_inputdata *)' 1028 | void readped(struct LOC_inputdata*); | ^~~~~~~ commondefs.h:1022:5: note: previous declaration of 'P_eof' with type 'int(FILE *)' 1022 | int P_eof(FILE*); | ^~~~~ commondefs.h:1175:12: error: conflicting types for 'P_eoln'; have 'int(void)' 1175 | extern int P_eoln(); | ^~~~~~ commondefs.h:1023:5: note: previous declaration of 'P_eoln' with type 'int(FILE *)' 1023 | int P_eoln(FILE*); | ^~~~~~ commondefs.h:1184:17: error: conflicting types for 'MakeMask'; have 'unsigned int(void)' 1184 | extern unsigned MakeMask(); | ^~~~~~~~ commondefs.h:1024:10: note: previous declaration of 'MakeMask' with type 'unsigned int(int, int)' 1024 | unsigned MakeMask(int start, int end); | ^~~~~~~~ commondefs.h:1185:13: error: conflicting types for 'getlocus'; have 'void(void)' 1185 | extern void getlocus(); | ^~~~~~~~ commondefs.h:1025:6: note: previous declaration of 'getlocus' with type 'void(long int, struct LOC_readloci *)' 1025 | void getlocus(long, struct LOC_readloci*); | ^~~~~~~~ commondefs.h:1186:13: error: conflicting types for 'inputerror'; have 'void(void)' 1186 | extern void inputerror(); | ^~~~~~~~~~ commondefs.h:1026:6: note: previous declaration of 'inputerror' with type 'void(long int, long int, long int, struct LOC_inputdata *)' 1026 | void inputerror(long, long, long, struct LOC_inputdata*); | ^~~~~~~~~~ commondefs.h:1187:13: error: conflicting types for 'inputwarning'; have 'void(void)' 1187 | extern void inputwarning(); | ^~~~~~~~~~~~ commondefs.h:1027:6: note: previous declaration of 'inputwarning' with type 'void(long int, long int, long int, struct LOC_inputdata *)' 1027 | void inputwarning(long, long, long, struct LOC_inputdata*); | ^~~~~~~~~~~~ In file included from ilgetvect.c:4: commondefs.h:1166:15: error: conflicting types for 'mapfunction'; have 'double(void)' 1166 | extern double mapfunction(); | ^~~~~~~~~~~ commondefs.h:1191:13: error: conflicting types for 'readped'; have 'void(void)' 1191 | extern void readped(); | ^~~~~~~ commondefs.h:1028:6: note: previous declaration of 'readped' with type 'void(struct LOC_inputdata *)' 1028 | void readped(struct LOC_inputdata*); | ^~~~~~~ commondefs.h:1067:8: note: previous declaration of 'mapfunction' with type 'double(double, double)' 1067 | double mapfunction(double, double); | ^~~~~~~~~~~ commondefs.h:1167:15: error: conflicting types for 'getdist'; have 'double(void)' 1167 | extern double getdist(); | ^~~~~~~ commondefs.h:1068:8: note: previous declaration of 'getdist' with type 'double(double *)' 1068 | double getdist(double*); | ^~~~~~~ commondefs.h:1168:15: error: conflicting types for 'invdist'; have 'double(void)' 1168 | extern double invdist(); | ^~~~~~~ commondefs.h:1069:8: note: previous declaration of 'invdist' with type 'double(double *)' 1069 | double invdist(double*); | ^~~~~~~ commondefs.h:1173:13: error: conflicting types for 'malloc_err'; have 'void(void)' 1173 | extern void malloc_err(); | ^~~~~~~~~~ commondefs.h:1021:6: note: previous declaration of 'malloc_err' with type 'void(char *)' 1021 | void malloc_err(char*); | ^~~~~~~~~~ commondefs.h:1174:12: error: conflicting types for 'P_eof'; have 'int(void)' 1174 | extern int P_eof(); | ^~~~~ commondefs.h:1022:5: note: previous declaration of 'P_eof' with type 'int(FILE *)' 1022 | int P_eof(FILE*); | ^~~~~ commondefs.h:1175:12: error: conflicting types for 'P_eoln'; have 'int(void)' 1175 | extern int P_eoln(); | ^~~~~~ commondefs.h:1023:5: note: previous declaration of 'P_eoln' with type 'int(FILE *)' 1023 | int P_eoln(FILE*); | ^~~~~~ commondefs.h:1184:17: error: conflicting types for 'MakeMask'; have 'unsigned int(void)' 1184 | extern unsigned MakeMask(); | ^~~~~~~~ commondefs.h:1024:10: note: previous declaration of 'MakeMask' with type 'unsigned int(int, int)' 1024 | unsigned MakeMask(int start, int end); | ^~~~~~~~ commondefs.h:1185:13: error: conflicting types for 'getlocus'; have 'void(void)' 1185 | extern void getlocus(); | ^~~~~~~~ commondefs.h:1025:6: note: previous declaration of 'getlocus' with type 'void(long int, struct LOC_readloci *)' 1025 | void getlocus(long, struct LOC_readloci*); | ^~~~~~~~ In file included from ilinputcode.c:11: commondefs.h:1166:15: error: conflicting types for 'mapfunction'; have 'double(void)' 1166 | extern double mapfunction(); | ^~~~~~~~~~~ commondefs.h:1186:13: error: conflicting types for 'inputerror'; have 'void(void)' 1186 | extern void inputerror(); | ^~~~~~~~~~ commondefs.h:1026:6: note: previous declaration of 'inputerror' with type 'void(long int, long int, long int, struct LOC_inputdata *)' 1026 | void inputerror(long, long, long, struct LOC_inputdata*); | ^~~~~~~~~~ commondefs.h:1187:13: error: conflicting types for 'inputwarning'; have 'void(void)' 1187 | extern void inputwarning(); | ^~~~~~~~~~~~ commondefs.h:1067:8: note: previous declaration of 'mapfunction' with type 'double(double, double)' 1067 | double mapfunction(double, double); | ^~~~~~~~~~~ commondefs.h:1027:6: note: previous declaration of 'inputwarning' with type 'void(long int, long int, long int, struct LOC_inputdata *)' 1027 | void inputwarning(long, long, long, struct LOC_inputdata*); | ^~~~~~~~~~~~ commondefs.h:1167:15: error: conflicting types for 'getdist'; have 'double(void)' 1167 | extern double getdist(); | ^~~~~~~ commondefs.h:1191:13: error: conflicting types for 'readped'; have 'void(void)' 1191 | extern void readped(); | ^~~~~~~ commondefs.h:1068:8: note: previous declaration of 'getdist' with type 'double(double *)' 1068 | double getdist(double*); | ^~~~~~~ commondefs.h:1028:6: note: previous declaration of 'readped' with type 'void(struct LOC_inputdata *)' 1028 | void readped(struct LOC_inputdata*); | ^~~~~~~ commondefs.h:1168:15: error: conflicting types for 'invdist'; have 'double(void)' 1168 | extern double invdist(); | ^~~~~~~ commondefs.h:1069:8: note: previous declaration of 'invdist' with type 'double(double *)' 1069 | double invdist(double*); | ^~~~~~~ In file included from gemdefs.h:17, from cominputcode.c:25: commondefs.h:1166:15: error: conflicting types for 'mapfunction'; have 'double(void)' 1166 | extern double mapfunction(); | ^~~~~~~~~~~ commondefs.h:1173:13: error: conflicting types for 'malloc_err'; have 'void(void)' 1173 | extern void malloc_err(); | ^~~~~~~~~~ commondefs.h:1021:6: note: previous declaration of 'malloc_err' with type 'void(char *)' 1021 | void malloc_err(char*); | ^~~~~~~~~~ commondefs.h:1067:8: note: previous declaration of 'mapfunction' with type 'double(double, double)' 1067 | double mapfunction(double, double); | ^~~~~~~~~~~ ilgetvect.c: In function 'quanfun': commondefs.h:1174:12: error: conflicting types for 'P_eof'; have 'int(void)' 1174 | extern int P_eof(); | ^~~~~ iostuff.c:40:5: error: conflicting types for 'P_eof'; have 'int(void)' 40 | int P_eof(f) | ^~~~~ commondefs.h:1167:15: error: conflicting types for 'getdist'; have 'double(void)' 1167 | extern double getdist(); | ^~~~~~~ commondefs.h:1022:5: note: previous declaration of 'P_eof' with type 'int(FILE *)' 1022 | int P_eof(FILE*); | ^~~~~ commondefs.h:1068:8: note: previous declaration of 'getdist' with type 'double(double *)' 1068 | double getdist(double*); | ^~~~~~~ commondefs.h:1022:5: note: previous declaration of 'P_eof' with type 'int(FILE *)' 1022 | int P_eof(FILE*); | ^~~~~ ilgetvect.c:22:14: warning: old-style function definition [-Wold-style-definition] 22 | Local double quanfun(phen, thislocus, i, j, mean, LINK) | ^~~~~~~ commondefs.h:1175:12: error: conflicting types for 'P_eoln'; have 'int(void)' 1175 | extern int P_eoln(); | ^~~~~~ commondefs.h:1168:15: error: conflicting types for 'invdist'; have 'double(void)' 1168 | extern double invdist(); | ^~~~~~~ iostuff.c: In function 'P_eof': commondefs.h:1023:5: note: previous declaration of 'P_eoln' with type 'int(FILE *)' 1023 | int P_eoln(FILE*); | ^~~~~~ commondefs.h:1069:8: note: previous declaration of 'invdist' with type 'double(double *)' 1069 | double invdist(double*); | ^~~~~~~ iostuff.c:40:5: warning: old-style function definition [-Wold-style-definition] 40 | int P_eof(f) | ^~~~~ commondefs.h:1173:13: error: conflicting types for 'malloc_err'; have 'void(void)' 1173 | extern void malloc_err(); | ^~~~~~~~~~ commondefs.h:1184:17: error: conflicting types for 'MakeMask'; have 'unsigned int(void)' 1184 | extern unsigned MakeMask(); | ^~~~~~~~ commondefs.h:1021:6: note: previous declaration of 'malloc_err' with type 'void(char *)' 1021 | void malloc_err(char*); | ^~~~~~~~~~ commondefs.h:1024:10: note: previous declaration of 'MakeMask' with type 'unsigned int(int, int)' 1024 | unsigned MakeMask(int start, int end); | ^~~~~~~~ commondefs.h:1174:12: error: conflicting types for 'P_eof'; have 'int(void)' 1174 | extern int P_eof(); | ^~~~~ commondefs.h:1185:13: error: conflicting types for 'getlocus'; have 'void(void)' 1185 | extern void getlocus(); | ^~~~~~~~ commondefs.h:1022:5: note: previous declaration of 'P_eof' with type 'int(FILE *)' 1022 | int P_eof(FILE*); | ^~~~~ commondefs.h:1025:6: note: previous declaration of 'getlocus' with type 'void(long int, struct LOC_readloci *)' 1025 | void getlocus(long, struct LOC_readloci*); | ^~~~~~~~ commondefs.h:1175:12: error: conflicting types for 'P_eoln'; have 'int(void)' 1175 | extern int P_eoln(); | ^~~~~~ commondefs.h:1186:13: error: conflicting types for 'inputerror'; have 'void(void)' 1186 | extern void inputerror(); | ^~~~~~~~~~ commondefs.h:1023:5: note: previous declaration of 'P_eoln' with type 'int(FILE *)' 1023 | int P_eoln(FILE*); | ^~~~~~ commondefs.h:1026:6: note: previous declaration of 'inputerror' with type 'void(long int, long int, long int, struct LOC_inputdata *)' 1026 | void inputerror(long, long, long, struct LOC_inputdata*); | ^~~~~~~~~~ iostuff.c: At top level: commondefs.h:1187:13: error: conflicting types for 'inputwarning'; have 'void(void)' 1187 | extern void inputwarning(); | ^~~~~~~~~~~~ iostuff.c:58:5: error: conflicting types for 'P_eoln'; have 'int(void)' 58 | int P_eoln(f) | ^~~~~~ commondefs.h:1027:6: note: previous declaration of 'inputwarning' with type 'void(long int, long int, long int, struct LOC_inputdata *)' 1027 | void inputwarning(long, long, long, struct LOC_inputdata*); | ^~~~~~~~~~~~ commondefs.h:1184:17: error: conflicting types for 'MakeMask'; have 'unsigned int(void)' 1184 | extern unsigned MakeMask(); | ^~~~~~~~ commondefs.h:1023:5: note: previous declaration of 'P_eoln' with type 'int(FILE *)' 1023 | int P_eoln(FILE*); | ^~~~~~ commondefs.h:1024:10: note: previous declaration of 'MakeMask' with type 'unsigned int(int, int)' 1024 | unsigned MakeMask(int start, int end); | ^~~~~~~~ iostuff.c: In function 'P_eoln': commondefs.h:1191:13: error: conflicting types for 'readped'; have 'void(void)' 1191 | extern void readped(); | ^~~~~~~ iostuff.c:58:5: warning: old-style function definition [-Wold-style-definition] 58 | int P_eoln(f) | ^~~~~~ commondefs.h:1185:13: error: conflicting types for 'getlocus'; have 'void(void)' 1185 | extern void getlocus(); | ^~~~~~~~ commondefs.h:1028:6: note: previous declaration of 'readped' with type 'void(struct LOC_inputdata *)' 1028 | void readped(struct LOC_inputdata*); | ^~~~~~~ commondefs.h:1025:6: note: previous declaration of 'getlocus' with type 'void(long int, struct LOC_readloci *)' 1025 | void getlocus(long, struct LOC_readloci*); | ^~~~~~~~ commondefs.h:1186:13: error: conflicting types for 'inputerror'; have 'void(void)' 1186 | extern void inputerror(); | ^~~~~~~~~~ commondefs.h:1026:6: note: previous declaration of 'inputerror' with type 'void(long int, long int, long int, struct LOC_inputdata *)' 1026 | void inputerror(long, long, long, struct LOC_inputdata*); | ^~~~~~~~~~ commondefs.h:1187:13: error: conflicting types for 'inputwarning'; have 'void(void)' 1187 | extern void inputwarning(); | ^~~~~~~~~~~~ iostuff.c: At top level: comrec.c: In function 'scramble': iostuff.c:71:6: error: conflicting types for 'malloc_err'; have 'void(void)' 71 | void malloc_err(message) | ^~~~~~~~~~ commondefs.h:1027:6: note: previous declaration of 'inputwarning' with type 'void(long int, long int, long int, struct LOC_inputdata *)' 1027 | void inputwarning(long, long, long, struct LOC_inputdata*); | ^~~~~~~~~~~~ commondefs.h:1021:6: note: previous declaration of 'malloc_err' with type 'void(char *)' 1021 | void malloc_err(char*); | ^~~~~~~~~~ commondefs.h:1191:13: error: conflicting types for 'readped'; have 'void(void)' 1191 | extern void readped(); | ^~~~~~~ iostuff.c: In function 'malloc_err': comrec.c:42:12: warning: old-style function definition [-Wold-style-definition] 42 | Local Void scramble(LINK) | ^~~~~~~~ iostuff.c:71:6: warning: old-style function definition [-Wold-style-definition] 71 | void malloc_err(message) | ^~~~~~~~~~ commondefs.h:1028:6: note: previous declaration of 'readped' with type 'void(struct LOC_inputdata *)' 1028 | void readped(struct LOC_inputdata*); | ^~~~~~~ In file included from iloldnuclear.c:6: commondefs.h:1166:15: error: conflicting types for 'mapfunction'; have 'double(void)' 1166 | extern double mapfunction(); | ^~~~~~~~~~~ commondefs.h:1067:8: note: previous declaration of 'mapfunction' with type 'double(double, double)' 1067 | double mapfunction(double, double); | ^~~~~~~~~~~ commondefs.h:1167:15: error: conflicting types for 'getdist'; have 'double(void)' 1167 | extern double getdist(); | ^~~~~~~ commondefs.h:1068:8: note: previous declaration of 'getdist' with type 'double(double *)' 1068 | double getdist(double*); | ^~~~~~~ commondefs.h:1168:15: error: conflicting types for 'invdist'; have 'double(void)' 1168 | extern double invdist(); | ^~~~~~~ commondefs.h:1069:8: note: previous declaration of 'invdist' with type 'double(double *)' 1069 | double invdist(double*); | ^~~~~~~ In file included from gemdefs.h:17, from check.c:24: commondefs.h:1166:15: error: conflicting types for 'mapfunction'; have 'double(void)' 1166 | extern double mapfunction(); | ^~~~~~~~~~~ commondefs.h:1173:13: error: conflicting types for 'malloc_err'; have 'void(void)' 1173 | extern void malloc_err(); | ^~~~~~~~~~ commondefs.h:1021:6: note: previous declaration of 'malloc_err' with type 'void(char *)' 1021 | void malloc_err(char*); | ^~~~~~~~~~ commondefs.h:1067:8: note: previous declaration of 'mapfunction' with type 'double(double, double)' 1067 | double mapfunction(double, double); | ^~~~~~~~~~~ commondefs.h:1174:12: error: conflicting types for 'P_eof'; have 'int(void)' 1174 | extern int P_eof(); | ^~~~~ commondefs.h:1167:15: error: conflicting types for 'getdist'; have 'double(void)' 1167 | extern double getdist(); | ^~~~~~~ commondefs.h:1068:8: note: previous declaration of 'getdist' with type 'double(double *)' 1068 | double getdist(double*); | ^~~~~~~ commondefs.h:1022:5: note: previous declaration of 'P_eof' with type 'int(FILE *)' 1022 | int P_eof(FILE*); | ^~~~~ commondefs.h:1168:15: error: conflicting types for 'invdist'; have 'double(void)' 1168 | extern double invdist(); | ^~~~~~~ commondefs.h:1175:12: error: conflicting types for 'P_eoln'; have 'int(void)' 1175 | extern int P_eoln(); | ^~~~~~ commondefs.h:1069:8: note: previous declaration of 'invdist' with type 'double(double *)' 1069 | double invdist(double*); | ^~~~~~~ commondefs.h:1023:5: note: previous declaration of 'P_eoln' with type 'int(FILE *)' 1023 | int P_eoln(FILE*); | ^~~~~~ ilgetvect.c: In function 'getval': In file included from looldnuclear.c:5: commondefs.h:1166:15: error: conflicting types for 'mapfunction'; have 'double(void)' 1166 | extern double mapfunction(); | ^~~~~~~~~~~ commondefs.h:1173:13: error: conflicting types for 'malloc_err'; have 'void(void)' 1173 | extern void malloc_err(); | ^~~~~~~~~~ commondefs.h:1184:17: error: conflicting types for 'MakeMask'; have 'unsigned int(void)' 1184 | extern unsigned MakeMask(); | ^~~~~~~~ commondefs.h:1021:6: note: previous declaration of 'malloc_err' with type 'void(char *)' 1021 | void malloc_err(char*); | ^~~~~~~~~~ ilgetvect.c:57:12: warning: old-style function definition [-Wold-style-definition] 57 | Local Void getval(syste, i, j, val, LINK) | ^~~~~~ commondefs.h:1024:10: note: previous declaration of 'MakeMask' with type 'unsigned int(int, int)' 1024 | unsigned MakeMask(int start, int end); | ^~~~~~~~ commondefs.h:1174:12: error: conflicting types for 'P_eof'; have 'int(void)' 1174 | extern int P_eof(); | ^~~~~ commondefs.h:1067:8: note: previous declaration of 'mapfunction' with type 'double(double, double)' 1067 | double mapfunction(double, double); | ^~~~~~~~~~~ commondefs.h:1022:5: note: previous declaration of 'P_eof' with type 'int(FILE *)' 1022 | int P_eof(FILE*); | ^~~~~ commondefs.h:1185:13: error: conflicting types for 'getlocus'; have 'void(void)' 1185 | extern void getlocus(); | ^~~~~~~~ commondefs.h:1025:6: note: previous declaration of 'getlocus' with type 'void(long int, struct LOC_readloci *)' 1025 | void getlocus(long, struct LOC_readloci*); | ^~~~~~~~ commondefs.h:1167:15: error: conflicting types for 'getdist'; have 'double(void)' 1167 | extern double getdist(); | ^~~~~~~ commondefs.h:1175:12: error: conflicting types for 'P_eoln'; have 'int(void)' 1175 | extern int P_eoln(); | ^~~~~~ commondefs.h:1023:5: note: previous declaration of 'P_eoln' with type 'int(FILE *)' 1023 | int P_eoln(FILE*); | ^~~~~~ commondefs.h:1186:13: error: conflicting types for 'inputerror'; have 'void(void)' 1186 | extern void inputerror(); | ^~~~~~~~~~ commondefs.h:1068:8: note: previous declaration of 'getdist' with type 'double(double *)' 1068 | double getdist(double*); | ^~~~~~~ commondefs.h:1026:6: note: previous declaration of 'inputerror' with type 'void(long int, long int, long int, struct LOC_inputdata *)' 1026 | void inputerror(long, long, long, struct LOC_inputdata*); | ^~~~~~~~~~ commondefs.h:1168:15: error: conflicting types for 'invdist'; have 'double(void)' 1168 | extern double invdist(); | ^~~~~~~ commondefs.h:1187:13: error: conflicting types for 'inputwarning'; have 'void(void)' 1187 | extern void inputwarning(); | ^~~~~~~~~~~~ commondefs.h:1069:8: note: previous declaration of 'invdist' with type 'double(double *)' 1069 | double invdist(double*); | ^~~~~~~ commondefs.h:1184:17: error: conflicting types for 'MakeMask'; have 'unsigned int(void)' 1184 | extern unsigned MakeMask(); | ^~~~~~~~ commondefs.h:1027:6: note: previous declaration of 'inputwarning' with type 'void(long int, long int, long int, struct LOC_inputdata *)' 1027 | void inputwarning(long, long, long, struct LOC_inputdata*); | ^~~~~~~~~~~~ commondefs.h:1024:10: note: previous declaration of 'MakeMask' with type 'unsigned int(int, int)' 1024 | unsigned MakeMask(int start, int end); | ^~~~~~~~ cominputcode.c: In function 'checkrare': commondefs.h:1173:13: error: conflicting types for 'malloc_err'; have 'void(void)' 1173 | extern void malloc_err(); | ^~~~~~~~~~ commondefs.h:1185:13: error: conflicting types for 'getlocus'; have 'void(void)' 1185 | extern void getlocus(); | ^~~~~~~~ commondefs.h:1191:13: error: conflicting types for 'readped'; have 'void(void)' 1191 | extern void readped(); | ^~~~~~~ commondefs.h:1021:6: note: previous declaration of 'malloc_err' with type 'void(char *)' 1021 | void malloc_err(char*); | ^~~~~~~~~~ commondefs.h:1025:6: note: previous declaration of 'getlocus' with type 'void(long int, struct LOC_readloci *)' 1025 | void getlocus(long, struct LOC_readloci*); | ^~~~~~~~ commondefs.h:1028:6: note: previous declaration of 'readped' with type 'void(struct LOC_inputdata *)' 1028 | void readped(struct LOC_inputdata*); | ^~~~~~~ commondefs.h:1174:12: error: conflicting types for 'P_eof'; have 'int(void)' 1174 | extern int P_eof(); | ^~~~~ commondefs.h:1186:13: error: conflicting types for 'inputerror'; have 'void(void)' 1186 | extern void inputerror(); | ^~~~~~~~~~ commondefs.h:1026:6: note: previous declaration of 'inputerror' with type 'void(long int, long int, long int, struct LOC_inputdata *)' 1026 | void inputerror(long, long, long, struct LOC_inputdata*); | ^~~~~~~~~~ commondefs.h:1022:5: note: previous declaration of 'P_eof' with type 'int(FILE *)' 1022 | int P_eof(FILE*); | ^~~~~ commondefs.h:1187:13: error: conflicting types for 'inputwarning'; have 'void(void)' 1187 | extern void inputwarning(); | ^~~~~~~~~~~~ commondefs.h:1175:12: error: conflicting types for 'P_eoln'; have 'int(void)' 1175 | extern int P_eoln(); | ^~~~~~ commondefs.h:1027:6: note: previous declaration of 'inputwarning' with type 'void(long int, long int, long int, struct LOC_inputdata *)' 1027 | void inputwarning(long, long, long, struct LOC_inputdata*); | ^~~~~~~~~~~~ commondefs.h:1023:5: note: previous declaration of 'P_eoln' with type 'int(FILE *)' 1023 | int P_eoln(FILE*); | ^~~~~~ cominputcode.c:38:15: warning: old-style function definition [-Wold-style-definition] 38 | Local boolean checkrare(LINK) | ^~~~~~~~~ commondefs.h:1191:13: error: conflicting types for 'readped'; have 'void(void)' 1191 | extern void readped(); | ^~~~~~~ commondefs.h:1028:6: note: previous declaration of 'readped' with type 'void(struct LOC_inputdata *)' 1028 | void readped(struct LOC_inputdata*); | ^~~~~~~ commondefs.h:1184:17: error: conflicting types for 'MakeMask'; have 'unsigned int(void)' 1184 | extern unsigned MakeMask(); | ^~~~~~~~ iloldnuclear.c: In function 'getapprox': In file included from gemdefs.h:17, from ilinputcode.c:12: commondefs.h:1166:15: error: conflicting types for 'mapfunction'; have 'double(void)' 1166 | extern double mapfunction(); | ^~~~~~~~~~~ commondefs.h:1024:10: note: previous declaration of 'MakeMask' with type 'unsigned int(int, int)' 1024 | unsigned MakeMask(int start, int end); | ^~~~~~~~ commondefs.h:1067:8: note: previous declaration of 'mapfunction' with type 'double(double, double)' 1067 | double mapfunction(double, double); | ^~~~~~~~~~~ commondefs.h:1185:13: error: conflicting types for 'getlocus'; have 'void(void)' 1185 | extern void getlocus(); | ^~~~~~~~ iloldnuclear.c:9:12: warning: old-style function definition [-Wold-style-definition] 9 | Local Void getapprox(LINK) | ^~~~~~~~~ In file included from automodified.c:17: commondefs.h:1166:15: error: conflicting types for 'mapfunction'; have 'double(void)' 1166 | extern double mapfunction(); | ^~~~~~~~~~~ commondefs.h:1025:6: note: previous declaration of 'getlocus' with type 'void(long int, struct LOC_readloci *)' 1025 | void getlocus(long, struct LOC_readloci*); | ^~~~~~~~ commondefs.h:1167:15: error: conflicting types for 'getdist'; have 'double(void)' 1167 | extern double getdist(); | ^~~~~~~ commondefs.h:1068:8: note: previous declaration of 'getdist' with type 'double(double *)' 1068 | double getdist(double*); | ^~~~~~~ commondefs.h:1186:13: error: conflicting types for 'inputerror'; have 'void(void)' 1186 | extern void inputerror(); | ^~~~~~~~~~ commondefs.h:1067:8: note: previous declaration of 'mapfunction' with type 'double(double, double)' 1067 | double mapfunction(double, double); | ^~~~~~~~~~~ commondefs.h:1168:15: error: conflicting types for 'invdist'; have 'double(void)' 1168 | extern double invdist(); | ^~~~~~~ commondefs.h:1026:6: note: previous declaration of 'inputerror' with type 'void(long int, long int, long int, struct LOC_inputdata *)' 1026 | void inputerror(long, long, long, struct LOC_inputdata*); | ^~~~~~~~~~ commondefs.h:1069:8: note: previous declaration of 'invdist' with type 'double(double *)' 1069 | double invdist(double*); | ^~~~~~~ commondefs.h:1167:15: error: conflicting types for 'getdist'; have 'double(void)' 1167 | extern double getdist(); | ^~~~~~~ commondefs.h:1187:13: error: conflicting types for 'inputwarning'; have 'void(void)' 1187 | extern void inputwarning(); | ^~~~~~~~~~~~ commondefs.h:1027:6: note: previous declaration of 'inputwarning' with type 'void(long int, long int, long int, struct LOC_inputdata *)' 1027 | void inputwarning(long, long, long, struct LOC_inputdata*); | ^~~~~~~~~~~~ commondefs.h:1068:8: note: previous declaration of 'getdist' with type 'double(double *)' 1068 | double getdist(double*); | ^~~~~~~ commondefs.h:1173:13: error: conflicting types for 'malloc_err'; have 'void(void)' 1173 | extern void malloc_err(); | ^~~~~~~~~~ commondefs.h:1168:15: error: conflicting types for 'invdist'; have 'double(void)' 1168 | extern double invdist(); | ^~~~~~~ commondefs.h:1021:6: note: previous declaration of 'malloc_err' with type 'void(char *)' 1021 | void malloc_err(char*); | ^~~~~~~~~~ commondefs.h:1191:13: error: conflicting types for 'readped'; have 'void(void)' 1191 | extern void readped(); | ^~~~~~~ commondefs.h:1069:8: note: previous declaration of 'invdist' with type 'double(double *)' 1069 | double invdist(double*); | ^~~~~~~ commondefs.h:1174:12: error: conflicting types for 'P_eof'; have 'int(void)' 1174 | extern int P_eof(); | ^~~~~ commondefs.h:1028:6: note: previous declaration of 'readped' with type 'void(struct LOC_inputdata *)' 1028 | void readped(struct LOC_inputdata*); | ^~~~~~~ commondefs.h:1022:5: note: previous declaration of 'P_eof' with type 'int(FILE *)' 1022 | int P_eof(FILE*); | ^~~~~ commondefs.h:1173:13: error: conflicting types for 'malloc_err'; have 'void(void)' 1173 | extern void malloc_err(); | ^~~~~~~~~~ In file included from ilgetvect.c:87: comgetvect.c: In function 'prior': commondefs.h:1175:12: error: conflicting types for 'P_eoln'; have 'int(void)' 1175 | extern int P_eoln(); | ^~~~~~ commondefs.h:1021:6: note: previous declaration of 'malloc_err' with type 'void(char *)' 1021 | void malloc_err(char*); | ^~~~~~~~~~ commondefs.h:1023:5: note: previous declaration of 'P_eoln' with type 'int(FILE *)' 1023 | int P_eoln(FILE*); | ^~~~~~ comrec.c: In function 'setrec': commondefs.h:1174:12: error: conflicting types for 'P_eof'; have 'int(void)' 1174 | extern int P_eof(); | ^~~~~ comrec.c:100:12: warning: old-style function definition [-Wold-style-definition] 100 | Local Void setrec(val, LINK) | ^~~~~~ commondefs.h:1022:5: note: previous declaration of 'P_eof' with type 'int(FILE *)' 1022 | int P_eof(FILE*); | ^~~~~ cominputcode.c: In function 'checkrisk': commondefs.h:1184:17: error: conflicting types for 'MakeMask'; have 'unsigned int(void)' 1184 | extern unsigned MakeMask(); | ^~~~~~~~ comgetvect.c:26:13: warning: old-style function definition [-Wold-style-definition] 26 | static void prior(LINK) | ^~~~~ commondefs.h:1175:12: error: conflicting types for 'P_eoln'; have 'int(void)' 1175 | extern int P_eoln(); | ^~~~~~ commondefs.h:1024:10: note: previous declaration of 'MakeMask' with type 'unsigned int(int, int)' 1024 | unsigned MakeMask(int start, int end); | ^~~~~~~~ cominputcode.c:57:12: warning: old-style function definition [-Wold-style-definition] 57 | Local Void checkrisk(riskhet, riskhom, LINK) | ^~~~~~~~~ commondefs.h:1023:5: note: previous declaration of 'P_eoln' with type 'int(FILE *)' 1023 | int P_eoln(FILE*); | ^~~~~~ commondefs.h:1185:13: error: conflicting types for 'getlocus'; have 'void(void)' 1185 | extern void getlocus(); | ^~~~~~~~ commondefs.h:1025:6: note: previous declaration of 'getlocus' with type 'void(long int, struct LOC_readloci *)' 1025 | void getlocus(long, struct LOC_readloci*); | ^~~~~~~~ commondefs.h:1186:13: error: conflicting types for 'inputerror'; have 'void(void)' 1186 | extern void inputerror(); | ^~~~~~~~~~ commondefs.h:1184:17: error: conflicting types for 'MakeMask'; have 'unsigned int(void)' 1184 | extern unsigned MakeMask(); | ^~~~~~~~ commondefs.h:1026:6: note: previous declaration of 'inputerror' with type 'void(long int, long int, long int, struct LOC_inputdata *)' 1026 | void inputerror(long, long, long, struct LOC_inputdata*); | ^~~~~~~~~~ commondefs.h:1024:10: note: previous declaration of 'MakeMask' with type 'unsigned int(int, int)' 1024 | unsigned MakeMask(int start, int end); | ^~~~~~~~ looldnuclear.c: In function 'getapprox': commondefs.h:1187:13: error: conflicting types for 'inputwarning'; have 'void(void)' 1187 | extern void inputwarning(); | ^~~~~~~~~~~~ commondefs.h:1185:13: error: conflicting types for 'getlocus'; have 'void(void)' 1185 | extern void getlocus(); | ^~~~~~~~ commondefs.h:1027:6: note: previous declaration of 'inputwarning' with type 'void(long int, long int, long int, struct LOC_inputdata *)' 1027 | void inputwarning(long, long, long, struct LOC_inputdata*); | ^~~~~~~~~~~~ commondefs.h:1025:6: note: previous declaration of 'getlocus' with type 'void(long int, struct LOC_readloci *)' 1025 | void getlocus(long, struct LOC_readloci*); | ^~~~~~~~ looldnuclear.c:8:12: warning: old-style function definition [-Wold-style-definition] 8 | Local Void getapprox(LINK) | ^~~~~~~~~ commondefs.h:1186:13: error: conflicting types for 'inputerror'; have 'void(void)' 1186 | extern void inputerror(); | ^~~~~~~~~~ commondefs.h:1191:13: error: conflicting types for 'readped'; have 'void(void)' 1191 | extern void readped(); | ^~~~~~~ comrec.c: In function 'dointer': commondefs.h:1028:6: note: previous declaration of 'readped' with type 'void(struct LOC_inputdata *)' 1028 | void readped(struct LOC_inputdata*); | ^~~~~~~ commondefs.h:1026:6: note: previous declaration of 'inputerror' with type 'void(long int, long int, long int, struct LOC_inputdata *)' 1026 | void inputerror(long, long, long, struct LOC_inputdata*); | ^~~~~~~~~~ comrec.c:111:12: warning: old-style function definition [-Wold-style-definition] 111 | Local Void dointer(LINK) | ^~~~~~~ commondefs.h:1187:13: error: conflicting types for 'inputwarning'; have 'void(void)' 1187 | extern void inputwarning(); | ^~~~~~~~~~~~ cominputcode.c: In function 'gethapn': commondefs.h:1027:6: note: previous declaration of 'inputwarning' with type 'void(long int, long int, long int, struct LOC_inputdata *)' 1027 | void inputwarning(long, long, long, struct LOC_inputdata*); | ^~~~~~~~~~~~ iostuff.c: In function 'read_till_blank_line': cominputcode.c:75:12: warning: old-style function definition [-Wold-style-definition] 75 | Local long gethapn(hap, LINK) | ^~~~~~~ check.c: In function 'fileErrorHelp': commondefs.h:1191:13: error: conflicting types for 'readped'; have 'void(void)' 1191 | extern void readped(); | ^~~~~~~ iostuff.c:258:12: warning: old-style function definition [-Wold-style-definition] 258 | static int read_till_blank_line(infile) | ^~~~~~~~~~~~~~~~~~~~ commondefs.h:1028:6: note: previous declaration of 'readped' with type 'void(struct LOC_inputdata *)' 1028 | void readped(struct LOC_inputdata*); | ^~~~~~~ check.c:31:1: warning: old-style function definition [-Wold-style-definition] 31 | fileErrorHelp ( fileName , problemType ) | ^~~~~~~~~~~~~ In file included from comrec.c:17: commondefs.h:1166:15: error: conflicting types for 'mapfunction'; have 'double(void)' 1166 | extern double mapfunction(); | ^~~~~~~~~~~ cominputcode.c: In function 'setrisk': commondefs.h:1067:8: note: previous declaration of 'mapfunction' with type 'double(double, double)' 1067 | double mapfunction(double, double); | ^~~~~~~~~~~ In file included from iloldnuclear.c:37: comnuclear.c: In function 'msegsex': cominputcode.c:92:12: warning: old-style function definition [-Wold-style-definition] 92 | Local Void setrisk(LINK) | ^~~~~~~ commondefs.h:1167:15: error: conflicting types for 'getdist'; have 'double(void)' 1167 | extern double getdist(); | ^~~~~~~ commondefs.h:1068:8: note: previous declaration of 'getdist' with type 'double(double *)' 1068 | double getdist(double*); | ^~~~~~~ commondefs.h:1168:15: error: conflicting types for 'invdist'; have 'double(void)' 1168 | extern double invdist(); | ^~~~~~~ commondefs.h:1069:8: note: previous declaration of 'invdist' with type 'double(double *)' 1069 | double invdist(double*); | ^~~~~~~ commondefs.h:1173:13: error: conflicting types for 'malloc_err'; have 'void(void)' 1173 | extern void malloc_err(); | ^~~~~~~~~~ commondefs.h:1021:6: note: previous declaration of 'malloc_err' with type 'void(char *)' 1021 | void malloc_err(char*); | ^~~~~~~~~~ cominputcode.c: In function 'getriskhap': comnuclear.c:7:14: warning: old-style function definition [-Wold-style-definition] 7 | Local double msegsex(LINK) | ^~~~~~~ commondefs.h:1174:12: error: conflicting types for 'P_eof'; have 'int(void)' 1174 | extern int P_eof(); | ^~~~~ cominputcode.c:104:12: warning: old-style function definition [-Wold-style-definition] 104 | Local Void getriskhap(system, LINK) | ^~~~~~~~~~ commondefs.h:1022:5: note: previous declaration of 'P_eof' with type 'int(FILE *)' 1022 | int P_eof(FILE*); | ^~~~~ commondefs.h:1175:12: error: conflicting types for 'P_eoln'; have 'int(void)' 1175 | extern int P_eoln(); | ^~~~~~ commondefs.h:1023:5: note: previous declaration of 'P_eoln' with type 'int(FILE *)' 1023 | int P_eoln(FILE*); | ^~~~~~ automodified.c: In function 'getprobtable': commondefs.h:1184:17: error: conflicting types for 'MakeMask'; have 'unsigned int(void)' 1184 | extern unsigned MakeMask(); | ^~~~~~~~ commondefs.h:1024:10: note: previous declaration of 'MakeMask' with type 'unsigned int(int, int)' 1024 | unsigned MakeMask(int start, int end); | ^~~~~~~~ cominputcode.c: In function 'domalerisk': commondefs.h:1185:13: error: conflicting types for 'getlocus'; have 'void(void)' 1185 | extern void getlocus(); | ^~~~~~~~ cominputcode.c:123:12: warning: old-style function definition [-Wold-style-definition] 123 | Local Void domalerisk(LINK) | ^~~~~~~~~~ commondefs.h:1025:6: note: previous declaration of 'getlocus' with type 'void(long int, struct LOC_readloci *)' 1025 | void getlocus(long, struct LOC_readloci*); | ^~~~~~~~ In file included from looldnuclear.c:36: comnuclear.c: In function 'msegsex': commondefs.h:1186:13: error: conflicting types for 'inputerror'; have 'void(void)' 1186 | extern void inputerror(); | ^~~~~~~~~~ commondefs.h:1026:6: note: previous declaration of 'inputerror' with type 'void(long int, long int, long int, struct LOC_inputdata *)' 1026 | void inputerror(long, long, long, struct LOC_inputdata*); | ^~~~~~~~~~ cominputcode.c: In function 'setmutation': automodified.c:34:7: error: too many arguments to function 'malloc_err'; expected 0, have 1 34 | malloc_err("classbase"); | ^~~~~~~~~~ ~~~~~~~~~~~ commondefs.h:1187:13: error: conflicting types for 'inputwarning'; have 'void(void)' 1187 | extern void inputwarning(); | ^~~~~~~~~~~~ check.c: In function 'ourCopyAppendFile': cominputcode.c:137:12: warning: old-style function definition [-Wold-style-definition] 137 | Local Void setmutation(LINK) | ^~~~~~~~~~~ commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ commondefs.h:1027:6: note: previous declaration of 'inputwarning' with type 'void(long int, long int, long int, struct LOC_inputdata *)' 1027 | void inputwarning(long, long, long, struct LOC_inputdata*); | ^~~~~~~~~~~~ check.c:71:1: warning: old-style function definition [-Wold-style-definition] 71 | ourCopyAppendFile ( fromName , toName , operationType ) | ^~~~~~~~~~~~~~~~~ commondefs.h:1191:13: error: conflicting types for 'readped'; have 'void(void)' 1191 | extern void readped(); | ^~~~~~~ comnuclear.c:7:14: warning: old-style function definition [-Wold-style-definition] 7 | Local double msegsex(LINK) | ^~~~~~~ commondefs.h:1028:6: note: previous declaration of 'readped' with type 'void(struct LOC_inputdata *)' 1028 | void readped(struct LOC_inputdata*); | ^~~~~~~ automodified.c:37:7: error: too many arguments to function 'malloc_err'; expected 0, have 1 37 | malloc_err("classsize"); | ^~~~~~~~~~ ~~~~~~~~~~~ iostuff.c: In function 'foundped': commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ iostuff.c:329:7: error: too many arguments to function 'malloc_err'; expected 0, have 1 329 | malloc_err("tmp_ped_list"); | ^~~~~~~~~~ ~~~~~~~~~~~~~~ automodified.c:40:7: error: too many arguments to function 'malloc_err'; expected 0, have 1 40 | malloc_err("recomb_flag"); | ^~~~~~~~~~ ~~~~~~~~~~~~~ iostuff.c:71:6: note: declared here 71 | void malloc_err(message) | ^~~~~~~~~~ commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ iostuff.c:346:3: error: too many arguments to function 'malloc_err'; expected 0, have 1 346 | malloc_err("pedidx2num"); | ^~~~~~~~~~ ~~~~~~~~~~~~ In file included from sexmodified.c:18: commondefs.h:1166:15: error: conflicting types for 'mapfunction'; have 'double(void)' 1166 | extern double mapfunction(); | ^~~~~~~~~~~ In file included from iostuff.c:24: commondefs.h:1166:15: error: conflicting types for 'mapfunction'; have 'double(void)' 1166 | extern double mapfunction(); | ^~~~~~~~~~~ commondefs.h:1067:8: note: previous declaration of 'mapfunction' with type 'double(double, double)' 1067 | double mapfunction(double, double); | ^~~~~~~~~~~ iostuff.c:71:6: note: declared here 71 | void malloc_err(message) | ^~~~~~~~~~ commondefs.h:1067:8: note: previous declaration of 'mapfunction' with type 'double(double, double)' 1067 | double mapfunction(double, double); | ^~~~~~~~~~~ commondefs.h:1167:15: error: conflicting types for 'getdist'; have 'double(void)' 1167 | extern double getdist(); | ^~~~~~~ comrec.c: In function 'nexthet': commondefs.h:1068:8: note: previous declaration of 'getdist' with type 'double(double *)' 1068 | double getdist(double*); | ^~~~~~~ commondefs.h:1167:15: error: conflicting types for 'getdist'; have 'double(void)' 1167 | extern double getdist(); | ^~~~~~~ comgetvect.c: In function 'setval': commondefs.h:1168:15: error: conflicting types for 'invdist'; have 'double(void)' 1168 | extern double invdist(); | ^~~~~~~ comrec.c:165:12: warning: old-style function definition [-Wold-style-definition] 165 | Local Void nexthet(i, val, inphase, LINK) | ^~~~~~~ commondefs.h:1068:8: note: previous declaration of 'getdist' with type 'double(double *)' 1068 | double getdist(double*); | ^~~~~~~ commondefs.h:1069:8: note: previous declaration of 'invdist' with type 'double(double *)' 1069 | double invdist(double*); | ^~~~~~~ comrec.c: In function 'scramble': comgetvect.c:167:13: warning: old-style function definition [-Wold-style-definition] 167 | static void setval(val_, LINK) | ^~~~~~ commondefs.h:1168:15: error: conflicting types for 'invdist'; have 'double(void)' 1168 | extern double invdist(); | ^~~~~~~ commondefs.h:1069:8: note: previous declaration of 'invdist' with type 'double(double *)' 1069 | double invdist(double*); | ^~~~~~~ commondefs.h:1173:13: error: conflicting types for 'malloc_err'; have 'void(void)' 1173 | extern void malloc_err(); | ^~~~~~~~~~ commondefs.h:1021:6: note: previous declaration of 'malloc_err' with type 'void(char *)' 1021 | void malloc_err(char*); | ^~~~~~~~~~ commondefs.h:1173:13: error: conflicting types for 'malloc_err'; have 'void(void)' 1173 | extern void malloc_err(); | ^~~~~~~~~~ commondefs.h:1174:12: error: conflicting types for 'P_eof'; have 'int(void)' 1174 | extern int P_eof(); | ^~~~~ automodified.c:55:9: error: too many arguments to function 'malloc_err'; expected 0, have 1 55 | malloc_err("probtableindex"); | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~ commondefs.h:1021:6: note: previous declaration of 'malloc_err' with type 'void(char *)' 1021 | void malloc_err(char*); | ^~~~~~~~~~ commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ commondefs.h:1174:12: error: conflicting types for 'P_eof'; have 'int(void)' 1174 | extern int P_eof(); | ^~~~~ commondefs.h:1022:5: note: previous declaration of 'P_eof' with type 'int(FILE *)' 1022 | int P_eof(FILE*); | ^~~~~ commondefs.h:1175:12: error: conflicting types for 'P_eoln'; have 'int(void)' 1175 | extern int P_eoln(); | ^~~~~~ comrec.c:42:12: warning: old-style function definition [-Wold-style-definition] 42 | Local Void scramble(LINK) | ^~~~~~~~ commondefs.h:1022:5: note: previous declaration of 'P_eof' with type 'int(FILE *)' 1022 | int P_eof(FILE*); | ^~~~~ commondefs.h:1023:5: note: previous declaration of 'P_eoln' with type 'int(FILE *)' 1023 | int P_eoln(FILE*); | ^~~~~~ commondefs.h:1175:12: error: conflicting types for 'P_eoln'; have 'int(void)' 1175 | extern int P_eoln(); | ^~~~~~ commondefs.h:1023:5: note: previous declaration of 'P_eoln' with type 'int(FILE *)' 1023 | int P_eoln(FILE*); | ^~~~~~ commondefs.h:1184:17: error: conflicting types for 'MakeMask'; have 'unsigned int(void)' 1184 | extern unsigned MakeMask(); | ^~~~~~~~ commondefs.h:1024:10: note: previous declaration of 'MakeMask' with type 'unsigned int(int, int)' 1024 | unsigned MakeMask(int start, int end); | ^~~~~~~~ automodified.c:61:9: error: too many arguments to function 'malloc_err'; expected 0, have 1 61 | malloc_err("probtable"); | ^~~~~~~~~~ ~~~~~~~~~~~ commondefs.h:1184:17: error: conflicting types for 'MakeMask'; have 'unsigned int(void)' 1184 | extern unsigned MakeMask(); | ^~~~~~~~ commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ commondefs.h:1185:13: error: conflicting types for 'getlocus'; have 'void(void)' 1185 | extern void getlocus(); | ^~~~~~~~ commondefs.h:1024:10: note: previous declaration of 'MakeMask' with type 'unsigned int(int, int)' 1024 | unsigned MakeMask(int start, int end); | ^~~~~~~~ commondefs.h:1025:6: note: previous declaration of 'getlocus' with type 'void(long int, struct LOC_readloci *)' 1025 | void getlocus(long, struct LOC_readloci*); | ^~~~~~~~ commondefs.h:1185:13: error: conflicting types for 'getlocus'; have 'void(void)' 1185 | extern void getlocus(); | ^~~~~~~~ iostuff.c: In function 'init_ped_loc_all': commondefs.h:1186:13: error: conflicting types for 'inputerror'; have 'void(void)' 1186 | extern void inputerror(); | ^~~~~~~~~~ commondefs.h:1025:6: note: previous declaration of 'getlocus' with type 'void(long int, struct LOC_readloci *)' 1025 | void getlocus(long, struct LOC_readloci*); | ^~~~~~~~ commondefs.h:1026:6: note: previous declaration of 'inputerror' with type 'void(long int, long int, long int, struct LOC_inputdata *)' 1026 | void inputerror(long, long, long, struct LOC_inputdata*); | ^~~~~~~~~~ commondefs.h:1186:13: error: conflicting types for 'inputerror'; have 'void(void)' 1186 | extern void inputerror(); | ^~~~~~~~~~ commondefs.h:1187:13: error: conflicting types for 'inputwarning'; have 'void(void)' 1187 | extern void inputwarning(); | ^~~~~~~~~~~~ commondefs.h:1026:6: note: previous declaration of 'inputerror' with type 'void(long int, long int, long int, struct LOC_inputdata *)' 1026 | void inputerror(long, long, long, struct LOC_inputdata*); | ^~~~~~~~~~ iostuff.c:403:3: error: too many arguments to function 'malloc_err'; expected 0, have 1 403 | malloc_err("ped_loc_all"); | ^~~~~~~~~~ ~~~~~~~~~~~~~ commondefs.h:1027:6: note: previous declaration of 'inputwarning' with type 'void(long int, long int, long int, struct LOC_inputdata *)' 1027 | void inputwarning(long, long, long, struct LOC_inputdata*); | ^~~~~~~~~~~~ commondefs.h:1187:13: error: conflicting types for 'inputwarning'; have 'void(void)' 1187 | extern void inputwarning(); | ^~~~~~~~~~~~ commondefs.h:1027:6: note: previous declaration of 'inputwarning' with type 'void(long int, long int, long int, struct LOC_inputdata *)' 1027 | void inputwarning(long, long, long, struct LOC_inputdata*); | ^~~~~~~~~~~~ commondefs.h:1191:13: error: conflicting types for 'readped'; have 'void(void)' 1191 | extern void readped(); | ^~~~~~~ automodified.c:69:9: error: too many arguments to function 'malloc_err'; expected 0, have 1 69 | malloc_err("probtabledif"); | ^~~~~~~~~~ ~~~~~~~~~~~~~~ iostuff.c:71:6: note: declared here 71 | void malloc_err(message) | ^~~~~~~~~~ commondefs.h:1028:6: note: previous declaration of 'readped' with type 'void(struct LOC_inputdata *)' 1028 | void readped(struct LOC_inputdata*); | ^~~~~~~ commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ commondefs.h:1191:13: error: conflicting types for 'readped'; have 'void(void)' 1191 | extern void readped(); | ^~~~~~~ commondefs.h:1028:6: note: previous declaration of 'readped' with type 'void(struct LOC_inputdata *)' 1028 | void readped(struct LOC_inputdata*); | ^~~~~~~ comgetvect.c: In function 'facmale': sexmodified.c: In function 'lsegsexfun2': iostuff.c:40:5: error: conflicting types for 'P_eof'; have 'int(void)' 40 | int P_eof(f) | ^~~~~ commondefs.h:1022:5: note: previous declaration of 'P_eof' with type 'int(FILE *)' 1022 | int P_eof(FILE*); | ^~~~~ sexmodified.c:21:10: warning: old-style function definition [-Wold-style-definition] 21 | unsigned lsegsexfun2(first,second) | ^~~~~~~~~~~ comgetvect.c:227:13: warning: old-style function definition [-Wold-style-definition] 227 | static void facmale(LINK) | ^~~~~~~ comrec.c: In function 'getrecprob': comrec.c:220:12: warning: old-style function definition [-Wold-style-definition] 220 | Local Void getrecprob(LINK) | ^~~~~~~~~~ iostuff.c: In function 'P_eof': iostuff.c:40:5: warning: old-style function definition [-Wold-style-definition] 40 | int P_eof(f) | ^~~~~ cominputcode.c: In function 'getmuthap': iostuff.c: At top level: iostuff.c:58:5: error: conflicting types for 'P_eoln'; have 'int(void)' 58 | int P_eoln(f) | ^~~~~~ commondefs.h:1023:5: note: previous declaration of 'P_eoln' with type 'int(FILE *)' 1023 | int P_eoln(FILE*); | ^~~~~~ automodified.c: In function 'segsum2': comrec.c: In function 'setrec': cominputcode.c:153:12: warning: old-style function definition [-Wold-style-definition] 153 | Local Void getmuthap(system, LINK) | ^~~~~~~~~ automodified.c:111:12: warning: old-style function definition [-Wold-style-definition] 111 | Local void segsum2(first,second,fslength) | ^~~~~~~ comrec.c:100:12: warning: old-style function definition [-Wold-style-definition] 100 | Local Void setrec(val, LINK) | ^~~~~~ comgetvect.c:247:9: error: too many arguments to function 'getgene'; expected 0, have 3 247 | getgene(LINK->syste + 1, LINK->val, LINK->LINK); | ^~~~~~~ ~~~~~~~~~~~~~~~ iostuff.c: In function 'P_eoln': iostuff.c:58:5: warning: old-style function definition [-Wold-style-definition] 58 | int P_eoln(f) | ^~~~~~ ilgetvect.c:19:13: note: declared here 19 | static void getgene (); | ^~~~~~~ iostuff.c: At top level: iostuff.c:71:6: error: conflicting types for 'malloc_err'; have 'void(void)' 71 | void malloc_err(message) | ^~~~~~~~~~ cominputcode.c: In function 'domutation': ilinputcode.c: In function 'setparam': sexmodified.c: In function 'segsexsum2': comrec.c: In function 'dointer': cominputcode.c:172:12: warning: old-style function definition [-Wold-style-definition] 172 | Local Void domutation(LINK) | ^~~~~~~~~~ sexmodified.c:76:12: warning: old-style function definition [-Wold-style-definition] 76 | Local void segsexsum2(first,second,fslength) | ^~~~~~~~~~ comrec.c: In function 'gethet': comrec.c:111:12: warning: old-style function definition [-Wold-style-definition] 111 | Local Void dointer(LINK) | ^~~~~~~ commondefs.h:1021:6: note: previous declaration of 'malloc_err' with type 'void(char *)' 1021 | void malloc_err(char*); | ^~~~~~~~~~ comgetvect.c: In function 'affmale': cominputcode.c: In function 'setnumbers': iostuff.c: In function 'malloc_err': ilinputcode.c:159:3: error: too many arguments to function 'invert'; expected 0, have 3 159 | invert(WITH1->UU.U1.vmat, WITH1->UU.U1.ntrait, &WITH1->UU.U1.det); | ^~~~~~ ~~~~~~~~~~~~~~~~~ comgetvect.c:256:13: warning: old-style function definition [-Wold-style-definition] 256 | static void affmale(LINK) | ^~~~~~~ iostuff.c:71:6: warning: old-style function definition [-Wold-style-definition] 71 | void malloc_err(message) | ^~~~~~~~~~ cominputcode.c:181:12: warning: old-style function definition [-Wold-style-definition] 181 | Local Void setnumbers(LINK) | ^~~~~~~~~~ commondefs.h:1145:13: note: declared here 1145 | extern void invert(); | ^~~~~~ comrec.c:249:12: warning: old-style function definition [-Wold-style-definition] 249 | Local Void gethet(system, LINK) | ^~~~~~ In file included from logetvect.c:5: commondefs.h:1166:15: error: conflicting types for 'mapfunction'; have 'double(void)' 1166 | extern double mapfunction(); | ^~~~~~~~~~~ commondefs.h:1067:8: note: previous declaration of 'mapfunction' with type 'double(double, double)' 1067 | double mapfunction(double, double); | ^~~~~~~~~~~ automodified.c: In function 'segsum3': commondefs.h:1167:15: error: conflicting types for 'getdist'; have 'double(void)' 1167 | extern double getdist(); | ^~~~~~~ comgetvect.c:271:9: error: too many arguments to function 'getgene'; expected 0, have 3 271 | getgene(LINK->syste + 1, LINK->newval, LINK->LINK); | ^~~~~~~ ~~~~~~~~~~~~~~~ commondefs.h:1068:8: note: previous declaration of 'getdist' with type 'double(double *)' 1068 | double getdist(double*); | ^~~~~~~ automodified.c:177:12: warning: old-style function definition [-Wold-style-definition] 177 | Local void segsum3(first,second,fslength) | ^~~~~~~ ilgetvect.c:19:13: note: declared here 19 | static void getgene (); | ^~~~~~~ commondefs.h:1168:15: error: conflicting types for 'invdist'; have 'double(void)' 1168 | extern double invdist(); | ^~~~~~~ commondefs.h:1069:8: note: previous declaration of 'invdist' with type 'double(double *)' 1069 | double invdist(double*); | ^~~~~~~ commondefs.h:1173:13: error: conflicting types for 'malloc_err'; have 'void(void)' 1173 | extern void malloc_err(); | ^~~~~~~~~~ comgetvect.c: In function 'quanmale': commondefs.h:1021:6: note: previous declaration of 'malloc_err' with type 'void(char *)' 1021 | void malloc_err(char*); | ^~~~~~~~~~ In file included from loinputcode.c:13: commondefs.h:1166:15: error: conflicting types for 'mapfunction'; have 'double(void)' 1166 | extern double mapfunction(); | ^~~~~~~~~~~ comgetvect.c:280:13: warning: old-style function definition [-Wold-style-definition] 280 | static void quanmale(LINK) | ^~~~~~~~ ilinputcode.c: In function 'setiterate': sexmodified.c: In function 'segsexsumdown2': commondefs.h:1174:12: error: conflicting types for 'P_eof'; have 'int(void)' 1174 | extern int P_eof(); | ^~~~~ ilinputcode.c:168:6: warning: old-style function definition [-Wold-style-definition] 168 | Void setiterate(LINK) | ^~~~~~~~~~ sexmodified.c:133:12: warning: old-style function definition [-Wold-style-definition] 133 | Local void segsexsumdown2(first,second,fslength,male) | ^~~~~~~~~~~~~~ commondefs.h:1022:5: note: previous declaration of 'P_eof' with type 'int(FILE *)' 1022 | int P_eof(FILE*); | ^~~~~ commondefs.h:1067:8: note: previous declaration of 'mapfunction' with type 'double(double, double)' 1067 | double mapfunction(double, double); | ^~~~~~~~~~~ commondefs.h:1175:12: error: conflicting types for 'P_eoln'; have 'int(void)' 1175 | extern int P_eoln(); | ^~~~~~ commondefs.h:1167:15: error: conflicting types for 'getdist'; have 'double(void)' 1167 | extern double getdist(); | ^~~~~~~ commondefs.h:1023:5: note: previous declaration of 'P_eoln' with type 'int(FILE *)' 1023 | int P_eoln(FILE*); | ^~~~~~ commondefs.h:1068:8: note: previous declaration of 'getdist' with type 'double(double *)' 1068 | double getdist(double*); | ^~~~~~~ commondefs.h:1168:15: error: conflicting types for 'invdist'; have 'double(void)' 1168 | extern double invdist(); | ^~~~~~~ commondefs.h:1184:17: error: conflicting types for 'MakeMask'; have 'unsigned int(void)' 1184 | extern unsigned MakeMask(); | ^~~~~~~~ cominputcode.c: In function 'hapscr': commondefs.h:1069:8: note: previous declaration of 'invdist' with type 'double(double *)' 1069 | double invdist(double*); | ^~~~~~~ commondefs.h:1024:10: note: previous declaration of 'MakeMask' with type 'unsigned int(int, int)' 1024 | unsigned MakeMask(int start, int end); | ^~~~~~~~ cominputcode.c:216:12: warning: old-style function definition [-Wold-style-definition] 216 | Local Void hapscr(system, nscramble, LINK) | ^~~~~~ commondefs.h:1185:13: error: conflicting types for 'getlocus'; have 'void(void)' 1185 | extern void getlocus(); | ^~~~~~~~ commondefs.h:1173:13: error: conflicting types for 'malloc_err'; have 'void(void)' 1173 | extern void malloc_err(); | ^~~~~~~~~~ comgetvect.c:296:9: error: too many arguments to function 'getgene'; expected 0, have 3 296 | getgene(LINK->syste + 1, LINK->newval, LINK->LINK); | ^~~~~~~ ~~~~~~~~~~~~~~~ commondefs.h:1025:6: note: previous declaration of 'getlocus' with type 'void(long int, struct LOC_readloci *)' 1025 | void getlocus(long, struct LOC_readloci*); | ^~~~~~~~ ilinputcode.c:181:5: error: too many arguments to function 'inputerror'; expected 0, have 4 181 | inputerror(23L, mlocus, i, LINK); | ^~~~~~~~~~ ~~~ commondefs.h:1021:6: note: previous declaration of 'malloc_err' with type 'void(char *)' 1021 | void malloc_err(char*); | ^~~~~~~~~~ ilgetvect.c:19:13: note: declared here 19 | static void getgene (); | ^~~~~~~ commondefs.h:1186:13: error: conflicting types for 'inputerror'; have 'void(void)' 1186 | extern void inputerror(); | ^~~~~~~~~~ commondefs.h:1186:13: note: declared here 1186 | extern void inputerror(); | ^~~~~~~~~~ commondefs.h:1174:12: error: conflicting types for 'P_eof'; have 'int(void)' 1174 | extern int P_eof(); | ^~~~~ commondefs.h:1026:6: note: previous declaration of 'inputerror' with type 'void(long int, long int, long int, struct LOC_inputdata *)' 1026 | void inputerror(long, long, long, struct LOC_inputdata*); | ^~~~~~~~~~ commondefs.h:1022:5: note: previous declaration of 'P_eof' with type 'int(FILE *)' 1022 | int P_eof(FILE*); | ^~~~~ commondefs.h:1187:13: error: conflicting types for 'inputwarning'; have 'void(void)' 1187 | extern void inputwarning(); | ^~~~~~~~~~~~ ilinputcode.c:183:5: error: too many arguments to function 'inputerror'; expected 0, have 4 183 | inputerror(24L, i, i, LINK); | ^~~~~~~~~~ ~~~ commondefs.h:1027:6: note: previous declaration of 'inputwarning' with type 'void(long int, long int, long int, struct LOC_inputdata *)' 1027 | void inputwarning(long, long, long, struct LOC_inputdata*); | ^~~~~~~~~~~~ commondefs.h:1175:12: error: conflicting types for 'P_eoln'; have 'int(void)' 1175 | extern int P_eoln(); | ^~~~~~ commondefs.h:1186:13: note: declared here 1186 | extern void inputerror(); | ^~~~~~~~~~ commondefs.h:1023:5: note: previous declaration of 'P_eoln' with type 'int(FILE *)' 1023 | int P_eoln(FILE*); | ^~~~~~ commondefs.h:1191:13: error: conflicting types for 'readped'; have 'void(void)' 1191 | extern void readped(); | ^~~~~~~ commondefs.h:1028:6: note: previous declaration of 'readped' with type 'void(struct LOC_inputdata *)' 1028 | void readped(struct LOC_inputdata*); | ^~~~~~~ comnuclear.c: In function 'msegsexf': commondefs.h:1184:17: error: conflicting types for 'MakeMask'; have 'unsigned int(void)' 1184 | extern unsigned MakeMask(); | ^~~~~~~~ comnuclear.c:146:14: warning: old-style function definition [-Wold-style-definition] 146 | Local double msegsexf(LINK) | ^~~~~~~~ commondefs.h:1024:10: note: previous declaration of 'MakeMask' with type 'unsigned int(int, int)' 1024 | unsigned MakeMask(int start, int end); | ^~~~~~~~ commondefs.h:1185:13: error: conflicting types for 'getlocus'; have 'void(void)' 1185 | extern void getlocus(); | ^~~~~~~~ automodified.c: In function 'segsumdown2': comgetvect.c:311:11: error: too many arguments to function 'getgene'; expected 0, have 3 311 | getgene(LINK->syste + 1, LINK->newval, LINK->LINK); | ^~~~~~~ ~~~~~~~~~~~~~~~ check.c: In function 'putCkptNumber': ilinputcode.c:193:7: error: too many arguments to function 'inputerror'; expected 0, have 4 193 | inputerror(25L, (long)maxn, k, LINK); | ^~~~~~~~~~ ~~~ commondefs.h:1025:6: note: previous declaration of 'getlocus' with type 'void(long int, struct LOC_readloci *)' 1025 | void getlocus(long, struct LOC_readloci*); | ^~~~~~~~ ilgetvect.c:19:13: note: declared here 19 | static void getgene (); | ^~~~~~~ commondefs.h:1186:13: note: declared here 1186 | extern void inputerror(); | ^~~~~~~~~~ automodified.c:240:12: warning: old-style function definition [-Wold-style-definition] 240 | Local void segsumdown2(first,second,fslength) | ^~~~~~~~~~~ commondefs.h:1186:13: error: conflicting types for 'inputerror'; have 'void(void)' 1186 | extern void inputerror(); | ^~~~~~~~~~ check.c:217:7: warning: old-style function definition [-Wold-style-definition] 217 | void putCkptNumber ( numberPtr , numberSize ) | ^~~~~~~~~~~~~ commondefs.h:1026:6: note: previous declaration of 'inputerror' with type 'void(long int, long int, long int, struct LOC_inputdata *)' 1026 | void inputerror(long, long, long, struct LOC_inputdata*); | ^~~~~~~~~~ commondefs.h:1187:13: error: conflicting types for 'inputwarning'; have 'void(void)' 1187 | extern void inputwarning(); | ^~~~~~~~~~~~ comgetvect.c: In function 'fac': commondefs.h:1027:6: note: previous declaration of 'inputwarning' with type 'void(long int, long int, long int, struct LOC_inputdata *)' 1027 | void inputwarning(long, long, long, struct LOC_inputdata*); | ^~~~~~~~~~~~ sexmodified.c: In function 'segsexup': check.c: In function 'putCkptVector': comgetvect.c:321:13: warning: old-style function definition [-Wold-style-definition] 321 | static void fac(LINK) | ^~~ check.c:226:9: warning: old-style function definition [-Wold-style-definition] 226 | void putCkptVector ( theVector ) | ^~~~~~~~~~~~~ sexmodified.c:203:6: warning: old-style function definition [-Wold-style-definition] 203 | Void segsexup(LINK) | ^~~~~~~~ commondefs.h:1191:13: error: conflicting types for 'readped'; have 'void(void)' 1191 | extern void readped(); | ^~~~~~~ cominputcode.c: In function 'sethap': commondefs.h:1028:6: note: previous declaration of 'readped' with type 'void(struct LOC_inputdata *)' 1028 | void readped(struct LOC_inputdata*); | ^~~~~~~ sexmodified.c:205:1: error: number of arguments doesn't match prototype 205 | { | ^ cominputcode.c:244:12: warning: old-style function definition [-Wold-style-definition] 244 | Local Void sethap(system, LINK) | ^~~~~~ commondefs.h:1137:13: error: prototype declaration 1137 | extern void segsexup(); | ^~~~~~~~ comnuclear.c: In function 'msegsexf': logetvect.c: In function 'quanfun': comnuclear.c:146:14: warning: old-style function definition [-Wold-style-definition] 146 | Local double msegsexf(LINK) | ^~~~~~~~ check.c: In function 'putCkptMatrix': logetvect.c:24:14: warning: old-style function definition [-Wold-style-definition] 24 | Local double quanfun(phen, thislocus, i, j, mean, LINK) | ^~~~~~~ comrec.c: In function 'nexthet': check.c:237:9: warning: old-style function definition [-Wold-style-definition] 237 | void putCkptMatrix ( theMatrix ) | ^~~~~~~~~~~~~ comrec.c:165:12: warning: old-style function definition [-Wold-style-definition] 165 | Local Void nexthet(i, val, inphase, LINK) | ^~~~~~~ check.c: In function 'putCkptIter': iostuff.c: In function 'read_till_blank_line': sexmodified.c:234:3: error: too many arguments to function 'initseg'; expected 0, have 1 234 | initseg(LINK); /*get data about this p,q,children triple*/ | ^~~~~~~ ~~~~ check.c:248:11: warning: old-style function definition [-Wold-style-definition] 248 | void putCkptIter ( theIter ) | ^~~~~~~~~~~ commondefs.h:1147:13: note: declared here 1147 | extern void initseg(); | ^~~~~~~ iostuff.c:258:12: warning: old-style function definition [-Wold-style-definition] 258 | static int read_till_blank_line(infile) | ^~~~~~~~~~~~~~~~~~~~ automodified.c: In function 'segsumdown3': automodified.c:315:12: warning: old-style function definition [-Wold-style-definition] 315 | Local void segsumdown3(first,second,fslength) | ^~~~~~~~~~~ cominputcode.c: In function 'starthap': comrec.c: In function 'recombine': cominputcode.c:293:12: warning: old-style function definition [-Wold-style-definition] 293 | Local Void starthap(LINK) | ^~~~~~~~ comrec.c:268:12: warning: old-style function definition [-Wold-style-definition] 268 | Local Void recombine(theta_, segprob_, LINK) | ^~~~~~~~~ comrec.c: In function 'getfemaletheta': cominputcode.c: In function 'gethet1': comrec.c:284:12: warning: old-style function definition [-Wold-style-definition] 284 | Local Void getfemaletheta(LINK) | ^~~~~~~~~~~~~~ cominputcode.c:306:12: warning: old-style function definition [-Wold-style-definition] 306 | Local Void gethet1(system, LINK) | ^~~~~~~ logetvect.c: In function 'getval': logetvect.c:57:12: warning: old-style function definition [-Wold-style-definition] 57 | Local Void getval(syste, i, j, val, LINK) | ^~~~~~ comrec.c:295:12: error: too many arguments to function 'getdist'; expected 0, have 1 295 | dist = getdist(&maletheta->theta[i]) * distratio; | ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~ commondefs.h:1167:15: note: declared here 1167 | extern double getdist(); | ^~~~~~~ comrec.c: In function 'getrecprob': comrec.c:220:12: warning: old-style function definition [-Wold-style-definition] 220 | Local Void getrecprob(LINK) | ^~~~~~~~~~ comrec.c:296:29: error: too many arguments to function 'invdist'; expected 0, have 1 296 | femaletheta->theta[i] = invdist(&dist); | ^~~~~~~ ~~~~~ commondefs.h:1168:15: note: declared here 1168 | extern double invdist(); | ^~~~~~~ iostuff.c: In function 'foundped': cominputcode.c: At top level: cominputcode.c:342:6: error: conflicting types for 'inputerror'; have 'void(void)' 342 | Void inputerror(nerror, par1, par2, LINK) | ^~~~~~~~~~ iostuff.c:329:7: error: too many arguments to function 'malloc_err'; expected 0, have 1 329 | malloc_err("tmp_ped_list"); | ^~~~~~~~~~ ~~~~~~~~~~~~~~ commondefs.h:1026:6: note: previous declaration of 'inputerror' with type 'void(long int, long int, long int, struct LOC_inputdata *)' 1026 | void inputerror(long, long, long, struct LOC_inputdata*); | ^~~~~~~~~~ cominputcode.c: In function 'inputerror': iostuff.c:71:6: note: declared here 71 | void malloc_err(message) | ^~~~~~~~~~ cominputcode.c:342:6: warning: old-style function definition [-Wold-style-definition] 342 | Void inputerror(nerror, par1, par2, LINK) | ^~~~~~~~~~ comrec.c: In function 'recombination': comrec.c:311:33: error: too many arguments to function 'mapfunction'; expected 0, have 2 311 | WITH->theta[mlocus - 1] = mapfunction(WITH->theta[mlocus - 2], | ^~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~ commondefs.h:1166:15: note: declared here 1166 | extern double mapfunction(); | ^~~~~~~~~~~ iostuff.c:346:3: error: too many arguments to function 'malloc_err'; expected 0, have 1 346 | malloc_err("pedidx2num"); | ^~~~~~~~~~ ~~~~~~~~~~~~ comrec.c: In function 'gethet': In file included from logetvect.c:85: comgetvect.c: In function 'prior': comrec.c:249:12: warning: old-style function definition [-Wold-style-definition] 249 | Local Void gethet(system, LINK) | ^~~~~~ iostuff.c:71:6: note: declared here 71 | void malloc_err(message) | ^~~~~~~~~~ ilinputcode.c:203:7: error: too many arguments to function 'inputerror'; expected 0, have 4 203 | inputerror(25L, (long)maxn, k, LINK); | ^~~~~~~~~~ ~~~ commondefs.h:1186:13: note: declared here 1186 | extern void inputerror(); | ^~~~~~~~~~ comgetvect.c:26:13: warning: old-style function definition [-Wold-style-definition] 26 | static void prior(LINK) | ^~~~~ In file included from gemdefs.h:17, from loinputcode.c:17: commondefs.h:1166:15: error: conflicting types for 'mapfunction'; have 'double(void)' 1166 | extern double mapfunction(); | ^~~~~~~~~~~ commondefs.h:1067:8: note: previous declaration of 'mapfunction' with type 'double(double, double)' 1067 | double mapfunction(double, double); | ^~~~~~~~~~~ commondefs.h:1167:15: error: conflicting types for 'getdist'; have 'double(void)' 1167 | extern double getdist(); | ^~~~~~~ commondefs.h:1068:8: note: previous declaration of 'getdist' with type 'double(double *)' 1068 | double getdist(double*); | ^~~~~~~ iostuff.c: In function 'init_ped_loc_all': commondefs.h:1168:15: error: conflicting types for 'invdist'; have 'double(void)' 1168 | extern double invdist(); | ^~~~~~~ commondefs.h:1069:8: note: previous declaration of 'invdist' with type 'double(double *)' 1069 | double invdist(double*); | ^~~~~~~ comgetvect.c:346:11: error: too many arguments to function 'getgene'; expected 0, have 3 346 | getgene(LINK->syste + 1, LINK->val, LINK->LINK); | ^~~~~~~ ~~~~~~~~~~~~~~~ iostuff.c:403:3: error: too many arguments to function 'malloc_err'; expected 0, have 1 403 | malloc_err("ped_loc_all"); | ^~~~~~~~~~ ~~~~~~~~~~~~~ ilgetvect.c:19:13: note: declared here 19 | static void getgene (); | ^~~~~~~ commondefs.h:1173:13: error: conflicting types for 'malloc_err'; have 'void(void)' 1173 | extern void malloc_err(); | ^~~~~~~~~~ commondefs.h:1021:6: note: previous declaration of 'malloc_err' with type 'void(char *)' 1021 | void malloc_err(char*); | ^~~~~~~~~~ commondefs.h:1174:12: error: conflicting types for 'P_eof'; have 'int(void)' 1174 | extern int P_eof(); | ^~~~~ iostuff.c:71:6: note: declared here 71 | void malloc_err(message) | ^~~~~~~~~~ commondefs.h:1022:5: note: previous declaration of 'P_eof' with type 'int(FILE *)' 1022 | int P_eof(FILE*); | ^~~~~ commondefs.h:1175:12: error: conflicting types for 'P_eoln'; have 'int(void)' 1175 | extern int P_eoln(); | ^~~~~~ commondefs.h:1023:5: note: previous declaration of 'P_eoln' with type 'int(FILE *)' 1023 | int P_eoln(FILE*); | ^~~~~~ comrec.c:349:35: error: too many arguments to function 'mapfunction'; expected 0, have 2 349 | WITH->theta[mlocus - 1] = mapfunction(WITH->theta[mlocus - 2], | ^~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~ commondefs.h:1184:17: error: conflicting types for 'MakeMask'; have 'unsigned int(void)' 1184 | extern unsigned MakeMask(); | ^~~~~~~~ commondefs.h:1166:15: note: declared here 1166 | extern double mapfunction(); | ^~~~~~~~~~~ commondefs.h:1024:10: note: previous declaration of 'MakeMask' with type 'unsigned int(int, int)' 1024 | unsigned MakeMask(int start, int end); | ^~~~~~~~ comlike.c: In function 'invert': commondefs.h:1185:13: error: conflicting types for 'getlocus'; have 'void(void)' 1185 | extern void getlocus(); | ^~~~~~~~ commondefs.h:1025:6: note: previous declaration of 'getlocus' with type 'void(long int, struct LOC_readloci *)' 1025 | void getlocus(long, struct LOC_readloci*); | ^~~~~~~~ commondefs.h:1186:13: error: conflicting types for 'inputerror'; have 'void(void)' 1186 | extern void inputerror(); | ^~~~~~~~~~ commondefs.h:1026:6: note: previous declaration of 'inputerror' with type 'void(long int, long int, long int, struct LOC_inputdata *)' 1026 | void inputerror(long, long, long, struct LOC_inputdata*); | ^~~~~~~~~~ commondefs.h:1187:13: error: conflicting types for 'inputwarning'; have 'void(void)' 1187 | extern void inputwarning(); | ^~~~~~~~~~~~ commondefs.h:1027:6: note: previous declaration of 'inputwarning' with type 'void(long int, long int, long int, struct LOC_inputdata *)' 1027 | void inputwarning(long, long, long, struct LOC_inputdata*); | ^~~~~~~~~~~~ commondefs.h:1191:13: error: conflicting types for 'readped'; have 'void(void)' 1191 | extern void readped(); | ^~~~~~~ comlike.c:104:6: warning: old-style function definition [-Wold-style-definition] 104 | Void invert(m, n, det) | ^~~~~~ commondefs.h:1028:6: note: previous declaration of 'readped' with type 'void(struct LOC_inputdata *)' 1028 | void readped(struct LOC_inputdata*); | ^~~~~~~ comgetvect.c:371:11: error: too many arguments to function 'getgene'; expected 0, have 3 371 | getgene(LINK->syste + 1, LINK->val, LINK->LINK); | ^~~~~~~ ~~~~~~~~~~~~~~~ ilgetvect.c:19:13: note: declared here 19 | static void getgene (); | ^~~~~~~ comlike.c:108:1: error: number of arguments doesn't match prototype 108 | { | ^ commondefs.h:1145:13: error: prototype declaration 1145 | extern void invert(); | ^~~~~~ automodified.c: In function 'lsegfun2': automodified.c:396:10: warning: old-style function definition [-Wold-style-definition] 396 | unsigned lsegfun2(first,second) | ^~~~~~~~ comgetvect.c: In function 'aff': check.c: In function 'performCheckpoint': comrec.c: In function 'recombine': comgetvect.c:381:13: warning: old-style function definition [-Wold-style-definition] 381 | static void aff(LINK) | ^~~ comrec.c:268:12: warning: old-style function definition [-Wold-style-definition] 268 | Local Void recombine(theta_, segprob_, LINK) | ^~~~~~~~~ check.c:372:21: warning: old-style function definition [-Wold-style-definition] 372 | void performCheckpoint ( locationType , locationDatum , extra ) | ^~~~~~~~~~~~~~~~~ check.c:376:1: error: number of arguments doesn't match prototype 376 | { | ^ cominputcode.c: At top level: commondefs.h:1139:13: error: prototype declaration 1139 | extern void performCheckpoint(); | ^~~~~~~~~~~~~~~~~ cominputcode.c:595:6: error: conflicting types for 'inputwarning'; have 'void(void)' 595 | Void inputwarning(nwarning, par1, par2, LINK) | ^~~~~~~~~~~~ comrec.c: In function 'getfemaletheta': comrec.c:284:12: warning: old-style function definition [-Wold-style-definition] 284 | Local Void getfemaletheta(LINK) | ^~~~~~~~~~~~~~ commondefs.h:1027:6: note: previous declaration of 'inputwarning' with type 'void(long int, long int, long int, struct LOC_inputdata *)' 1027 | void inputwarning(long, long, long, struct LOC_inputdata*); | ^~~~~~~~~~~~ cominputcode.c: In function 'inputwarning': cominputcode.c:595:6: warning: old-style function definition [-Wold-style-definition] 595 | Void inputwarning(nwarning, par1, par2, LINK) | ^~~~~~~~~~~~ comgetvect.c:402:13: error: too many arguments to function 'getgene'; expected 0, have 3 402 | getgene(LINK->syste + 1, LINK->newval, LINK->LINK); | ^~~~~~~ ~~~~~~~~~~~~~~~ ilgetvect.c:19:13: note: declared here 19 | static void getgene (); | ^~~~~~~ comrec.c:295:12: error: too many arguments to function 'getdist'; expected 0, have 1 295 | dist = getdist(&maletheta->theta[i]) * distratio; | ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~ commondefs.h:1167:15: note: declared here 1167 | extern double getdist(); | ^~~~~~~ comrec.c:296:29: error: too many arguments to function 'invdist'; expected 0, have 1 296 | femaletheta->theta[i] = invdist(&dist); | ^~~~~~~ ~~~~~ commondefs.h:1168:15: note: declared here 1168 | extern double invdist(); | ^~~~~~~ automodified.c: In function 'segup': automodified.c:457:6: warning: old-style function definition [-Wold-style-definition] 457 | Void segup(LINK) | ^~~~~ automodified.c:459:1: error: number of arguments doesn't match prototype 459 | { | ^ check.c: In function 'getCkptNumber': commondefs.h:1135:13: error: prototype declaration 1135 | extern void segup(); | ^~~~~ comgetvect.c: In function 'setval': comnuclear.c: In function 'segsex': check.c:437:7: warning: old-style function definition [-Wold-style-definition] 437 | void getCkptNumber ( numberPtr , numberSize ) | ^~~~~~~~~~~~~ comrec.c: In function 'recombination': comgetvect.c:167:13: warning: old-style function definition [-Wold-style-definition] 167 | static void setval(val_, LINK) | ^~~~~~ comgetvect.c:423:13: error: too many arguments to function 'getgene'; expected 0, have 3 423 | getgene(LINK->syste + 1, LINK->newval, LINK->LINK); | ^~~~~~~ ~~~~~~~~~~~~~~~ comnuclear.c: In function 'segsex': comrec.c:311:33: error: too many arguments to function 'mapfunction'; expected 0, have 2 311 | WITH->theta[mlocus - 1] = mapfunction(WITH->theta[mlocus - 2], | ^~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~ comnuclear.c:229:14: warning: old-style function definition [-Wold-style-definition] 229 | Local double segsex(LINK) | ^~~~~~ check.c: In function 'getCkptVector': ilgetvect.c:19:13: note: declared here 19 | static void getgene (); | ^~~~~~~ commondefs.h:1166:15: note: declared here 1166 | extern double mapfunction(); | ^~~~~~~~~~~ check.c:446:9: warning: old-style function definition [-Wold-style-definition] 446 | void getCkptVector ( theVector ) | ^~~~~~~~~~~~~ comnuclear.c:229:14: warning: old-style function definition [-Wold-style-definition] 229 | Local double segsex(LINK) | ^~~~~~ comgetvect.c: In function 'quanval': automodified.c:504:3: error: too many arguments to function 'initseg'; expected 0, have 1 504 | initseg(LINK); /*get data about this p,q,children triple*/ | ^~~~~~~ ~~~~ check.c: In function 'getCkptMatrix': comgetvect.c:433:13: warning: old-style function definition [-Wold-style-definition] 433 | static void quanval(LINK) | ^~~~~~~ commondefs.h:1147:13: note: declared here 1147 | extern void initseg(); | ^~~~~~~ check.c:457:9: warning: old-style function definition [-Wold-style-definition] 457 | void getCkptMatrix ( theMatrix ) | ^~~~~~~~~~~~~ comlike.c: In function 'cleanup': check.c: In function 'getCkptIter': comlike.c:150:6: warning: old-style function definition [-Wold-style-definition] 150 | Void cleanup(p, LINK) | ^~~~~~~ check.c:468:11: warning: old-style function definition [-Wold-style-definition] 468 | void getCkptIter ( theIter ) | ^~~~~~~~~~~ comlike.c:153:1: error: number of arguments doesn't match prototype 153 | { | ^ In file included from check.c:22: commondefs.h:1166:15: error: conflicting types for 'mapfunction'; have 'double(void)' 1166 | extern double mapfunction(); | ^~~~~~~~~~~ commondefs.h:1146:13: error: prototype declaration 1146 | extern void cleanup(); | ^~~~~~~ commondefs.h:1067:8: note: previous declaration of 'mapfunction' with type 'double(double, double)' 1067 | double mapfunction(double, double); | ^~~~~~~~~~~ commondefs.h:1167:15: error: conflicting types for 'getdist'; have 'double(void)' 1167 | extern double getdist(); | ^~~~~~~ comgetvect.c:453:13: error: too many arguments to function 'getgene'; expected 0, have 3 453 | getgene(LINK->syste + 1, LINK->newval, LINK->LINK); | ^~~~~~~ ~~~~~~~~~~~~~~~ commondefs.h:1068:8: note: previous declaration of 'getdist' with type 'double(double *)' 1068 | double getdist(double*); | ^~~~~~~ ilgetvect.c:19:13: note: declared here 19 | static void getgene (); | ^~~~~~~ commondefs.h:1168:15: error: conflicting types for 'invdist'; have 'double(void)' 1168 | extern double invdist(); | ^~~~~~~ commondefs.h:1069:8: note: previous declaration of 'invdist' with type 'double(double *)' 1069 | double invdist(double*); | ^~~~~~~ commondefs.h:1173:13: error: conflicting types for 'malloc_err'; have 'void(void)' 1173 | extern void malloc_err(); | ^~~~~~~~~~ comlike.c: In function 'allocate_thisarray': commondefs.h:1021:6: note: previous declaration of 'malloc_err' with type 'void(char *)' 1021 | void malloc_err(char*); | ^~~~~~~~~~ comlike.c:172:6: warning: old-style function definition [-Wold-style-definition] 172 | void allocate_thisarray(location, number) | ^~~~~~~~~~~~~~~~~~ commondefs.h:1174:12: error: conflicting types for 'P_eof'; have 'int(void)' 1174 | extern int P_eof(); | ^~~~~ comlike.c:175:1: error: number of arguments doesn't match prototype 175 | { | ^ comgetvect.c: In function 'facmale': commondefs.h:1192:13: error: prototype declaration 1192 | extern void allocate_thisarray(); | ^~~~~~~~~~~~~~~~~~ commondefs.h:1022:5: note: previous declaration of 'P_eof' with type 'int(FILE *)' 1022 | int P_eof(FILE*); | ^~~~~ comgetvect.c:227:13: warning: old-style function definition [-Wold-style-definition] 227 | static void facmale(LINK) | ^~~~~~~ commondefs.h:1175:12: error: conflicting types for 'P_eoln'; have 'int(void)' 1175 | extern int P_eoln(); | ^~~~~~ commondefs.h:1023:5: note: previous declaration of 'P_eoln' with type 'int(FILE *)' 1023 | int P_eoln(FILE*); | ^~~~~~ comrec.c:349:35: error: too many arguments to function 'mapfunction'; expected 0, have 2 349 | WITH->theta[mlocus - 1] = mapfunction(WITH->theta[mlocus - 2], | ^~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~ commondefs.h:1184:17: error: conflicting types for 'MakeMask'; have 'unsigned int(void)' 1184 | extern unsigned MakeMask(); | ^~~~~~~~ commondefs.h:1024:10: note: previous declaration of 'MakeMask' with type 'unsigned int(int, int)' 1024 | unsigned MakeMask(int start, int end); | ^~~~~~~~ commondefs.h:1166:15: note: declared here 1166 | extern double mapfunction(); | ^~~~~~~~~~~ comgetvect.c:474:13: error: too many arguments to function 'getgene'; expected 0, have 3 474 | getgene(LINK->syste + 1, LINK->newval, LINK->LINK); | ^~~~~~~ ~~~~~~~~~~~~~~~ comlike.c:178:6: error: too many arguments to function 'malloc_err'; expected 0, have 1 178 | malloc_err("genarray field"); | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~ commondefs.h:1185:13: error: conflicting types for 'getlocus'; have 'void(void)' 1185 | extern void getlocus(); | ^~~~~~~~ ilgetvect.c:19:13: note: declared here 19 | static void getgene (); | ^~~~~~~ commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ commondefs.h:1025:6: note: previous declaration of 'getlocus' with type 'void(long int, struct LOC_readloci *)' 1025 | void getlocus(long, struct LOC_readloci*); | ^~~~~~~~ commondefs.h:1186:13: error: conflicting types for 'inputerror'; have 'void(void)' 1186 | extern void inputerror(); | ^~~~~~~~~~ cominputcode.c: In function 'malloc_loop_err': commondefs.h:1026:6: note: previous declaration of 'inputerror' with type 'void(long int, long int, long int, struct LOC_inputdata *)' 1026 | void inputerror(long, long, long, struct LOC_inputdata*); | ^~~~~~~~~~ commondefs.h:1187:13: error: conflicting types for 'inputwarning'; have 'void(void)' 1187 | extern void inputwarning(); | ^~~~~~~~~~~~ cominputcode.c:748:13: warning: old-style function definition [-Wold-style-definition] 748 | static void malloc_loop_err(message, fewer_vects_size) | ^~~~~~~~~~~~~~~ commondefs.h:1027:6: note: previous declaration of 'inputwarning' with type 'void(long int, long int, long int, struct LOC_inputdata *)' 1027 | void inputwarning(long, long, long, struct LOC_inputdata*); | ^~~~~~~~~~~~ comlike.c:182:6: error: too many arguments to function 'malloc_err'; expected 0, have 1 182 | malloc_err("sparseflag field"); | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~ comgetvect.c: In function 'getgene': commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ commondefs.h:1191:13: error: conflicting types for 'readped'; have 'void(void)' 1191 | extern void readped(); | ^~~~~~~ comgetvect.c:485:13: warning: old-style function definition [-Wold-style-definition] 485 | static void getgene(syste_, val_, LINK) | ^~~~~~~ commondefs.h:1028:6: note: previous declaration of 'readped' with type 'void(struct LOC_inputdata *)' 1028 | void readped(struct LOC_inputdata*); | ^~~~~~~ comlike.c: In function 'prob': comlike.c:185:12: warning: old-style function definition [-Wold-style-definition] 185 | Local Void prob(p, LINK) | ^~~~ comgetvect.c:247:9: error: too many arguments to function 'getgene'; expected 0, have 3 247 | getgene(LINK->syste + 1, LINK->val, LINK->LINK); | ^~~~~~~ ~~~~~~~~~~~~~~~ logetvect.c:21:13: note: declared here 21 | static void getgene(); | ^~~~~~~ comgetvect.c: In function 'affmale': comgetvect.c:256:13: warning: old-style function definition [-Wold-style-definition] 256 | static void affmale(LINK) | ^~~~~~~ comlike.c:203:7: error: too many arguments to function 'malloc_err'; expected 0, have 1 203 | malloc_err("gen field in prob"); | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~ commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ cominputcode.c: In function 'infer_genotypes': cominputcode.c:774:6: warning: old-style function definition [-Wold-style-definition] 774 | void infer_genotypes(curr_ped) | ^~~~~~~~~~~~~~~ comlike.c:204:5: error: too many arguments to function 'allocate_thisarray'; expected 0, have 2 204 | allocate_thisarray(WITH->gen, fgeno); | ^~~~~~~~~~~~~~~~~~ ~~~~~~~~~ comlike.c:172:6: note: declared here 172 | void allocate_thisarray(location, number) | ^~~~~~~~~~~~~~~~~~ comgetvect.c: In function 'facmale_': ilinputcode.c:214:11: error: too many arguments to function 'inputerror'; expected 0, have 4 214 | inputerror(25L, (long)maxn, k, LINK); | ^~~~~~~~~~ ~~~ comgetvect.c:557:13: warning: old-style function definition [-Wold-style-definition] 557 | static void facmale_(LINK) | ^~~~~~~~ comnuclear.c: In function 'segsexf': commondefs.h:1186:13: note: declared here 1186 | extern void inputerror(); | ^~~~~~~~~~ comnuclear.c:320:14: warning: old-style function definition [-Wold-style-definition] 320 | Local double segsexf(LINK) | ^~~~~~~ comgetvect.c:271:9: error: too many arguments to function 'getgene'; expected 0, have 3 271 | getgene(LINK->syste + 1, LINK->newval, LINK->LINK); | ^~~~~~~ ~~~~~~~~~~~~~~~ logetvect.c:21:13: note: declared here 21 | static void getgene(); | ^~~~~~~ comgetvect.c: In function 'quanmale': comgetvect.c:280:13: warning: old-style function definition [-Wold-style-definition] 280 | static void quanmale(LINK) | ^~~~~~~~ cominputcode.c:794:7: error: too many arguments to function 'malloc_err'; expected 0, have 1 794 | malloc_err("breaker_poss_bylocus middle level"); | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ilinputcode.c:224:11: error: too many arguments to function 'inputerror'; expected 0, have 4 224 | inputerror(25L, (long)maxn, k, LINK); | ^~~~~~~~~~ ~~~ commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ commondefs.h:1186:13: note: declared here 1186 | extern void inputerror(); | ^~~~~~~~~~ comlike.c:233:5: error: too many arguments to function 'getvect'; expected 0, have 2 233 | getvect(*p, LINK); | ^~~~~~~ ~~ ilinputcode.c:231:9: error: too many arguments to function 'inputerror'; expected 0, have 4 231 | inputerror(25L, (long)maxn, k, LINK); | ^~~~~~~~~~ ~~~ commondefs.h:1141:13: note: declared here 1141 | extern void getvect(); | ^~~~~~~ commondefs.h:1186:13: note: declared here 1186 | extern void inputerror(); | ^~~~~~~~~~ loinputcode.c: In function 'setparam': cominputcode.c:799:7: error: too many arguments to function 'malloc_err'; expected 0, have 1 799 | malloc_err("breaker_poss_bylocus inner level"); | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ comgetvect.c:296:9: error: too many arguments to function 'getgene'; expected 0, have 3 296 | getgene(LINK->syste + 1, LINK->newval, LINK->LINK); | ^~~~~~~ ~~~~~~~~~~~~~~~ logetvect.c:21:13: note: declared here 21 | static void getgene(); | ^~~~~~~ comnuclear.c: In function 'segsexf': comgetvect.c:601:11: error: too many arguments to function 'ugetgene'; expected 0, have 3 601 | ugetgene(locus + 2, LINK->val, LINK->LINK); | ^~~~~~~~ ~~~~~~~~~ ilgetvect.c:20:13: note: declared here 20 | static void ugetgene (); | ^~~~~~~~ comnuclear.c:320:14: warning: old-style function definition [-Wold-style-definition] 320 | Local double segsexf(LINK) | ^~~~~~~ loinputcode.c:124:3: error: too many arguments to function 'invert'; expected 0, have 3 124 | invert(WITH1->UU.U1.vmat, WITH1->UU.U1.ntrait, &WITH1->UU.U1.det); | ^~~~~~ ~~~~~~~~~~~~~~~~~ commondefs.h:1145:13: note: declared here 1145 | extern void invert(); | ^~~~~~ comgetvect.c: In function 'affmale_': comgetvect.c:616:13: warning: old-style function definition [-Wold-style-definition] 616 | static void affmale_(LINK) | ^~~~~~~~ comlike.c: In function 'pseudoprob': comgetvect.c:311:11: error: too many arguments to function 'getgene'; expected 0, have 3 311 | getgene(LINK->syste + 1, LINK->newval, LINK->LINK); | ^~~~~~~ ~~~~~~~~~~~~~~~ comlike.c:242:12: warning: old-style function definition [-Wold-style-definition] 242 | Local Void pseudoprob(p, LINK) | ^~~~~~~~~~ logetvect.c:21:13: note: declared here 21 | static void getgene(); | ^~~~~~~ cominputcode.c:818:7: error: too many arguments to function 'malloc_err'; expected 0, have 1 818 | malloc_err("breaker_poss_genotype"); | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~ comgetvect.c: In function 'fac': commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ comgetvect.c:321:13: warning: old-style function definition [-Wold-style-definition] 321 | static void fac(LINK) | ^~~ comlike.c: In function 'initseg': comlike.c:258:6: warning: old-style function definition [-Wold-style-definition] 258 | Void initseg(LINK) | ^~~~~~~ comlike.c:260:1: error: number of arguments doesn't match prototype 260 | { | ^ commondefs.h:1147:13: error: prototype declaration 1147 | extern void initseg(); | ^~~~~~~ comnuclear.c: In function 'segfun': comgetvect.c:653:11: error: too many arguments to function 'ugetgene'; expected 0, have 3 653 | ugetgene(locus + 2, LINK->newval, LINK->LINK); | ^~~~~~~~ ~~~~~~~~~ comnuclear.c:384:14: warning: old-style function definition [-Wold-style-definition] 384 | Local double segfun(LINK) | ^~~~~~ ilgetvect.c:20:13: note: declared here 20 | static void ugetgene (); | ^~~~~~~~ ilinputcode.c:266:7: error: too many arguments to function 'inputerror'; expected 0, have 4 266 | inputerror(25L, (long)maxn, nall, LINK); | ^~~~~~~~~~ ~~~ commondefs.h:1186:13: note: declared here 1186 | extern void inputerror(); | ^~~~~~~~~~ check.c: In function 'recoverCheckpoint': comgetvect.c: In function 'quanmale_': check.c:587:7: warning: old-style function definition [-Wold-style-definition] 587 | void recoverCheckpoint ( extra ) | ^~~~~~~~~~~~~~~~~ comgetvect.c:668:13: warning: old-style function definition [-Wold-style-definition] 668 | static void quanmale_(LINK) | ^~~~~~~~~ check.c:589:1: error: number of arguments doesn't match prototype 589 | { | ^ commondefs.h:1140:13: error: prototype declaration 1140 | extern void recoverCheckpoint (); | ^~~~~~~~~~~~~~~~~ In file included from gemdefs.h:17, from check.c:24: commondefs.h:1166:15: error: conflicting types for 'mapfunction'; have 'double(void)' 1166 | extern double mapfunction(); | ^~~~~~~~~~~ commondefs.h:1067:8: note: previous declaration of 'mapfunction' with type 'double(double, double)' 1067 | double mapfunction(double, double); | ^~~~~~~~~~~ sexmodified.c:719:3: error: too many arguments to function 'cleanup'; expected 0, have 2 719 | cleanup(LINK->q, LINK->LINK); | ^~~~~~~ ~~~~~~~ commondefs.h:1167:15: error: conflicting types for 'getdist'; have 'double(void)' 1167 | extern double getdist(); | ^~~~~~~ commondefs.h:1146:13: note: declared here 1146 | extern void cleanup(); | ^~~~~~~ commondefs.h:1068:8: note: previous declaration of 'getdist' with type 'double(double *)' 1068 | double getdist(double*); | ^~~~~~~ commondefs.h:1168:15: error: conflicting types for 'invdist'; have 'double(void)' 1168 | extern double invdist(); | ^~~~~~~ sexmodified.c:720:3: error: too many arguments to function 'exitseg'; expected 0, have 1 720 | exitseg(LINK); | ^~~~~~~ ~~~~ commondefs.h:1148:13: note: declared here 1148 | extern void exitseg(); | ^~~~~~~ commondefs.h:1069:8: note: previous declaration of 'invdist' with type 'double(double *)' 1069 | double invdist(double*); | ^~~~~~~ ilinputcode.c:283:7: error: too many arguments to function 'inputerror'; expected 0, have 4 283 | inputerror(25L, (long)maxn, nall, LINK); | ^~~~~~~~~~ ~~~ commondefs.h:1173:13: error: conflicting types for 'malloc_err'; have 'void(void)' 1173 | extern void malloc_err(); | ^~~~~~~~~~ commondefs.h:1186:13: note: declared here 1186 | extern void inputerror(); | ^~~~~~~~~~ commondefs.h:1021:6: note: previous declaration of 'malloc_err' with type 'void(char *)' 1021 | void malloc_err(char*); | ^~~~~~~~~~ commondefs.h:1174:12: error: conflicting types for 'P_eof'; have 'int(void)' 1174 | extern int P_eof(); | ^~~~~ commondefs.h:1022:5: note: previous declaration of 'P_eof' with type 'int(FILE *)' 1022 | int P_eof(FILE*); | ^~~~~ comlike.c: In function 'pseudoseg': commondefs.h:1175:12: error: conflicting types for 'P_eoln'; have 'int(void)' 1175 | extern int P_eoln(); | ^~~~~~ comlike.c:305:12: warning: old-style function definition [-Wold-style-definition] 305 | Local Void pseudoseg(LINK) | ^~~~~~~~~ commondefs.h:1023:5: note: previous declaration of 'P_eoln' with type 'int(FILE *)' 1023 | int P_eoln(FILE*); | ^~~~~~ comgetvect.c:708:11: error: too many arguments to function 'ugetgene'; expected 0, have 3 708 | ugetgene(locus + 2, LINK->newval, LINK->LINK); | ^~~~~~~~ ~~~~~~~~~ ilgetvect.c:20:13: note: declared here 20 | static void ugetgene (); | ^~~~~~~~ cominputcode.c: In function 'read_loop_file': commondefs.h:1184:17: error: conflicting types for 'MakeMask'; have 'unsigned int(void)' 1184 | extern unsigned MakeMask(); | ^~~~~~~~ cominputcode.c:880:6: warning: old-style function definition [-Wold-style-definition] 880 | void read_loop_file(curr_ped) | ^~~~~~~~~~~~~~ ilinputcode.c:294:15: error: too many arguments to function 'inputerror'; expected 0, have 4 294 | inputerror(25L, (long)maxn, k, LINK); | ^~~~~~~~~~ ~~~ comnuclear.c: In function 'segfun': commondefs.h:1024:10: note: previous declaration of 'MakeMask' with type 'unsigned int(int, int)' 1024 | unsigned MakeMask(int start, int end); | ^~~~~~~~ commondefs.h:1186:13: note: declared here 1186 | extern void inputerror(); | ^~~~~~~~~~ cominputcode.c:882:1: error: number of arguments doesn't match prototype 882 | { | ^ commondefs.h:1185:13: error: conflicting types for 'getlocus'; have 'void(void)' 1185 | extern void getlocus(); | ^~~~~~~~ comnuclear.c:384:14: warning: old-style function definition [-Wold-style-definition] 384 | Local double segfun(LINK) | ^~~~~~ commondefs.h:1190:13: error: prototype declaration 1190 | extern void read_loop_file(); | ^~~~~~~~~~~~~~ commondefs.h:1025:6: note: previous declaration of 'getlocus' with type 'void(long int, struct LOC_readloci *)' 1025 | void getlocus(long, struct LOC_readloci*); | ^~~~~~~~ commondefs.h:1186:13: error: conflicting types for 'inputerror'; have 'void(void)' 1186 | extern void inputerror(); | ^~~~~~~~~~ commondefs.h:1026:6: note: previous declaration of 'inputerror' with type 'void(long int, long int, long int, struct LOC_inputdata *)' 1026 | void inputerror(long, long, long, struct LOC_inputdata*); | ^~~~~~~~~~ comlike.c: In function 'exitseg': commondefs.h:1187:13: error: conflicting types for 'inputwarning'; have 'void(void)' 1187 | extern void inputwarning(); | ^~~~~~~~~~~~ comlike.c:323:6: warning: old-style function definition [-Wold-style-definition] 323 | Void exitseg(LINK) | ^~~~~~~ commondefs.h:1027:6: note: previous declaration of 'inputwarning' with type 'void(long int, long int, long int, struct LOC_inputdata *)' 1027 | void inputwarning(long, long, long, struct LOC_inputdata*); | ^~~~~~~~~~~~ comlike.c:325:1: error: number of arguments doesn't match prototype 325 | { | ^ ilinputcode.c:304:15: error: too many arguments to function 'inputerror'; expected 0, have 4 304 | inputerror(25L, (long)maxn, k, LINK); | ^~~~~~~~~~ ~~~ commondefs.h:1148:13: error: prototype declaration 1148 | extern void exitseg(); | ^~~~~~~ commondefs.h:1191:13: error: conflicting types for 'readped'; have 'void(void)' 1191 | extern void readped(); | ^~~~~~~ commondefs.h:1186:13: note: declared here 1186 | extern void inputerror(); | ^~~~~~~~~~ commondefs.h:1028:6: note: previous declaration of 'readped' with type 'void(struct LOC_inputdata *)' 1028 | void readped(struct LOC_inputdata*); | ^~~~~~~ comgetvect.c:740:13: error: too many arguments to function 'ugetgene'; expected 0, have 3 740 | ugetgene(locus + 2, LINK->newval, LINK->LINK); | ^~~~~~~~ ~~~~~~~~~ ilgetvect.c:20:13: note: declared here 20 | static void ugetgene (); | ^~~~~~~~ comlike.c:330:7: error: too many arguments to function 'cleanup'; expected 0, have 2 330 | cleanup(&LINK->child, LINK->LINK); | ^~~~~~~ ~~~~~~~~~~~~ comlike.c:150:6: note: declared here 150 | Void cleanup(p, LINK) | ^~~~~~~ automodified.c:852:3: error: too many arguments to function 'cleanup'; expected 0, have 2 852 | cleanup(LINK->q, LINK->LINK); | ^~~~~~~ ~~~~~~~ ilinputcode.c:313:9: error: too many arguments to function 'invert'; expected 0, have 3 313 | invert(WITH1->UU.U1.vmat, WITH1->UU.U1.ntrait, &WITH1->UU.U1.det); | ^~~~~~ ~~~~~~~~~~~~~~~~~ commondefs.h:1146:13: note: declared here 1146 | extern void cleanup(); | ^~~~~~~ commondefs.h:1145:13: note: declared here 1145 | extern void invert(); | ^~~~~~ comgetvect.c: In function 'fac_': automodified.c:853:3: error: too many arguments to function 'exitseg'; expected 0, have 1 853 | exitseg(LINK); | ^~~~~~~ ~~~~ sexmodified.c: In function 'segsexdown': commondefs.h:1148:13: note: declared here 1148 | extern void exitseg(); | ^~~~~~~ comgetvect.c:758:13: warning: old-style function definition [-Wold-style-definition] 758 | static void fac_(LINK) | ^~~~ sexmodified.c:728:6: warning: old-style function definition [-Wold-style-definition] 728 | Void segsexdown(LINK) | ^~~~~~~~~~ sexmodified.c:730:1: error: number of arguments doesn't match prototype 730 | { | ^ commondefs.h:1138:13: error: prototype declaration 1138 | extern void segsexdown(); | ^~~~~~~~~~ loinputcode.c: In function 'checkrare': loinputcode.c:137:15: warning: old-style function definition [-Wold-style-definition] 137 | Local boolean checkrare(LINK) | ^~~~~~~~~ cominputcode.c:945:5: error: too many arguments to function 'malloc_err'; expected 0, have 1 945 | malloc_err("is_zero_breaker"); | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~ sexmodified.c:759:3: error: too many arguments to function 'initseg'; expected 0, have 1 759 | initseg(LINK); /*get data about this p,q,children triple*/ | ^~~~~~~ ~~~~ commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ commondefs.h:1147:13: note: declared here 1147 | extern void initseg(); | ^~~~~~~ comlike.c: In function 'recompute_haps': comlike.c:361:6: warning: old-style function definition [-Wold-style-definition] 361 | void recompute_haps(pedix, wantlocations) | ^~~~~~~~~~~~~~ comlike.c:364:1: error: number of arguments doesn't match prototype 364 | { | ^ commondefs.h:1153:13: error: prototype declaration 1153 | extern void recompute_haps(); | ^~~~~~~~~~~~~~ automodified.c: In function 'segdown': automodified.c:861:6: warning: old-style function definition [-Wold-style-definition] 861 | Void segdown(LINK) | ^~~~~~~ automodified.c:863:1: error: number of arguments doesn't match prototype 863 | { | ^ commondefs.h:1136:13: error: prototype declaration 1136 | extern void segdown(); | ^~~~~~~ loinputcode.c: In function 'checkrisk': comgetvect.c:346:11: error: too many arguments to function 'getgene'; expected 0, have 3 346 | getgene(LINK->syste + 1, LINK->val, LINK->LINK); | ^~~~~~~ ~~~~~~~~~~~~~~~ check.c: In function 'fileErrorHelp': logetvect.c:21:13: note: declared here 21 | static void getgene(); | ^~~~~~~ loinputcode.c:156:12: warning: old-style function definition [-Wold-style-definition] 156 | Local Void checkrisk(riskhet, riskhom, LINK) | ^~~~~~~~~ ilinputcode.c:341:15: error: too many arguments to function 'inputerror'; expected 0, have 4 341 | inputerror(25L, (long)maxn, k, LINK); | ^~~~~~~~~~ ~~~ commondefs.h:1186:13: note: declared here 1186 | extern void inputerror(); | ^~~~~~~~~~ check.c:31:1: warning: old-style function definition [-Wold-style-definition] 31 | fileErrorHelp ( fileName , problemType ) | ^~~~~~~~~~~~~ automodified.c:907:3: error: too many arguments to function 'initseg'; expected 0, have 1 907 | initseg(LINK); /*get data about this p,q,children triple*/ | ^~~~~~~ ~~~~ commondefs.h:1147:13: note: declared here 1147 | extern void initseg(); | ^~~~~~~ comnuclear.c: In function 'msegfast': ilinputcode.c:356:26: error: too many arguments to function 'P_eoln'; expected 0, have 1 356 | while ((i <= nall) & (!P_eoln(datafile))) { | ^~~~~~ ~~~~~~~~ comnuclear.c:477:14: warning: old-style function definition [-Wold-style-definition] 477 | Local double msegfast(LINK) | ^~~~~~~~ commondefs.h:1175:12: note: declared here 1175 | extern int P_eoln(); | ^~~~~~ loinputcode.c: In function 'gethapn': loinputcode.c:173:12: warning: old-style function definition [-Wold-style-definition] 173 | Local long gethapn(hap, LINK) | ^~~~~~~ comgetvect.c:809:13: error: too many arguments to function 'ugetgene'; expected 0, have 3 809 | ugetgene(locus + 2, LINK->val, LINK->LINK); | ^~~~~~~~ ~~~~~~~~~ ilgetvect.c:20:13: note: declared here 20 | static void ugetgene (); | ^~~~~~~~ comgetvect.c:371:11: error: too many arguments to function 'getgene'; expected 0, have 3 371 | getgene(LINK->syste + 1, LINK->val, LINK->LINK); | ^~~~~~~ ~~~~~~~~~~~~~~~ loinputcode.c: In function 'setrisk': loinputcode.c:190:12: warning: old-style function definition [-Wold-style-definition] 190 | Local Void setrisk(LINK) | ^~~~~~~ check.c: In function 'ourCopyAppendFile': check.c:71:1: warning: old-style function definition [-Wold-style-definition] 71 | ourCopyAppendFile ( fromName , toName , operationType ) | ^~~~~~~~~~~~~~~~~ loinputcode.c: In function 'getriskhap': logetvect.c:21:13: note: declared here 21 | static void getgene(); | ^~~~~~~ loinputcode.c:202:12: warning: old-style function definition [-Wold-style-definition] 202 | Local Void getriskhap(system, LINK) | ^~~~~~~~~~ comgetvect.c: In function 'aff': comgetvect.c:856:13: error: too many arguments to function 'ugetgene'; expected 0, have 3 856 | ugetgene(LINK->syste + 1, LINK->val, LINK->LINK); | ^~~~~~~~ ~~~~~~~~~~~~~~~ comnuclear.c: In function 'msegfast': ilgetvect.c:20:13: note: declared here 20 | static void ugetgene (); | ^~~~~~~~ comnuclear.c:477:14: warning: old-style function definition [-Wold-style-definition] 477 | Local double msegfast(LINK) | ^~~~~~~~ comgetvect.c:381:13: warning: old-style function definition [-Wold-style-definition] 381 | static void aff(LINK) | ^~~ loinputcode.c: In function 'domalerisk': loinputcode.c:221:12: warning: old-style function definition [-Wold-style-definition] 221 | Local Void domalerisk(LINK) | ^~~~~~~~~~ loinputcode.c: In function 'setmutation': comgetvect.c: In function 'aff_': loinputcode.c:235:12: warning: old-style function definition [-Wold-style-definition] 235 | Local Void setmutation(LINK) | ^~~~~~~~~~~ comgetvect.c:402:13: error: too many arguments to function 'getgene'; expected 0, have 3 402 | getgene(LINK->syste + 1, LINK->newval, LINK->LINK); | ^~~~~~~ ~~~~~~~~~~~~~~~ comgetvect.c:948:13: warning: old-style function definition [-Wold-style-definition] 948 | static void aff_(LINK) | ^~~~ logetvect.c:21:13: note: declared here 21 | static void getgene(); | ^~~~~~~ loinputcode.c: In function 'getmuthap': loinputcode.c:252:12: warning: old-style function definition [-Wold-style-definition] 252 | Local Void getmuthap(system, LINK) | ^~~~~~~~~ comgetvect.c:423:13: error: too many arguments to function 'getgene'; expected 0, have 3 423 | getgene(LINK->syste + 1, LINK->newval, LINK->LINK); | ^~~~~~~ ~~~~~~~~~~~~~~~ comlike.c: In function 'computenumhaps': loinputcode.c: In function 'domutation': comgetvect.c:1005:15: error: too many arguments to function 'ugetgene'; expected 0, have 3 1005 | ugetgene(locus + 2, LINK->newval, LINK->LINK); | ^~~~~~~~ ~~~~~~~~~ loinputcode.c:271:12: warning: old-style function definition [-Wold-style-definition] 271 | Local Void domutation(LINK) | ^~~~~~~~~~ ilgetvect.c:20:13: note: declared here 20 | static void ugetgene (); | ^~~~~~~~ comlike.c:467:5: error: too many arguments to function 'malloc_err'; expected 0, have 1 467 | malloc_err("patternmatrix"); | ^~~~~~~~~~ ~~~~~~~~~~~~~~~ logetvect.c:21:13: note: declared here 21 | static void getgene(); | ^~~~~~~ commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ sexmodified.c:1013:3: error: too many arguments to function 'cleanup'; expected 0, have 2 1013 | cleanup(LINK->q, LINK->LINK); | ^~~~~~~ ~~~~~~~ loinputcode.c: In function 'setnumbers': loinputcode.c:280:12: warning: old-style function definition [-Wold-style-definition] 280 | Local Void setnumbers(LINK) | ^~~~~~~~~~ comgetvect.c: In function 'quanval': comgetvect.c:433:13: warning: old-style function definition [-Wold-style-definition] 433 | static void quanval(LINK) | ^~~~~~~ In file included from iostuff.c:24: commondefs.h:1166:15: error: conflicting types for 'mapfunction'; have 'double(void)' 1166 | extern double mapfunction(); | ^~~~~~~~~~~ commondefs.h:1146:13: note: declared here 1146 | extern void cleanup(); | ^~~~~~~ cominputcode.c: In function 'readbin': sexmodified.c:1014:3: error: too many arguments to function 'exitseg'; expected 0, have 1 1014 | exitseg(LINK); | ^~~~~~~ ~~~~ commondefs.h:1067:8: note: previous declaration of 'mapfunction' with type 'double(double, double)' 1067 | double mapfunction(double, double); | ^~~~~~~~~~~ commondefs.h:1148:13: note: declared here 1148 | extern void exitseg(); | ^~~~~~~ cominputcode.c:1154:12: warning: old-style function definition [-Wold-style-definition] 1154 | Local Void readbin(phen, ourlocus, LINK) | ^~~~~~~ commondefs.h:1167:15: error: conflicting types for 'getdist'; have 'double(void)' 1167 | extern double getdist(); | ^~~~~~~ commondefs.h:1068:8: note: previous declaration of 'getdist' with type 'double(double *)' 1068 | double getdist(double*); | ^~~~~~~ commondefs.h:1168:15: error: conflicting types for 'invdist'; have 'double(void)' 1168 | extern double invdist(); | ^~~~~~~ commondefs.h:1069:8: note: previous declaration of 'invdist' with type 'double(double *)' 1069 | double invdist(double*); | ^~~~~~~ commondefs.h:1173:13: error: conflicting types for 'malloc_err'; have 'void(void)' 1173 | extern void malloc_err(); | ^~~~~~~~~~ ilinputcode.c: In function 'readloci': comgetvect.c:1049:15: error: too many arguments to function 'ugetgene'; expected 0, have 3 1049 | ugetgene(locus + 2, LINK->newval, LINK->LINK); | ^~~~~~~~ ~~~~~~~~~ commondefs.h:1021:6: note: previous declaration of 'malloc_err' with type 'void(char *)' 1021 | void malloc_err(char*); | ^~~~~~~~~~ comgetvect.c:453:13: error: too many arguments to function 'getgene'; expected 0, have 3 453 | getgene(LINK->syste + 1, LINK->newval, LINK->LINK); | ^~~~~~~ ~~~~~~~~~~~~~~~ ilgetvect.c:20:13: note: declared here 20 | static void ugetgene (); | ^~~~~~~~ logetvect.c:21:13: note: declared here 21 | static void getgene(); | ^~~~~~~ ilinputcode.c:385:6: warning: old-style function definition [-Wold-style-definition] 385 | Void readloci(LINK) | ^~~~~~~~ commondefs.h:1174:12: error: conflicting types for 'P_eof'; have 'int(void)' 1174 | extern int P_eof(); | ^~~~~ commondefs.h:1022:5: note: previous declaration of 'P_eof' with type 'int(FILE *)' 1022 | int P_eof(FILE*); | ^~~~~ cominputcode.c:1171:7: error: too many arguments to function 'inputerror'; expected 0, have 4 1171 | inputerror(14L, (*LINK->p)->id, j, LINK->LINK->LINK); | ^~~~~~~~~~ ~~~ commondefs.h:1175:12: error: conflicting types for 'P_eoln'; have 'int(void)' 1175 | extern int P_eoln(); | ^~~~~~ commondefs.h:1023:5: note: previous declaration of 'P_eoln' with type 'int(FILE *)' 1023 | int P_eoln(FILE*); | ^~~~~~ cominputcode.c:342:6: note: declared here 342 | Void inputerror(nerror, par1, par2, LINK) | ^~~~~~~~~~ commondefs.h:1184:17: error: conflicting types for 'MakeMask'; have 'unsigned int(void)' 1184 | extern unsigned MakeMask(); | ^~~~~~~~ comgetvect.c: In function 'ugetgene': comlike.c: In function 'allocategenetables': loinputcode.c: In function 'hapscr': commondefs.h:1024:10: note: previous declaration of 'MakeMask' with type 'unsigned int(int, int)' 1024 | unsigned MakeMask(int start, int end); | ^~~~~~~~ comgetvect.c:1065:13: warning: old-style function definition [-Wold-style-definition] 1065 | static void ugetgene(syste_, val_, LINK) | ^~~~~~~~ comlike.c:516:5: error: too many arguments to function 'recompute_haps'; expected 0, have 2 516 | recompute_haps(ped, false); | ^~~~~~~~~~~~~~ ~~~ ilinputcode.c:400:5: error: too many arguments to function 'inputerror'; expected 0, have 4 400 | inputerror(0L, mlocus, mlocus, LINK); | ^~~~~~~~~~ ~~ loinputcode.c:315:12: warning: old-style function definition [-Wold-style-definition] 315 | Local Void hapscr(system, nscramble, LINK) | ^~~~~~ commondefs.h:1185:13: error: conflicting types for 'getlocus'; have 'void(void)' 1185 | extern void getlocus(); | ^~~~~~~~ comlike.c:361:6: note: declared here 361 | void recompute_haps(pedix, wantlocations) | ^~~~~~~~~~~~~~ commondefs.h:1186:13: note: declared here 1186 | extern void inputerror(); | ^~~~~~~~~~ commondefs.h:1025:6: note: previous declaration of 'getlocus' with type 'void(long int, struct LOC_readloci *)' 1025 | void getlocus(long, struct LOC_readloci*); | ^~~~~~~~ commondefs.h:1186:13: error: conflicting types for 'inputerror'; have 'void(void)' 1186 | extern void inputerror(); | ^~~~~~~~~~ cominputcode.c: In function 'readnumber': ilinputcode.c:402:5: error: too many arguments to function 'inputerror'; expected 0, have 4 402 | inputerror(1L, mlocus, mlocus, LINK); | ^~~~~~~~~~ ~~ commondefs.h:1026:6: note: previous declaration of 'inputerror' with type 'void(long int, long int, long int, struct LOC_inputdata *)' 1026 | void inputerror(long, long, long, struct LOC_inputdata*); | ^~~~~~~~~~ commondefs.h:1186:13: note: declared here 1186 | extern void inputerror(); | ^~~~~~~~~~ comgetvect.c:474:13: error: too many arguments to function 'getgene'; expected 0, have 3 474 | getgene(LINK->syste + 1, LINK->newval, LINK->LINK); | ^~~~~~~ ~~~~~~~~~~~~~~~ commondefs.h:1187:13: error: conflicting types for 'inputwarning'; have 'void(void)' 1187 | extern void inputwarning(); | ^~~~~~~~~~~~ logetvect.c:21:13: note: declared here 21 | static void getgene(); | ^~~~~~~ commondefs.h:1027:6: note: previous declaration of 'inputwarning' with type 'void(long int, long int, long int, struct LOC_inputdata *)' 1027 | void inputwarning(long, long, long, struct LOC_inputdata*); | ^~~~~~~~~~~~ ilinputcode.c:404:5: error: too many arguments to function 'inputerror'; expected 0, have 4 404 | inputerror(37L, risksys, risksys, LINK); | ^~~~~~~~~~ ~~~ cominputcode.c:1177:12: warning: old-style function definition [-Wold-style-definition] 1177 | Local Void readnumber(phen, ourlocus, LINK) | ^~~~~~~~~~ commondefs.h:1186:13: note: declared here 1186 | extern void inputerror(); | ^~~~~~~~~~ commondefs.h:1191:13: error: conflicting types for 'readped'; have 'void(void)' 1191 | extern void readped(); | ^~~~~~~ commondefs.h:1028:6: note: previous declaration of 'readped' with type 'void(struct LOC_inputdata *)' 1028 | void readped(struct LOC_inputdata*); | ^~~~~~~ ilinputcode.c:406:5: error: too many arguments to function 'inputerror'; expected 0, have 4 406 | inputerror(38L, risksys, risksys, LINK); | ^~~~~~~~~~ ~~~ commondefs.h:1186:13: note: declared here 1186 | extern void inputerror(); | ^~~~~~~~~~ comlike.c:537:5: error: too many arguments to function 'malloc_err'; expected 0, have 1 537 | malloc_err("indpool"); | ^~~~~~~~~~ ~~~~~~~~~ comgetvect.c: In function 'getgene': commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ comgetvect.c:485:13: warning: old-style function definition [-Wold-style-definition] 485 | static void getgene(syste_, val_, LINK) | ^~~~~~~ loinputcode.c: In function 'sethap': comgetvect.c: In function 'getvect': loinputcode.c:343:12: warning: old-style function definition [-Wold-style-definition] 343 | Local Void sethap(system, LINK) | ^~~~~~ comgetvect.c:1127:6: warning: old-style function definition [-Wold-style-definition] 1127 | void getvect(p_, LINK) | ^~~~~~~ cominputcode.c:1198:7: error: too many arguments to function 'inputerror'; expected 0, have 4 1198 | inputerror(16L, (*LINK->p)->id, j, LINK->LINK->LINK); | ^~~~~~~~~~ ~~~ comgetvect.c:1130:1: error: number of arguments doesn't match prototype 1130 | { | ^ comlike.c:542:5: error: too many arguments to function 'malloc_err'; expected 0, have 1 542 | malloc_err("invpool"); | ^~~~~~~~~~ ~~~~~~~~~ commondefs.h:1141:13: error: prototype declaration 1141 | extern void getvect(); | ^~~~~~~ commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ cominputcode.c:342:6: note: declared here 342 | Void inputerror(nerror, par1, par2, LINK) | ^~~~~~~~~~ comgetvect.c:1137:5: error: too many arguments to function 'ugetgene'; expected 0, have 3 1137 | ugetgene(1L, 1.0, &V); | ^~~~~~~~ ~~ iostuff.c:40:5: error: conflicting types for 'P_eof'; have 'int(void)' 40 | int P_eof(f) | ^~~~~ comgetvect.c:1065:13: note: declared here 1065 | static void ugetgene(syste_, val_, LINK) | ^~~~~~~~ commondefs.h:1022:5: note: previous declaration of 'P_eof' with type 'int(FILE *)' 1022 | int P_eof(FILE*); | ^~~~~ comlike.c:547:5: error: too many arguments to function 'malloc_err'; expected 0, have 1 547 | malloc_err("nextpool"); | ^~~~~~~~~~ ~~~~~~~~~~ cominputcode.c:1200:7: error: too many arguments to function 'inputerror'; expected 0, have 4 1200 | inputerror(17L, (*LINK->p)->id, j, LINK->LINK->LINK); | ^~~~~~~~~~ ~~~ comgetvect.c:1139:5: error: too many arguments to function 'getgene'; expected 0, have 3 1139 | getgene(1L, 1.0, &V); | ^~~~~~~ ~~ iostuff.c: In function 'P_eof': commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ ilinputcode.c:426:5: error: too many arguments to function 'inputerror'; expected 0, have 4 426 | inputerror(39L, mutsys, mutsys, LINK); | ^~~~~~~~~~ ~~~ automodified.c:1242:3: error: too many arguments to function 'cleanup'; expected 0, have 2 1242 | cleanup(LINK->p, LINK->LINK); | ^~~~~~~ ~~~~~~~ iostuff.c:40:5: warning: old-style function definition [-Wold-style-definition] 40 | int P_eof(f) | ^~~~~ commondefs.h:1186:13: note: declared here 1186 | extern void inputerror(); | ^~~~~~~~~~ commondefs.h:1146:13: note: declared here 1146 | extern void cleanup(); | ^~~~~~~ comgetvect.c: In function 'facmale_': cominputcode.c:342:6: note: declared here 342 | Void inputerror(nerror, par1, par2, LINK) | ^~~~~~~~~~ check.c: In function 'putCkptNumber': ilinputcode.c:428:5: error: too many arguments to function 'inputerror'; expected 0, have 4 428 | inputerror(40L, mutsys, mutsys, LINK); | ^~~~~~~~~~ ~~~ automodified.c:1243:3: error: too many arguments to function 'cleanup'; expected 0, have 2 1243 | cleanup(LINK->q, LINK->LINK); | ^~~~~~~ ~~~~~~~ comgetvect.c:557:13: warning: old-style function definition [-Wold-style-definition] 557 | static void facmale_(LINK) | ^~~~~~~~ comgetvect.c:485:13: note: declared here 485 | static void getgene(syste_, val_, LINK) | ^~~~~~~ commondefs.h:1186:13: note: declared here 1186 | extern void inputerror(); | ^~~~~~~~~~ commondefs.h:1146:13: note: declared here 1146 | extern void cleanup(); | ^~~~~~~ check.c:217:7: warning: old-style function definition [-Wold-style-definition] 217 | void putCkptNumber ( numberPtr , numberSize ) | ^~~~~~~~~~~~~ comlike.c:553:5: error: too many arguments to function 'malloc_err'; expected 0, have 1 553 | malloc_err("genenumber"); | ^~~~~~~~~~ ~~~~~~~~~~~~ automodified.c:1244:3: error: too many arguments to function 'exitseg'; expected 0, have 1 1244 | exitseg(LINK); | ^~~~~~~ ~~~~ commondefs.h:1148:13: note: declared here 1148 | extern void exitseg(); | ^~~~~~~ commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ check.c: In function 'putCkptVector': iostuff.c: At top level: check.c:226:9: warning: old-style function definition [-Wold-style-definition] 226 | void putCkptVector ( theVector ) | ^~~~~~~~~~~~~ iostuff.c:58:5: error: conflicting types for 'P_eoln'; have 'int(void)' 58 | int P_eoln(f) | ^~~~~~ commondefs.h:1023:5: note: previous declaration of 'P_eoln' with type 'int(FILE *)' 1023 | int P_eoln(FILE*); | ^~~~~~ loinputcode.c: In function 'starthap': iostuff.c: In function 'P_eoln': ilinputcode.c:436:7: error: too many arguments to function 'malloc_err'; expected 0, have 1 436 | malloc_err("hapfreq"); | ^~~~~~~~~~ ~~~~~~~~~ iostuff.c:58:5: warning: old-style function definition [-Wold-style-definition] 58 | int P_eoln(f) | ^~~~~~ loinputcode.c:392:12: warning: old-style function definition [-Wold-style-definition] 392 | Local Void starthap(LINK) | ^~~~~~~~ commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ comlike.c:557:7: error: too many arguments to function 'malloc_err'; expected 0, have 1 557 | malloc_err("Entry in genenumber"); | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~ commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ iostuff.c: At top level: check.c: In function 'putCkptMatrix': comnuclear.c: In function 'msegfun': cominputcode.c: In function 'readaff': iostuff.c:71:6: error: conflicting types for 'malloc_err'; have 'void(void)' 71 | void malloc_err(message) | ^~~~~~~~~~ check.c:237:9: warning: old-style function definition [-Wold-style-definition] 237 | void putCkptMatrix ( theMatrix ) | ^~~~~~~~~~~~~ ilinputcode.c:441:7: error: too many arguments to function 'inputerror'; expected 0, have 4 441 | inputerror(2L, i, j, LINK); | ^~~~~~~~~~ ~~ commondefs.h:1021:6: note: previous declaration of 'malloc_err' with type 'void(char *)' 1021 | void malloc_err(char*); | ^~~~~~~~~~ loinputcode.c: In function 'gethet1': commondefs.h:1186:13: note: declared here 1186 | extern void inputerror(); | ^~~~~~~~~~ iostuff.c: In function 'malloc_err': comnuclear.c:642:14: warning: old-style function definition [-Wold-style-definition] 642 | Local double msegfun(LINK) | ^~~~~~~ loinputcode.c:405:12: warning: old-style function definition [-Wold-style-definition] 405 | Local Void gethet1(system, LINK) | ^~~~~~~ iostuff.c:71:6: warning: old-style function definition [-Wold-style-definition] 71 | void malloc_err(message) | ^~~~~~~~~~ comgetvect.c:601:11: error: too many arguments to function 'ugetgene'; expected 0, have 3 601 | ugetgene(locus + 2, LINK->val, LINK->LINK); | ^~~~~~~~ ~~~~~~~~~ ilinputcode.c:443:7: error: too many arguments to function 'inputerror'; expected 0, have 4 443 | inputerror(3L, i, j, LINK); | ^~~~~~~~~~ ~~ cominputcode.c:1235:12: warning: old-style function definition [-Wold-style-definition] 1235 | Local Void readaff(phen, thislocus, LINK) | ^~~~~~~ commondefs.h:1186:13: note: declared here 1186 | extern void inputerror(); | ^~~~~~~~~~ logetvect.c:22:13: note: declared here 22 | static void ugetgene(); | ^~~~~~~~ comlike.c:564:7: error: too many arguments to function 'malloc_err'; expected 0, have 1 564 | malloc_err("approxarray"); | ^~~~~~~~~~ ~~~~~~~~~~~~~ check.c: In function 'putCkptIter': commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ check.c:248:11: warning: old-style function definition [-Wold-style-definition] 248 | void putCkptIter ( theIter ) | ^~~~~~~~~~~ comgetvect.c: In function 'affmale_': comgetvect.c:616:13: warning: old-style function definition [-Wold-style-definition] 616 | static void affmale_(LINK) | ^~~~~~~~ ilinputcode.c:449:9: error: too many arguments to function 'inputerror'; expected 0, have 4 449 | inputerror(4L, i, j, LINK); | ^~~~~~~~~~ ~~ commondefs.h:1186:13: note: declared here 1186 | extern void inputerror(); | ^~~~~~~~~~ cominputcode.c:1253:9: error: too many arguments to function 'inputwarning'; expected 0, have 4 1253 | inputwarning(3L, (*LINK->p)->id, thisval, LINK->LINK->LINK); | ^~~~~~~~~~~~ ~~ comlike.c:568:9: error: too many arguments to function 'malloc_err'; expected 0, have 1 568 | malloc_err("Entry in approxarray"); | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~ commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ cominputcode.c:595:6: note: declared here 595 | Void inputwarning(nwarning, par1, par2, LINK) | ^~~~~~~~~~~~ ilinputcode.c:460:5: error: too many arguments to function 'getlocus'; expected 0, have 2 460 | getlocus(order[i], &V); | ^~~~~~~~ ~~~~~~~~ commondefs.h:1185:13: note: declared here 1185 | extern void getlocus(); | ^~~~~~~~ comlike.c:575:5: error: too many arguments to function 'malloc_err'; expected 0, have 1 575 | malloc_err("base"); | ^~~~~~~~~~ ~~~~~~ comgetvect.c:653:11: error: too many arguments to function 'ugetgene'; expected 0, have 3 653 | ugetgene(locus + 2, LINK->newval, LINK->LINK); | ^~~~~~~~ ~~~~~~~~~ commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ logetvect.c:22:13: note: declared here 22 | static void ugetgene(); | ^~~~~~~~ comlike.c:578:5: error: too many arguments to function 'malloc_err'; expected 0, have 1 578 | malloc_err("fence"); | ^~~~~~~~~~ ~~~~~~~ comgetvect.c: In function 'quanmale_': commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ comgetvect.c:668:13: warning: old-style function definition [-Wold-style-definition] 668 | static void quanmale_(LINK) | ^~~~~~~~~ cominputcode.c:1262:5: error: too many arguments to function 'inputerror'; expected 0, have 4 1262 | inputerror(26L, (*LINK->p)->id, WITH->liability, LINK->LINK->LINK); | ^~~~~~~~~~ ~~~ ilinputcode.c:472:5: error: too many arguments to function 'allocate_thisarray'; expected 0, have 2 472 | allocate_thisarray(hapfreq, mgeno); | ^~~~~~~~~~~~~~~~~~ ~~~~~~~ comlike.c:581:5: error: too many arguments to function 'malloc_err'; expected 0, have 1 581 | malloc_err("invgenenum1"); | ^~~~~~~~~~ ~~~~~~~~~~~~~ commondefs.h:1192:13: note: declared here 1192 | extern void allocate_thisarray(); | ^~~~~~~~~~~~~~~~~~ cominputcode.c:342:6: note: declared here 342 | Void inputerror(nerror, par1, par2, LINK) | ^~~~~~~~~~ commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ comlike.c:584:5: error: too many arguments to function 'malloc_err'; expected 0, have 1 584 | malloc_err("invgenenum2"); | ^~~~~~~~~~ ~~~~~~~~~~~~~ commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ cominputcode.c:1264:5: error: too many arguments to function 'inputerror'; expected 0, have 4 1264 | inputerror(27L, (*LINK->p)->id, WITH->liability, LINK->LINK->LINK); | ^~~~~~~~~~ ~~~ comgetvect.c:708:11: error: too many arguments to function 'ugetgene'; expected 0, have 3 708 | ugetgene(locus + 2, LINK->newval, LINK->LINK); | ^~~~~~~~ ~~~~~~~~~ logetvect.c:22:13: note: declared here 22 | static void ugetgene(); | ^~~~~~~~ comlike.c:587:5: error: too many arguments to function 'malloc_err'; expected 0, have 1 587 | malloc_err("segstart"); | ^~~~~~~~~~ ~~~~~~~~~~ commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ cominputcode.c:342:6: note: declared here 342 | Void inputerror(nerror, par1, par2, LINK) | ^~~~~~~~~~ cominputcode.c: In function 'readquan': comlike.c:590:5: error: too many arguments to function 'malloc_err'; expected 0, have 1 590 | malloc_err("probstart"); | ^~~~~~~~~~ ~~~~~~~~~~~ commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ ilinputcode.c:491:5: error: too many arguments to function 'inputwarning'; expected 0, have 4 491 | inputwarning(0L, difference, difference, LINK); | ^~~~~~~~~~~~ ~~ commondefs.h:1187:13: note: declared here 1187 | extern void inputwarning(); | ^~~~~~~~~~~~ cominputcode.c:1267:12: warning: old-style function definition [-Wold-style-definition] 1267 | Local Void readquan(phen, thislocus, LINK) | ^~~~~~~~ comgetvect.c:740:13: error: too many arguments to function 'ugetgene'; expected 0, have 3 740 | ugetgene(locus + 2, LINK->newval, LINK->LINK); | ^~~~~~~~ ~~~~~~~~~ comlike.c:593:5: error: too many arguments to function 'malloc_err'; expected 0, have 1 593 | malloc_err("probend"); | ^~~~~~~~~~ ~~~~~~~~~ logetvect.c:22:13: note: declared here 22 | static void ugetgene(); | ^~~~~~~~ commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ comnuclear.c: In function 'msegfun': comnuclear.c:642:14: warning: old-style function definition [-Wold-style-definition] 642 | Local double msegfun(LINK) | ^~~~~~~ comlike.c:596:5: error: too many arguments to function 'malloc_err'; expected 0, have 1 596 | malloc_err("rare"); | ^~~~~~~~~~ ~~~~~~ ilinputcode.c:499:5: error: too many arguments to function 'inputwarning'; expected 0, have 4 499 | inputwarning(1L, independent, independent, LINK); | ^~~~~~~~~~~~ ~~ comgetvect.c: In function 'fac_': commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ commondefs.h:1187:13: note: declared here 1187 | extern void inputwarning(); | ^~~~~~~~~~~~ comgetvect.c:758:13: warning: old-style function definition [-Wold-style-definition] 758 | static void fac_(LINK) | ^~~~ comlike.c:600:7: error: too many arguments to function 'malloc_err'; expected 0, have 1 600 | malloc_err("risk1"); | ^~~~~~~~~~ ~~~~~~~ commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ ilinputcode.c:510:5: error: too many arguments to function 'inputwarning'; expected 0, have 4 510 | inputwarning(2L, difference, difference, LINK); | ^~~~~~~~~~~~ ~~ In file included from commoncode.c:18: commondefs.h:1166:15: error: conflicting types for 'mapfunction'; have 'double(void)' 1166 | extern double mapfunction(); | ^~~~~~~~~~~ commondefs.h:1187:13: note: declared here 1187 | extern void inputwarning(); | ^~~~~~~~~~~~ commondefs.h:1067:8: note: previous declaration of 'mapfunction' with type 'double(double, double)' 1067 | double mapfunction(double, double); | ^~~~~~~~~~~ comlike.c:603:7: error: too many arguments to function 'malloc_err'; expected 0, have 1 603 | malloc_err("risk2"); | ^~~~~~~~~~ ~~~~~~~ loinputcode.c: In function 'setiterate': commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ commondefs.h:1167:15: error: conflicting types for 'getdist'; have 'double(void)' 1167 | extern double getdist(); | ^~~~~~~ iostuff.c: In function 'read_till_blank_line': commondefs.h:1068:8: note: previous declaration of 'getdist' with type 'double(double *)' 1068 | double getdist(double*); | ^~~~~~~ loinputcode.c:546:9: error: too many arguments to function 'invert'; expected 0, have 3 546 | invert(WITH1->UU.U1.vmat, WITH1->UU.U1.ntrait, &WITH1->UU.U1.det); | ^~~~~~ ~~~~~~~~~~~~~~~~~ commondefs.h:1168:15: error: conflicting types for 'invdist'; have 'double(void)' 1168 | extern double invdist(); | ^~~~~~~ commondefs.h:1069:8: note: previous declaration of 'invdist' with type 'double(double *)' 1069 | double invdist(double*); | ^~~~~~~ iostuff.c:258:12: warning: old-style function definition [-Wold-style-definition] 258 | static int read_till_blank_line(infile) | ^~~~~~~~~~~~~~~~~~~~ commondefs.h:1145:13: note: declared here 1145 | extern void invert(); | ^~~~~~ comlike.c:606:7: error: too many arguments to function 'malloc_err'; expected 0, have 1 606 | malloc_err("riskmale"); | ^~~~~~~~~~ ~~~~~~~~~~ cominputcode.c: In function 'getphenotype': commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ commondefs.h:1173:13: error: conflicting types for 'malloc_err'; have 'void(void)' 1173 | extern void malloc_err(); | ^~~~~~~~~~ cominputcode.c:1307:12: warning: old-style function definition [-Wold-style-definition] 1307 | Local Void getphenotype(p_, LINK) | ^~~~~~~~~~~~ commondefs.h:1021:6: note: previous declaration of 'malloc_err' with type 'void(char *)' 1021 | void malloc_err(char*); | ^~~~~~~~~~ commondefs.h:1174:12: error: conflicting types for 'P_eof'; have 'int(void)' 1174 | extern int P_eof(); | ^~~~~ commondefs.h:1022:5: note: previous declaration of 'P_eof' with type 'int(FILE *)' 1022 | int P_eof(FILE*); | ^~~~~ comlike.c:611:7: error: too many arguments to function 'malloc_err'; expected 0, have 1 611 | malloc_err("muthap"); | ^~~~~~~~~~ ~~~~~~~~ commondefs.h:1175:12: error: conflicting types for 'P_eoln'; have 'int(void)' 1175 | extern int P_eoln(); | ^~~~~~ commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ commondefs.h:1023:5: note: previous declaration of 'P_eoln' with type 'int(FILE *)' 1023 | int P_eoln(FILE*); | ^~~~~~ commondefs.h:1184:17: error: conflicting types for 'MakeMask'; have 'unsigned int(void)' 1184 | extern unsigned MakeMask(); | ^~~~~~~~ comlike.c:616:5: error: too many arguments to function 'malloc_err'; expected 0, have 1 616 | malloc_err("haps1"); | ^~~~~~~~~~ ~~~~~~~ commondefs.h:1024:10: note: previous declaration of 'MakeMask' with type 'unsigned int(int, int)' 1024 | unsigned MakeMask(int start, int end); | ^~~~~~~~ commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ commondefs.h:1185:13: error: conflicting types for 'getlocus'; have 'void(void)' 1185 | extern void getlocus(); | ^~~~~~~~ commondefs.h:1025:6: note: previous declaration of 'getlocus' with type 'void(long int, struct LOC_readloci *)' 1025 | void getlocus(long, struct LOC_readloci*); | ^~~~~~~~ cominputcode.c:1324:9: error: too many arguments to function 'malloc_err'; expected 0, have 1 1324 | malloc_err("phen field"); | ^~~~~~~~~~ ~~~~~~~~~~~~ commondefs.h:1186:13: error: conflicting types for 'inputerror'; have 'void(void)' 1186 | extern void inputerror(); | ^~~~~~~~~~ commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ comlike.c:619:5: error: too many arguments to function 'malloc_err'; expected 0, have 1 619 | malloc_err("haps2"); | ^~~~~~~~~~ ~~~~~~~ commondefs.h:1026:6: note: previous declaration of 'inputerror' with type 'void(long int, long int, long int, struct LOC_inputdata *)' 1026 | void inputerror(long, long, long, struct LOC_inputdata*); | ^~~~~~~~~~ commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ commondefs.h:1187:13: error: conflicting types for 'inputwarning'; have 'void(void)' 1187 | extern void inputwarning(); | ^~~~~~~~~~~~ comgetvect.c:809:13: error: too many arguments to function 'ugetgene'; expected 0, have 3 809 | ugetgene(locus + 2, LINK->val, LINK->LINK); | ^~~~~~~~ ~~~~~~~~~ commondefs.h:1027:6: note: previous declaration of 'inputwarning' with type 'void(long int, long int, long int, struct LOC_inputdata *)' 1027 | void inputwarning(long, long, long, struct LOC_inputdata*); | ^~~~~~~~~~~~ logetvect.c:22:13: note: declared here 22 | static void ugetgene(); | ^~~~~~~~ commondefs.h:1191:13: error: conflicting types for 'readped'; have 'void(void)' 1191 | extern void readped(); | ^~~~~~~ comlike.c:622:5: error: too many arguments to function 'malloc_err'; expected 0, have 1 622 | malloc_err("hind"); | ^~~~~~~~~~ ~~~~~~ commondefs.h:1028:6: note: previous declaration of 'readped' with type 'void(struct LOC_inputdata *)' 1028 | void readped(struct LOC_inputdata*); | ^~~~~~~ commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ comlike.c:626:5: error: too many arguments to function 'malloc_err'; expected 0, have 1 626 | malloc_err("nonzgens"); | ^~~~~~~~~~ ~~~~~~~~~~ commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ comlike.c:630:4: error: too many arguments to function 'malloc_err'; expected 0, have 1 630 | malloc_err("gene"); | ^~~~~~~~~~ ~~~~~~ iostuff.c: In function 'foundped': commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ cominputcode.c:1350:9: error: too many arguments to function 'malloc_err'; expected 0, have 1 1350 | malloc_err("privphen field"); | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~ In file included from lodscore.c:12: commondefs.h:1166:15: error: conflicting types for 'mapfunction'; have 'double(void)' 1166 | extern double mapfunction(); | ^~~~~~~~~~~ check.c: In function 'performCheckpoint': commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ iostuff.c:329:7: error: too many arguments to function 'malloc_err'; expected 0, have 1 329 | malloc_err("tmp_ped_list"); | ^~~~~~~~~~ ~~~~~~~~~~~~~~ commondefs.h:1067:8: note: previous declaration of 'mapfunction' with type 'double(double, double)' 1067 | double mapfunction(double, double); | ^~~~~~~~~~~ check.c:372:21: warning: old-style function definition [-Wold-style-definition] 372 | void performCheckpoint ( locationType , locationDatum , extra ) | ^~~~~~~~~~~~~~~~~ comlike.c:633:5: error: too many arguments to function 'malloc_err'; expected 0, have 1 633 | malloc_err("flag"); | ^~~~~~~~~~ ~~~~~~ commondefs.h:1167:15: error: conflicting types for 'getdist'; have 'double(void)' 1167 | extern double getdist(); | ^~~~~~~ iostuff.c:71:6: note: declared here 71 | void malloc_err(message) | ^~~~~~~~~~ commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ check.c:376:1: error: number of arguments doesn't match prototype 376 | { | ^ commondefs.h:1068:8: note: previous declaration of 'getdist' with type 'double(double *)' 1068 | double getdist(double*); | ^~~~~~~ commondefs.h:1139:13: error: prototype declaration 1139 | extern void performCheckpoint(); | ^~~~~~~~~~~~~~~~~ commondefs.h:1168:15: error: conflicting types for 'invdist'; have 'double(void)' 1168 | extern double invdist(); | ^~~~~~~ commondefs.h:1069:8: note: previous declaration of 'invdist' with type 'double(double *)' 1069 | double invdist(double*); | ^~~~~~~ comgetvect.c:856:13: error: too many arguments to function 'ugetgene'; expected 0, have 3 856 | ugetgene(LINK->syste + 1, LINK->val, LINK->LINK); | ^~~~~~~~ ~~~~~~~~~~~~~~~ loinputcode.c: At top level: comlike.c:637:5: error: too many arguments to function 'malloc_err'; expected 0, have 1 637 | malloc_err("psumcache"); | ^~~~~~~~~~ ~~~~~~~~~~~ logetvect.c:22:13: note: declared here 22 | static void ugetgene(); | ^~~~~~~~ commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ loinputcode.c:611:6: error: conflicting types for 'inputerror'; have 'void(void)' 611 | Void inputerror(nerror, par1, par2, LINK) | ^~~~~~~~~~ commondefs.h:1173:13: error: conflicting types for 'malloc_err'; have 'void(void)' 1173 | extern void malloc_err(); | ^~~~~~~~~~ cominputcode.c: In function 'getinformative': commondefs.h:1021:6: note: previous declaration of 'malloc_err' with type 'void(char *)' 1021 | void malloc_err(char*); | ^~~~~~~~~~ commondefs.h:1026:6: note: previous declaration of 'inputerror' with type 'void(long int, long int, long int, struct LOC_inputdata *)' 1026 | void inputerror(long, long, long, struct LOC_inputdata*); | ^~~~~~~~~~ cominputcode.c:1371:12: warning: old-style function definition [-Wold-style-definition] 1371 | Local Void getinformative(LINK) | ^~~~~~~~~~~~~~ commondefs.h:1174:12: error: conflicting types for 'P_eof'; have 'int(void)' 1174 | extern int P_eof(); | ^~~~~ iostuff.c:346:3: error: too many arguments to function 'malloc_err'; expected 0, have 1 346 | malloc_err("pedidx2num"); | ^~~~~~~~~~ ~~~~~~~~~~~~ loinputcode.c: In function 'inputerror': comlike.c:640:5: error: too many arguments to function 'malloc_err'; expected 0, have 1 640 | malloc_err("qsumcache"); | ^~~~~~~~~~ ~~~~~~~~~~~ loinputcode.c:611:6: warning: old-style function definition [-Wold-style-definition] 611 | Void inputerror(nerror, par1, par2, LINK) | ^~~~~~~~~~ commondefs.h:1022:5: note: previous declaration of 'P_eof' with type 'int(FILE *)' 1022 | int P_eof(FILE*); | ^~~~~ commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ commondefs.h:1175:12: error: conflicting types for 'P_eoln'; have 'int(void)' 1175 | extern int P_eoln(); | ^~~~~~ iostuff.c:71:6: note: declared here 71 | void malloc_err(message) | ^~~~~~~~~~ comgetvect.c: In function 'quanval_': commondefs.h:1023:5: note: previous declaration of 'P_eoln' with type 'int(FILE *)' 1023 | int P_eoln(FILE*); | ^~~~~~ comgetvect.c:875:13: warning: old-style function definition [-Wold-style-definition] 875 | static void quanval_(LINK) | ^~~~~~~~ commondefs.h:1184:17: error: conflicting types for 'MakeMask'; have 'unsigned int(void)' 1184 | extern unsigned MakeMask(); | ^~~~~~~~ commondefs.h:1024:10: note: previous declaration of 'MakeMask' with type 'unsigned int(int, int)' 1024 | unsigned MakeMask(int start, int end); | ^~~~~~~~ comlike.c:649:5: error: too many arguments to function 'malloc_err'; expected 0, have 1 649 | malloc_err("phapcache1"); | ^~~~~~~~~~ ~~~~~~~~~~~~ commondefs.h:1185:13: error: conflicting types for 'getlocus'; have 'void(void)' 1185 | extern void getlocus(); | ^~~~~~~~ commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ commondefs.h:1025:6: note: previous declaration of 'getlocus' with type 'void(long int, struct LOC_readloci *)' 1025 | void getlocus(long, struct LOC_readloci*); | ^~~~~~~~ commondefs.h:1186:13: error: conflicting types for 'inputerror'; have 'void(void)' 1186 | extern void inputerror(); | ^~~~~~~~~~ commondefs.h:1026:6: note: previous declaration of 'inputerror' with type 'void(long int, long int, long int, struct LOC_inputdata *)' 1026 | void inputerror(long, long, long, struct LOC_inputdata*); | ^~~~~~~~~~ check.c: In function 'getCkptNumber': commondefs.h:1187:13: error: conflicting types for 'inputwarning'; have 'void(void)' 1187 | extern void inputwarning(); | ^~~~~~~~~~~~ commondefs.h:1027:6: note: previous declaration of 'inputwarning' with type 'void(long int, long int, long int, struct LOC_inputdata *)' 1027 | void inputwarning(long, long, long, struct LOC_inputdata*); | ^~~~~~~~~~~~ check.c:437:7: warning: old-style function definition [-Wold-style-definition] 437 | void getCkptNumber ( numberPtr , numberSize ) | ^~~~~~~~~~~~~ commondefs.h:1191:13: error: conflicting types for 'readped'; have 'void(void)' 1191 | extern void readped(); | ^~~~~~~ check.c: In function 'getCkptVector': comlike.c:671:7: error: too many arguments to function 'malloc_err'; expected 0, have 1 671 | malloc_err("partialprob"); | ^~~~~~~~~~ ~~~~~~~~~~~~~ check.c:446:9: warning: old-style function definition [-Wold-style-definition] 446 | void getCkptVector ( theVector ) | ^~~~~~~~~~~~~ commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ commondefs.h:1028:6: note: previous declaration of 'readped' with type 'void(struct LOC_inputdata *)' 1028 | void readped(struct LOC_inputdata*); | ^~~~~~~ comgetvect.c:903:15: error: too many arguments to function 'ugetgene'; expected 0, have 3 903 | ugetgene(LINK->syste + 1, LINK->newval, LINK->LINK); | ^~~~~~~~ ~~~~~~~~~~~~~~~ logetvect.c:22:13: note: declared here 22 | static void ugetgene(); | ^~~~~~~~ check.c: In function 'getCkptMatrix': check.c:457:9: warning: old-style function definition [-Wold-style-definition] 457 | void getCkptMatrix ( theMatrix ) | ^~~~~~~~~~~~~ In file included from gemdefs.h:17, from commoncode.c:19: commondefs.h:1166:15: error: conflicting types for 'mapfunction'; have 'double(void)' 1166 | extern double mapfunction(); | ^~~~~~~~~~~ In file included from ilink.c:12: commondefs.h:1166:15: error: conflicting types for 'mapfunction'; have 'double(void)' 1166 | extern double mapfunction(); | ^~~~~~~~~~~ comlike.c:677:9: error: too many arguments to function 'malloc_err'; expected 0, have 1 677 | malloc_err("Entry in partialprob"); | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~ commondefs.h:1067:8: note: previous declaration of 'mapfunction' with type 'double(double, double)' 1067 | double mapfunction(double, double); | ^~~~~~~~~~~ commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ commondefs.h:1067:8: note: previous declaration of 'mapfunction' with type 'double(double, double)' 1067 | double mapfunction(double, double); | ^~~~~~~~~~~ commondefs.h:1167:15: error: conflicting types for 'getdist'; have 'double(void)' 1167 | extern double getdist(); | ^~~~~~~ commondefs.h:1167:15: error: conflicting types for 'getdist'; have 'double(void)' 1167 | extern double getdist(); | ^~~~~~~ check.c: In function 'getCkptIter': check.c:468:11: warning: old-style function definition [-Wold-style-definition] 468 | void getCkptIter ( theIter ) | ^~~~~~~~~~~ commondefs.h:1068:8: note: previous declaration of 'getdist' with type 'double(double *)' 1068 | double getdist(double*); | ^~~~~~~ cominputcode.c: In function 'getind': commondefs.h:1168:15: error: conflicting types for 'invdist'; have 'double(void)' 1168 | extern double invdist(); | ^~~~~~~ commondefs.h:1068:8: note: previous declaration of 'getdist' with type 'double(double *)' 1068 | double getdist(double*); | ^~~~~~~ commondefs.h:1069:8: note: previous declaration of 'invdist' with type 'double(double *)' 1069 | double invdist(double*); | ^~~~~~~ commondefs.h:1168:15: error: conflicting types for 'invdist'; have 'double(void)' 1168 | extern double invdist(); | ^~~~~~~ commondefs.h:1069:8: note: previous declaration of 'invdist' with type 'double(double *)' 1069 | double invdist(double*); | ^~~~~~~ commondefs.h:1173:13: error: conflicting types for 'malloc_err'; have 'void(void)' 1173 | extern void malloc_err(); | ^~~~~~~~~~ commondefs.h:1021:6: note: previous declaration of 'malloc_err' with type 'void(char *)' 1021 | void malloc_err(char*); | ^~~~~~~~~~ iostuff.c: In function 'init_ped_loc_all': comgetvect.c:928:15: error: too many arguments to function 'ugetgene'; expected 0, have 3 928 | ugetgene(LINK->syste + 1, LINK->newval, LINK->LINK); | ^~~~~~~~ ~~~~~~~~~~~~~~~ commondefs.h:1173:13: error: conflicting types for 'malloc_err'; have 'void(void)' 1173 | extern void malloc_err(); | ^~~~~~~~~~ cominputcode.c:1436:12: warning: old-style function definition [-Wold-style-definition] 1436 | Local Void getind(id, LINK) | ^~~~~~ logetvect.c:22:13: note: declared here 22 | static void ugetgene(); | ^~~~~~~~ commondefs.h:1021:6: note: previous declaration of 'malloc_err' with type 'void(char *)' 1021 | void malloc_err(char*); | ^~~~~~~~~~ commondefs.h:1174:12: error: conflicting types for 'P_eof'; have 'int(void)' 1174 | extern int P_eof(); | ^~~~~ iostuff.c:403:3: error: too many arguments to function 'malloc_err'; expected 0, have 1 403 | malloc_err("ped_loc_all"); | ^~~~~~~~~~ ~~~~~~~~~~~~~ commondefs.h:1022:5: note: previous declaration of 'P_eof' with type 'int(FILE *)' 1022 | int P_eof(FILE*); | ^~~~~ commondefs.h:1175:12: error: conflicting types for 'P_eoln'; have 'int(void)' 1175 | extern int P_eoln(); | ^~~~~~ commondefs.h:1174:12: error: conflicting types for 'P_eof'; have 'int(void)' 1174 | extern int P_eof(); | ^~~~~ commondefs.h:1023:5: note: previous declaration of 'P_eoln' with type 'int(FILE *)' 1023 | int P_eoln(FILE*); | ^~~~~~ commondefs.h:1022:5: note: previous declaration of 'P_eof' with type 'int(FILE *)' 1022 | int P_eof(FILE*); | ^~~~~ comgetvect.c: In function 'aff_': cominputcode.c:1445:5: error: too many arguments to function 'inputerror'; expected 0, have 4 1445 | inputerror(13L, *id, *id, LINK->LINK); | ^~~~~~~~~~ ~~~ commondefs.h:1175:12: error: conflicting types for 'P_eoln'; have 'int(void)' 1175 | extern int P_eoln(); | ^~~~~~ comgetvect.c:948:13: warning: old-style function definition [-Wold-style-definition] 948 | static void aff_(LINK) | ^~~~ commondefs.h:1023:5: note: previous declaration of 'P_eoln' with type 'int(FILE *)' 1023 | int P_eoln(FILE*); | ^~~~~~ commondefs.h:1184:17: error: conflicting types for 'MakeMask'; have 'unsigned int(void)' 1184 | extern unsigned MakeMask(); | ^~~~~~~~ commondefs.h:1024:10: note: previous declaration of 'MakeMask' with type 'unsigned int(int, int)' 1024 | unsigned MakeMask(int start, int end); | ^~~~~~~~ iostuff.c:71:6: note: declared here 71 | void malloc_err(message) | ^~~~~~~~~~ commondefs.h:1184:17: error: conflicting types for 'MakeMask'; have 'unsigned int(void)' 1184 | extern unsigned MakeMask(); | ^~~~~~~~ commondefs.h:1024:10: note: previous declaration of 'MakeMask' with type 'unsigned int(int, int)' 1024 | unsigned MakeMask(int start, int end); | ^~~~~~~~ cominputcode.c:342:6: note: declared here 342 | Void inputerror(nerror, par1, par2, LINK) | ^~~~~~~~~~ commondefs.h:1185:13: error: conflicting types for 'getlocus'; have 'void(void)' 1185 | extern void getlocus(); | ^~~~~~~~ commondefs.h:1185:13: error: conflicting types for 'getlocus'; have 'void(void)' 1185 | extern void getlocus(); | ^~~~~~~~ comnuclear.c: In function 'segfast': commondefs.h:1025:6: note: previous declaration of 'getlocus' with type 'void(long int, struct LOC_readloci *)' 1025 | void getlocus(long, struct LOC_readloci*); | ^~~~~~~~ commondefs.h:1186:13: error: conflicting types for 'inputerror'; have 'void(void)' 1186 | extern void inputerror(); | ^~~~~~~~~~ comnuclear.c:794:14: warning: old-style function definition [-Wold-style-definition] 794 | Local double segfast(LINK) | ^~~~~~~ commondefs.h:1025:6: note: previous declaration of 'getlocus' with type 'void(long int, struct LOC_readloci *)' 1025 | void getlocus(long, struct LOC_readloci*); | ^~~~~~~~ loinputcode.c: At top level: commondefs.h:1026:6: note: previous declaration of 'inputerror' with type 'void(long int, long int, long int, struct LOC_inputdata *)' 1026 | void inputerror(long, long, long, struct LOC_inputdata*); | ^~~~~~~~~~ commondefs.h:1187:13: error: conflicting types for 'inputwarning'; have 'void(void)' 1187 | extern void inputwarning(); | ^~~~~~~~~~~~ loinputcode.c:864:6: error: conflicting types for 'inputwarning'; have 'void(void)' 864 | Void inputwarning(nwarning, par1, par2, LINK) | ^~~~~~~~~~~~ cominputcode.c:1449:7: error: too many arguments to function 'malloc_err'; expected 0, have 1 1449 | malloc_err("person"); | ^~~~~~~~~~ ~~~~~~~~ comgetvect.c:1005:15: error: too many arguments to function 'ugetgene'; expected 0, have 3 1005 | ugetgene(locus + 2, LINK->newval, LINK->LINK); | ^~~~~~~~ ~~~~~~~~~ commondefs.h:1027:6: note: previous declaration of 'inputwarning' with type 'void(long int, long int, long int, struct LOC_inputdata *)' 1027 | void inputwarning(long, long, long, struct LOC_inputdata*); | ^~~~~~~~~~~~ commondefs.h:1027:6: note: previous declaration of 'inputwarning' with type 'void(long int, long int, long int, struct LOC_inputdata *)' 1027 | void inputwarning(long, long, long, struct LOC_inputdata*); | ^~~~~~~~~~~~ commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ logetvect.c:22:13: note: declared here 22 | static void ugetgene(); | ^~~~~~~~ loinputcode.c: In function 'inputwarning': commondefs.h:1191:13: error: conflicting types for 'readped'; have 'void(void)' 1191 | extern void readped(); | ^~~~~~~ loinputcode.c:864:6: warning: old-style function definition [-Wold-style-definition] 864 | Void inputwarning(nwarning, par1, par2, LINK) | ^~~~~~~~~~~~ commondefs.h:1186:13: error: conflicting types for 'inputerror'; have 'void(void)' 1186 | extern void inputerror(); | ^~~~~~~~~~ commondefs.h:1028:6: note: previous declaration of 'readped' with type 'void(struct LOC_inputdata *)' 1028 | void readped(struct LOC_inputdata*); | ^~~~~~~ cominputcode.c: In function 'multimarriage': cominputcode.c:1453:12: warning: old-style function definition [-Wold-style-definition] 1453 | Local Void multimarriage(p, LINK) | ^~~~~~~~~~~~~ commondefs.h:1026:6: note: previous declaration of 'inputerror' with type 'void(long int, long int, long int, struct LOC_inputdata *)' 1026 | void inputerror(long, long, long, struct LOC_inputdata*); | ^~~~~~~~~~ commondefs.h:1187:13: error: conflicting types for 'inputwarning'; have 'void(void)' 1187 | extern void inputwarning(); | ^~~~~~~~~~~~ commondefs.h:1027:6: note: previous declaration of 'inputwarning' with type 'void(long int, long int, long int, struct LOC_inputdata *)' 1027 | void inputwarning(long, long, long, struct LOC_inputdata*); | ^~~~~~~~~~~~ comlike.c: In function 'getgeneindices': commondefs.h:1191:13: error: conflicting types for 'readped'; have 'void(void)' 1191 | extern void readped(); | ^~~~~~~ commondefs.h:1028:6: note: previous declaration of 'readped' with type 'void(struct LOC_inputdata *)' 1028 | void readped(struct LOC_inputdata*); | ^~~~~~~ loinputcode.c: In function 'readbin': loinputcode.c:908:12: warning: old-style function definition [-Wold-style-definition] 908 | Local Void readbin(phen, ourlocus, LINK) | ^~~~~~~ comlike.c:808:5: error: too many arguments to function 'malloc_err'; expected 0, have 1 808 | malloc_err("segprob2"); | ^~~~~~~~~~ ~~~~~~~~~~ commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ In file included from gemdefs.h:17, from lodscore.c:16: commondefs.h:1166:15: error: conflicting types for 'mapfunction'; have 'double(void)' 1166 | extern double mapfunction(); | ^~~~~~~~~~~ commondefs.h:1067:8: note: previous declaration of 'mapfunction' with type 'double(double, double)' 1067 | double mapfunction(double, double); | ^~~~~~~~~~~ comgetvect.c:1049:15: error: too many arguments to function 'ugetgene'; expected 0, have 3 1049 | ugetgene(locus + 2, LINK->newval, LINK->LINK); | ^~~~~~~~ ~~~~~~~~~ commondefs.h:1167:15: error: conflicting types for 'getdist'; have 'double(void)' 1167 | extern double getdist(); | ^~~~~~~ logetvect.c:22:13: note: declared here 22 | static void ugetgene(); | ^~~~~~~~ commondefs.h:1068:8: note: previous declaration of 'getdist' with type 'double(double *)' 1068 | double getdist(double*); | ^~~~~~~ commondefs.h:1168:15: error: conflicting types for 'invdist'; have 'double(void)' 1168 | extern double invdist(); | ^~~~~~~ commondefs.h:1069:8: note: previous declaration of 'invdist' with type 'double(double *)' 1069 | double invdist(double*); | ^~~~~~~ comlike.c:824:5: error: too many arguments to function 'malloc_err'; expected 0, have 1 824 | malloc_err("segval"); | ^~~~~~~~~~ ~~~~~~~~ commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ commondefs.h:1173:13: error: conflicting types for 'malloc_err'; have 'void(void)' 1173 | extern void malloc_err(); | ^~~~~~~~~~ commondefs.h:1021:6: note: previous declaration of 'malloc_err' with type 'void(char *)' 1021 | void malloc_err(char*); | ^~~~~~~~~~ comgetvect.c: In function 'ugetgene': commondefs.h:1174:12: error: conflicting types for 'P_eof'; have 'int(void)' 1174 | extern int P_eof(); | ^~~~~ comgetvect.c:1065:13: warning: old-style function definition [-Wold-style-definition] 1065 | static void ugetgene(syste_, val_, LINK) | ^~~~~~~~ commondefs.h:1022:5: note: previous declaration of 'P_eof' with type 'int(FILE *)' 1022 | int P_eof(FILE*); | ^~~~~ loinputcode.c:924:7: error: too many arguments to function 'inputerror'; expected 0, have 4 924 | inputerror(14L, (*LINK->p)->id, j, LINK->LINK->LINK); | ^~~~~~~~~~ ~~~ comlike.c:827:5: error: too many arguments to function 'malloc_err'; expected 0, have 1 827 | malloc_err("tempseg"); | ^~~~~~~~~~ ~~~~~~~~~ commondefs.h:1175:12: error: conflicting types for 'P_eoln'; have 'int(void)' 1175 | extern int P_eoln(); | ^~~~~~ commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ commondefs.h:1023:5: note: previous declaration of 'P_eoln' with type 'int(FILE *)' 1023 | int P_eoln(FILE*); | ^~~~~~ commondefs.h:1184:17: error: conflicting types for 'MakeMask'; have 'unsigned int(void)' 1184 | extern unsigned MakeMask(); | ^~~~~~~~ cominputcode.c: At top level: loinputcode.c:611:6: note: declared here 611 | Void inputerror(nerror, par1, par2, LINK) | ^~~~~~~~~~ commondefs.h:1024:10: note: previous declaration of 'MakeMask' with type 'unsigned int(int, int)' 1024 | unsigned MakeMask(int start, int end); | ^~~~~~~~ comlike.c:830:5: error: too many arguments to function 'malloc_err'; expected 0, have 1 830 | malloc_err("segindex"); | ^~~~~~~~~~ ~~~~~~~~~~ commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ commondefs.h:1185:13: error: conflicting types for 'getlocus'; have 'void(void)' 1185 | extern void getlocus(); | ^~~~~~~~ cominputcode.c:1482:6: error: conflicting types for 'readped'; have 'void(void)' 1482 | Void readped(LINK) | ^~~~~~~ commondefs.h:1025:6: note: previous declaration of 'getlocus' with type 'void(long int, struct LOC_readloci *)' 1025 | void getlocus(long, struct LOC_readloci*); | ^~~~~~~~ commondefs.h:1028:6: note: previous declaration of 'readped' with type 'void(struct LOC_inputdata *)' 1028 | void readped(struct LOC_inputdata*); | ^~~~~~~ cominputcode.c: In function 'readped': commondefs.h:1186:13: error: conflicting types for 'inputerror'; have 'void(void)' 1186 | extern void inputerror(); | ^~~~~~~~~~ cominputcode.c:1482:6: warning: old-style function definition [-Wold-style-definition] 1482 | Void readped(LINK) | ^~~~~~~ commondefs.h:1026:6: note: previous declaration of 'inputerror' with type 'void(long int, long int, long int, struct LOC_inputdata *)' 1026 | void inputerror(long, long, long, struct LOC_inputdata*); | ^~~~~~~~~~ loinputcode.c: In function 'readnumber': commondefs.h:1187:13: error: conflicting types for 'inputwarning'; have 'void(void)' 1187 | extern void inputwarning(); | ^~~~~~~~~~~~ comlike.c:834:5: error: too many arguments to function 'malloc_err'; expected 0, have 1 834 | malloc_err("tempseg2"); | ^~~~~~~~~~ ~~~~~~~~~~ commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ commondefs.h:1027:6: note: previous declaration of 'inputwarning' with type 'void(long int, long int, long int, struct LOC_inputdata *)' 1027 | void inputwarning(long, long, long, struct LOC_inputdata*); | ^~~~~~~~~~~~ loinputcode.c:930:12: warning: old-style function definition [-Wold-style-definition] 930 | Local Void readnumber(phen, ourlocus, LINK) | ^~~~~~~~~~ comgetvect.c: In function 'getvect': commondefs.h:1191:13: error: conflicting types for 'readped'; have 'void(void)' 1191 | extern void readped(); | ^~~~~~~ commondefs.h:1028:6: note: previous declaration of 'readped' with type 'void(struct LOC_inputdata *)' 1028 | void readped(struct LOC_inputdata*); | ^~~~~~~ comgetvect.c:1127:6: warning: old-style function definition [-Wold-style-definition] 1127 | void getvect(p_, LINK) | ^~~~~~~ comgetvect.c:1130:1: error: number of arguments doesn't match prototype 1130 | { | ^ comlike.c: In function 'seg': commondefs.h:1141:13: error: prototype declaration 1141 | extern void getvect(); | ^~~~~~~ check.c: In function 'recoverCheckpoint': comlike.c:850:6: warning: old-style function definition [-Wold-style-definition] 850 | Void seg(p_, q_, r_, peel, LINK) | ^~~ comlike.c:854:1: error: number of arguments doesn't match prototype 854 | { | ^ commondefs.h:1155:13: error: prototype declaration 1155 | extern void seg(); | ^~~ check.c:587:7: warning: old-style function definition [-Wold-style-definition] 587 | void recoverCheckpoint ( extra ) | ^~~~~~~~~~~~~~~~~ check.c:589:1: error: number of arguments doesn't match prototype 589 | { | ^ commondefs.h:1140:13: error: prototype declaration 1140 | extern void recoverCheckpoint (); | ^~~~~~~~~~~~~~~~~ comgetvect.c:1137:5: error: too many arguments to function 'ugetgene'; expected 0, have 3 1137 | ugetgene(1L, 1.0, &V); | ^~~~~~~~ ~~ loinputcode.c:951:7: error: too many arguments to function 'inputerror'; expected 0, have 4 951 | inputerror(16L, (*LINK->p)->id, j, LINK->LINK->LINK); | ^~~~~~~~~~ ~~~ comgetvect.c:1065:13: note: declared here 1065 | static void ugetgene(syste_, val_, LINK) | ^~~~~~~~ cominputcode.c:1517:11: error: too many arguments to function 'P_eof'; expected 0, have 1 1517 | while (!P_eof(ipedfile)) { | ^~~~~ ~~~~~~~~ commondefs.h:1174:12: note: declared here 1174 | extern int P_eof(); | ^~~~~ comgetvect.c:1139:5: error: too many arguments to function 'getgene'; expected 0, have 3 1139 | getgene(1L, 1.0, &V); | ^~~~~~~ ~~ loinputcode.c:611:6: note: declared here 611 | Void inputerror(nerror, par1, par2, LINK) | ^~~~~~~~~~ comgetvect.c:485:13: note: declared here 485 | static void getgene(syste_, val_, LINK) | ^~~~~~~ comnuclear.c: In function 'segfast': loinputcode.c:953:7: error: too many arguments to function 'inputerror'; expected 0, have 4 953 | inputerror(17L, (*LINK->p)->id, j, LINK->LINK->LINK); | ^~~~~~~~~~ ~~~ comlike.c:878:11: error: too many arguments to function 'segtop'; expected 0, have 1 878 | segtop(&V); | ^~~~~~ ~~ In file included from gemdefs.h:17, from ilink.c:16: commondefs.h:1166:15: error: conflicting types for 'mapfunction'; have 'double(void)' 1166 | extern double mapfunction(); | ^~~~~~~~~~~ comnuclear.c:794:14: warning: old-style function definition [-Wold-style-definition] 794 | Local double segfast(LINK) | ^~~~~~~ commondefs.h:1162:13: note: declared here 1162 | extern void segtop(); | ^~~~~~ commondefs.h:1067:8: note: previous declaration of 'mapfunction' with type 'double(double, double)' 1067 | double mapfunction(double, double); | ^~~~~~~~~~~ comnuclear.c: In function 'segsexctop': commondefs.h:1167:15: error: conflicting types for 'getdist'; have 'double(void)' 1167 | extern double getdist(); | ^~~~~~~ comlike.c:882:11: error: too many arguments to function 'segtop'; expected 0, have 1 882 | segtop(&V); | ^~~~~~ ~~ commoncode.c:68:8: error: conflicting types for 'mapfunction'; have 'double(void)' 68 | double mapfunction(theta1, theta2) | ^~~~~~~~~~~ loinputcode.c:611:6: note: declared here 611 | Void inputerror(nerror, par1, par2, LINK) | ^~~~~~~~~~ commondefs.h:1162:13: note: declared here 1162 | extern void segtop(); | ^~~~~~ commondefs.h:1068:8: note: previous declaration of 'getdist' with type 'double(double *)' 1068 | double getdist(double*); | ^~~~~~~ comnuclear.c:902:6: warning: old-style function definition [-Wold-style-definition] 902 | Void segsexctop(LINK) | ^~~~~~~~~~ commondefs.h:1067:8: note: previous declaration of 'mapfunction' with type 'double(double, double)' 1067 | double mapfunction(double, double); | ^~~~~~~~~~~ commondefs.h:1168:15: error: conflicting types for 'invdist'; have 'double(void)' 1168 | extern double invdist(); | ^~~~~~~ cominputcode.c:1537:7: error: too many arguments to function 'inputerror'; expected 0, have 4 1537 | inputerror(11L, WITH->id, sex_, LINK); | ^~~~~~~~~~ ~~~ comnuclear.c:904:1: error: number of arguments doesn't match prototype 904 | { | ^ comlike.c:886:11: error: too many arguments to function 'segsextop'; expected 0, have 1 886 | segsextop(&V); | ^~~~~~~~~ ~~ commoncode.c: In function 'mapfunction': commondefs.h:1069:8: note: previous declaration of 'invdist' with type 'double(double *)' 1069 | double invdist(double*); | ^~~~~~~ commondefs.h:1160:13: note: declared here 1160 | extern void segsextop(); | ^~~~~~~~~ commondefs.h:1159:13: error: prototype declaration 1159 | extern void segsexctop(); | ^~~~~~~~~~ commoncode.c:68:8: warning: old-style function definition [-Wold-style-definition] 68 | double mapfunction(theta1, theta2) | ^~~~~~~~~~~ comlike.c:890:11: error: too many arguments to function 'segsextop'; expected 0, have 1 890 | segsextop(&V); | ^~~~~~~~~ ~~ commondefs.h:1173:13: error: conflicting types for 'malloc_err'; have 'void(void)' 1173 | extern void malloc_err(); | ^~~~~~~~~~ cominputcode.c:342:6: note: declared here 342 | Void inputerror(nerror, par1, par2, LINK) | ^~~~~~~~~~ commondefs.h:1160:13: note: declared here 1160 | extern void segsextop(); | ^~~~~~~~~ commondefs.h:1021:6: note: previous declaration of 'malloc_err' with type 'void(char *)' 1021 | void malloc_err(char*); | ^~~~~~~~~~ commondefs.h:1174:12: error: conflicting types for 'P_eof'; have 'int(void)' 1174 | extern int P_eof(); | ^~~~~ commondefs.h:1022:5: note: previous declaration of 'P_eof' with type 'int(FILE *)' 1022 | int P_eof(FILE*); | ^~~~~ commoncode.c: At top level: commondefs.h:1175:12: error: conflicting types for 'P_eoln'; have 'int(void)' 1175 | extern int P_eoln(); | ^~~~~~ comnuclear.c:913:3: error: too many arguments to function 'initseg'; expected 0, have 1 913 | initseg(LINK); | ^~~~~~~ ~~~~ comlike.c:898:13: error: too many arguments to function 'segctop'; expected 0, have 1 898 | segctop(&V); | ^~~~~~~ ~~ commoncode.c:78:8: error: conflicting types for 'getdist'; have 'double(void)' 78 | double getdist(theta) | ^~~~~~~ commondefs.h:1023:5: note: previous declaration of 'P_eoln' with type 'int(FILE *)' 1023 | int P_eoln(FILE*); | ^~~~~~ commondefs.h:1147:13: note: declared here 1147 | extern void initseg(); | ^~~~~~~ commondefs.h:1161:13: note: declared here 1161 | extern void segctop(); | ^~~~~~~ commondefs.h:1068:8: note: previous declaration of 'getdist' with type 'double(double *)' 1068 | double getdist(double*); | ^~~~~~~ commoncode.c: In function 'getdist': comlike.c:902:13: error: too many arguments to function 'segctop'; expected 0, have 1 902 | segctop(&V); | ^~~~~~~ ~~ commoncode.c:78:8: warning: old-style function definition [-Wold-style-definition] 78 | double getdist(theta) | ^~~~~~~ commondefs.h:1161:13: note: declared here 1161 | extern void segctop(); | ^~~~~~~ commondefs.h:1184:17: error: conflicting types for 'MakeMask'; have 'unsigned int(void)' 1184 | extern unsigned MakeMask(); | ^~~~~~~~ commondefs.h:1024:10: note: previous declaration of 'MakeMask' with type 'unsigned int(int, int)' 1024 | unsigned MakeMask(int start, int end); | ^~~~~~~~ comlike.c:906:13: error: too many arguments to function 'segsexctop'; expected 0, have 1 906 | segsexctop(&V); | ^~~~~~~~~~ ~~ commondefs.h:1185:13: error: conflicting types for 'getlocus'; have 'void(void)' 1185 | extern void getlocus(); | ^~~~~~~~ loinputcode.c: In function 'readaff': commondefs.h:1159:13: note: declared here 1159 | extern void segsexctop(); | ^~~~~~~~~~ commondefs.h:1025:6: note: previous declaration of 'getlocus' with type 'void(long int, struct LOC_readloci *)' 1025 | void getlocus(long, struct LOC_readloci*); | ^~~~~~~~ comlike.c:910:13: error: too many arguments to function 'segsexctop'; expected 0, have 1 910 | segsexctop(&V); | ^~~~~~~~~~ ~~ commondefs.h:1186:13: error: conflicting types for 'inputerror'; have 'void(void)' 1186 | extern void inputerror(); | ^~~~~~~~~~ commondefs.h:1159:13: note: declared here 1159 | extern void segsexctop(); | ^~~~~~~~~~ loinputcode.c:989:12: warning: old-style function definition [-Wold-style-definition] 989 | Local Void readaff(phen, thislocus, LINK) | ^~~~~~~ commondefs.h:1026:6: note: previous declaration of 'inputerror' with type 'void(long int, long int, long int, struct LOC_inputdata *)' 1026 | void inputerror(long, long, long, struct LOC_inputdata*); | ^~~~~~~~~~ comlike.c:917:13: error: too many arguments to function 'segcapprox'; expected 0, have 1 917 | segcapprox(&V); | ^~~~~~~~~~ ~~ commondefs.h:1187:13: error: conflicting types for 'inputwarning'; have 'void(void)' 1187 | extern void inputwarning(); | ^~~~~~~~~~~~ commondefs.h:1163:13: note: declared here 1163 | extern void segcapprox(); | ^~~~~~~~~~ commondefs.h:1027:6: note: previous declaration of 'inputwarning' with type 'void(long int, long int, long int, struct LOC_inputdata *)' 1027 | void inputwarning(long, long, long, struct LOC_inputdata*); | ^~~~~~~~~~~~ comlike.c:921:13: error: too many arguments to function 'segcapprox'; expected 0, have 1 921 | segcapprox(&V); | ^~~~~~~~~~ ~~ commondefs.h:1163:13: note: declared here 1163 | extern void segcapprox(); | ^~~~~~~~~~ commondefs.h:1191:13: error: conflicting types for 'readped'; have 'void(void)' 1191 | extern void readped(); | ^~~~~~~ commondefs.h:1028:6: note: previous declaration of 'readped' with type 'void(struct LOC_inputdata *)' 1028 | void readped(struct LOC_inputdata*); | ^~~~~~~ comlike.c:925:13: error: too many arguments to function 'segsexctop'; expected 0, have 1 925 | segsexctop(&V); | ^~~~~~~~~~ ~~ commondefs.h:1159:13: note: declared here 1159 | extern void segsexctop(); | ^~~~~~~~~~ loinputcode.c:1006:9: error: too many arguments to function 'inputwarning'; expected 0, have 4 1006 | inputwarning(3L, (*LINK->p)->id, thisval, LINK->LINK->LINK); | ^~~~~~~~~~~~ ~~ commoncode.c: At top level: comlike.c:929:13: error: too many arguments to function 'segsexctop'; expected 0, have 1 929 | segsexctop(&V); | ^~~~~~~~~~ ~~ loinputcode.c:864:6: note: declared here 864 | Void inputwarning(nwarning, par1, par2, LINK) | ^~~~~~~~~~~~ commoncode.c:88:8: error: conflicting types for 'invdist'; have 'double(void)' 88 | double invdist(dist) | ^~~~~~~ commondefs.h:1159:13: note: declared here 1159 | extern void segsexctop(); | ^~~~~~~~~~ commondefs.h:1069:8: note: previous declaration of 'invdist' with type 'double(double *)' 1069 | double invdist(double*); | ^~~~~~~ commoncode.c: In function 'invdist': commoncode.c:88:8: warning: old-style function definition [-Wold-style-definition] 88 | double invdist(dist) | ^~~~~~~ comlike.c:941:15: error: too many arguments to function 'segup'; expected 0, have 1 941 | segup(&V); | ^~~~~ ~~ commondefs.h:1135:13: note: declared here 1135 | extern void segup(); | ^~~~~ loinputcode.c:1015:5: error: too many arguments to function 'inputerror'; expected 0, have 4 1015 | inputerror(26L, (*LINK->p)->id, WITH->liability, LINK->LINK->LINK); | ^~~~~~~~~~ ~~~ comlike.c:947:13: error: too many arguments to function 'segtop'; expected 0, have 1 947 | segtop(&V); | ^~~~~~ ~~ commondefs.h:1162:13: note: declared here 1162 | extern void segtop(); | ^~~~~~ cominputcode.c:1581:10: error: too many arguments to function 'P_eof'; expected 0, have 1 1581 | if (!P_eof(ipedfile)) | ^~~~~ ~~~~~~~~ commondefs.h:1174:12: note: declared here 1174 | extern int P_eof(); | ^~~~~ loinputcode.c:611:6: note: declared here 611 | Void inputerror(nerror, par1, par2, LINK) | ^~~~~~~~~~ comlike.c:952:15: error: too many arguments to function 'segsexup'; expected 0, have 1 952 | segsexup(&V); | ^~~~~~~~ ~~ commondefs.h:1137:13: note: declared here 1137 | extern void segsexup(); | ^~~~~~~~ comlike.c:958:13: error: too many arguments to function 'segsextop'; expected 0, have 1 958 | segsextop(&V); | ^~~~~~~~~ ~~ loinputcode.c:1017:5: error: too many arguments to function 'inputerror'; expected 0, have 4 1017 | inputerror(27L, (*LINK->p)->id, WITH->liability, LINK->LINK->LINK); | ^~~~~~~~~~ ~~~ commondefs.h:1160:13: note: declared here 1160 | extern void segsextop(); | ^~~~~~~~~ cominputcode.c:1590:7: error: too many arguments to function 'inputerror'; expected 0, have 4 1590 | inputerror(12L, newped, nuped, LINK); | ^~~~~~~~~~ ~~~ comlike.c:966:15: error: too many arguments to function 'segup'; expected 0, have 1 966 | segup(&V); | ^~~~~ ~~ loinputcode.c:611:6: note: declared here 611 | Void inputerror(nerror, par1, par2, LINK) | ^~~~~~~~~~ cominputcode.c:342:6: note: declared here 342 | Void inputerror(nerror, par1, par2, LINK) | ^~~~~~~~~~ commondefs.h:1135:13: note: declared here 1135 | extern void segup(); | ^~~~~ comlike.c:972:13: error: too many arguments to function 'segctop'; expected 0, have 1 972 | segctop(&V); | ^~~~~~~ ~~ loinputcode.c: In function 'readquan': commondefs.h:1161:13: note: declared here 1161 | extern void segctop(); | ^~~~~~~ loinputcode.c:1020:12: warning: old-style function definition [-Wold-style-definition] 1020 | Local Void readquan(phen, thislocus, LINK) | ^~~~~~~~ comlike.c:977:15: error: too many arguments to function 'segsexup'; expected 0, have 1 977 | segsexup(&V); | ^~~~~~~~ ~~ commondefs.h:1137:13: note: declared here 1137 | extern void segsexup(); | ^~~~~~~~ ilink.c: In function 'outcontrol': comlike.c:983:13: error: too many arguments to function 'segsexctop'; expected 0, have 1 983 | segsexctop(&V); | ^~~~~~~~~~ ~~ commondefs.h:1159:13: note: declared here 1159 | extern void segsexctop(); | ^~~~~~~~~~ comlike.c:992:13: error: too many arguments to function 'segup'; expected 0, have 1 992 | segup(&V); | ^~~~~ ~~ commondefs.h:1135:13: note: declared here 1135 | extern void segup(); | ^~~~~ ilink.c:26:13: warning: old-style function definition [-Wold-style-definition] 26 | static Void outcontrol(z) | ^~~~~~~~~~ comlike.c:998:11: error: too many arguments to function 'oldsegup'; expected 0, have 1 998 | oldsegup(&V); | ^~~~~~~~ ~~ commondefs.h:1172:13: note: declared here 1172 | extern void oldsegup(); | ^~~~~~~~ lodscore.c: In function 'setlods': comlike.c:1003:13: error: too many arguments to function 'segsexup'; expected 0, have 1 1003 | segsexup(&V); | ^~~~~~~~ ~~ comnuclear.c: In function 'segsexctop': commondefs.h:1137:13: note: declared here 1137 | extern void segsexup(); | ^~~~~~~~ comnuclear.c:902:6: warning: old-style function definition [-Wold-style-definition] 902 | Void segsexctop(LINK) | ^~~~~~~~~~ comlike.c:1009:11: error: too many arguments to function 'oldsegsexup'; expected 0, have 1 1009 | oldsegsexup(&V); | ^~~~~~~~~~~ ~~ comnuclear.c:904:1: error: number of arguments doesn't match prototype 904 | { | ^ commondefs.h:1171:13: note: declared here 1171 | extern void oldsegsexup(); | ^~~~~~~~~~~ loinputcode.c: In function 'getphenotype': commondefs.h:1159:13: error: prototype declaration 1159 | extern void segsexctop(); | ^~~~~~~~~~ loinputcode.c:1058:12: warning: old-style function definition [-Wold-style-definition] 1058 | Local Void getphenotype(p_, LINK) | ^~~~~~~~~~~~ lodscore.c:129:13: warning: old-style function definition [-Wold-style-definition] 129 | static Void setlods(ilocus, jlocus) | ^~~~~~~ comlike.c:1019:9: error: too many arguments to function 'segdown'; expected 0, have 1 1019 | segdown(&V); | ^~~~~~~ ~~ cominputcode.c: In function 'getbin': commondefs.h:1136:13: note: declared here 1136 | extern void segdown(); | ^~~~~~~ comnuclear.c:913:3: error: too many arguments to function 'initseg'; expected 0, have 1 913 | initseg(LINK); | ^~~~~~~ ~~~~ comnuclear.c:1020:3: error: too many arguments to function 'cleanup'; expected 0, have 2 1020 | cleanup(LINK->q, LINK->LINK); | ^~~~~~~ ~~~~~~~ ilink.c: In function 'fun': commondefs.h:1147:13: note: declared here 1147 | extern void initseg(); | ^~~~~~~ commondefs.h:1146:13: note: declared here 1146 | extern void cleanup(); | ^~~~~~~ comlike.c:1025:7: error: too many arguments to function 'msegdown'; expected 0, have 1 1025 | msegdown(&V); | ^~~~~~~~ ~~ ilink.c:55:13: warning: old-style function definition [-Wold-style-definition] 55 | static void fun(f, x) | ^~~ commondefs.h:1165:13: note: declared here 1165 | extern void msegdown(); | ^~~~~~~~ comnuclear.c:1021:3: error: too many arguments to function 'exitseg'; expected 0, have 1 1021 | exitseg(LINK); | ^~~~~~~ ~~~~ commondefs.h:1148:13: note: declared here 1148 | extern void exitseg(); | ^~~~~~~ cominputcode.c:1651:12: warning: old-style function definition [-Wold-style-definition] 1651 | Local Void getbin(locus, system, LINK) | ^~~~~~ comlike.c:1030:9: error: too many arguments to function 'segsexdown'; expected 0, have 1 1030 | segsexdown(&V); | ^~~~~~~~~~ ~~ commondefs.h:1138:13: note: declared here 1138 | extern void segsexdown(); | ^~~~~~~~~~ comlike.c:1036:7: error: too many arguments to function 'msegsexdown'; expected 0, have 1 1036 | msegsexdown(&V); | ^~~~~~~~~~~ ~~ commondefs.h:1164:13: note: declared here 1164 | extern void msegsexdown(); | ^~~~~~~~~~~ comnuclear.c: In function 'segsextop': comnuclear.c:1025:6: warning: old-style function definition [-Wold-style-definition] 1025 | Void segsextop(LINK) | ^~~~~~~~~ comnuclear.c:1027:1: error: number of arguments doesn't match prototype 1027 | { | ^ commondefs.h:1160:13: error: prototype declaration 1160 | extern void segsextop(); | ^~~~~~~~~ cominputcode.c:1664:5: error: too many arguments to function 'inputerror'; expected 0, have 4 1664 | inputerror(8L, *system, LINK->LINK->LINK->nfactor[*system - 1], | ^~~~~~~~~~ ~~ comnuclear.c:1035:3: error: too many arguments to function 'initseg'; expected 0, have 1 1035 | initseg(LINK); | ^~~~~~~ ~~~~ comlike.c: In function 'collapseup': commondefs.h:1147:13: note: declared here 1147 | extern void initseg(); | ^~~~~~~ comlike.c:1044:12: warning: old-style function definition [-Wold-style-definition] 1044 | Local Void collapseup(p, LINK) | ^~~~~~~~~~ cominputcode.c:342:6: note: declared here 342 | Void inputerror(nerror, par1, par2, LINK) | ^~~~~~~~~~ loinputcode.c:1075:9: error: too many arguments to function 'malloc_err'; expected 0, have 1 1075 | malloc_err("holdphen entry"); | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~ commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ ilink.c:115:5: error: too many arguments to function 'read_loop_file'; expected 0, have 1 115 | read_loop_file(i); | ^~~~~~~~~~~~~~ ~ commondefs.h:1190:13: note: declared here 1190 | extern void read_loop_file(); | ^~~~~~~~~~~~~~ ilink.c:117:5: error: too many arguments to function 'likelihood'; expected 0, have 2 117 | likelihood(i, proband[i - 1]); | ^~~~~~~~~~ ~ commondefs.h:1156:13: note: declared here 1156 | extern void likelihood(); | ^~~~~~~~~~ cominputcode.c:1667:5: error: too many arguments to function 'inputerror'; expected 0, have 4 1667 | inputerror(9L, *system, LINK->LINK->LINK->nfactor[*system - 1], | ^~~~~~~~~~ ~~ cominputcode.c:342:6: note: declared here 342 | Void inputerror(nerror, par1, par2, LINK) | ^~~~~~~~~~ comlike.c:1079:9: error: too many arguments to function 'seg'; expected 0, have 5 1079 | seg(&p, &q, &child, peelup, LINK); | ^~~ ~~ comlike.c:850:6: note: declared here 850 | Void seg(p_, q_, r_, peel, LINK) | ^~~ loinputcode.c:1101:9: error: too many arguments to function 'malloc_err'; expected 0, have 1 1101 | malloc_err("privphen field"); | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~ commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ comlike.c: In function 'precollapseup': comlike.c:1090:12: warning: old-style function definition [-Wold-style-definition] 1090 | Local Void precollapseup(p) | ^~~~~~~~~~~~~ cominputcode.c: In function 'getnumber': ilink.c: In function 'getlods': loinputcode.c: In function 'getind': ilink.c:204:12: warning: old-style function definition [-Wold-style-definition] 204 | Local Void getlods(f, x, LINK) | ^~~~~~~ loinputcode.c:1121:12: warning: old-style function definition [-Wold-style-definition] 1121 | Local Void getind(id, LINK) | ^~~~~~ cominputcode.c:1686:12: warning: old-style function definition [-Wold-style-definition] 1686 | Local Void getnumber(locus, system, LINK) | ^~~~~~~~~ loinputcode.c:1130:5: error: too many arguments to function 'inputerror'; expected 0, have 4 1130 | inputerror(13L, *id, *id, LINK->LINK); | ^~~~~~~~~~ ~~~ comnuclear.c:1107:3: error: too many arguments to function 'cleanup'; expected 0, have 2 1107 | cleanup(LINK->q, LINK->LINK); | ^~~~~~~ ~~~~~~~ commondefs.h:1146:13: note: declared here 1146 | extern void cleanup(); | ^~~~~~~ cominputcode.c: In function 'getpen': cominputcode.c:1702:12: warning: old-style function definition [-Wold-style-definition] 1702 | Local Void getpen(locus, LINK) | ^~~~~~ comnuclear.c:1108:3: error: too many arguments to function 'exitseg'; expected 0, have 1 1108 | exitseg(LINK); | ^~~~~~~ ~~~~ commondefs.h:1148:13: note: declared here 1148 | extern void exitseg(); | ^~~~~~~ loinputcode.c:611:6: note: declared here 611 | Void inputerror(nerror, par1, par2, LINK) | ^~~~~~~~~~ comlike.c: In function 'collapsedown': comlike.c:1152:12: warning: old-style function definition [-Wold-style-definition] 1152 | Local Void collapsedown(p, LINK) | ^~~~~~~~~~~~ comnuclear.c: In function 'segctop': cominputcode.c:1714:5: error: too many arguments to function 'inputerror'; expected 0, have 4 1714 | inputerror(28L, LINK->system, WITH->UU.U0.nclass, LINK->LINK->LINK); | ^~~~~~~~~~ ~~~ comnuclear.c:1111:6: warning: old-style function definition [-Wold-style-definition] 1111 | Void segctop(LINK) | ^~~~~~~ comnuclear.c:1113:1: error: number of arguments doesn't match prototype 1113 | { | ^ commondefs.h:1161:13: error: prototype declaration 1161 | extern void segctop(); | ^~~~~~~ cominputcode.c:342:6: note: declared here 342 | Void inputerror(nerror, par1, par2, LINK) | ^~~~~~~~~~ comnuclear.c:1020:3: error: too many arguments to function 'cleanup'; expected 0, have 2 1020 | cleanup(LINK->q, LINK->LINK); | ^~~~~~~ ~~~~~~~ comlike.c:1160:3: error: too many arguments to function 'seg'; expected 0, have 5 1160 | seg(&p->pa, &p->ma, &p, peeldown, LINK); | ^~~ ~~~~~~ comnuclear.c:1121:3: error: too many arguments to function 'initseg'; expected 0, have 1 1121 | initseg(LINK); | ^~~~~~~ ~~~~ commondefs.h:1146:13: note: declared here 1146 | extern void cleanup(); | ^~~~~~~ commondefs.h:1147:13: note: declared here 1147 | extern void initseg(); | ^~~~~~~ comnuclear.c:1021:3: error: too many arguments to function 'exitseg'; expected 0, have 1 1021 | exitseg(LINK); | ^~~~~~~ ~~~~ commondefs.h:1148:13: note: declared here 1148 | extern void exitseg(); | ^~~~~~~ lodscore.c: In function 'outcontrol': comlike.c:850:6: note: declared here 850 | Void seg(p_, q_, r_, peel, LINK) | ^~~ lodscore.c:198:13: warning: old-style function definition [-Wold-style-definition] 198 | static Void outcontrol(z) | ^~~~~~~~~~ cominputcode.c:1716:5: error: too many arguments to function 'inputerror'; expected 0, have 4 1716 | inputerror(29L, LINK->system, WITH->UU.U0.nclass, LINK->LINK->LINK); | ^~~~~~~~~~ ~~~ comlike.c: In function 'precollapsedown': comlike.c:1164:12: warning: old-style function definition [-Wold-style-definition] 1164 | Local Void precollapsedown(p) | ^~~~~~~~~~~~~~~ loinputcode.c:1134:7: error: too many arguments to function 'malloc_err'; expected 0, have 1 1134 | malloc_err("person entry"); | ^~~~~~~~~~ ~~~~~~~~~~~~~~ comnuclear.c: In function 'segsextop': commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ comnuclear.c:1025:6: warning: old-style function definition [-Wold-style-definition] 1025 | Void segsextop(LINK) | ^~~~~~~~~ cominputcode.c:342:6: note: declared here 342 | Void inputerror(nerror, par1, par2, LINK) | ^~~~~~~~~~ comnuclear.c:1027:1: error: number of arguments doesn't match prototype 1027 | { | ^ commondefs.h:1160:13: error: prototype declaration 1160 | extern void segsextop(); | ^~~~~~~~~ loinputcode.c: In function 'multimarriage': loinputcode.c:1139:12: warning: old-style function definition [-Wold-style-definition] 1139 | Local Void multimarriage(p, LINK) | ^~~~~~~~~~~~~ comnuclear.c:1035:3: error: too many arguments to function 'initseg'; expected 0, have 1 1035 | initseg(LINK); | ^~~~~~~ ~~~~ commondefs.h:1147:13: note: declared here 1147 | extern void initseg(); | ^~~~~~~ In file included from comlike.c:20: commondefs.h:1166:15: error: conflicting types for 'mapfunction'; have 'double(void)' 1166 | extern double mapfunction(); | ^~~~~~~~~~~ lodscore.c: At top level: lodscore.c:217:8: error: conflicting types for 'mapfunction'; have 'double(void)' 217 | double mapfunction(theta1, theta2) | ^~~~~~~~~~~ commondefs.h:1067:8: note: previous declaration of 'mapfunction' with type 'double(double, double)' 1067 | double mapfunction(double, double); | ^~~~~~~~~~~ commondefs.h:1067:8: note: previous declaration of 'mapfunction' with type 'double(double, double)' 1067 | double mapfunction(double, double); | ^~~~~~~~~~~ lodscore.c: In function 'mapfunction': commondefs.h:1167:15: error: conflicting types for 'getdist'; have 'double(void)' 1167 | extern double getdist(); | ^~~~~~~ lodscore.c:217:8: warning: old-style function definition [-Wold-style-definition] 217 | double mapfunction(theta1, theta2) | ^~~~~~~~~~~ commondefs.h:1068:8: note: previous declaration of 'getdist' with type 'double(double *)' 1068 | double getdist(double*); | ^~~~~~~ comlike.c: In function 'riskcumul': loinputcode.c: At top level: commondefs.h:1168:15: error: conflicting types for 'invdist'; have 'double(void)' 1168 | extern double invdist(); | ^~~~~~~ comlike.c:1190:12: warning: old-style function definition [-Wold-style-definition] 1190 | Local Void riskcumul(LINK) | ^~~~~~~~~ loinputcode.c:1168:6: error: conflicting types for 'readped'; have 'void(void)' 1168 | Void readped(LINK) | ^~~~~~~ commondefs.h:1069:8: note: previous declaration of 'invdist' with type 'double(double *)' 1069 | double invdist(double*); | ^~~~~~~ lodscore.c: At top level: commondefs.h:1028:6: note: previous declaration of 'readped' with type 'void(struct LOC_inputdata *)' 1028 | void readped(struct LOC_inputdata*); | ^~~~~~~ lodscore.c:227:8: error: conflicting types for 'getdist'; have 'double(void)' 227 | double getdist(theta) | ^~~~~~~ loinputcode.c: In function 'readped': commondefs.h:1068:8: note: previous declaration of 'getdist' with type 'double(double *)' 1068 | double getdist(double*); | ^~~~~~~ commondefs.h:1173:13: error: conflicting types for 'malloc_err'; have 'void(void)' 1173 | extern void malloc_err(); | ^~~~~~~~~~ loinputcode.c:1168:6: warning: old-style function definition [-Wold-style-definition] 1168 | Void readped(LINK) | ^~~~~~~ lodscore.c: In function 'getdist': commondefs.h:1021:6: note: previous declaration of 'malloc_err' with type 'void(char *)' 1021 | void malloc_err(char*); | ^~~~~~~~~~ lodscore.c:227:8: warning: old-style function definition [-Wold-style-definition] 227 | double getdist(theta) | ^~~~~~~ commondefs.h:1174:12: error: conflicting types for 'P_eof'; have 'int(void)' 1174 | extern int P_eof(); | ^~~~~ commondefs.h:1022:5: note: previous declaration of 'P_eof' with type 'int(FILE *)' 1022 | int P_eof(FILE*); | ^~~~~ comnuclear.c:1181:3: error: too many arguments to function 'cleanup'; expected 0, have 2 1181 | cleanup(LINK->q, LINK->LINK); | ^~~~~~~ ~~~~~~~ commondefs.h:1175:12: error: conflicting types for 'P_eoln'; have 'int(void)' 1175 | extern int P_eoln(); | ^~~~~~ commondefs.h:1146:13: note: declared here 1146 | extern void cleanup(); | ^~~~~~~ commondefs.h:1023:5: note: previous declaration of 'P_eoln' with type 'int(FILE *)' 1023 | int P_eoln(FILE*); | ^~~~~~ ilink.c:260:9: error: too many arguments to function 'read_loop_file'; expected 0, have 1 260 | read_loop_file(i); | ^~~~~~~~~~~~~~ ~ cominputcode.c:1725:11: error: too many arguments to function 'inputerror'; expected 0, have 4 1725 | inputerror(30L, LINK->system, LINK->system, LINK->LINK->LINK); | ^~~~~~~~~~ ~~~ comnuclear.c:1182:3: error: too many arguments to function 'exitseg'; expected 0, have 1 1182 | exitseg(LINK); | ^~~~~~~ ~~~~ commondefs.h:1190:13: note: declared here 1190 | extern void read_loop_file(); | ^~~~~~~~~~~~~~ commondefs.h:1148:13: note: declared here 1148 | extern void exitseg(); | ^~~~~~~ commondefs.h:1184:17: error: conflicting types for 'MakeMask'; have 'unsigned int(void)' 1184 | extern unsigned MakeMask(); | ^~~~~~~~ cominputcode.c:342:6: note: declared here 342 | Void inputerror(nerror, par1, par2, LINK) | ^~~~~~~~~~ ilink.c:262:9: error: too many arguments to function 'likelihood'; expected 0, have 2 262 | likelihood(i, proband[i - 1]); | ^~~~~~~~~~ ~ commondefs.h:1024:10: note: previous declaration of 'MakeMask' with type 'unsigned int(int, int)' 1024 | unsigned MakeMask(int start, int end); | ^~~~~~~~ comlike.c: In function 'riskcalc': commondefs.h:1156:13: note: declared here 1156 | extern void likelihood(); | ^~~~~~~~~~ comlike.c:1213:12: warning: old-style function definition [-Wold-style-definition] 1213 | Local Void riskcalc(LINK) | ^~~~~~~~ commondefs.h:1185:13: error: conflicting types for 'getlocus'; have 'void(void)' 1185 | extern void getlocus(); | ^~~~~~~~ loinputcode.c:1190:11: error: too many arguments to function 'P_eof'; expected 0, have 1 1190 | while (!P_eof(pedfile)) { | ^~~~~ ~~~~~~~ commondefs.h:1025:6: note: previous declaration of 'getlocus' with type 'void(long int, struct LOC_readloci *)' 1025 | void getlocus(long, struct LOC_readloci*); | ^~~~~~~~ lodscore.c: At top level: commondefs.h:1174:12: note: declared here 1174 | extern int P_eof(); | ^~~~~ commondefs.h:1186:13: error: conflicting types for 'inputerror'; have 'void(void)' 1186 | extern void inputerror(); | ^~~~~~~~~~ lodscore.c:237:8: error: conflicting types for 'invdist'; have 'double(void)' 237 | double invdist(dist) | ^~~~~~~ commondefs.h:1026:6: note: previous declaration of 'inputerror' with type 'void(long int, long int, long int, struct LOC_inputdata *)' 1026 | void inputerror(long, long, long, struct LOC_inputdata*); | ^~~~~~~~~~ commondefs.h:1069:8: note: previous declaration of 'invdist' with type 'double(double *)' 1069 | double invdist(double*); | ^~~~~~~ lodscore.c: In function 'invdist': commondefs.h:1187:13: error: conflicting types for 'inputwarning'; have 'void(void)' 1187 | extern void inputwarning(); | ^~~~~~~~~~~~ comnuclear.c: In function 'segtop': lodscore.c:237:8: warning: old-style function definition [-Wold-style-definition] 237 | double invdist(dist) | ^~~~~~~ commondefs.h:1027:6: note: previous declaration of 'inputwarning' with type 'void(long int, long int, long int, struct LOC_inputdata *)' 1027 | void inputwarning(long, long, long, struct LOC_inputdata*); | ^~~~~~~~~~~~ comnuclear.c:1187:6: warning: old-style function definition [-Wold-style-definition] 1187 | Void segtop(LINK) | ^~~~~~ comnuclear.c:1189:1: error: number of arguments doesn't match prototype 1189 | { | ^ commondefs.h:1191:13: error: conflicting types for 'readped'; have 'void(void)' 1191 | extern void readped(); | ^~~~~~~ commondefs.h:1162:13: error: prototype declaration 1162 | extern void segtop(); | ^~~~~~ commondefs.h:1028:6: note: previous declaration of 'readped' with type 'void(struct LOC_inputdata *)' 1028 | void readped(struct LOC_inputdata*); | ^~~~~~~ comnuclear.c:1197:3: error: too many arguments to function 'initseg'; expected 0, have 1 1197 | initseg(LINK); | ^~~~~~~ ~~~~ commondefs.h:1147:13: note: declared here 1147 | extern void initseg(); | ^~~~~~~ ilink.c:339:5: error: too many arguments to function 'read_loop_file'; expected 0, have 1 339 | read_loop_file(i+1); | ^~~~~~~~~~~~~~ ~~~ lodscore.c: In function 'fun': lodscore.c:256:13: warning: old-style function definition [-Wold-style-definition] 256 | static Void fun(f, x) | ^~~ commondefs.h:1190:13: note: declared here 1190 | extern void read_loop_file(); | ^~~~~~~~~~~~~~ loinputcode.c:1210:7: error: too many arguments to function 'inputerror'; expected 0, have 4 1210 | inputerror(11L, WITH->id, sex_, LINK); | ^~~~~~~~~~ ~~~ ilink.c:341:5: error: too many arguments to function 'likelihood'; expected 0, have 2 341 | likelihood(i + 1, proband[i]); | ^~~~~~~~~~ ~~~~~ commondefs.h:1156:13: note: declared here 1156 | extern void likelihood(); | ^~~~~~~~~~ comnuclear.c:1107:3: error: too many arguments to function 'cleanup'; expected 0, have 2 1107 | cleanup(LINK->q, LINK->LINK); | ^~~~~~~ ~~~~~~~ commondefs.h:1146:13: note: declared here 1146 | extern void cleanup(); | ^~~~~~~ loinputcode.c:611:6: note: declared here 611 | Void inputerror(nerror, par1, par2, LINK) | ^~~~~~~~~~ comnuclear.c:1108:3: error: too many arguments to function 'exitseg'; expected 0, have 1 1108 | exitseg(LINK); | ^~~~~~~ ~~~~ commondefs.h:1148:13: note: declared here 1148 | extern void exitseg(); | ^~~~~~~ comlike.c: In function 'invert': cominputcode.c:1742:11: error: too many arguments to function 'inputerror'; expected 0, have 4 1742 | inputerror(30L, LINK->system, LINK->system, LINK->LINK->LINK); | ^~~~~~~~~~ ~~~ comlike.c: In function 'pollutedescendants': lodscore.c:283:5: error: too many arguments to function 'likelihood'; expected 0, have 2 283 | likelihood(i, proband[i - 1]); | ^~~~~~~~~~ ~ comlike.c:1246:12: warning: old-style function definition [-Wold-style-definition] 1246 | Local Void pollutedescendants(startper) | ^~~~~~~~~~~~~~~~~~ commoncode.c: In function 'miscInit': commondefs.h:1156:13: note: declared here 1156 | extern void likelihood(); | ^~~~~~~~~~ cominputcode.c:342:6: note: declared here 342 | Void inputerror(nerror, par1, par2, LINK) | ^~~~~~~~~~ comnuclear.c: In function 'segctop': comnuclear.c:1111:6: warning: old-style function definition [-Wold-style-definition] 1111 | Void segctop(LINK) | ^~~~~~~ comnuclear.c:1113:1: error: number of arguments doesn't match prototype 1113 | { | ^ commondefs.h:1161:13: error: prototype declaration 1161 | extern void segctop(); | ^~~~~~~ comlike.c:104:6: warning: old-style function definition [-Wold-style-definition] 104 | Void invert(m, n, det) | ^~~~~~ commoncode.c:436:5: error: too many arguments to function 'malloc_err'; expected 0, have 1 436 | malloc_err("censorstruct"); | ^~~~~~~~~~ ~~~~~~~~~~~~~~ commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ comlike.c:108:1: error: number of arguments doesn't match prototype 108 | { | ^ commondefs.h:1145:13: error: prototype declaration 1145 | extern void invert(); | ^~~~~~ comnuclear.c:1121:3: error: too many arguments to function 'initseg'; expected 0, have 1 1121 | initseg(LINK); | ^~~~~~~ ~~~~ commondefs.h:1147:13: note: declared here 1147 | extern void initseg(); | ^~~~~~~ ilink.c: In function 'streamout': cominputcode.c: In function 'getquan': lodscore.c: In function 'getlods': lodscore.c:308:12: warning: old-style function definition [-Wold-style-definition] 308 | Local Void getlods(f, x, LINK) | ^~~~~~~ ilink.c:392:12: warning: old-style function definition [-Wold-style-definition] 392 | Local Void streamout(LINK) | ^~~~~~~~~ loinputcode.c:1239:10: error: too many arguments to function 'P_eof'; expected 0, have 1 1239 | if (!P_eof(pedfile)) | ^~~~~ ~~~~~~~ commondefs.h:1174:12: note: declared here 1174 | extern int P_eof(); | ^~~~~ comlike.c: In function 'likelihood': cominputcode.c:1753:12: warning: old-style function definition [-Wold-style-definition] 1753 | Local Void getquan(locus, privelege, LINK) | ^~~~~~~ comlike.c:1453:6: warning: old-style function definition [-Wold-style-definition] 1453 | Void likelihood(thisped_, proband_) | ^~~~~~~~~~ comlike.c:1456:1: error: number of arguments doesn't match prototype 1456 | { | ^ commondefs.h:1156:13: error: prototype declaration 1156 | extern void likelihood(); | ^~~~~~~~~~ loinputcode.c:1248:7: error: too many arguments to function 'inputerror'; expected 0, have 4 1248 | inputerror(12L, newped, nuped, LINK); | ^~~~~~~~~~ ~~~ comnuclear.c:1262:3: error: too many arguments to function 'cleanup'; expected 0, have 2 1262 | cleanup(LINK->q, LINK->LINK); | ^~~~~~~ ~~~~~~~ commondefs.h:1146:13: note: declared here 1146 | extern void cleanup(); | ^~~~~~~ cominputcode.c:1768:5: error: too many arguments to function 'inputerror'; expected 0, have 4 1768 | inputerror(31L, LINK->system, WITH->UU.U1.ntrait, LINK->LINK->LINK); | ^~~~~~~~~~ ~~~ comnuclear.c:1263:3: error: too many arguments to function 'exitseg'; expected 0, have 1 1263 | exitseg(LINK); | ^~~~~~~ ~~~~ loinputcode.c:611:6: note: declared here 611 | Void inputerror(nerror, par1, par2, LINK) | ^~~~~~~~~~ comlike.c:1491:3: error: too many arguments to function 'recompute_haps'; expected 0, have 2 1491 | recompute_haps(thisped_, true); | ^~~~~~~~~~~~~~ ~~~~~~~~ lodscore.c:343:7: error: too many arguments to function 'likelihood'; expected 0, have 2 343 | likelihood(i, proband[i - 1]); | ^~~~~~~~~~ ~ commondefs.h:1148:13: note: declared here 1148 | extern void exitseg(); | ^~~~~~~ cominputcode.c:342:6: note: declared here 342 | Void inputerror(nerror, par1, par2, LINK) | ^~~~~~~~~~ commondefs.h:1156:13: note: declared here 1156 | extern void likelihood(); | ^~~~~~~~~~ comlike.c:361:6: note: declared here 361 | void recompute_haps(pedix, wantlocations) | ^~~~~~~~~~~~~~ cominputcode.c:1770:5: error: too many arguments to function 'inputerror'; expected 0, have 4 1770 | inputerror(32L, LINK->system, WITH->UU.U0.nclass, LINK->LINK->LINK); | ^~~~~~~~~~ ~~~ comnuclear.c: In function 'segcapprox': lodscore.c:366:5: error: too many arguments to function 'likelihood'; expected 0, have 2 366 | likelihood(i + 1, proband[i]); | ^~~~~~~~~~ ~~~~~ comnuclear.c:1269:6: warning: old-style function definition [-Wold-style-definition] 1269 | Void segcapprox(LINK) | ^~~~~~~~~~ comnuclear.c:1271:1: error: number of arguments doesn't match prototype 1271 | { | ^ commondefs.h:1156:13: note: declared here 1156 | extern void likelihood(); | ^~~~~~~~~~ commoncode.c: In function 'seqStartup': commondefs.h:1163:13: error: prototype declaration 1163 | extern void segcapprox(); | ^~~~~~~~~~ commoncode.c:597:6: warning: old-style function definition [-Wold-style-definition] 597 | void seqStartup(argc, argv) | ^~~~~~~~~~ comnuclear.c:1279:3: error: too many arguments to function 'initseg'; expected 0, have 1 1279 | initseg(LINK); | ^~~~~~~ ~~~~ commondefs.h:1147:13: note: declared here 1147 | extern void initseg(); | ^~~~~~~ cominputcode.c:342:6: note: declared here 342 | Void inputerror(nerror, par1, par2, LINK) | ^~~~~~~~~~ comnuclear.c:1181:3: error: too many arguments to function 'cleanup'; expected 0, have 2 1181 | cleanup(LINK->q, LINK->LINK); | ^~~~~~~ ~~~~~~~ comlike.c: In function 'cleanup': commondefs.h:1146:13: note: declared here 1146 | extern void cleanup(); | ^~~~~~~ comlike.c:150:6: warning: old-style function definition [-Wold-style-definition] 150 | Void cleanup(p, LINK) | ^~~~~~~ comlike.c:153:1: error: number of arguments doesn't match prototype 153 | { | ^ comnuclear.c:1182:3: error: too many arguments to function 'exitseg'; expected 0, have 1 1182 | exitseg(LINK); | ^~~~~~~ ~~~~ commondefs.h:1146:13: error: prototype declaration 1146 | extern void cleanup(); | ^~~~~~~ commondefs.h:1148:13: note: declared here 1148 | extern void exitseg(); | ^~~~~~~ loinputcode.c: In function 'getbin': lodscore.c: In function 'streamout': lodscore.c:386:12: warning: old-style function definition [-Wold-style-definition] 386 | Local Void streamout(LINK) | ^~~~~~~~~ loinputcode.c:1289:12: warning: old-style function definition [-Wold-style-definition] 1289 | Local Void getbin(locus, system, LINK) | ^~~~~~ comnuclear.c: In function 'segtop': comlike.c:1545:9: error: too many arguments to function 'malloc_err'; expected 0, have 1 1545 | malloc_err("gen field in likelihood"); | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ comlike.c: In function 'allocate_thisarray': comnuclear.c:1187:6: warning: old-style function definition [-Wold-style-definition] 1187 | Void segtop(LINK) | ^~~~~~ commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ comlike.c:172:6: warning: old-style function definition [-Wold-style-definition] 172 | void allocate_thisarray(location, number) | ^~~~~~~~~~~~~~~~~~ comnuclear.c:1189:1: error: number of arguments doesn't match prototype 1189 | { | ^ comlike.c:175:1: error: number of arguments doesn't match prototype 175 | { | ^ commondefs.h:1162:13: error: prototype declaration 1162 | extern void segtop(); | ^~~~~~ commondefs.h:1192:13: error: prototype declaration 1192 | extern void allocate_thisarray(); | ^~~~~~~~~~~~~~~~~~ comlike.c:1546:7: error: too many arguments to function 'allocate_thisarray'; expected 0, have 2 1546 | allocate_thisarray(WITH->gen, fgeno); | ^~~~~~~~~~~~~~~~~~ ~~~~~~~~~ comnuclear.c:1197:3: error: too many arguments to function 'initseg'; expected 0, have 1 1197 | initseg(LINK); | ^~~~~~~ ~~~~ commondefs.h:1147:13: note: declared here 1147 | extern void initseg(); | ^~~~~~~ comnuclear.c:1314:3: error: too many arguments to function 'cleanup'; expected 0, have 2 1314 | cleanup(LINK->q, LINK->LINK); | ^~~~~~~ ~~~~~~~ commondefs.h:1146:13: note: declared here 1146 | extern void cleanup(); | ^~~~~~~ loinputcode.c:1302:5: error: too many arguments to function 'inputerror'; expected 0, have 4 1302 | inputerror(8L, *system, LINK->LINK->LINK->nfactor[*system - 1], | ^~~~~~~~~~ ~~ comnuclear.c:1315:3: error: too many arguments to function 'exitseg'; expected 0, have 1 1315 | exitseg(LINK); | ^~~~~~~ ~~~~ comlike.c:172:6: note: declared here 172 | void allocate_thisarray(location, number) | ^~~~~~~~~~~~~~~~~~ comlike.c:178:6: error: too many arguments to function 'malloc_err'; expected 0, have 1 178 | malloc_err("genarray field"); | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~ commondefs.h:1148:13: note: declared here 1148 | extern void exitseg(); | ^~~~~~~ commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ ilink.c:506:11: error: too many arguments to function 'invert'; expected 0, have 3 506 | invert(WITH->UU.U1.vmat, WITH->UU.U1.ntrait, &WITH->UU.U1.det); | ^~~~~~ ~~~~~~~~~~~~~~~~ cominputcode.c:1792:9: error: too many arguments to function 'inputerror'; expected 0, have 4 1792 | inputerror(33L, LINK->system, LINK->system, LINK->LINK->LINK); | ^~~~~~~~~~ ~~~ loinputcode.c:611:6: note: declared here 611 | Void inputerror(nerror, par1, par2, LINK) | ^~~~~~~~~~ commondefs.h:1145:13: note: declared here 1145 | extern void invert(); | ^~~~~~ comlike.c:182:6: error: too many arguments to function 'malloc_err'; expected 0, have 1 182 | malloc_err("sparseflag field"); | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~ cominputcode.c:342:6: note: declared here 342 | Void inputerror(nerror, par1, par2, LINK) | ^~~~~~~~~~ commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ In file included from comnuclear.c:1318: oldsegup.c: In function 'oldsegsexup': comlike.c:1551:7: error: too many arguments to function 'getvect'; expected 0, have 2 1551 | getvect(looppers[V.thisped - 1][i][0], &V); /*G OK*/ | ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ comlike.c: In function 'prob': loinputcode.c:1305:5: error: too many arguments to function 'inputerror'; expected 0, have 4 1305 | inputerror(9L, *system, LINK->LINK->LINK->nfactor[*system - 1], | ^~~~~~~~~~ ~~ commondefs.h:1141:13: note: declared here 1141 | extern void getvect(); | ^~~~~~~ comlike.c:185:12: warning: old-style function definition [-Wold-style-definition] 185 | Local Void prob(p, LINK) | ^~~~ oldsegup.c:6:6: warning: old-style function definition [-Wold-style-definition] 6 | Void oldsegsexup(LINK) | ^~~~~~~~~~~ oldsegup.c:8:1: error: number of arguments doesn't match prototype 8 | { | ^ commondefs.h:1171:13: error: prototype declaration 1171 | extern void oldsegsexup(); | ^~~~~~~~~~~ loinputcode.c:611:6: note: declared here 611 | Void inputerror(nerror, par1, par2, LINK) | ^~~~~~~~~~ cominputcode.c:1798:3: error: too many arguments to function 'invert'; expected 0, have 3 1798 | invert(WITH->UU.U1.vmat, WITH->UU.U1.ntrait, &WITH->UU.U1.det); | ^~~~~~ ~~~~~~~~~~~~~~~~ oldsegup.c:17:3: error: too many arguments to function 'initseg'; expected 0, have 1 17 | initseg(LINK); | ^~~~~~~ ~~~~ commondefs.h:1147:13: note: declared here 1147 | extern void initseg(); | ^~~~~~~ commondefs.h:1145:13: note: declared here 1145 | extern void invert(); | ^~~~~~ comlike.c:203:7: error: too many arguments to function 'malloc_err'; expected 0, have 1 203 | malloc_err("gen field in prob"); | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~ commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ comlike.c:204:5: error: too many arguments to function 'allocate_thisarray'; expected 0, have 2 204 | allocate_thisarray(WITH->gen, fgeno); | ^~~~~~~~~~~~~~~~~~ ~~~~~~~~~ comlike.c:172:6: note: declared here 172 | void allocate_thisarray(location, number) | ^~~~~~~~~~~~~~~~~~ cominputcode.c:1803:5: error: too many arguments to function 'inputerror'; expected 0, have 4 1803 | inputerror(34L, LINK->system, LINK->system, LINK->LINK->LINK); | ^~~~~~~~~~ ~~~ cominputcode.c:342:6: note: declared here 342 | Void inputerror(nerror, par1, par2, LINK) | ^~~~~~~~~~ loinputcode.c: In function 'getnumber': loinputcode.c:1324:12: warning: old-style function definition [-Wold-style-definition] 1324 | Local Void getnumber(locus, system, LINK) | ^~~~~~~~~ lodscore.c:477:11: error: too many arguments to function 'invert'; expected 0, have 3 477 | invert(WITH->UU.U1.vmat, WITH->UU.U1.ntrait, &WITH->UU.U1.det); | ^~~~~~ ~~~~~~~~~~~~~~~~ comnuclear.c:1262:3: error: too many arguments to function 'cleanup'; expected 0, have 2 1262 | cleanup(LINK->q, LINK->LINK); | ^~~~~~~ ~~~~~~~ commondefs.h:1146:13: note: declared here 1146 | extern void cleanup(); | ^~~~~~~ commondefs.h:1145:13: note: declared here 1145 | extern void invert(); | ^~~~~~ comnuclear.c:1263:3: error: too many arguments to function 'exitseg'; expected 0, have 1 1263 | exitseg(LINK); | ^~~~~~~ ~~~~ commondefs.h:1148:13: note: declared here 1148 | extern void exitseg(); | ^~~~~~~ loinputcode.c: In function 'getpen': comlike.c:233:5: error: too many arguments to function 'getvect'; expected 0, have 2 233 | getvect(*p, LINK); | ^~~~~~~ ~~ cominputcode.c: At top level: loinputcode.c:1340:12: warning: old-style function definition [-Wold-style-definition] 1340 | Local Void getpen(locus, LINK) | ^~~~~~ commondefs.h:1141:13: note: declared here 1141 | extern void getvect(); | ^~~~~~~ cominputcode.c:1812:6: error: conflicting types for 'getlocus'; have 'void(void)' 1812 | Void getlocus(system_, LINK) | ^~~~~~~~ loinputcode.c:1352:5: error: too many arguments to function 'inputerror'; expected 0, have 4 1352 | inputerror(28L, LINK->system, WITH->UU.U0.nclass, LINK->LINK->LINK); | ^~~~~~~~~~ ~~~ commondefs.h:1025:6: note: previous declaration of 'getlocus' with type 'void(long int, struct LOC_readloci *)' 1025 | void getlocus(long, struct LOC_readloci*); | ^~~~~~~~ cominputcode.c: In function 'getlocus': comnuclear.c: In function 'segcapprox': cominputcode.c:1812:6: warning: old-style function definition [-Wold-style-definition] 1812 | Void getlocus(system_, LINK) | ^~~~~~~~ comnuclear.c:1269:6: warning: old-style function definition [-Wold-style-definition] 1269 | Void segcapprox(LINK) | ^~~~~~~~~~ oldsegup.c:67:3: error: too many arguments to function 'cleanup'; expected 0, have 2 67 | cleanup(LINK->q, LINK->LINK); | ^~~~~~~ ~~~~~~~ comnuclear.c:1271:1: error: number of arguments doesn't match prototype 1271 | { | ^ commondefs.h:1146:13: note: declared here 1146 | extern void cleanup(); | ^~~~~~~ loinputcode.c:611:6: note: declared here 611 | Void inputerror(nerror, par1, par2, LINK) | ^~~~~~~~~~ commondefs.h:1163:13: error: prototype declaration 1163 | extern void segcapprox(); | ^~~~~~~~~~ oldsegup.c:68:3: error: too many arguments to function 'exitseg'; expected 0, have 1 68 | exitseg(LINK); | ^~~~~~~ ~~~~ comlike.c: In function 'pseudoprob': commondefs.h:1148:13: note: declared here 1148 | extern void exitseg(); | ^~~~~~~ comlike.c:242:12: warning: old-style function definition [-Wold-style-definition] 242 | Local Void pseudoprob(p, LINK) | ^~~~~~~~~~ comnuclear.c:1279:3: error: too many arguments to function 'initseg'; expected 0, have 1 1279 | initseg(LINK); | ^~~~~~~ ~~~~ commondefs.h:1147:13: note: declared here 1147 | extern void initseg(); | ^~~~~~~ cominputcode.c:1826:5: error: too many arguments to function 'malloc_err'; expected 0, have 1 1826 | malloc_err("entry in thislocus"); | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~ loinputcode.c:1354:5: error: too many arguments to function 'inputerror'; expected 0, have 4 1354 | inputerror(29L, LINK->system, WITH->UU.U0.nclass, LINK->LINK->LINK); | ^~~~~~~~~~ ~~~ commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ oldsegup.c: In function 'oldsegup': comlike.c: In function 'initseg': oldsegup.c:71:6: warning: old-style function definition [-Wold-style-definition] 71 | Void oldsegup(LINK) | ^~~~~~~~ oldsegup.c:73:1: error: number of arguments doesn't match prototype 73 | { | ^ comlike.c:258:6: warning: old-style function definition [-Wold-style-definition] 258 | Void initseg(LINK) | ^~~~~~~ loinputcode.c:611:6: note: declared here 611 | Void inputerror(nerror, par1, par2, LINK) | ^~~~~~~~~~ commondefs.h:1172:13: error: prototype declaration 1172 | extern void oldsegup(); | ^~~~~~~~ comlike.c:260:1: error: number of arguments doesn't match prototype 260 | { | ^ commondefs.h:1147:13: error: prototype declaration 1147 | extern void initseg(); | ^~~~~~~ lodscore.c:535:16: error: too many arguments to function 'getdist'; expected 0, have 1 535 | dist = getdist(&maletheta->theta[i]); | ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~ oldsegup.c:80:3: error: too many arguments to function 'initseg'; expected 0, have 1 80 | initseg(LINK); | ^~~~~~~ ~~~~ commondefs.h:1147:13: note: declared here 1147 | extern void initseg(); | ^~~~~~~ cominputcode.c:1837:5: error: too many arguments to function 'inputerror'; expected 0, have 4 1837 | inputerror(5L, V.system, LINK->whichtype, LINK->LINK); | ^~~~~~~~~~ ~~ ilink.c:623:16: error: too many arguments to function 'getdist'; expected 0, have 1 623 | dist = getdist(&maletheta->theta[i]); | ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~ cominputcode.c:342:6: note: declared here 342 | Void inputerror(nerror, par1, par2, LINK) | ^~~~~~~~~~ commondefs.h:1167:15: note: declared here 1167 | extern double getdist(); | ^~~~~~~ lodscore.c:227:8: note: declared here 227 | double getdist(theta) | ^~~~~~~ comlike.c:1697:11: error: too many arguments to function 'cleanup'; expected 0, have 2 1697 | cleanup(&person[i], &V); | ^~~~~~~ ~~~~~~~~~~ ilink.c:625:18: error: too many arguments to function 'getdist'; expected 0, have 1 625 | dist = getdist(&femaletheta->theta[i]) / dist; | ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~ commondefs.h:1167:15: note: declared here 1167 | extern double getdist(); | ^~~~~~~ lodscore.c:537:18: error: too many arguments to function 'getdist'; expected 0, have 1 537 | dist = getdist(&femaletheta->theta[i]) / dist; | ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~ loinputcode.c:1363:11: error: too many arguments to function 'inputerror'; expected 0, have 4 1363 | inputerror(30L, LINK->system, LINK->system, LINK->LINK->LINK); | ^~~~~~~~~~ ~~~ comlike.c:150:6: note: declared here 150 | Void cleanup(p, LINK) | ^~~~~~~ cominputcode.c:1839:5: error: too many arguments to function 'inputerror'; expected 0, have 4 1839 | inputerror(6L, V.system, WITH->nallele, LINK->LINK); | ^~~~~~~~~~ ~~ ilink.c:631:16: error: too many arguments to function 'getdist'; expected 0, have 1 631 | dist = getdist(&maletheta->theta[mlocus - 1]); | ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ commondefs.h:1167:15: note: declared here 1167 | extern double getdist(); | ^~~~~~~ oldsegup.c:104:3: error: too many arguments to function 'cleanup'; expected 0, have 2 104 | cleanup(LINK->q, LINK->LINK); | ^~~~~~~ ~~~~~~~ loinputcode.c:611:6: note: declared here 611 | Void inputerror(nerror, par1, par2, LINK) | ^~~~~~~~~~ commondefs.h:1146:13: note: declared here 1146 | extern void cleanup(); | ^~~~~~~ cominputcode.c:342:6: note: declared here 342 | Void inputerror(nerror, par1, par2, LINK) | ^~~~~~~~~~ In file included from iostuff.c:24: commondefs.h:1166:15: error: conflicting types for 'mapfunction'; have 'double(void)' 1166 | extern double mapfunction(); | ^~~~~~~~~~~ lodscore.c:227:8: note: declared here 227 | double getdist(theta) | ^~~~~~~ ilink.c:633:18: error: too many arguments to function 'getdist'; expected 0, have 1 633 | dist = getdist(&femaletheta->theta[mlocus - 1]) / dist; | ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ oldsegup.c:105:3: error: too many arguments to function 'exitseg'; expected 0, have 1 105 | exitseg(LINK); | ^~~~~~~ ~~~~ commondefs.h:1167:15: note: declared here 1167 | extern double getdist(); | ^~~~~~~ commondefs.h:1148:13: note: declared here 1148 | extern void exitseg(); | ^~~~~~~ comnuclear.c:1314:3: error: too many arguments to function 'cleanup'; expected 0, have 2 1314 | cleanup(LINK->q, LINK->LINK); | ^~~~~~~ ~~~~~~~ commondefs.h:1067:8: note: previous declaration of 'mapfunction' with type 'double(double, double)' 1067 | double mapfunction(double, double); | ^~~~~~~~~~~ comlike.c: In function 'pseudoseg': commondefs.h:1146:13: note: declared here 1146 | extern void cleanup(); | ^~~~~~~ commondefs.h:1167:15: error: conflicting types for 'getdist'; have 'double(void)' 1167 | extern double getdist(); | ^~~~~~~ commondefs.h:1068:8: note: previous declaration of 'getdist' with type 'double(double *)' 1068 | double getdist(double*); | ^~~~~~~ comlike.c:305:12: warning: old-style function definition [-Wold-style-definition] 305 | Local Void pseudoseg(LINK) | ^~~~~~~~~ commondefs.h:1168:15: error: conflicting types for 'invdist'; have 'double(void)' 1168 | extern double invdist(); | ^~~~~~~ comnuclear.c:1315:3: error: too many arguments to function 'exitseg'; expected 0, have 1 1315 | exitseg(LINK); | ^~~~~~~ ~~~~ commondefs.h:1069:8: note: previous declaration of 'invdist' with type 'double(double *)' 1069 | double invdist(double*); | ^~~~~~~ commondefs.h:1148:13: note: declared here 1148 | extern void exitseg(); | ^~~~~~~ comnuclear.c: In function 'msegsexdown': commondefs.h:1173:13: error: conflicting types for 'malloc_err'; have 'void(void)' 1173 | extern void malloc_err(); | ^~~~~~~~~~ commondefs.h:1021:6: note: previous declaration of 'malloc_err' with type 'void(char *)' 1021 | void malloc_err(char*); | ^~~~~~~~~~ comnuclear.c:1320:6: warning: old-style function definition [-Wold-style-definition] 1320 | Void msegsexdown(LINK) | ^~~~~~~~~~~ commondefs.h:1174:12: error: conflicting types for 'P_eof'; have 'int(void)' 1174 | extern int P_eof(); | ^~~~~ comnuclear.c:1322:1: error: number of arguments doesn't match prototype 1322 | { | ^ commondefs.h:1022:5: note: previous declaration of 'P_eof' with type 'int(FILE *)' 1022 | int P_eof(FILE*); | ^~~~~ commondefs.h:1164:13: error: prototype declaration 1164 | extern void msegsexdown(); | ^~~~~~~~~~~ cominputcode.c:1841:5: error: too many arguments to function 'inputerror'; expected 0, have 4 1841 | inputerror(7L, V.system, WITH->nallele, LINK->LINK); | ^~~~~~~~~~ ~~ commondefs.h:1175:12: error: conflicting types for 'P_eoln'; have 'int(void)' 1175 | extern int P_eoln(); | ^~~~~~ commondefs.h:1023:5: note: previous declaration of 'P_eoln' with type 'int(FILE *)' 1023 | int P_eoln(FILE*); | ^~~~~~ commondefs.h:1184:17: error: conflicting types for 'MakeMask'; have 'unsigned int(void)' 1184 | extern unsigned MakeMask(); | ^~~~~~~~ commondefs.h:1024:10: note: previous declaration of 'MakeMask' with type 'unsigned int(int, int)' 1024 | unsigned MakeMask(int start, int end); | ^~~~~~~~ cominputcode.c:342:6: note: declared here 342 | Void inputerror(nerror, par1, par2, LINK) | ^~~~~~~~~~ commondefs.h:1185:13: error: conflicting types for 'getlocus'; have 'void(void)' 1185 | extern void getlocus(); | ^~~~~~~~ comnuclear.c:1334:3: error: too many arguments to function 'initseg'; expected 0, have 1 1334 | initseg(LINK); | ^~~~~~~ ~~~~ commondefs.h:1025:6: note: previous declaration of 'getlocus' with type 'void(long int, struct LOC_readloci *)' 1025 | void getlocus(long, struct LOC_readloci*); | ^~~~~~~~ In file included from comnuclear.c:1318: oldsegup.c: In function 'oldsegsexup': commondefs.h:1147:13: note: declared here 1147 | extern void initseg(); | ^~~~~~~ commondefs.h:1186:13: error: conflicting types for 'inputerror'; have 'void(void)' 1186 | extern void inputerror(); | ^~~~~~~~~~ commondefs.h:1026:6: note: previous declaration of 'inputerror' with type 'void(long int, long int, long int, struct LOC_inputdata *)' 1026 | void inputerror(long, long, long, struct LOC_inputdata*); | ^~~~~~~~~~ comlike.c: In function 'exitseg': comlike.c:1720:7: error: too many arguments to function 'cleanup'; expected 0, have 2 1720 | cleanup(&person[i], &V); | ^~~~~~~ ~~~~~~~~~~ commondefs.h:1187:13: error: conflicting types for 'inputwarning'; have 'void(void)' 1187 | extern void inputwarning(); | ^~~~~~~~~~~~ commondefs.h:1027:6: note: previous declaration of 'inputwarning' with type 'void(long int, long int, long int, struct LOC_inputdata *)' 1027 | void inputwarning(long, long, long, struct LOC_inputdata*); | ^~~~~~~~~~~~ comlike.c:323:6: warning: old-style function definition [-Wold-style-definition] 323 | Void exitseg(LINK) | ^~~~~~~ oldsegup.c:6:6: warning: old-style function definition [-Wold-style-definition] 6 | Void oldsegsexup(LINK) | ^~~~~~~~~~~ comlike.c:325:1: error: number of arguments doesn't match prototype 325 | { | ^ commondefs.h:1191:13: error: conflicting types for 'readped'; have 'void(void)' 1191 | extern void readped(); | ^~~~~~~ oldsegup.c:8:1: error: number of arguments doesn't match prototype 8 | { | ^ commondefs.h:1148:13: error: prototype declaration 1148 | extern void exitseg(); | ^~~~~~~ commondefs.h:1028:6: note: previous declaration of 'readped' with type 'void(struct LOC_inputdata *)' 1028 | void readped(struct LOC_inputdata*); | ^~~~~~~ commondefs.h:1171:13: error: prototype declaration 1171 | extern void oldsegsexup(); | ^~~~~~~~~~~ comlike.c:150:6: note: declared here 150 | Void cleanup(p, LINK) | ^~~~~~~ oldsegup.c:17:3: error: too many arguments to function 'initseg'; expected 0, have 1 17 | initseg(LINK); | ^~~~~~~ ~~~~ loinputcode.c:1386:11: error: too many arguments to function 'inputerror'; expected 0, have 4 1386 | inputerror(30L, LINK->system, LINK->system, LINK->LINK->LINK); | ^~~~~~~~~~ ~~~ commondefs.h:1147:13: note: declared here 1147 | extern void initseg(); | ^~~~~~~ comlike.c:330:7: error: too many arguments to function 'cleanup'; expected 0, have 2 330 | cleanup(&LINK->child, LINK->LINK); | ^~~~~~~ ~~~~~~~~~~~~ comlike.c:150:6: note: declared here 150 | Void cleanup(p, LINK) | ^~~~~~~ iostuff.c:40:5: error: conflicting types for 'P_eof'; have 'int(void)' 40 | int P_eof(f) | ^~~~~ loinputcode.c:611:6: note: declared here 611 | Void inputerror(nerror, par1, par2, LINK) | ^~~~~~~~~~ commondefs.h:1022:5: note: previous declaration of 'P_eof' with type 'int(FILE *)' 1022 | int P_eof(FILE*); | ^~~~~ iostuff.c: In function 'P_eof': iostuff.c:40:5: warning: old-style function definition [-Wold-style-definition] 40 | int P_eof(f) | ^~~~~ iostuff.c: At top level: iostuff.c:58:5: error: conflicting types for 'P_eoln'; have 'int(void)' 58 | int P_eoln(f) | ^~~~~~ cominputcode.c:1871:9: error: too many arguments to function 'malloc_err'; expected 0, have 1 1871 | malloc_err("privlocus field"); | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~ commondefs.h:1023:5: note: previous declaration of 'P_eoln' with type 'int(FILE *)' 1023 | int P_eoln(FILE*); | ^~~~~~ lodscore.c: In function 'outf': iostuff.c: In function 'P_eoln': iostuff.c:58:5: warning: old-style function definition [-Wold-style-definition] 58 | int P_eoln(f) | ^~~~~~ commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ lodscore.c:587:5: error: too many arguments to function 'performCheckpoint'; expected 0, have 3 587 | performCheckpoint ( functionLocation , funCallPath , 0 ) ; | ^~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ iostuff.c: At top level: ilink.c: In function 'outf': iostuff.c:71:6: error: conflicting types for 'malloc_err'; have 'void(void)' 71 | void malloc_err(message) | ^~~~~~~~~~ commondefs.h:1139:13: note: declared here 1139 | extern void performCheckpoint(); | ^~~~~~~~~~~~~~~~~ loinputcode.c: In function 'getquan': commondefs.h:1021:6: note: previous declaration of 'malloc_err' with type 'void(char *)' 1021 | void malloc_err(char*); | ^~~~~~~~~~ iostuff.c: In function 'malloc_err': iostuff.c:71:6: warning: old-style function definition [-Wold-style-definition] 71 | void malloc_err(message) | ^~~~~~~~~~ ilink.c:689:5: error: too many arguments to function 'performCheckpoint'; expected 0, have 3 689 | performCheckpoint ( functionLocation , funCallPath , 0 ) ; | ^~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ commondefs.h:1139:13: note: declared here 1139 | extern void performCheckpoint(); | ^~~~~~~~~~~~~~~~~ comlike.c: In function 'recompute_haps': loinputcode.c:1398:12: warning: old-style function definition [-Wold-style-definition] 1398 | Local Void getquan(locus, privelege, LINK) | ^~~~~~~ In file included from cominputcode.c:21: commondefs.h:1166:15: error: conflicting types for 'mapfunction'; have 'double(void)' 1166 | extern double mapfunction(); | ^~~~~~~~~~~ comlike.c:361:6: warning: old-style function definition [-Wold-style-definition] 361 | void recompute_haps(pedix, wantlocations) | ^~~~~~~~~~~~~~ comlike.c:364:1: error: number of arguments doesn't match prototype 364 | { | ^ commondefs.h:1067:8: note: previous declaration of 'mapfunction' with type 'double(double, double)' 1067 | double mapfunction(double, double); | ^~~~~~~~~~~ commondefs.h:1153:13: error: prototype declaration 1153 | extern void recompute_haps(); | ^~~~~~~~~~~~~~ commondefs.h:1167:15: error: conflicting types for 'getdist'; have 'double(void)' 1167 | extern double getdist(); | ^~~~~~~ commondefs.h:1068:8: note: previous declaration of 'getdist' with type 'double(double *)' 1068 | double getdist(double*); | ^~~~~~~ commondefs.h:1168:15: error: conflicting types for 'invdist'; have 'double(void)' 1168 | extern double invdist(); | ^~~~~~~ commondefs.h:1069:8: note: previous declaration of 'invdist' with type 'double(double *)' 1069 | double invdist(double*); | ^~~~~~~ commondefs.h:1173:13: error: conflicting types for 'malloc_err'; have 'void(void)' 1173 | extern void malloc_err(); | ^~~~~~~~~~ commondefs.h:1021:6: note: previous declaration of 'malloc_err' with type 'void(char *)' 1021 | void malloc_err(char*); | ^~~~~~~~~~ commondefs.h:1174:12: error: conflicting types for 'P_eof'; have 'int(void)' 1174 | extern int P_eof(); | ^~~~~ loinputcode.c:1413:5: error: too many arguments to function 'inputerror'; expected 0, have 4 1413 | inputerror(31L, LINK->system, WITH->UU.U1.ntrait, LINK->LINK->LINK); | ^~~~~~~~~~ ~~~ commondefs.h:1022:5: note: previous declaration of 'P_eof' with type 'int(FILE *)' 1022 | int P_eof(FILE*); | ^~~~~ lodscore.c:613:7: error: too many arguments to function 'recoverCheckpoint'; expected 0, have 1 613 | recoverCheckpoint ( NULL ) ; | ^~~~~~~~~~~~~~~~~ ~~~~ ilink.c:714:7: error: too many arguments to function 'recoverCheckpoint'; expected 0, have 1 714 | recoverCheckpoint ( NULL ) ; | ^~~~~~~~~~~~~~~~~ ~~~~ commondefs.h:1175:12: error: conflicting types for 'P_eoln'; have 'int(void)' 1175 | extern int P_eoln(); | ^~~~~~ commondefs.h:1023:5: note: previous declaration of 'P_eoln' with type 'int(FILE *)' 1023 | int P_eoln(FILE*); | ^~~~~~ commondefs.h:1140:13: note: declared here 1140 | extern void recoverCheckpoint (); | ^~~~~~~~~~~~~~~~~ commondefs.h:1140:13: note: declared here 1140 | extern void recoverCheckpoint (); | ^~~~~~~~~~~~~~~~~ commondefs.h:1184:17: error: conflicting types for 'MakeMask'; have 'unsigned int(void)' 1184 | extern unsigned MakeMask(); | ^~~~~~~~ commondefs.h:1024:10: note: previous declaration of 'MakeMask' with type 'unsigned int(int, int)' 1024 | unsigned MakeMask(int start, int end); | ^~~~~~~~ loinputcode.c:611:6: note: declared here 611 | Void inputerror(nerror, par1, par2, LINK) | ^~~~~~~~~~ commondefs.h:1185:13: error: conflicting types for 'getlocus'; have 'void(void)' 1185 | extern void getlocus(); | ^~~~~~~~ commondefs.h:1025:6: note: previous declaration of 'getlocus' with type 'void(long int, struct LOC_readloci *)' 1025 | void getlocus(long, struct LOC_readloci*); | ^~~~~~~~ commondefs.h:1186:13: error: conflicting types for 'inputerror'; have 'void(void)' 1186 | extern void inputerror(); | ^~~~~~~~~~ commondefs.h:1026:6: note: previous declaration of 'inputerror' with type 'void(long int, long int, long int, struct LOC_inputdata *)' 1026 | void inputerror(long, long, long, struct LOC_inputdata*); | ^~~~~~~~~~ commondefs.h:1187:13: error: conflicting types for 'inputwarning'; have 'void(void)' 1187 | extern void inputwarning(); | ^~~~~~~~~~~~ oldsegup.c:67:3: error: too many arguments to function 'cleanup'; expected 0, have 2 67 | cleanup(LINK->q, LINK->LINK); | ^~~~~~~ ~~~~~~~ commondefs.h:1027:6: note: previous declaration of 'inputwarning' with type 'void(long int, long int, long int, struct LOC_inputdata *)' 1027 | void inputwarning(long, long, long, struct LOC_inputdata*); | ^~~~~~~~~~~~ commondefs.h:1191:13: error: conflicting types for 'readped'; have 'void(void)' 1191 | extern void readped(); | ^~~~~~~ commondefs.h:1146:13: note: declared here 1146 | extern void cleanup(); | ^~~~~~~ commondefs.h:1028:6: note: previous declaration of 'readped' with type 'void(struct LOC_inputdata *)' 1028 | void readped(struct LOC_inputdata*); | ^~~~~~~ loinputcode.c:1415:5: error: too many arguments to function 'inputerror'; expected 0, have 4 1415 | inputerror(32L, LINK->system, WITH->UU.U0.nclass, LINK->LINK->LINK); | ^~~~~~~~~~ ~~~ oldsegup.c:68:3: error: too many arguments to function 'exitseg'; expected 0, have 1 68 | exitseg(LINK); | ^~~~~~~ ~~~~ commondefs.h:1148:13: note: declared here 1148 | extern void exitseg(); | ^~~~~~~ comlike.c: In function 'mem_cleanup': loinputcode.c:611:6: note: declared here 611 | Void inputerror(nerror, par1, par2, LINK) | ^~~~~~~~~~ oldsegup.c: In function 'oldsegup': oldsegup.c:71:6: warning: old-style function definition [-Wold-style-definition] 71 | Void oldsegup(LINK) | ^~~~~~~~ oldsegup.c:73:1: error: number of arguments doesn't match prototype 73 | { | ^ comlike.c:1963:12: warning: old-style function definition [-Wold-style-definition] 1963 | Local Void mem_cleanup(p) | ^~~~~~~~~~~ commondefs.h:1172:13: error: prototype declaration 1172 | extern void oldsegup(); | ^~~~~~~~ oldsegup.c:80:3: error: too many arguments to function 'initseg'; expected 0, have 1 80 | initseg(LINK); | ^~~~~~~ ~~~~ iostuff.c: In function 'read_till_blank_line': commondefs.h:1147:13: note: declared here 1147 | extern void initseg(); | ^~~~~~~ cominputcode.c:1955:5: error: too many arguments to function 'inputerror'; expected 0, have 4 1955 | inputerror(35L, V.system, (int)riskall, LINK->LINK); | ^~~~~~~~~~ ~~~ iostuff.c:258:12: warning: old-style function definition [-Wold-style-definition] 258 | static int read_till_blank_line(infile) | ^~~~~~~~~~~~~~~~~~~~ comlike.c: In function 'mem_prob': comlike.c:1976:12: warning: old-style function definition [-Wold-style-definition] 1976 | Local Void mem_prob(p) | ^~~~~~~~ cominputcode.c:342:6: note: declared here 342 | Void inputerror(nerror, par1, par2, LINK) | ^~~~~~~~~~ comlike.c: In function 'mem_initseg': comlike.c:1990:12: warning: old-style function definition [-Wold-style-definition] 1990 | Local Void mem_initseg(father, mother) | ^~~~~~~~~~~ ilink.c:786:7: error: too many arguments to function 'invert'; expected 0, have 3 786 | invert(WITH->UU.U1.vmat, WITH->UU.U1.ntrait, &WITH->UU.U1.det); | ^~~~~~ ~~~~~~~~~~~~~~~~ comnuclear.c:1410:3: error: too many arguments to function 'cleanup'; expected 0, have 2 1410 | cleanup(LINK->p, LINK->LINK); | ^~~~~~~ ~~~~~~~ commondefs.h:1145:13: note: declared here 1145 | extern void invert(); | ^~~~~~ commondefs.h:1146:13: note: declared here 1146 | extern void cleanup(); | ^~~~~~~ loinputcode.c:1437:9: error: too many arguments to function 'inputerror'; expected 0, have 4 1437 | inputerror(33L, LINK->system, LINK->system, LINK->LINK->LINK); | ^~~~~~~~~~ ~~~ cominputcode.c:1957:5: error: too many arguments to function 'inputerror'; expected 0, have 4 1957 | inputerror(36L, V.system, (int)riskall, LINK->LINK); | ^~~~~~~~~~ ~~~ lodscore.c:683:7: error: too many arguments to function 'invert'; expected 0, have 3 683 | invert(WITH1->UU.U1.vmat, WITH1->UU.U1.ntrait, &WITH1->UU.U1.det); | ^~~~~~ ~~~~~~~~~~~~~~~~~ comnuclear.c:1411:3: error: too many arguments to function 'cleanup'; expected 0, have 2 1411 | cleanup(LINK->q, LINK->LINK); | ^~~~~~~ ~~~~~~~ commondefs.h:1145:13: note: declared here 1145 | extern void invert(); | ^~~~~~ commondefs.h:1146:13: note: declared here 1146 | extern void cleanup(); | ^~~~~~~ cominputcode.c:342:6: note: declared here 342 | Void inputerror(nerror, par1, par2, LINK) | ^~~~~~~~~~ comnuclear.c:1412:3: error: too many arguments to function 'exitseg'; expected 0, have 1 1412 | exitseg(LINK); | ^~~~~~~ ~~~~ loinputcode.c:611:6: note: declared here 611 | Void inputerror(nerror, par1, par2, LINK) | ^~~~~~~~~~ commondefs.h:1148:13: note: declared here 1148 | extern void exitseg(); | ^~~~~~~ iostuff.c: In function 'foundped': oldsegup.c:104:3: error: too many arguments to function 'cleanup'; expected 0, have 2 104 | cleanup(LINK->q, LINK->LINK); | ^~~~~~~ ~~~~~~~ commondefs.h:1146:13: note: declared here 1146 | extern void cleanup(); | ^~~~~~~ iostuff.c:329:7: error: too many arguments to function 'malloc_err'; expected 0, have 1 329 | malloc_err("tmp_ped_list"); | ^~~~~~~~~~ ~~~~~~~~~~~~~~ In file included from gemdefs.h:17, from cominputcode.c:25: commondefs.h:1166:15: error: conflicting types for 'mapfunction'; have 'double(void)' 1166 | extern double mapfunction(); | ^~~~~~~~~~~ commondefs.h:1067:8: note: previous declaration of 'mapfunction' with type 'double(double, double)' 1067 | double mapfunction(double, double); | ^~~~~~~~~~~ oldsegup.c:105:3: error: too many arguments to function 'exitseg'; expected 0, have 1 105 | exitseg(LINK); | ^~~~~~~ ~~~~ comlike.c: In function 'mem_exitseg': iostuff.c:71:6: note: declared here 71 | void malloc_err(message) | ^~~~~~~~~~ commondefs.h:1167:15: error: conflicting types for 'getdist'; have 'double(void)' 1167 | extern double getdist(); | ^~~~~~~ commondefs.h:1068:8: note: previous declaration of 'getdist' with type 'double(double *)' 1068 | double getdist(double*); | ^~~~~~~ commondefs.h:1148:13: note: declared here 1148 | extern void exitseg(); | ^~~~~~~ cominputcode.c: In function 'gettheta': commondefs.h:1168:15: error: conflicting types for 'invdist'; have 'double(void)' 1168 | extern double invdist(); | ^~~~~~~ comlike.c:2016:12: warning: old-style function definition [-Wold-style-definition] 2016 | Local Void mem_exitseg(father, mother) | ^~~~~~~~~~~ commondefs.h:1069:8: note: previous declaration of 'invdist' with type 'double(double *)' 1069 | double invdist(double*); | ^~~~~~~ loinputcode.c:1443:3: error: too many arguments to function 'invert'; expected 0, have 3 1443 | invert(WITH->UU.U1.vmat, WITH->UU.U1.ntrait, &WITH->UU.U1.det); | ^~~~~~ ~~~~~~~~~~~~~~~~ commondefs.h:1173:13: error: conflicting types for 'malloc_err'; have 'void(void)' 1173 | extern void malloc_err(); | ^~~~~~~~~~ commondefs.h:1145:13: note: declared here 1145 | extern void invert(); | ^~~~~~ commondefs.h:1021:6: note: previous declaration of 'malloc_err' with type 'void(char *)' 1021 | void malloc_err(char*); | ^~~~~~~~~~ commondefs.h:1174:12: error: conflicting types for 'P_eof'; have 'int(void)' 1174 | extern int P_eof(); | ^~~~~ comnuclear.c: In function 'msegdown': commondefs.h:1022:5: note: previous declaration of 'P_eof' with type 'int(FILE *)' 1022 | int P_eof(FILE*); | ^~~~~ iostuff.c:346:3: error: too many arguments to function 'malloc_err'; expected 0, have 1 346 | malloc_err("pedidx2num"); | ^~~~~~~~~~ ~~~~~~~~~~~~ commondefs.h:1175:12: error: conflicting types for 'P_eoln'; have 'int(void)' 1175 | extern int P_eoln(); | ^~~~~~ comnuclear.c: In function 'msegsexdown': comnuclear.c:1416:6: warning: old-style function definition [-Wold-style-definition] 1416 | Void msegdown(LINK) | ^~~~~~~~ commondefs.h:1023:5: note: previous declaration of 'P_eoln' with type 'int(FILE *)' 1023 | int P_eoln(FILE*); | ^~~~~~ comnuclear.c:1418:1: error: number of arguments doesn't match prototype 1418 | { | ^ comnuclear.c:1320:6: warning: old-style function definition [-Wold-style-definition] 1320 | Void msegsexdown(LINK) | ^~~~~~~~~~~ iostuff.c:71:6: note: declared here 71 | void malloc_err(message) | ^~~~~~~~~~ commondefs.h:1165:13: error: prototype declaration 1165 | extern void msegdown(); | ^~~~~~~~ commondefs.h:1184:17: error: conflicting types for 'MakeMask'; have 'unsigned int(void)' 1184 | extern unsigned MakeMask(); | ^~~~~~~~ comnuclear.c:1322:1: error: number of arguments doesn't match prototype 1322 | { | ^ commondefs.h:1024:10: note: previous declaration of 'MakeMask' with type 'unsigned int(int, int)' 1024 | unsigned MakeMask(int start, int end); | ^~~~~~~~ cominputcode.c:1961:6: warning: old-style function definition [-Wold-style-definition] 1961 | Void gettheta(sex_, LINK) | ^~~~~~~~ comlike.c: In function 'mem_segup': commondefs.h:1164:13: error: prototype declaration 1164 | extern void msegsexdown(); | ^~~~~~~~~~~ commondefs.h:1185:13: error: conflicting types for 'getlocus'; have 'void(void)' 1185 | extern void getlocus(); | ^~~~~~~~ commondefs.h:1025:6: note: previous declaration of 'getlocus' with type 'void(long int, struct LOC_readloci *)' 1025 | void getlocus(long, struct LOC_readloci*); | ^~~~~~~~ comlike.c:2029:12: warning: old-style function definition [-Wold-style-definition] 2029 | Local Void mem_segup(p, q, child) | ^~~~~~~~~ commondefs.h:1186:13: error: conflicting types for 'inputerror'; have 'void(void)' 1186 | extern void inputerror(); | ^~~~~~~~~~ commondefs.h:1026:6: note: previous declaration of 'inputerror' with type 'void(long int, long int, long int, struct LOC_inputdata *)' 1026 | void inputerror(long, long, long, struct LOC_inputdata*); | ^~~~~~~~~~ loinputcode.c:1448:5: error: too many arguments to function 'inputerror'; expected 0, have 4 1448 | inputerror(34L, LINK->system, LINK->system, LINK->LINK->LINK); | ^~~~~~~~~~ ~~~ commondefs.h:1187:13: error: conflicting types for 'inputwarning'; have 'void(void)' 1187 | extern void inputwarning(); | ^~~~~~~~~~~~ commondefs.h:1027:6: note: previous declaration of 'inputwarning' with type 'void(long int, long int, long int, struct LOC_inputdata *)' 1027 | void inputwarning(long, long, long, struct LOC_inputdata*); | ^~~~~~~~~~~~ comnuclear.c:1430:3: error: too many arguments to function 'initseg'; expected 0, have 1 1430 | initseg(LINK); | ^~~~~~~ ~~~~ commondefs.h:1191:13: error: conflicting types for 'readped'; have 'void(void)' 1191 | extern void readped(); | ^~~~~~~ commondefs.h:1147:13: note: declared here 1147 | extern void initseg(); | ^~~~~~~ commondefs.h:1028:6: note: previous declaration of 'readped' with type 'void(struct LOC_inputdata *)' 1028 | void readped(struct LOC_inputdata*); | ^~~~~~~ comnuclear.c:1334:3: error: too many arguments to function 'initseg'; expected 0, have 1 1334 | initseg(LINK); | ^~~~~~~ ~~~~ commondefs.h:1147:13: note: declared here 1147 | extern void initseg(); | ^~~~~~~ loinputcode.c:611:6: note: declared here 611 | Void inputerror(nerror, par1, par2, LINK) | ^~~~~~~~~~ iostuff.c: In function 'init_ped_loc_all': comlike.c: In function 'computenumhaps': cominputcode.c:1979:5: error: too many arguments to function 'malloc_err'; expected 0, have 1 1979 | malloc_err("item of type thetavalues"); | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~ iostuff.c:403:3: error: too many arguments to function 'malloc_err'; expected 0, have 1 403 | malloc_err("ped_loc_all"); | ^~~~~~~~~~ ~~~~~~~~~~~~~ commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ comlike.c:467:5: error: too many arguments to function 'malloc_err'; expected 0, have 1 467 | malloc_err("patternmatrix"); | ^~~~~~~~~~ ~~~~~~~~~~~~~~~ iostuff.c:71:6: note: declared here 71 | void malloc_err(message) | ^~~~~~~~~~ commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ cominputcode.c:1983:5: error: too many arguments to function 'malloc_err'; expected 0, have 1 1983 | malloc_err("a segprob array in procedure gettheta"); | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ comlike.c: In function 'mem_segdown': commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ loinputcode.c: At top level: comlike.c:2069:12: warning: old-style function definition [-Wold-style-definition] 2069 | Local Void mem_segdown(p, q, child) | ^~~~~~~~~~~ lodscore.c:747:16: error: too many arguments to function 'getdist'; expected 0, have 1 747 | dist = getdist(&maletheta->theta[i]); | ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~ loinputcode.c:1457:6: error: conflicting types for 'getlocus'; have 'void(void)' 1457 | Void getlocus(system_, LINK) | ^~~~~~~~ cominputcode.c: In function 'checkrare': commondefs.h:1025:6: note: previous declaration of 'getlocus' with type 'void(long int, struct LOC_readloci *)' 1025 | void getlocus(long, struct LOC_readloci*); | ^~~~~~~~ loinputcode.c: In function 'getlocus': loinputcode.c:1457:6: warning: old-style function definition [-Wold-style-definition] 1457 | Void getlocus(system_, LINK) | ^~~~~~~~ lodscore.c:227:8: note: declared here 227 | double getdist(theta) | ^~~~~~~ cominputcode.c:38:15: warning: old-style function definition [-Wold-style-definition] 38 | Local boolean checkrare(LINK) | ^~~~~~~~~ comlike.c: In function 'allocategenetables': lodscore.c:749:18: error: too many arguments to function 'getdist'; expected 0, have 1 749 | dist = getdist(&femaletheta->theta[i]) / dist; | ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~ loinputcode.c:1471:5: error: too many arguments to function 'malloc_err'; expected 0, have 1 1471 | malloc_err("holdlocus entry"); | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~ commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ comlike.c: In function 'mem_collapseup': comlike.c:2103:12: warning: old-style function definition [-Wold-style-definition] 2103 | Local Void mem_collapseup(p) | ^~~~~~~~~~~~~~ cominputcode.c: In function 'checkrisk': cominputcode.c:57:12: warning: old-style function definition [-Wold-style-definition] 57 | Local Void checkrisk(riskhet, riskhom, LINK) | ^~~~~~~~~ comlike.c:516:5: error: too many arguments to function 'recompute_haps'; expected 0, have 2 516 | recompute_haps(ped, false); | ^~~~~~~~~~~~~~ ~~~ comlike.c:361:6: note: declared here 361 | void recompute_haps(pedix, wantlocations) | ^~~~~~~~~~~~~~ lodscore.c:227:8: note: declared here 227 | double getdist(theta) | ^~~~~~~ loinputcode.c:1477:5: error: too many arguments to function 'inputerror'; expected 0, have 4 1477 | inputerror(5L, V.system, LINK->whichtype, LINK->LINK); | ^~~~~~~~~~ ~~ cominputcode.c: In function 'gethapn': cominputcode.c:75:12: warning: old-style function definition [-Wold-style-definition] 75 | Local long gethapn(hap, LINK) | ^~~~~~~ comlike.c:2120:7: error: too many arguments to function 'mem_collapsedown'; expected 0, have 1 2120 | mem_collapsedown(q); | ^~~~~~~~~~~~~~~~ ~ comlike.c:1961:13: note: declared here 1961 | static void mem_collapsedown(); | ^~~~~~~~~~~~~~~~ loinputcode.c:611:6: note: declared here 611 | Void inputerror(nerror, par1, par2, LINK) | ^~~~~~~~~~ comlike.c:537:5: error: too many arguments to function 'malloc_err'; expected 0, have 1 537 | malloc_err("indpool"); | ^~~~~~~~~~ ~~~~~~~~~ commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ ilink.c:905:16: error: too many arguments to function 'getdist'; expected 0, have 1 905 | dist = getdist(&maletheta->theta[i]); | ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~ cominputcode.c: In function 'setrisk': commondefs.h:1167:15: note: declared here 1167 | extern double getdist(); | ^~~~~~~ cominputcode.c:92:12: warning: old-style function definition [-Wold-style-definition] 92 | Local Void setrisk(LINK) | ^~~~~~~ cominputcode.c: In function 'inputdata': ilink.c:907:18: error: too many arguments to function 'getdist'; expected 0, have 1 907 | dist = getdist(&femaletheta->theta[i]) / dist; | ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~ commondefs.h:1167:15: note: declared here 1167 | extern double getdist(); | ^~~~~~~ loinputcode.c:1479:5: error: too many arguments to function 'inputerror'; expected 0, have 4 1479 | inputerror(6L, V.system, WITH->nallele, LINK->LINK); | ^~~~~~~~~~ ~~ cominputcode.c: In function 'getriskhap': cominputcode.c:104:12: warning: old-style function definition [-Wold-style-definition] 104 | Local Void getriskhap(system, LINK) | ^~~~~~~~~~ cominputcode.c:2035:3: error: too many arguments to function 'readped'; expected 0, have 1 2035 | readped(&V); | ^~~~~~~ ~~ comlike.c:542:5: error: too many arguments to function 'malloc_err'; expected 0, have 1 542 | malloc_err("invpool"); | ^~~~~~~~~~ ~~~~~~~~~ cominputcode.c:1482:6: note: declared here 1482 | Void readped(LINK) | ^~~~~~~ comlike.c:2139:9: error: too many arguments to function 'mem_collapsedown'; expected 0, have 1 2139 | mem_collapsedown(p); | ^~~~~~~~~~~~~~~~ ~ comlike.c:1961:13: note: declared here 1961 | static void mem_collapsedown(); | ^~~~~~~~~~~~~~~~ loinputcode.c:611:6: note: declared here 611 | Void inputerror(nerror, par1, par2, LINK) | ^~~~~~~~~~ commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ cominputcode.c: In function 'domalerisk': cominputcode.c:123:12: warning: old-style function definition [-Wold-style-definition] 123 | Local Void domalerisk(LINK) | ^~~~~~~~~~ ilink.c:913:16: error: too many arguments to function 'getdist'; expected 0, have 1 913 | dist = getdist(&maletheta->theta[mlocus - 1]); | ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cominputcode.c: In function 'setmutation': cominputcode.c:137:12: warning: old-style function definition [-Wold-style-definition] 137 | Local Void setmutation(LINK) | ^~~~~~~~~~~ loinputcode.c:1481:5: error: too many arguments to function 'inputerror'; expected 0, have 4 1481 | inputerror(7L, V.system, WITH->nallele, LINK->LINK); | ^~~~~~~~~~ ~~ commondefs.h:1167:15: note: declared here 1167 | extern double getdist(); | ^~~~~~~ comlike.c:547:5: error: too many arguments to function 'malloc_err'; expected 0, have 1 547 | malloc_err("nextpool"); | ^~~~~~~~~~ ~~~~~~~~~~ commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ comlike.c: In function 'mem_collapsedown': ilink.c:915:18: error: too many arguments to function 'getdist'; expected 0, have 1 915 | dist = getdist(&femaletheta->theta[mlocus - 1]) / dist; | ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ commondefs.h:1167:15: note: declared here 1167 | extern double getdist(); | ^~~~~~~ comlike.c:2149:12: warning: old-style function definition [-Wold-style-definition] 2149 | Local Void mem_collapsedown(p) | ^~~~~~~~~~~~~~~~ comlike.c:553:5: error: too many arguments to function 'malloc_err'; expected 0, have 1 553 | malloc_err("genenumber"); | ^~~~~~~~~~ ~~~~~~~~~~~~ commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ loinputcode.c:611:6: note: declared here 611 | Void inputerror(nerror, par1, par2, LINK) | ^~~~~~~~~~ comlike.c:557:7: error: too many arguments to function 'malloc_err'; expected 0, have 1 557 | malloc_err("Entry in genenumber"); | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~ commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ comnuclear.c:1410:3: error: too many arguments to function 'cleanup'; expected 0, have 2 1410 | cleanup(LINK->p, LINK->LINK); | ^~~~~~~ ~~~~~~~ lodscore.c: In function 'firststep': commondefs.h:1146:13: note: declared here 1146 | extern void cleanup(); | ^~~~~~~ comlike.c: In function 'maxw_estimation': comlike.c:575:5: error: too many arguments to function 'malloc_err'; expected 0, have 1 575 | malloc_err("base"); | ^~~~~~~~~~ ~~~~~~ commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ comlike.c:2198:7: error: too many arguments to function 'mem_collapsedown'; expected 0, have 1 2198 | mem_collapsedown(proband[ped - 1]); | ^~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ comnuclear.c:1411:3: error: too many arguments to function 'cleanup'; expected 0, have 2 1411 | cleanup(LINK->q, LINK->LINK); | ^~~~~~~ ~~~~~~~ lodscore.c:834:12: warning: old-style function definition [-Wold-style-definition] 834 | Local Void firststep(LINK) | ^~~~~~~~~ loinputcode.c:1511:9: error: too many arguments to function 'malloc_err'; expected 0, have 1 1511 | malloc_err("privlocus field"); | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~ comlike.c:2149:12: note: declared here 2149 | Local Void mem_collapsedown(p) | ^~~~~~~~~~~~~~~~ In file included from mlink.c:10: commondefs.h:1166:15: error: conflicting types for 'mapfunction'; have 'double(void)' 1166 | extern double mapfunction(); | ^~~~~~~~~~~ commondefs.h:1146:13: note: declared here 1146 | extern void cleanup(); | ^~~~~~~ commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ comnuclear.c:1412:3: error: too many arguments to function 'exitseg'; expected 0, have 1 1412 | exitseg(LINK); | ^~~~~~~ ~~~~ commondefs.h:1067:8: note: previous declaration of 'mapfunction' with type 'double(double, double)' 1067 | double mapfunction(double, double); | ^~~~~~~~~~~ comlike.c:578:5: error: too many arguments to function 'malloc_err'; expected 0, have 1 578 | malloc_err("fence"); | ^~~~~~~~~~ ~~~~~~~ commondefs.h:1148:13: note: declared here 1148 | extern void exitseg(); | ^~~~~~~ commondefs.h:1167:15: error: conflicting types for 'getdist'; have 'double(void)' 1167 | extern double getdist(); | ^~~~~~~ commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ commondefs.h:1068:8: note: previous declaration of 'getdist' with type 'double(double *)' 1068 | double getdist(double*); | ^~~~~~~ commondefs.h:1168:15: error: conflicting types for 'invdist'; have 'double(void)' 1168 | extern double invdist(); | ^~~~~~~ lodscore.c:844:5: error: too many arguments to function 'performCheckpoint'; expected 0, have 3 844 | performCheckpoint ( functionLocation , funCallPath , LINK -> cont ) ; | ^~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ commondefs.h:1069:8: note: previous declaration of 'invdist' with type 'double(double *)' 1069 | double invdist(double*); | ^~~~~~~ commondefs.h:1139:13: note: declared here 1139 | extern void performCheckpoint(); | ^~~~~~~~~~~~~~~~~ commondefs.h:1173:13: error: conflicting types for 'malloc_err'; have 'void(void)' 1173 | extern void malloc_err(); | ^~~~~~~~~~ commondefs.h:1021:6: note: previous declaration of 'malloc_err' with type 'void(char *)' 1021 | void malloc_err(char*); | ^~~~~~~~~~ commondefs.h:1174:12: error: conflicting types for 'P_eof'; have 'int(void)' 1174 | extern int P_eof(); | ^~~~~ comlike.c:2207:5: error: too many arguments to function 'mem_collapsedown'; expected 0, have 1 2207 | mem_collapsedown(proband[ped - 1]); | ^~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ commondefs.h:1022:5: note: previous declaration of 'P_eof' with type 'int(FILE *)' 1022 | int P_eof(FILE*); | ^~~~~ comlike.c:581:5: error: too many arguments to function 'malloc_err'; expected 0, have 1 581 | malloc_err("invgenenum1"); | ^~~~~~~~~~ ~~~~~~~~~~~~~ comlike.c:2149:12: note: declared here 2149 | Local Void mem_collapsedown(p) | ^~~~~~~~~~~~~~~~ commondefs.h:1175:12: error: conflicting types for 'P_eoln'; have 'int(void)' 1175 | extern int P_eoln(); | ^~~~~~ commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ commondefs.h:1023:5: note: previous declaration of 'P_eoln' with type 'int(FILE *)' 1023 | int P_eoln(FILE*); | ^~~~~~ lodscore.c:851:7: error: too many arguments to function 'recoverCheckpoint'; expected 0, have 1 851 | recoverCheckpoint ( & LINK -> cont ) ; | ^~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~ commondefs.h:1140:13: note: declared here 1140 | extern void recoverCheckpoint (); | ^~~~~~~~~~~~~~~~~ commondefs.h:1184:17: error: conflicting types for 'MakeMask'; have 'unsigned int(void)' 1184 | extern unsigned MakeMask(); | ^~~~~~~~ commondefs.h:1024:10: note: previous declaration of 'MakeMask' with type 'unsigned int(int, int)' 1024 | unsigned MakeMask(int start, int end); | ^~~~~~~~ comnuclear.c: In function 'msegdown': commondefs.h:1185:13: error: conflicting types for 'getlocus'; have 'void(void)' 1185 | extern void getlocus(); | ^~~~~~~~ comnuclear.c:1416:6: warning: old-style function definition [-Wold-style-definition] 1416 | Void msegdown(LINK) | ^~~~~~~~ commondefs.h:1025:6: note: previous declaration of 'getlocus' with type 'void(long int, struct LOC_readloci *)' 1025 | void getlocus(long, struct LOC_readloci*); | ^~~~~~~~ comlike.c:584:5: error: too many arguments to function 'malloc_err'; expected 0, have 1 584 | malloc_err("invgenenum2"); | ^~~~~~~~~~ ~~~~~~~~~~~~~ comnuclear.c:1418:1: error: number of arguments doesn't match prototype 1418 | { | ^ commondefs.h:1186:13: error: conflicting types for 'inputerror'; have 'void(void)' 1186 | extern void inputerror(); | ^~~~~~~~~~ commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ commondefs.h:1026:6: note: previous declaration of 'inputerror' with type 'void(long int, long int, long int, struct LOC_inputdata *)' 1026 | void inputerror(long, long, long, struct LOC_inputdata*); | ^~~~~~~~~~ commondefs.h:1165:13: error: prototype declaration 1165 | extern void msegdown(); | ^~~~~~~~ comnuclear.c:1526:3: error: too many arguments to function 'cleanup'; expected 0, have 2 1526 | cleanup(LINK->p, LINK->LINK); | ^~~~~~~ ~~~~~~~ commondefs.h:1187:13: error: conflicting types for 'inputwarning'; have 'void(void)' 1187 | extern void inputwarning(); | ^~~~~~~~~~~~ commondefs.h:1027:6: note: previous declaration of 'inputwarning' with type 'void(long int, long int, long int, struct LOC_inputdata *)' 1027 | void inputwarning(long, long, long, struct LOC_inputdata*); | ^~~~~~~~~~~~ commondefs.h:1146:13: note: declared here 1146 | extern void cleanup(); | ^~~~~~~ commondefs.h:1191:13: error: conflicting types for 'readped'; have 'void(void)' 1191 | extern void readped(); | ^~~~~~~ commondefs.h:1028:6: note: previous declaration of 'readped' with type 'void(struct LOC_inputdata *)' 1028 | void readped(struct LOC_inputdata*); | ^~~~~~~ cominputcode.c: In function 'getmuthap': comlike.c:587:5: error: too many arguments to function 'malloc_err'; expected 0, have 1 587 | malloc_err("segstart"); | ^~~~~~~~~~ ~~~~~~~~~~ comnuclear.c:1527:3: error: too many arguments to function 'cleanup'; expected 0, have 2 1527 | cleanup(LINK->q, LINK->LINK); | ^~~~~~~ ~~~~~~~ cominputcode.c:153:12: warning: old-style function definition [-Wold-style-definition] 153 | Local Void getmuthap(system, LINK) | ^~~~~~~~~ commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ commondefs.h:1146:13: note: declared here 1146 | extern void cleanup(); | ^~~~~~~ lodscore.c: In function 'decreaset': comnuclear.c:1430:3: error: too many arguments to function 'initseg'; expected 0, have 1 1430 | initseg(LINK); | ^~~~~~~ ~~~~ commondefs.h:1147:13: note: declared here 1147 | extern void initseg(); | ^~~~~~~ lodscore.c:868:12: warning: old-style function definition [-Wold-style-definition] 868 | Local Void decreaset(LINK) | ^~~~~~~~~ comnuclear.c:1528:3: error: too many arguments to function 'exitseg'; expected 0, have 1 1528 | exitseg(LINK); | ^~~~~~~ ~~~~ commondefs.h:1148:13: note: declared here 1148 | extern void exitseg(); | ^~~~~~~ comlike.c:590:5: error: too many arguments to function 'malloc_err'; expected 0, have 1 590 | malloc_err("probstart"); | ^~~~~~~~~~ ~~~~~~~~~~~ cominputcode.c: In function 'domutation': commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ cominputcode.c:172:12: warning: old-style function definition [-Wold-style-definition] 172 | Local Void domutation(LINK) | ^~~~~~~~~~ lodscore.c:878:5: error: too many arguments to function 'performCheckpoint'; expected 0, have 3 878 | performCheckpoint ( functionLocation , funCallPath , LINK -> cont ) ; | ^~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ commondefs.h:1139:13: note: declared here 1139 | extern void performCheckpoint(); | ^~~~~~~~~~~~~~~~~ cominputcode.c: In function 'setnumbers': cominputcode.c:181:12: warning: old-style function definition [-Wold-style-definition] 181 | Local Void setnumbers(LINK) | ^~~~~~~~~~ comlike.c:593:5: error: too many arguments to function 'malloc_err'; expected 0, have 1 593 | malloc_err("probend"); | ^~~~~~~~~~ ~~~~~~~~~ commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ lodscore.c:885:7: error: too many arguments to function 'recoverCheckpoint'; expected 0, have 1 885 | recoverCheckpoint ( & LINK -> cont ) ; | ^~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~ commondefs.h:1140:13: note: declared here 1140 | extern void recoverCheckpoint (); | ^~~~~~~~~~~~~~~~~ comlike.c:596:5: error: too many arguments to function 'malloc_err'; expected 0, have 1 596 | malloc_err("rare"); | ^~~~~~~~~~ ~~~~~~ commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ loinputcode.c:1584:5: error: too many arguments to function 'inputerror'; expected 0, have 4 1584 | inputerror(35L, LINK->i, (long)riskall, LINK->LINK); | ^~~~~~~~~~ ~~~ ilink.c: In function 'firststep': comlike.c:600:7: error: too many arguments to function 'malloc_err'; expected 0, have 1 600 | malloc_err("risk1"); | ^~~~~~~~~~ ~~~~~~~ commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ loinputcode.c:611:6: note: declared here 611 | Void inputerror(nerror, par1, par2, LINK) | ^~~~~~~~~~ ilink.c:1007:12: warning: old-style function definition [-Wold-style-definition] 1007 | Local Void firststep(LINK) | ^~~~~~~~~ cominputcode.c: In function 'hapscr': comlike.c:603:7: error: too many arguments to function 'malloc_err'; expected 0, have 1 603 | malloc_err("risk2"); | ^~~~~~~~~~ ~~~~~~~ In file included from cominputcode.c:21: commondefs.h:1166:15: error: conflicting types for 'mapfunction'; have 'double(void)' 1166 | extern double mapfunction(); | ^~~~~~~~~~~ cominputcode.c:216:12: warning: old-style function definition [-Wold-style-definition] 216 | Local Void hapscr(system, nscramble, LINK) | ^~~~~~ commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ commondefs.h:1067:8: note: previous declaration of 'mapfunction' with type 'double(double, double)' 1067 | double mapfunction(double, double); | ^~~~~~~~~~~ In file included from gemdefs.h:17, from mlink.c:11: commondefs.h:1166:15: error: conflicting types for 'mapfunction'; have 'double(void)' 1166 | extern double mapfunction(); | ^~~~~~~~~~~ comlike.c:606:7: error: too many arguments to function 'malloc_err'; expected 0, have 1 606 | malloc_err("riskmale"); | ^~~~~~~~~~ ~~~~~~~~~~ ilink.c:1017:5: error: too many arguments to function 'performCheckpoint'; expected 0, have 3 1017 | performCheckpoint ( functionLocation , funCallPath , LINK -> cont ) ; | ^~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ commondefs.h:1067:8: note: previous declaration of 'mapfunction' with type 'double(double, double)' 1067 | double mapfunction(double, double); | ^~~~~~~~~~~ commondefs.h:1139:13: note: declared here 1139 | extern void performCheckpoint(); | ^~~~~~~~~~~~~~~~~ commondefs.h:1167:15: error: conflicting types for 'getdist'; have 'double(void)' 1167 | extern double getdist(); | ^~~~~~~ loinputcode.c:1586:5: error: too many arguments to function 'inputerror'; expected 0, have 4 1586 | inputerror(36L, LINK->i, (long)riskall, LINK->LINK); | ^~~~~~~~~~ ~~~ commondefs.h:1068:8: note: previous declaration of 'getdist' with type 'double(double *)' 1068 | double getdist(double*); | ^~~~~~~ commondefs.h:1168:15: error: conflicting types for 'invdist'; have 'double(void)' 1168 | extern double invdist(); | ^~~~~~~ comlike.c:611:7: error: too many arguments to function 'malloc_err'; expected 0, have 1 611 | malloc_err("muthap"); | ^~~~~~~~~~ ~~~~~~~~ commondefs.h:1069:8: note: previous declaration of 'invdist' with type 'double(double *)' 1069 | double invdist(double*); | ^~~~~~~ ilink.c:1024:7: error: too many arguments to function 'recoverCheckpoint'; expected 0, have 1 1024 | recoverCheckpoint ( & LINK -> cont ) ; | ^~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~ commondefs.h:1167:15: error: conflicting types for 'getdist'; have 'double(void)' 1167 | extern double getdist(); | ^~~~~~~ commondefs.h:1173:13: error: conflicting types for 'malloc_err'; have 'void(void)' 1173 | extern void malloc_err(); | ^~~~~~~~~~ commondefs.h:1140:13: note: declared here 1140 | extern void recoverCheckpoint (); | ^~~~~~~~~~~~~~~~~ loinputcode.c:611:6: note: declared here 611 | Void inputerror(nerror, par1, par2, LINK) | ^~~~~~~~~~ commondefs.h:1068:8: note: previous declaration of 'getdist' with type 'double(double *)' 1068 | double getdist(double*); | ^~~~~~~ commondefs.h:1021:6: note: previous declaration of 'malloc_err' with type 'void(char *)' 1021 | void malloc_err(char*); | ^~~~~~~~~~ commondefs.h:1168:15: error: conflicting types for 'invdist'; have 'double(void)' 1168 | extern double invdist(); | ^~~~~~~ commondefs.h:1069:8: note: previous declaration of 'invdist' with type 'double(double *)' 1069 | double invdist(double*); | ^~~~~~~ commondefs.h:1174:12: error: conflicting types for 'P_eof'; have 'int(void)' 1174 | extern int P_eof(); | ^~~~~ commondefs.h:1022:5: note: previous declaration of 'P_eof' with type 'int(FILE *)' 1022 | int P_eof(FILE*); | ^~~~~ commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ commondefs.h:1175:12: error: conflicting types for 'P_eoln'; have 'int(void)' 1175 | extern int P_eoln(); | ^~~~~~ cominputcode.c: In function 'sethap': cominputcode.c:244:12: warning: old-style function definition [-Wold-style-definition] 244 | Local Void sethap(system, LINK) | ^~~~~~ commondefs.h:1173:13: error: conflicting types for 'malloc_err'; have 'void(void)' 1173 | extern void malloc_err(); | ^~~~~~~~~~ In file included from comrec.c:17: commondefs.h:1166:15: error: conflicting types for 'mapfunction'; have 'double(void)' 1166 | extern double mapfunction(); | ^~~~~~~~~~~ commondefs.h:1021:6: note: previous declaration of 'malloc_err' with type 'void(char *)' 1021 | void malloc_err(char*); | ^~~~~~~~~~ commondefs.h:1023:5: note: previous declaration of 'P_eoln' with type 'int(FILE *)' 1023 | int P_eoln(FILE*); | ^~~~~~ commondefs.h:1174:12: error: conflicting types for 'P_eof'; have 'int(void)' 1174 | extern int P_eof(); | ^~~~~ commondefs.h:1067:8: note: previous declaration of 'mapfunction' with type 'double(double, double)' 1067 | double mapfunction(double, double); | ^~~~~~~~~~~ commondefs.h:1022:5: note: previous declaration of 'P_eof' with type 'int(FILE *)' 1022 | int P_eof(FILE*); | ^~~~~ loinputcode.c: In function 'gettheta': ilink.c: In function 'decreaset': commondefs.h:1167:15: error: conflicting types for 'getdist'; have 'double(void)' 1167 | extern double getdist(); | ^~~~~~~ commondefs.h:1175:12: error: conflicting types for 'P_eoln'; have 'int(void)' 1175 | extern int P_eoln(); | ^~~~~~ comlike.c:616:5: error: too many arguments to function 'malloc_err'; expected 0, have 1 616 | malloc_err("haps1"); | ^~~~~~~~~~ ~~~~~~~ commondefs.h:1023:5: note: previous declaration of 'P_eoln' with type 'int(FILE *)' 1023 | int P_eoln(FILE*); | ^~~~~~ commondefs.h:1068:8: note: previous declaration of 'getdist' with type 'double(double *)' 1068 | double getdist(double*); | ^~~~~~~ ilink.c:1044:12: warning: old-style function definition [-Wold-style-definition] 1044 | Local Void decreaset(LINK) | ^~~~~~~~~ commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ commondefs.h:1184:17: error: conflicting types for 'MakeMask'; have 'unsigned int(void)' 1184 | extern unsigned MakeMask(); | ^~~~~~~~ commondefs.h:1168:15: error: conflicting types for 'invdist'; have 'double(void)' 1168 | extern double invdist(); | ^~~~~~~ commondefs.h:1069:8: note: previous declaration of 'invdist' with type 'double(double *)' 1069 | double invdist(double*); | ^~~~~~~ commondefs.h:1184:17: error: conflicting types for 'MakeMask'; have 'unsigned int(void)' 1184 | extern unsigned MakeMask(); | ^~~~~~~~ commondefs.h:1024:10: note: previous declaration of 'MakeMask' with type 'unsigned int(int, int)' 1024 | unsigned MakeMask(int start, int end); | ^~~~~~~~ commondefs.h:1024:10: note: previous declaration of 'MakeMask' with type 'unsigned int(int, int)' 1024 | unsigned MakeMask(int start, int end); | ^~~~~~~~ commondefs.h:1173:13: error: conflicting types for 'malloc_err'; have 'void(void)' 1173 | extern void malloc_err(); | ^~~~~~~~~~ commondefs.h:1185:13: error: conflicting types for 'getlocus'; have 'void(void)' 1185 | extern void getlocus(); | ^~~~~~~~ lodscore.c: In function 'increaset': loinputcode.c:1590:6: warning: old-style function definition [-Wold-style-definition] 1590 | Void gettheta(sex_, male, LINK) | ^~~~~~~~ commondefs.h:1185:13: error: conflicting types for 'getlocus'; have 'void(void)' 1185 | extern void getlocus(); | ^~~~~~~~ commondefs.h:1021:6: note: previous declaration of 'malloc_err' with type 'void(char *)' 1021 | void malloc_err(char*); | ^~~~~~~~~~ commondefs.h:1025:6: note: previous declaration of 'getlocus' with type 'void(long int, struct LOC_readloci *)' 1025 | void getlocus(long, struct LOC_readloci*); | ^~~~~~~~ commondefs.h:1025:6: note: previous declaration of 'getlocus' with type 'void(long int, struct LOC_readloci *)' 1025 | void getlocus(long, struct LOC_readloci*); | ^~~~~~~~ ilink.c:1054:5: error: too many arguments to function 'performCheckpoint'; expected 0, have 3 1054 | performCheckpoint ( functionLocation , funCallPath , LINK -> cont ) ; | ^~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ commondefs.h:1174:12: error: conflicting types for 'P_eof'; have 'int(void)' 1174 | extern int P_eof(); | ^~~~~ lodscore.c:949:12: warning: old-style function definition [-Wold-style-definition] 949 | Local Void increaset(LINK) | ^~~~~~~~~ commondefs.h:1186:13: error: conflicting types for 'inputerror'; have 'void(void)' 1186 | extern void inputerror(); | ^~~~~~~~~~ comlike.c:619:5: error: too many arguments to function 'malloc_err'; expected 0, have 1 619 | malloc_err("haps2"); | ^~~~~~~~~~ ~~~~~~~ commondefs.h:1186:13: error: conflicting types for 'inputerror'; have 'void(void)' 1186 | extern void inputerror(); | ^~~~~~~~~~ commondefs.h:1139:13: note: declared here 1139 | extern void performCheckpoint(); | ^~~~~~~~~~~~~~~~~ commondefs.h:1026:6: note: previous declaration of 'inputerror' with type 'void(long int, long int, long int, struct LOC_inputdata *)' 1026 | void inputerror(long, long, long, struct LOC_inputdata*); | ^~~~~~~~~~ commondefs.h:1022:5: note: previous declaration of 'P_eof' with type 'int(FILE *)' 1022 | int P_eof(FILE*); | ^~~~~ commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ commondefs.h:1187:13: error: conflicting types for 'inputwarning'; have 'void(void)' 1187 | extern void inputwarning(); | ^~~~~~~~~~~~ commondefs.h:1175:12: error: conflicting types for 'P_eoln'; have 'int(void)' 1175 | extern int P_eoln(); | ^~~~~~ commondefs.h:1026:6: note: previous declaration of 'inputerror' with type 'void(long int, long int, long int, struct LOC_inputdata *)' 1026 | void inputerror(long, long, long, struct LOC_inputdata*); | ^~~~~~~~~~ commondefs.h:1027:6: note: previous declaration of 'inputwarning' with type 'void(long int, long int, long int, struct LOC_inputdata *)' 1027 | void inputwarning(long, long, long, struct LOC_inputdata*); | ^~~~~~~~~~~~ commondefs.h:1023:5: note: previous declaration of 'P_eoln' with type 'int(FILE *)' 1023 | int P_eoln(FILE*); | ^~~~~~ commondefs.h:1187:13: error: conflicting types for 'inputwarning'; have 'void(void)' 1187 | extern void inputwarning(); | ^~~~~~~~~~~~ commondefs.h:1191:13: error: conflicting types for 'readped'; have 'void(void)' 1191 | extern void readped(); | ^~~~~~~ commondefs.h:1028:6: note: previous declaration of 'readped' with type 'void(struct LOC_inputdata *)' 1028 | void readped(struct LOC_inputdata*); | ^~~~~~~ commondefs.h:1027:6: note: previous declaration of 'inputwarning' with type 'void(long int, long int, long int, struct LOC_inputdata *)' 1027 | void inputwarning(long, long, long, struct LOC_inputdata*); | ^~~~~~~~~~~~ commondefs.h:1184:17: error: conflicting types for 'MakeMask'; have 'unsigned int(void)' 1184 | extern unsigned MakeMask(); | ^~~~~~~~ lodscore.c:959:5: error: too many arguments to function 'performCheckpoint'; expected 0, have 3 959 | performCheckpoint ( functionLocation , funCallPath , LINK -> cont ) ; | ^~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ cominputcode.c: In function 'starthap': ilink.c:1061:7: error: too many arguments to function 'recoverCheckpoint'; expected 0, have 1 1061 | recoverCheckpoint ( & LINK -> cont ) ; | ^~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~ commondefs.h:1024:10: note: previous declaration of 'MakeMask' with type 'unsigned int(int, int)' 1024 | unsigned MakeMask(int start, int end); | ^~~~~~~~ cominputcode.c:293:12: warning: old-style function definition [-Wold-style-definition] 293 | Local Void starthap(LINK) | ^~~~~~~~ commondefs.h:1139:13: note: declared here 1139 | extern void performCheckpoint(); | ^~~~~~~~~~~~~~~~~ commondefs.h:1185:13: error: conflicting types for 'getlocus'; have 'void(void)' 1185 | extern void getlocus(); | ^~~~~~~~ commondefs.h:1140:13: note: declared here 1140 | extern void recoverCheckpoint (); | ^~~~~~~~~~~~~~~~~ commondefs.h:1191:13: error: conflicting types for 'readped'; have 'void(void)' 1191 | extern void readped(); | ^~~~~~~ comlike.c:622:5: error: too many arguments to function 'malloc_err'; expected 0, have 1 622 | malloc_err("hind"); | ^~~~~~~~~~ ~~~~~~ commondefs.h:1025:6: note: previous declaration of 'getlocus' with type 'void(long int, struct LOC_readloci *)' 1025 | void getlocus(long, struct LOC_readloci*); | ^~~~~~~~ loinputcode.c: In function 'readloci': commondefs.h:1186:13: error: conflicting types for 'inputerror'; have 'void(void)' 1186 | extern void inputerror(); | ^~~~~~~~~~ commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ commondefs.h:1028:6: note: previous declaration of 'readped' with type 'void(struct LOC_inputdata *)' 1028 | void readped(struct LOC_inputdata*); | ^~~~~~~ commondefs.h:1026:6: note: previous declaration of 'inputerror' with type 'void(long int, long int, long int, struct LOC_inputdata *)' 1026 | void inputerror(long, long, long, struct LOC_inputdata*); | ^~~~~~~~~~ loinputcode.c:1608:12: warning: old-style function definition [-Wold-style-definition] 1608 | Local Void readloci(LINK) | ^~~~~~~~ cominputcode.c: In function 'gethet1': commondefs.h:1187:13: error: conflicting types for 'inputwarning'; have 'void(void)' 1187 | extern void inputwarning(); | ^~~~~~~~~~~~ lodscore.c:966:7: error: too many arguments to function 'recoverCheckpoint'; expected 0, have 1 966 | recoverCheckpoint ( & LINK -> cont ) ; | ^~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~ cominputcode.c:306:12: warning: old-style function definition [-Wold-style-definition] 306 | Local Void gethet1(system, LINK) | ^~~~~~~ commondefs.h:1027:6: note: previous declaration of 'inputwarning' with type 'void(long int, long int, long int, struct LOC_inputdata *)' 1027 | void inputwarning(long, long, long, struct LOC_inputdata*); | ^~~~~~~~~~~~ commondefs.h:1140:13: note: declared here 1140 | extern void recoverCheckpoint (); | ^~~~~~~~~~~~~~~~~ commondefs.h:1191:13: error: conflicting types for 'readped'; have 'void(void)' 1191 | extern void readped(); | ^~~~~~~ commondefs.h:1028:6: note: previous declaration of 'readped' with type 'void(struct LOC_inputdata *)' 1028 | void readped(struct LOC_inputdata*); | ^~~~~~~ comlike.c:626:5: error: too many arguments to function 'malloc_err'; expected 0, have 1 626 | malloc_err("nonzgens"); | ^~~~~~~~~~ ~~~~~~~~~~ commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ loinputcode.c:1622:5: error: too many arguments to function 'inputerror'; expected 0, have 4 1622 | inputerror(0L, mlocus, mlocus, LINK); | ^~~~~~~~~~ ~~ comlike.c:630:4: error: too many arguments to function 'malloc_err'; expected 0, have 1 630 | malloc_err("gene"); | ^~~~~~~~~~ ~~~~~~ commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ cominputcode.c: At top level: cominputcode.c:342:6: error: conflicting types for 'inputerror'; have 'void(void)' 342 | Void inputerror(nerror, par1, par2, LINK) | ^~~~~~~~~~ commondefs.h:1026:6: note: previous declaration of 'inputerror' with type 'void(long int, long int, long int, struct LOC_inputdata *)' 1026 | void inputerror(long, long, long, struct LOC_inputdata*); | ^~~~~~~~~~ cominputcode.c: In function 'inputerror': loinputcode.c:611:6: note: declared here 611 | Void inputerror(nerror, par1, par2, LINK) | ^~~~~~~~~~ cominputcode.c:342:6: warning: old-style function definition [-Wold-style-definition] 342 | Void inputerror(nerror, par1, par2, LINK) | ^~~~~~~~~~ comlike.c:633:5: error: too many arguments to function 'malloc_err'; expected 0, have 1 633 | malloc_err("flag"); | ^~~~~~~~~~ ~~~~~~ commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ loinputcode.c:1624:5: error: too many arguments to function 'inputerror'; expected 0, have 4 1624 | inputerror(1L, mlocus, mlocus, LINK); | ^~~~~~~~~~ ~~ loinputcode.c:611:6: note: declared here 611 | Void inputerror(nerror, par1, par2, LINK) | ^~~~~~~~~~ comlike.c:637:5: error: too many arguments to function 'malloc_err'; expected 0, have 1 637 | malloc_err("psumcache"); | ^~~~~~~~~~ ~~~~~~~~~~~ comrec.c: In function 'scramble': commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ In file included from mlinputcode.c:10: commondefs.h:1166:15: error: conflicting types for 'mapfunction'; have 'double(void)' 1166 | extern double mapfunction(); | ^~~~~~~~~~~ comrec.c:42:12: warning: old-style function definition [-Wold-style-definition] 42 | Local Void scramble(LINK) | ^~~~~~~~ commondefs.h:1067:8: note: previous declaration of 'mapfunction' with type 'double(double, double)' 1067 | double mapfunction(double, double); | ^~~~~~~~~~~ comlike.c:640:5: error: too many arguments to function 'malloc_err'; expected 0, have 1 640 | malloc_err("qsumcache"); | ^~~~~~~~~~ ~~~~~~~~~~~ commondefs.h:1167:15: error: conflicting types for 'getdist'; have 'double(void)' 1167 | extern double getdist(); | ^~~~~~~ commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ ilink.c: In function 'increaset': commondefs.h:1068:8: note: previous declaration of 'getdist' with type 'double(double *)' 1068 | double getdist(double*); | ^~~~~~~ commondefs.h:1168:15: error: conflicting types for 'invdist'; have 'double(void)' 1168 | extern double invdist(); | ^~~~~~~ commondefs.h:1069:8: note: previous declaration of 'invdist' with type 'double(double *)' 1069 | double invdist(double*); | ^~~~~~~ ilink.c:1126:12: warning: old-style function definition [-Wold-style-definition] 1126 | Local Void increaset(LINK) | ^~~~~~~~~ commondefs.h:1173:13: error: conflicting types for 'malloc_err'; have 'void(void)' 1173 | extern void malloc_err(); | ^~~~~~~~~~ commondefs.h:1021:6: note: previous declaration of 'malloc_err' with type 'void(char *)' 1021 | void malloc_err(char*); | ^~~~~~~~~~ comlike.c:649:5: error: too many arguments to function 'malloc_err'; expected 0, have 1 649 | malloc_err("phapcache1"); | ^~~~~~~~~~ ~~~~~~~~~~~~ commondefs.h:1174:12: error: conflicting types for 'P_eof'; have 'int(void)' 1174 | extern int P_eof(); | ^~~~~ commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ commondefs.h:1022:5: note: previous declaration of 'P_eof' with type 'int(FILE *)' 1022 | int P_eof(FILE*); | ^~~~~ commondefs.h:1175:12: error: conflicting types for 'P_eoln'; have 'int(void)' 1175 | extern int P_eoln(); | ^~~~~~ ilink.c:1136:5: error: too many arguments to function 'performCheckpoint'; expected 0, have 3 1136 | performCheckpoint ( functionLocation , funCallPath , LINK -> cont ) ; | ^~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ commondefs.h:1023:5: note: previous declaration of 'P_eoln' with type 'int(FILE *)' 1023 | int P_eoln(FILE*); | ^~~~~~ commondefs.h:1139:13: note: declared here 1139 | extern void performCheckpoint(); | ^~~~~~~~~~~~~~~~~ commondefs.h:1184:17: error: conflicting types for 'MakeMask'; have 'unsigned int(void)' 1184 | extern unsigned MakeMask(); | ^~~~~~~~ commondefs.h:1024:10: note: previous declaration of 'MakeMask' with type 'unsigned int(int, int)' 1024 | unsigned MakeMask(int start, int end); | ^~~~~~~~ commondefs.h:1185:13: error: conflicting types for 'getlocus'; have 'void(void)' 1185 | extern void getlocus(); | ^~~~~~~~ commondefs.h:1025:6: note: previous declaration of 'getlocus' with type 'void(long int, struct LOC_readloci *)' 1025 | void getlocus(long, struct LOC_readloci*); | ^~~~~~~~ commondefs.h:1186:13: error: conflicting types for 'inputerror'; have 'void(void)' 1186 | extern void inputerror(); | ^~~~~~~~~~ ilink.c:1143:7: error: too many arguments to function 'recoverCheckpoint'; expected 0, have 1 1143 | recoverCheckpoint ( & LINK -> cont ) ; | ^~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~ commondefs.h:1026:6: note: previous declaration of 'inputerror' with type 'void(long int, long int, long int, struct LOC_inputdata *)' 1026 | void inputerror(long, long, long, struct LOC_inputdata*); | ^~~~~~~~~~ commondefs.h:1187:13: error: conflicting types for 'inputwarning'; have 'void(void)' 1187 | extern void inputwarning(); | ^~~~~~~~~~~~ comlike.c:671:7: error: too many arguments to function 'malloc_err'; expected 0, have 1 671 | malloc_err("partialprob"); | ^~~~~~~~~~ ~~~~~~~~~~~~~ commondefs.h:1140:13: note: declared here 1140 | extern void recoverCheckpoint (); | ^~~~~~~~~~~~~~~~~ commondefs.h:1027:6: note: previous declaration of 'inputwarning' with type 'void(long int, long int, long int, struct LOC_inputdata *)' 1027 | void inputwarning(long, long, long, struct LOC_inputdata*); | ^~~~~~~~~~~~ commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ commondefs.h:1191:13: error: conflicting types for 'readped'; have 'void(void)' 1191 | extern void readped(); | ^~~~~~~ lodscore.c: In function 'prep': In file included from gemdefs.h:17, from cominputcode.c:25: commondefs.h:1166:15: error: conflicting types for 'mapfunction'; have 'double(void)' 1166 | extern double mapfunction(); | ^~~~~~~~~~~ loinputcode.c:1639:5: error: too many arguments to function 'inputerror'; expected 0, have 4 1639 | inputerror(39L, mutsys, mutsys, LINK); | ^~~~~~~~~~ ~~~ commondefs.h:1028:6: note: previous declaration of 'readped' with type 'void(struct LOC_inputdata *)' 1028 | void readped(struct LOC_inputdata*); | ^~~~~~~ commondefs.h:1067:8: note: previous declaration of 'mapfunction' with type 'double(double, double)' 1067 | double mapfunction(double, double); | ^~~~~~~~~~~ lodscore.c:1061:12: warning: old-style function definition [-Wold-style-definition] 1061 | Local Void prep(LINK) | ^~~~ commondefs.h:1167:15: error: conflicting types for 'getdist'; have 'double(void)' 1167 | extern double getdist(); | ^~~~~~~ commondefs.h:1068:8: note: previous declaration of 'getdist' with type 'double(double *)' 1068 | double getdist(double*); | ^~~~~~~ commondefs.h:1168:15: error: conflicting types for 'invdist'; have 'double(void)' 1168 | extern double invdist(); | ^~~~~~~ commondefs.h:1069:8: note: previous declaration of 'invdist' with type 'double(double *)' 1069 | double invdist(double*); | ^~~~~~~ commondefs.h:1173:13: error: conflicting types for 'malloc_err'; have 'void(void)' 1173 | extern void malloc_err(); | ^~~~~~~~~~ loinputcode.c:611:6: note: declared here 611 | Void inputerror(nerror, par1, par2, LINK) | ^~~~~~~~~~ commondefs.h:1021:6: note: previous declaration of 'malloc_err' with type 'void(char *)' 1021 | void malloc_err(char*); | ^~~~~~~~~~ commondefs.h:1174:12: error: conflicting types for 'P_eof'; have 'int(void)' 1174 | extern int P_eof(); | ^~~~~ comlike.c:677:9: error: too many arguments to function 'malloc_err'; expected 0, have 1 677 | malloc_err("Entry in partialprob"); | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~ commondefs.h:1022:5: note: previous declaration of 'P_eof' with type 'int(FILE *)' 1022 | int P_eof(FILE*); | ^~~~~ commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ commondefs.h:1175:12: error: conflicting types for 'P_eoln'; have 'int(void)' 1175 | extern int P_eoln(); | ^~~~~~ commondefs.h:1023:5: note: previous declaration of 'P_eoln' with type 'int(FILE *)' 1023 | int P_eoln(FILE*); | ^~~~~~ cominputcode.c: At top level: commondefs.h:1184:17: error: conflicting types for 'MakeMask'; have 'unsigned int(void)' 1184 | extern unsigned MakeMask(); | ^~~~~~~~ commondefs.h:1024:10: note: previous declaration of 'MakeMask' with type 'unsigned int(int, int)' 1024 | unsigned MakeMask(int start, int end); | ^~~~~~~~ cominputcode.c:595:6: error: conflicting types for 'inputwarning'; have 'void(void)' 595 | Void inputwarning(nwarning, par1, par2, LINK) | ^~~~~~~~~~~~ commondefs.h:1185:13: error: conflicting types for 'getlocus'; have 'void(void)' 1185 | extern void getlocus(); | ^~~~~~~~ commondefs.h:1027:6: note: previous declaration of 'inputwarning' with type 'void(long int, long int, long int, struct LOC_inputdata *)' 1027 | void inputwarning(long, long, long, struct LOC_inputdata*); | ^~~~~~~~~~~~ commondefs.h:1025:6: note: previous declaration of 'getlocus' with type 'void(long int, struct LOC_readloci *)' 1025 | void getlocus(long, struct LOC_readloci*); | ^~~~~~~~ loinputcode.c:1641:5: error: too many arguments to function 'inputerror'; expected 0, have 4 1641 | inputerror(40L, mutsys, mutsys, LINK); | ^~~~~~~~~~ ~~~ cominputcode.c: In function 'inputwarning': commondefs.h:1186:13: error: conflicting types for 'inputerror'; have 'void(void)' 1186 | extern void inputerror(); | ^~~~~~~~~~ cominputcode.c:595:6: warning: old-style function definition [-Wold-style-definition] 595 | Void inputwarning(nwarning, par1, par2, LINK) | ^~~~~~~~~~~~ commondefs.h:1026:6: note: previous declaration of 'inputerror' with type 'void(long int, long int, long int, struct LOC_inputdata *)' 1026 | void inputerror(long, long, long, struct LOC_inputdata*); | ^~~~~~~~~~ commondefs.h:1187:13: error: conflicting types for 'inputwarning'; have 'void(void)' 1187 | extern void inputwarning(); | ^~~~~~~~~~~~ commondefs.h:1027:6: note: previous declaration of 'inputwarning' with type 'void(long int, long int, long int, struct LOC_inputdata *)' 1027 | void inputwarning(long, long, long, struct LOC_inputdata*); | ^~~~~~~~~~~~ comrec.c: In function 'setrec': commondefs.h:1191:13: error: conflicting types for 'readped'; have 'void(void)' 1191 | extern void readped(); | ^~~~~~~ comrec.c:100:12: warning: old-style function definition [-Wold-style-definition] 100 | Local Void setrec(val, LINK) | ^~~~~~ commondefs.h:1028:6: note: previous declaration of 'readped' with type 'void(struct LOC_inputdata *)' 1028 | void readped(struct LOC_inputdata*); | ^~~~~~~ loinputcode.c:611:6: note: declared here 611 | Void inputerror(nerror, par1, par2, LINK) | ^~~~~~~~~~ lodscore.c: In function 'sr1update': lodscore.c:1088:12: warning: old-style function definition [-Wold-style-definition] 1088 | Local Void sr1update(LINK) | ^~~~~~~~~ comrec.c: In function 'dointer': loinputcode.c:1643:5: error: too many arguments to function 'inputerror'; expected 0, have 4 1643 | inputerror(41L, coupling, coupling, LINK); | ^~~~~~~~~~ ~~~ comrec.c:111:12: warning: old-style function definition [-Wold-style-definition] 111 | Local Void dointer(LINK) | ^~~~~~~ In file included from gemdefs.h:17, from mlinputcode.c:11: commondefs.h:1166:15: error: conflicting types for 'mapfunction'; have 'double(void)' 1166 | extern double mapfunction(); | ^~~~~~~~~~~ loinputcode.c:611:6: note: declared here 611 | Void inputerror(nerror, par1, par2, LINK) | ^~~~~~~~~~ commondefs.h:1067:8: note: previous declaration of 'mapfunction' with type 'double(double, double)' 1067 | double mapfunction(double, double); | ^~~~~~~~~~~ commondefs.h:1167:15: error: conflicting types for 'getdist'; have 'double(void)' 1167 | extern double getdist(); | ^~~~~~~ commondefs.h:1068:8: note: previous declaration of 'getdist' with type 'double(double *)' 1068 | double getdist(double*); | ^~~~~~~ commondefs.h:1168:15: error: conflicting types for 'invdist'; have 'double(void)' 1168 | extern double invdist(); | ^~~~~~~ commondefs.h:1069:8: note: previous declaration of 'invdist' with type 'double(double *)' 1069 | double invdist(double*); | ^~~~~~~ commondefs.h:1173:13: error: conflicting types for 'malloc_err'; have 'void(void)' 1173 | extern void malloc_err(); | ^~~~~~~~~~ commondefs.h:1021:6: note: previous declaration of 'malloc_err' with type 'void(char *)' 1021 | void malloc_err(char*); | ^~~~~~~~~~ commondefs.h:1174:12: error: conflicting types for 'P_eof'; have 'int(void)' 1174 | extern int P_eof(); | ^~~~~ comnuclear.c:1526:3: error: too many arguments to function 'cleanup'; expected 0, have 2 1526 | cleanup(LINK->p, LINK->LINK); | ^~~~~~~ ~~~~~~~ cominputcode.c: In function 'checkrare': commondefs.h:1022:5: note: previous declaration of 'P_eof' with type 'int(FILE *)' 1022 | int P_eof(FILE*); | ^~~~~ commondefs.h:1175:12: error: conflicting types for 'P_eoln'; have 'int(void)' 1175 | extern int P_eoln(); | ^~~~~~ commondefs.h:1146:13: note: declared here 1146 | extern void cleanup(); | ^~~~~~~ commondefs.h:1023:5: note: previous declaration of 'P_eoln' with type 'int(FILE *)' 1023 | int P_eoln(FILE*); | ^~~~~~ lodscore.c: In function 'sr2update': commondefs.h:1184:17: error: conflicting types for 'MakeMask'; have 'unsigned int(void)' 1184 | extern unsigned MakeMask(); | ^~~~~~~~ lodscore.c:1101:12: warning: old-style function definition [-Wold-style-definition] 1101 | Local Void sr2update(LINK) | ^~~~~~~~~ commondefs.h:1024:10: note: previous declaration of 'MakeMask' with type 'unsigned int(int, int)' 1024 | unsigned MakeMask(int start, int end); | ^~~~~~~~ comnuclear.c:1527:3: error: too many arguments to function 'cleanup'; expected 0, have 2 1527 | cleanup(LINK->q, LINK->LINK); | ^~~~~~~ ~~~~~~~ ilink.c: In function 'prep': commondefs.h:1185:13: error: conflicting types for 'getlocus'; have 'void(void)' 1185 | extern void getlocus(); | ^~~~~~~~ loinputcode.c:1649:5: error: too many arguments to function 'getlocus'; expected 0, have 2 1649 | getlocus(V.i, &V); | ^~~~~~~~ ~~~ commondefs.h:1146:13: note: declared here 1146 | extern void cleanup(); | ^~~~~~~ commondefs.h:1025:6: note: previous declaration of 'getlocus' with type 'void(long int, struct LOC_readloci *)' 1025 | void getlocus(long, struct LOC_readloci*); | ^~~~~~~~ In file included from commoncode.c:18: commondefs.h:1166:15: error: conflicting types for 'mapfunction'; have 'double(void)' 1166 | extern double mapfunction(); | ^~~~~~~~~~~ loinputcode.c:1457:6: note: declared here 1457 | Void getlocus(system_, LINK) | ^~~~~~~~ cominputcode.c:38:15: warning: old-style function definition [-Wold-style-definition] 38 | Local boolean checkrare(LINK) | ^~~~~~~~~ commondefs.h:1186:13: error: conflicting types for 'inputerror'; have 'void(void)' 1186 | extern void inputerror(); | ^~~~~~~~~~ ilink.c:1240:12: warning: old-style function definition [-Wold-style-definition] 1240 | Local Void prep(LINK) | ^~~~ comnuclear.c:1528:3: error: too many arguments to function 'exitseg'; expected 0, have 1 1528 | exitseg(LINK); | ^~~~~~~ ~~~~ commondefs.h:1026:6: note: previous declaration of 'inputerror' with type 'void(long int, long int, long int, struct LOC_inputdata *)' 1026 | void inputerror(long, long, long, struct LOC_inputdata*); | ^~~~~~~~~~ commondefs.h:1067:8: note: previous declaration of 'mapfunction' with type 'double(double, double)' 1067 | double mapfunction(double, double); | ^~~~~~~~~~~ commondefs.h:1187:13: error: conflicting types for 'inputwarning'; have 'void(void)' 1187 | extern void inputwarning(); | ^~~~~~~~~~~~ commondefs.h:1148:13: note: declared here 1148 | extern void exitseg(); | ^~~~~~~ commondefs.h:1027:6: note: previous declaration of 'inputwarning' with type 'void(long int, long int, long int, struct LOC_inputdata *)' 1027 | void inputwarning(long, long, long, struct LOC_inputdata*); | ^~~~~~~~~~~~ commondefs.h:1167:15: error: conflicting types for 'getdist'; have 'double(void)' 1167 | extern double getdist(); | ^~~~~~~ commondefs.h:1191:13: error: conflicting types for 'readped'; have 'void(void)' 1191 | extern void readped(); | ^~~~~~~ commondefs.h:1068:8: note: previous declaration of 'getdist' with type 'double(double *)' 1068 | double getdist(double*); | ^~~~~~~ commondefs.h:1028:6: note: previous declaration of 'readped' with type 'void(struct LOC_inputdata *)' 1028 | void readped(struct LOC_inputdata*); | ^~~~~~~ commondefs.h:1168:15: error: conflicting types for 'invdist'; have 'double(void)' 1168 | extern double invdist(); | ^~~~~~~ commondefs.h:1069:8: note: previous declaration of 'invdist' with type 'double(double *)' 1069 | double invdist(double*); | ^~~~~~~ loinputcode.c:1652:5: error: too many arguments to function 'inputwarning'; expected 0, have 4 1652 | inputwarning(0L, difference, difference, LINK); | ^~~~~~~~~~~~ ~~ loinputcode.c:864:6: note: declared here 864 | Void inputwarning(nwarning, par1, par2, LINK) | ^~~~~~~~~~~~ commondefs.h:1173:13: error: conflicting types for 'malloc_err'; have 'void(void)' 1173 | extern void malloc_err(); | ^~~~~~~~~~ commondefs.h:1021:6: note: previous declaration of 'malloc_err' with type 'void(char *)' 1021 | void malloc_err(char*); | ^~~~~~~~~~ commondefs.h:1174:12: error: conflicting types for 'P_eof'; have 'int(void)' 1174 | extern int P_eof(); | ^~~~~ comlike.c: In function 'getgeneindices': commondefs.h:1022:5: note: previous declaration of 'P_eof' with type 'int(FILE *)' 1022 | int P_eof(FILE*); | ^~~~~ commondefs.h:1175:12: error: conflicting types for 'P_eoln'; have 'int(void)' 1175 | extern int P_eoln(); | ^~~~~~ commondefs.h:1023:5: note: previous declaration of 'P_eoln' with type 'int(FILE *)' 1023 | int P_eoln(FILE*); | ^~~~~~ cominputcode.c: In function 'malloc_loop_err': cominputcode.c: In function 'checkrisk': comlike.c:808:5: error: too many arguments to function 'malloc_err'; expected 0, have 1 808 | malloc_err("segprob2"); | ^~~~~~~~~~ ~~~~~~~~~~ cominputcode.c:57:12: warning: old-style function definition [-Wold-style-definition] 57 | Local Void checkrisk(riskhet, riskhom, LINK) | ^~~~~~~~~ commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ cominputcode.c:748:13: warning: old-style function definition [-Wold-style-definition] 748 | static void malloc_loop_err(message, fewer_vects_size) | ^~~~~~~~~~~~~~~ commondefs.h:1184:17: error: conflicting types for 'MakeMask'; have 'unsigned int(void)' 1184 | extern unsigned MakeMask(); | ^~~~~~~~ commondefs.h:1024:10: note: previous declaration of 'MakeMask' with type 'unsigned int(int, int)' 1024 | unsigned MakeMask(int start, int end); | ^~~~~~~~ commondefs.h:1185:13: error: conflicting types for 'getlocus'; have 'void(void)' 1185 | extern void getlocus(); | ^~~~~~~~ commondefs.h:1025:6: note: previous declaration of 'getlocus' with type 'void(long int, struct LOC_readloci *)' 1025 | void getlocus(long, struct LOC_readloci*); | ^~~~~~~~ commondefs.h:1186:13: error: conflicting types for 'inputerror'; have 'void(void)' 1186 | extern void inputerror(); | ^~~~~~~~~~ commondefs.h:1026:6: note: previous declaration of 'inputerror' with type 'void(long int, long int, long int, struct LOC_inputdata *)' 1026 | void inputerror(long, long, long, struct LOC_inputdata*); | ^~~~~~~~~~ loinputcode.c:1660:5: error: too many arguments to function 'inputwarning'; expected 0, have 4 1660 | inputwarning(1L, independent, independent, LINK); | ^~~~~~~~~~~~ ~~ commondefs.h:1187:13: error: conflicting types for 'inputwarning'; have 'void(void)' 1187 | extern void inputwarning(); | ^~~~~~~~~~~~ commondefs.h:1027:6: note: previous declaration of 'inputwarning' with type 'void(long int, long int, long int, struct LOC_inputdata *)' 1027 | void inputwarning(long, long, long, struct LOC_inputdata*); | ^~~~~~~~~~~~ loinputcode.c:864:6: note: declared here 864 | Void inputwarning(nwarning, par1, par2, LINK) | ^~~~~~~~~~~~ commondefs.h:1191:13: error: conflicting types for 'readped'; have 'void(void)' 1191 | extern void readped(); | ^~~~~~~ ilink.c: In function 'sr1update': commondefs.h:1028:6: note: previous declaration of 'readped' with type 'void(struct LOC_inputdata *)' 1028 | void readped(struct LOC_inputdata*); | ^~~~~~~ cominputcode.c: In function 'gethapn': comrec.c: In function 'nexthet': ilink.c:1267:12: warning: old-style function definition [-Wold-style-definition] 1267 | Local Void sr1update(LINK) | ^~~~~~~~~ cominputcode.c:75:12: warning: old-style function definition [-Wold-style-definition] 75 | Local long gethapn(hap, LINK) | ^~~~~~~ comrec.c:165:12: warning: old-style function definition [-Wold-style-definition] 165 | Local Void nexthet(i, val, inphase, LINK) | ^~~~~~~ comlike.c:824:5: error: too many arguments to function 'malloc_err'; expected 0, have 1 824 | malloc_err("segval"); | ^~~~~~~~~~ ~~~~~~~~ cominputcode.c: In function 'infer_genotypes': commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ cominputcode.c:774:6: warning: old-style function definition [-Wold-style-definition] 774 | void infer_genotypes(curr_ped) | ^~~~~~~~~~~~~~~ mlinputcode.c: In function 'readloci': cominputcode.c: In function 'setrisk': cominputcode.c:92:12: warning: old-style function definition [-Wold-style-definition] 92 | Local Void setrisk(LINK) | ^~~~~~~ mlinputcode.c:14:6: warning: old-style function definition [-Wold-style-definition] 14 | Void readloci(LINK) | ^~~~~~~~ comlike.c:827:5: error: too many arguments to function 'malloc_err'; expected 0, have 1 827 | malloc_err("tempseg"); | ^~~~~~~~~~ ~~~~~~~~~ commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ loinputcode.c:1669:5: error: too many arguments to function 'malloc_err'; expected 0, have 1 1669 | malloc_err("maletheta"); | ^~~~~~~~~~ ~~~~~~~~~~~ commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ cominputcode.c:794:7: error: too many arguments to function 'malloc_err'; expected 0, have 1 794 | malloc_err("breaker_poss_bylocus middle level"); | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cominputcode.c: In function 'getriskhap': commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ cominputcode.c:104:12: warning: old-style function definition [-Wold-style-definition] 104 | Local Void getriskhap(system, LINK) | ^~~~~~~~~~ comlike.c:830:5: error: too many arguments to function 'malloc_err'; expected 0, have 1 830 | malloc_err("segindex"); | ^~~~~~~~~~ ~~~~~~~~~~ commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ loinputcode.c:1673:5: error: too many arguments to function 'malloc_err'; expected 0, have 1 1673 | malloc_err("segprob array in maletheta"); | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mlinputcode.c:28:5: error: too many arguments to function 'inputerror'; expected 0, have 4 28 | inputerror(0L, mlocus, mlocus, LINK); | ^~~~~~~~~~ ~~ commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ commondefs.h:1186:13: note: declared here 1186 | extern void inputerror(); | ^~~~~~~~~~ cominputcode.c:799:7: error: too many arguments to function 'malloc_err'; expected 0, have 1 799 | malloc_err("breaker_poss_bylocus inner level"); | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ cominputcode.c: In function 'domalerisk': mlinputcode.c:30:5: error: too many arguments to function 'inputerror'; expected 0, have 4 30 | inputerror(1L, mlocus, mlocus, LINK); | ^~~~~~~~~~ ~~ cominputcode.c:123:12: warning: old-style function definition [-Wold-style-definition] 123 | Local Void domalerisk(LINK) | ^~~~~~~~~~ commondefs.h:1186:13: note: declared here 1186 | extern void inputerror(); | ^~~~~~~~~~ comlike.c:834:5: error: too many arguments to function 'malloc_err'; expected 0, have 1 834 | malloc_err("tempseg2"); | ^~~~~~~~~~ ~~~~~~~~~~ loinputcode.c:1675:5: error: too many arguments to function 'inputwarning'; expected 0, have 4 1675 | inputwarning(2L, difference, difference, LINK); | ^~~~~~~~~~~~ ~~ mlinputcode.c:32:5: error: too many arguments to function 'inputerror'; expected 0, have 4 32 | inputerror(37L, risksys, risksys, LINK); | ^~~~~~~~~~ ~~~ commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ loinputcode.c:864:6: note: declared here 864 | Void inputwarning(nwarning, par1, par2, LINK) | ^~~~~~~~~~~~ commondefs.h:1186:13: note: declared here 1186 | extern void inputerror(); | ^~~~~~~~~~ cominputcode.c: In function 'setmutation': cominputcode.c:137:12: warning: old-style function definition [-Wold-style-definition] 137 | Local Void setmutation(LINK) | ^~~~~~~~~~~ mlinputcode.c:34:5: error: too many arguments to function 'inputerror'; expected 0, have 4 34 | inputerror(38L, risksys, risksys, LINK); | ^~~~~~~~~~ ~~~ commondefs.h:1186:13: note: declared here 1186 | extern void inputerror(); | ^~~~~~~~~~ In file included from ligetvect.c:4: commondefs.h:1166:15: error: conflicting types for 'mapfunction'; have 'double(void)' 1166 | extern double mapfunction(); | ^~~~~~~~~~~ comrec.c: In function 'getrecprob': comlike.c: In function 'seg': comrec.c:220:12: warning: old-style function definition [-Wold-style-definition] 220 | Local Void getrecprob(LINK) | ^~~~~~~~~~ comlike.c:850:6: warning: old-style function definition [-Wold-style-definition] 850 | Void seg(p_, q_, r_, peel, LINK) | ^~~ cominputcode.c:818:7: error: too many arguments to function 'malloc_err'; expected 0, have 1 818 | malloc_err("breaker_poss_genotype"); | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~ commondefs.h:1067:8: note: previous declaration of 'mapfunction' with type 'double(double, double)' 1067 | double mapfunction(double, double); | ^~~~~~~~~~~ commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ In file included from gemdefs.h:17, from commoncode.c:19: commondefs.h:1166:15: error: conflicting types for 'mapfunction'; have 'double(void)' 1166 | extern double mapfunction(); | ^~~~~~~~~~~ ilink.c: In function 'sr2update': lodscore.c: In function 'getwzs': comlike.c:854:1: error: number of arguments doesn't match prototype 854 | { | ^ commondefs.h:1067:8: note: previous declaration of 'mapfunction' with type 'double(double, double)' 1067 | double mapfunction(double, double); | ^~~~~~~~~~~ commondefs.h:1155:13: error: prototype declaration 1155 | extern void seg(); | ^~~ lodscore.c:1142:12: warning: old-style function definition [-Wold-style-definition] 1142 | Local Void getwzs(LINK) | ^~~~~~ ilink.c:1280:12: warning: old-style function definition [-Wold-style-definition] 1280 | Local Void sr2update(LINK) | ^~~~~~~~~ commondefs.h:1167:15: error: conflicting types for 'getdist'; have 'double(void)' 1167 | extern double getdist(); | ^~~~~~~ commondefs.h:1167:15: error: conflicting types for 'getdist'; have 'double(void)' 1167 | extern double getdist(); | ^~~~~~~ commondefs.h:1068:8: note: previous declaration of 'getdist' with type 'double(double *)' 1068 | double getdist(double*); | ^~~~~~~ loinputcode.c:1683:7: error: too many arguments to function 'malloc_err'; expected 0, have 1 1683 | malloc_err("female_theta"); | ^~~~~~~~~~ ~~~~~~~~~~~~~~ commondefs.h:1068:8: note: previous declaration of 'getdist' with type 'double(double *)' 1068 | double getdist(double*); | ^~~~~~~ commondefs.h:1168:15: error: conflicting types for 'invdist'; have 'double(void)' 1168 | extern double invdist(); | ^~~~~~~ commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ commondefs.h:1069:8: note: previous declaration of 'invdist' with type 'double(double *)' 1069 | double invdist(double*); | ^~~~~~~ commondefs.h:1168:15: error: conflicting types for 'invdist'; have 'double(void)' 1168 | extern double invdist(); | ^~~~~~~ commondefs.h:1069:8: note: previous declaration of 'invdist' with type 'double(double *)' 1069 | double invdist(double*); | ^~~~~~~ commondefs.h:1173:13: error: conflicting types for 'malloc_err'; have 'void(void)' 1173 | extern void malloc_err(); | ^~~~~~~~~~ commondefs.h:1021:6: note: previous declaration of 'malloc_err' with type 'void(char *)' 1021 | void malloc_err(char*); | ^~~~~~~~~~ commondefs.h:1173:13: error: conflicting types for 'malloc_err'; have 'void(void)' 1173 | extern void malloc_err(); | ^~~~~~~~~~ commondefs.h:1174:12: error: conflicting types for 'P_eof'; have 'int(void)' 1174 | extern int P_eof(); | ^~~~~ commondefs.h:1021:6: note: previous declaration of 'malloc_err' with type 'void(char *)' 1021 | void malloc_err(char*); | ^~~~~~~~~~ commondefs.h:1022:5: note: previous declaration of 'P_eof' with type 'int(FILE *)' 1022 | int P_eof(FILE*); | ^~~~~ commondefs.h:1175:12: error: conflicting types for 'P_eoln'; have 'int(void)' 1175 | extern int P_eoln(); | ^~~~~~ commondefs.h:1174:12: error: conflicting types for 'P_eof'; have 'int(void)' 1174 | extern int P_eof(); | ^~~~~ commondefs.h:1023:5: note: previous declaration of 'P_eoln' with type 'int(FILE *)' 1023 | int P_eoln(FILE*); | ^~~~~~ mlinputcode.c:55:5: error: too many arguments to function 'inputerror'; expected 0, have 4 55 | inputerror(39L, mutsys, mutsys, LINK); | ^~~~~~~~~~ ~~~ loinputcode.c:1687:7: error: too many arguments to function 'malloc_err'; expected 0, have 1 1687 | malloc_err("segprob array in femaletheta"); | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ comrec.c: In function 'gethet': commondefs.h:1186:13: note: declared here 1186 | extern void inputerror(); | ^~~~~~~~~~ commondefs.h:1022:5: note: previous declaration of 'P_eof' with type 'int(FILE *)' 1022 | int P_eof(FILE*); | ^~~~~ commondefs.h:1184:17: error: conflicting types for 'MakeMask'; have 'unsigned int(void)' 1184 | extern unsigned MakeMask(); | ^~~~~~~~ commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ comrec.c:249:12: warning: old-style function definition [-Wold-style-definition] 249 | Local Void gethet(system, LINK) | ^~~~~~ commondefs.h:1024:10: note: previous declaration of 'MakeMask' with type 'unsigned int(int, int)' 1024 | unsigned MakeMask(int start, int end); | ^~~~~~~~ mlinputcode.c:57:5: error: too many arguments to function 'inputerror'; expected 0, have 4 57 | inputerror(40L, mutsys, mutsys, LINK); | ^~~~~~~~~~ ~~~ commondefs.h:1186:13: note: declared here 1186 | extern void inputerror(); | ^~~~~~~~~~ commondefs.h:1185:13: error: conflicting types for 'getlocus'; have 'void(void)' 1185 | extern void getlocus(); | ^~~~~~~~ commondefs.h:1175:12: error: conflicting types for 'P_eoln'; have 'int(void)' 1175 | extern int P_eoln(); | ^~~~~~ commondefs.h:1025:6: note: previous declaration of 'getlocus' with type 'void(long int, struct LOC_readloci *)' 1025 | void getlocus(long, struct LOC_readloci*); | ^~~~~~~~ In file included from lioldnuclear.c:5: commondefs.h:1166:15: error: conflicting types for 'mapfunction'; have 'double(void)' 1166 | extern double mapfunction(); | ^~~~~~~~~~~ commondefs.h:1023:5: note: previous declaration of 'P_eoln' with type 'int(FILE *)' 1023 | int P_eoln(FILE*); | ^~~~~~ commondefs.h:1186:13: error: conflicting types for 'inputerror'; have 'void(void)' 1186 | extern void inputerror(); | ^~~~~~~~~~ commondefs.h:1026:6: note: previous declaration of 'inputerror' with type 'void(long int, long int, long int, struct LOC_inputdata *)' 1026 | void inputerror(long, long, long, struct LOC_inputdata*); | ^~~~~~~~~~ commondefs.h:1067:8: note: previous declaration of 'mapfunction' with type 'double(double, double)' 1067 | double mapfunction(double, double); | ^~~~~~~~~~~ commondefs.h:1187:13: error: conflicting types for 'inputwarning'; have 'void(void)' 1187 | extern void inputwarning(); | ^~~~~~~~~~~~ commondefs.h:1027:6: note: previous declaration of 'inputwarning' with type 'void(long int, long int, long int, struct LOC_inputdata *)' 1027 | void inputwarning(long, long, long, struct LOC_inputdata*); | ^~~~~~~~~~~~ commondefs.h:1167:15: error: conflicting types for 'getdist'; have 'double(void)' 1167 | extern double getdist(); | ^~~~~~~ lodscore.c: In function 'recur': mlinputcode.c:65:7: error: too many arguments to function 'malloc_err'; expected 0, have 1 65 | malloc_err("hapfreq"); | ^~~~~~~~~~ ~~~~~~~~~ commondefs.h:1068:8: note: previous declaration of 'getdist' with type 'double(double *)' 1068 | double getdist(double*); | ^~~~~~~ commondefs.h:1191:13: error: conflicting types for 'readped'; have 'void(void)' 1191 | extern void readped(); | ^~~~~~~ commondefs.h:1184:17: error: conflicting types for 'MakeMask'; have 'unsigned int(void)' 1184 | extern unsigned MakeMask(); | ^~~~~~~~ commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ commondefs.h:1028:6: note: previous declaration of 'readped' with type 'void(struct LOC_inputdata *)' 1028 | void readped(struct LOC_inputdata*); | ^~~~~~~ lodscore.c:1162:12: warning: old-style function definition [-Wold-style-definition] 1162 | Local Void recur(LINK) | ^~~~~ commondefs.h:1168:15: error: conflicting types for 'invdist'; have 'double(void)' 1168 | extern double invdist(); | ^~~~~~~ commondefs.h:1069:8: note: previous declaration of 'invdist' with type 'double(double *)' 1069 | double invdist(double*); | ^~~~~~~ commondefs.h:1024:10: note: previous declaration of 'MakeMask' with type 'unsigned int(int, int)' 1024 | unsigned MakeMask(int start, int end); | ^~~~~~~~ cominputcode.c: In function 'read_loop_file': commondefs.h:1173:13: error: conflicting types for 'malloc_err'; have 'void(void)' 1173 | extern void malloc_err(); | ^~~~~~~~~~ comlike.c:878:11: error: too many arguments to function 'segtop'; expected 0, have 1 878 | segtop(&V); | ^~~~~~ ~~ commondefs.h:1185:13: error: conflicting types for 'getlocus'; have 'void(void)' 1185 | extern void getlocus(); | ^~~~~~~~ cominputcode.c:880:6: warning: old-style function definition [-Wold-style-definition] 880 | void read_loop_file(curr_ped) | ^~~~~~~~~~~~~~ commondefs.h:1021:6: note: previous declaration of 'malloc_err' with type 'void(char *)' 1021 | void malloc_err(char*); | ^~~~~~~~~~ commondefs.h:1162:13: note: declared here 1162 | extern void segtop(); | ^~~~~~ commondefs.h:1174:12: error: conflicting types for 'P_eof'; have 'int(void)' 1174 | extern int P_eof(); | ^~~~~ commondefs.h:1025:6: note: previous declaration of 'getlocus' with type 'void(long int, struct LOC_readloci *)' 1025 | void getlocus(long, struct LOC_readloci*); | ^~~~~~~~ cominputcode.c:882:1: error: number of arguments doesn't match prototype 882 | { | ^ mlinputcode.c:70:7: error: too many arguments to function 'inputerror'; expected 0, have 4 70 | inputerror(2L, i, j, LINK); | ^~~~~~~~~~ ~~ commondefs.h:1190:13: error: prototype declaration 1190 | extern void read_loop_file(); | ^~~~~~~~~~~~~~ commondefs.h:1186:13: note: declared here 1186 | extern void inputerror(); | ^~~~~~~~~~ commondefs.h:1022:5: note: previous declaration of 'P_eof' with type 'int(FILE *)' 1022 | int P_eof(FILE*); | ^~~~~ commondefs.h:1186:13: error: conflicting types for 'inputerror'; have 'void(void)' 1186 | extern void inputerror(); | ^~~~~~~~~~ commondefs.h:1175:12: error: conflicting types for 'P_eoln'; have 'int(void)' 1175 | extern int P_eoln(); | ^~~~~~ comlike.c:882:11: error: too many arguments to function 'segtop'; expected 0, have 1 882 | segtop(&V); | ^~~~~~ ~~ mlinputcode.c:72:7: error: too many arguments to function 'inputerror'; expected 0, have 4 72 | inputerror(3L, i, j, LINK); | ^~~~~~~~~~ ~~ commondefs.h:1162:13: note: declared here 1162 | extern void segtop(); | ^~~~~~ commondefs.h:1023:5: note: previous declaration of 'P_eoln' with type 'int(FILE *)' 1023 | int P_eoln(FILE*); | ^~~~~~ commondefs.h:1026:6: note: previous declaration of 'inputerror' with type 'void(long int, long int, long int, struct LOC_inputdata *)' 1026 | void inputerror(long, long, long, struct LOC_inputdata*); | ^~~~~~~~~~ commondefs.h:1186:13: note: declared here 1186 | extern void inputerror(); | ^~~~~~~~~~ comlike.c:886:11: error: too many arguments to function 'segsextop'; expected 0, have 1 886 | segsextop(&V); | ^~~~~~~~~ ~~ commondefs.h:1187:13: error: conflicting types for 'inputwarning'; have 'void(void)' 1187 | extern void inputwarning(); | ^~~~~~~~~~~~ commondefs.h:1160:13: note: declared here 1160 | extern void segsextop(); | ^~~~~~~~~ commondefs.h:1184:17: error: conflicting types for 'MakeMask'; have 'unsigned int(void)' 1184 | extern unsigned MakeMask(); | ^~~~~~~~ commondefs.h:1024:10: note: previous declaration of 'MakeMask' with type 'unsigned int(int, int)' 1024 | unsigned MakeMask(int start, int end); | ^~~~~~~~ comlike.c:890:11: error: too many arguments to function 'segsextop'; expected 0, have 1 890 | segsextop(&V); | ^~~~~~~~~ ~~ commondefs.h:1027:6: note: previous declaration of 'inputwarning' with type 'void(long int, long int, long int, struct LOC_inputdata *)' 1027 | void inputwarning(long, long, long, struct LOC_inputdata*); | ^~~~~~~~~~~~ loinputcode.c:1708:28: error: too many arguments to function 'P_eoln'; expected 0, have 1 1708 | while ((V.i <= maxn) & (!P_eoln(datafile))) { | ^~~~~~ ~~~~~~~~ commondefs.h:1160:13: note: declared here 1160 | extern void segsextop(); | ^~~~~~~~~ commondefs.h:1185:13: error: conflicting types for 'getlocus'; have 'void(void)' 1185 | extern void getlocus(); | ^~~~~~~~ commondefs.h:1025:6: note: previous declaration of 'getlocus' with type 'void(long int, struct LOC_readloci *)' 1025 | void getlocus(long, struct LOC_readloci*); | ^~~~~~~~ commondefs.h:1175:12: note: declared here 1175 | extern int P_eoln(); | ^~~~~~ commondefs.h:1186:13: error: conflicting types for 'inputerror'; have 'void(void)' 1186 | extern void inputerror(); | ^~~~~~~~~~ mlinputcode.c:78:9: error: too many arguments to function 'inputerror'; expected 0, have 4 78 | inputerror(4L, i, j, LINK); | ^~~~~~~~~~ ~~ commondefs.h:1191:13: error: conflicting types for 'readped'; have 'void(void)' 1191 | extern void readped(); | ^~~~~~~ commondefs.h:1186:13: note: declared here 1186 | extern void inputerror(); | ^~~~~~~~~~ commondefs.h:1026:6: note: previous declaration of 'inputerror' with type 'void(long int, long int, long int, struct LOC_inputdata *)' 1026 | void inputerror(long, long, long, struct LOC_inputdata*); | ^~~~~~~~~~ commondefs.h:1028:6: note: previous declaration of 'readped' with type 'void(struct LOC_inputdata *)' 1028 | void readped(struct LOC_inputdata*); | ^~~~~~~ comlike.c:898:13: error: too many arguments to function 'segctop'; expected 0, have 1 898 | segctop(&V); | ^~~~~~~ ~~ commondefs.h:1187:13: error: conflicting types for 'inputwarning'; have 'void(void)' 1187 | extern void inputwarning(); | ^~~~~~~~~~~~ commondefs.h:1161:13: note: declared here 1161 | extern void segctop(); | ^~~~~~~ commondefs.h:1027:6: note: previous declaration of 'inputwarning' with type 'void(long int, long int, long int, struct LOC_inputdata *)' 1027 | void inputwarning(long, long, long, struct LOC_inputdata*); | ^~~~~~~~~~~~ ilink.c: In function 'getwzs': commondefs.h:1191:13: error: conflicting types for 'readped'; have 'void(void)' 1191 | extern void readped(); | ^~~~~~~ commondefs.h:1028:6: note: previous declaration of 'readped' with type 'void(struct LOC_inputdata *)' 1028 | void readped(struct LOC_inputdata*); | ^~~~~~~ comlike.c:902:13: error: too many arguments to function 'segctop'; expected 0, have 1 902 | segctop(&V); | ^~~~~~~ ~~ ilink.c:1321:12: warning: old-style function definition [-Wold-style-definition] 1321 | Local Void getwzs(LINK) | ^~~~~~ commondefs.h:1161:13: note: declared here 1161 | extern void segctop(); | ^~~~~~~ mlinputcode.c:89:5: error: too many arguments to function 'getlocus'; expected 0, have 2 89 | getlocus(order[i], &V); | ^~~~~~~~ ~~~~~~~~ commondefs.h:1185:13: note: declared here 1185 | extern void getlocus(); | ^~~~~~~~ comlike.c:906:13: error: too many arguments to function 'segsexctop'; expected 0, have 1 906 | segsexctop(&V); | ^~~~~~~~~~ ~~ commondefs.h:1159:13: note: declared here 1159 | extern void segsexctop(); | ^~~~~~~~~~ ligetvect.c: In function 'quanfun': comlike.c:910:13: error: too many arguments to function 'segsexctop'; expected 0, have 1 910 | segsexctop(&V); | ^~~~~~~~~~ ~~ cominputcode.c:945:5: error: too many arguments to function 'malloc_err'; expected 0, have 1 945 | malloc_err("is_zero_breaker"); | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~ commondefs.h:1159:13: note: declared here 1159 | extern void segsexctop(); | ^~~~~~~~~~ lioldnuclear.c: In function 'getapprox': commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ ligetvect.c:22:14: warning: old-style function definition [-Wold-style-definition] 22 | Local double quanfun(phen, thislocus, i, j, mean, LINK) | ^~~~~~~ loinputcode.c:1716:11: error: too many arguments to function 'P_eoln'; expected 0, have 1 1716 | while (!P_eoln(datafile)) { | ^~~~~~ ~~~~~~~~ mlinputcode.c:101:5: error: too many arguments to function 'allocate_thisarray'; expected 0, have 2 101 | allocate_thisarray(hapfreq, mgeno); | ^~~~~~~~~~~~~~~~~~ ~~~~~~~ lioldnuclear.c:8:12: warning: old-style function definition [-Wold-style-definition] 8 | Local Void getapprox(LINK) | ^~~~~~~~~ commondefs.h:1192:13: note: declared here 1192 | extern void allocate_thisarray(); | ^~~~~~~~~~~~~~~~~~ In file included from check.c:22: commondefs.h:1166:15: error: conflicting types for 'mapfunction'; have 'double(void)' 1166 | extern double mapfunction(); | ^~~~~~~~~~~ commondefs.h:1175:12: note: declared here 1175 | extern int P_eoln(); | ^~~~~~ comlike.c:917:13: error: too many arguments to function 'segcapprox'; expected 0, have 1 917 | segcapprox(&V); | ^~~~~~~~~~ ~~ mlink.c: In function 'iterpeds': commondefs.h:1163:13: note: declared here 1163 | extern void segcapprox(); | ^~~~~~~~~~ commondefs.h:1067:8: note: previous declaration of 'mapfunction' with type 'double(double, double)' 1067 | double mapfunction(double, double); | ^~~~~~~~~~~ comlike.c:921:13: error: too many arguments to function 'segcapprox'; expected 0, have 1 921 | segcapprox(&V); | ^~~~~~~~~~ ~~ ilink.c: In function 'recur': commondefs.h:1163:13: note: declared here 1163 | extern void segcapprox(); | ^~~~~~~~~~ commondefs.h:1167:15: error: conflicting types for 'getdist'; have 'double(void)' 1167 | extern double getdist(); | ^~~~~~~ ilink.c:1341:12: warning: old-style function definition [-Wold-style-definition] 1341 | Local Void recur(LINK) | ^~~~~ commondefs.h:1068:8: note: previous declaration of 'getdist' with type 'double(double *)' 1068 | double getdist(double*); | ^~~~~~~ comlike.c:925:13: error: too many arguments to function 'segsexctop'; expected 0, have 1 925 | segsexctop(&V); | ^~~~~~~~~~ ~~ mlink.c:267:5: error: too many arguments to function 'read_loop_file'; expected 0, have 1 267 | read_loop_file(thisped + 1); | ^~~~~~~~~~~~~~ ~~~~~~~~~~~ commondefs.h:1159:13: note: declared here 1159 | extern void segsexctop(); | ^~~~~~~~~~ commondefs.h:1168:15: error: conflicting types for 'invdist'; have 'double(void)' 1168 | extern double invdist(); | ^~~~~~~ commondefs.h:1069:8: note: previous declaration of 'invdist' with type 'double(double *)' 1069 | double invdist(double*); | ^~~~~~~ commondefs.h:1190:13: note: declared here 1190 | extern void read_loop_file(); | ^~~~~~~~~~~~~~ comlike.c:929:13: error: too many arguments to function 'segsexctop'; expected 0, have 1 929 | segsexctop(&V); | ^~~~~~~~~~ ~~ commondefs.h:1159:13: note: declared here 1159 | extern void segsexctop(); | ^~~~~~~~~~ mlinputcode.c:120:5: error: too many arguments to function 'inputwarning'; expected 0, have 4 120 | inputwarning(0L, difference, difference, LINK); | ^~~~~~~~~~~~ ~~ commondefs.h:1187:13: note: declared here 1187 | extern void inputwarning(); | ^~~~~~~~~~~~ commondefs.h:1173:13: error: conflicting types for 'malloc_err'; have 'void(void)' 1173 | extern void malloc_err(); | ^~~~~~~~~~ mlink.c:269:5: error: too many arguments to function 'likelihood'; expected 0, have 2 269 | likelihood((thisped + 1), proband[thisped]); | ^~~~~~~~~~ ~~~~~~~~~~~~~ commondefs.h:1021:6: note: previous declaration of 'malloc_err' with type 'void(char *)' 1021 | void malloc_err(char*); | ^~~~~~~~~~ commondefs.h:1156:13: note: declared here 1156 | extern void likelihood(); | ^~~~~~~~~~ commondefs.h:1174:12: error: conflicting types for 'P_eof'; have 'int(void)' 1174 | extern int P_eof(); | ^~~~~ mlinputcode.c:128:5: error: too many arguments to function 'inputwarning'; expected 0, have 4 128 | inputwarning(1L, independent, independent, LINK); | ^~~~~~~~~~~~ ~~ commondefs.h:1022:5: note: previous declaration of 'P_eof' with type 'int(FILE *)' 1022 | int P_eof(FILE*); | ^~~~~ commondefs.h:1187:13: note: declared here 1187 | extern void inputwarning(); | ^~~~~~~~~~~~ commoncode.c:68:8: error: conflicting types for 'mapfunction'; have 'double(void)' 68 | double mapfunction(theta1, theta2) | ^~~~~~~~~~~ comlike.c:941:15: error: too many arguments to function 'segup'; expected 0, have 1 941 | segup(&V); | ^~~~~ ~~ commondefs.h:1067:8: note: previous declaration of 'mapfunction' with type 'double(double, double)' 1067 | double mapfunction(double, double); | ^~~~~~~~~~~ commondefs.h:1175:12: error: conflicting types for 'P_eoln'; have 'int(void)' 1175 | extern int P_eoln(); | ^~~~~~ commondefs.h:1135:13: note: declared here 1135 | extern void segup(); | ^~~~~ commoncode.c: In function 'mapfunction': commondefs.h:1023:5: note: previous declaration of 'P_eoln' with type 'int(FILE *)' 1023 | int P_eoln(FILE*); | ^~~~~~ commoncode.c:68:8: warning: old-style function definition [-Wold-style-definition] 68 | double mapfunction(theta1, theta2) | ^~~~~~~~~~~ cominputcode.c: In function 'getmuthap': mlinputcode.c:139:5: error: too many arguments to function 'inputwarning'; expected 0, have 4 139 | inputwarning(2L, difference, difference, LINK); | ^~~~~~~~~~~~ ~~ commondefs.h:1187:13: note: declared here 1187 | extern void inputwarning(); | ^~~~~~~~~~~~ cominputcode.c:153:12: warning: old-style function definition [-Wold-style-definition] 153 | Local Void getmuthap(system, LINK) | ^~~~~~~~~ comlike.c:947:13: error: too many arguments to function 'segtop'; expected 0, have 1 947 | segtop(&V); | ^~~~~~ ~~ commondefs.h:1162:13: note: declared here 1162 | extern void segtop(); | ^~~~~~ commondefs.h:1184:17: error: conflicting types for 'MakeMask'; have 'unsigned int(void)' 1184 | extern unsigned MakeMask(); | ^~~~~~~~ commoncode.c: At top level: commondefs.h:1024:10: note: previous declaration of 'MakeMask' with type 'unsigned int(int, int)' 1024 | unsigned MakeMask(int start, int end); | ^~~~~~~~ commoncode.c:78:8: error: conflicting types for 'getdist'; have 'double(void)' 78 | double getdist(theta) | ^~~~~~~ commondefs.h:1068:8: note: previous declaration of 'getdist' with type 'double(double *)' 1068 | double getdist(double*); | ^~~~~~~ In file included from lioldnuclear.c:35: comnuclear.c: In function 'msegsex': commoncode.c: In function 'getdist': commondefs.h:1185:13: error: conflicting types for 'getlocus'; have 'void(void)' 1185 | extern void getlocus(); | ^~~~~~~~ commoncode.c:78:8: warning: old-style function definition [-Wold-style-definition] 78 | double getdist(theta) | ^~~~~~~ cominputcode.c: In function 'domutation': comlike.c:952:15: error: too many arguments to function 'segsexup'; expected 0, have 1 952 | segsexup(&V); | ^~~~~~~~ ~~ commondefs.h:1025:6: note: previous declaration of 'getlocus' with type 'void(long int, struct LOC_readloci *)' 1025 | void getlocus(long, struct LOC_readloci*); | ^~~~~~~~ cominputcode.c:172:12: warning: old-style function definition [-Wold-style-definition] 172 | Local Void domutation(LINK) | ^~~~~~~~~~ commondefs.h:1137:13: note: declared here 1137 | extern void segsexup(); | ^~~~~~~~ commondefs.h:1186:13: error: conflicting types for 'inputerror'; have 'void(void)' 1186 | extern void inputerror(); | ^~~~~~~~~~ cominputcode.c: In function 'setnumbers': comlike.c:958:13: error: too many arguments to function 'segsextop'; expected 0, have 1 958 | segsextop(&V); | ^~~~~~~~~ ~~ cominputcode.c:181:12: warning: old-style function definition [-Wold-style-definition] 181 | Local Void setnumbers(LINK) | ^~~~~~~~~~ commondefs.h:1026:6: note: previous declaration of 'inputerror' with type 'void(long int, long int, long int, struct LOC_inputdata *)' 1026 | void inputerror(long, long, long, struct LOC_inputdata*); | ^~~~~~~~~~ commondefs.h:1160:13: note: declared here 1160 | extern void segsextop(); | ^~~~~~~~~ ligetvect.c: In function 'getval': comnuclear.c:7:14: warning: old-style function definition [-Wold-style-definition] 7 | Local double msegsex(LINK) | ^~~~~~~ commondefs.h:1187:13: error: conflicting types for 'inputwarning'; have 'void(void)' 1187 | extern void inputwarning(); | ^~~~~~~~~~~~ ligetvect.c:57:12: warning: old-style function definition [-Wold-style-definition] 57 | Local Void getval(syste, i, j, val, LINK) | ^~~~~~ commondefs.h:1027:6: note: previous declaration of 'inputwarning' with type 'void(long int, long int, long int, struct LOC_inputdata *)' 1027 | void inputwarning(long, long, long, struct LOC_inputdata*); | ^~~~~~~~~~~~ comlike.c:966:15: error: too many arguments to function 'segup'; expected 0, have 1 966 | segup(&V); | ^~~~~ ~~ commondefs.h:1135:13: note: declared here 1135 | extern void segup(); | ^~~~~ comlike.c:972:13: error: too many arguments to function 'segctop'; expected 0, have 1 972 | segctop(&V); | ^~~~~~~ ~~ commondefs.h:1191:13: error: conflicting types for 'readped'; have 'void(void)' 1191 | extern void readped(); | ^~~~~~~ commondefs.h:1161:13: note: declared here 1161 | extern void segctop(); | ^~~~~~~ comrec.c: In function 'recombine': commondefs.h:1028:6: note: previous declaration of 'readped' with type 'void(struct LOC_inputdata *)' 1028 | void readped(struct LOC_inputdata*); | ^~~~~~~ comrec.c:268:12: warning: old-style function definition [-Wold-style-definition] 268 | Local Void recombine(theta_, segprob_, LINK) | ^~~~~~~~~ commoncode.c: At top level: comlike.c:977:15: error: too many arguments to function 'segsexup'; expected 0, have 1 977 | segsexup(&V); | ^~~~~~~~ ~~ commoncode.c:88:8: error: conflicting types for 'invdist'; have 'double(void)' 88 | double invdist(dist) | ^~~~~~~ commondefs.h:1137:13: note: declared here 1137 | extern void segsexup(); | ^~~~~~~~ commondefs.h:1069:8: note: previous declaration of 'invdist' with type 'double(double *)' 1069 | double invdist(double*); | ^~~~~~~ commoncode.c: In function 'invdist': comlike.c:983:13: error: too many arguments to function 'segsexctop'; expected 0, have 1 983 | segsexctop(&V); | ^~~~~~~~~~ ~~ commoncode.c:88:8: warning: old-style function definition [-Wold-style-definition] 88 | double invdist(dist) | ^~~~~~~ In file included from comrec.c:17: commondefs.h:1166:15: error: conflicting types for 'mapfunction'; have 'double(void)' 1166 | extern double mapfunction(); | ^~~~~~~~~~~ comrec.c: In function 'getfemaletheta': commondefs.h:1159:13: note: declared here 1159 | extern void segsexctop(); | ^~~~~~~~~~ comrec.c:284:12: warning: old-style function definition [-Wold-style-definition] 284 | Local Void getfemaletheta(LINK) | ^~~~~~~~~~~~~~ commondefs.h:1067:8: note: previous declaration of 'mapfunction' with type 'double(double, double)' 1067 | double mapfunction(double, double); | ^~~~~~~~~~~ comlike.c:992:13: error: too many arguments to function 'segup'; expected 0, have 1 992 | segup(&V); | ^~~~~ ~~ commondefs.h:1135:13: note: declared here 1135 | extern void segup(); | ^~~~~ commondefs.h:1167:15: error: conflicting types for 'getdist'; have 'double(void)' 1167 | extern double getdist(); | ^~~~~~~ comlike.c:998:11: error: too many arguments to function 'oldsegup'; expected 0, have 1 998 | oldsegup(&V); | ^~~~~~~~ ~~ commondefs.h:1172:13: note: declared here 1172 | extern void oldsegup(); | ^~~~~~~~ cominputcode.c: In function 'hapscr': commondefs.h:1068:8: note: previous declaration of 'getdist' with type 'double(double *)' 1068 | double getdist(double*); | ^~~~~~~ cominputcode.c:216:12: warning: old-style function definition [-Wold-style-definition] 216 | Local Void hapscr(system, nscramble, LINK) | ^~~~~~ commondefs.h:1168:15: error: conflicting types for 'invdist'; have 'double(void)' 1168 | extern double invdist(); | ^~~~~~~ comlike.c:1003:13: error: too many arguments to function 'segsexup'; expected 0, have 1 1003 | segsexup(&V); | ^~~~~~~~ ~~ commondefs.h:1137:13: note: declared here 1137 | extern void segsexup(); | ^~~~~~~~ commondefs.h:1069:8: note: previous declaration of 'invdist' with type 'double(double *)' 1069 | double invdist(double*); | ^~~~~~~ lodscore.c: In function 'bldlt': loinputcode.c:1720:7: error: too many arguments to function 'inputerror'; expected 0, have 4 1720 | inputerror(42L, locuslist1[V.i - 1], mlocus, LINK); | ^~~~~~~~~~ ~~~ comlike.c:1009:11: error: too many arguments to function 'oldsegsexup'; expected 0, have 1 1009 | oldsegsexup(&V); | ^~~~~~~~~~~ ~~ commondefs.h:1171:13: note: declared here 1171 | extern void oldsegsexup(); | ^~~~~~~~~~~ commondefs.h:1173:13: error: conflicting types for 'malloc_err'; have 'void(void)' 1173 | extern void malloc_err(); | ^~~~~~~~~~ lodscore.c:1269:12: warning: old-style function definition [-Wold-style-definition] 1269 | Local Void bldlt(b) | ^~~~~ commondefs.h:1021:6: note: previous declaration of 'malloc_err' with type 'void(char *)' 1021 | void malloc_err(char*); | ^~~~~~~~~~ comlike.c:1019:9: error: too many arguments to function 'segdown'; expected 0, have 1 1019 | segdown(&V); | ^~~~~~~ ~~ commondefs.h:1136:13: note: declared here 1136 | extern void segdown(); | ^~~~~~~ commondefs.h:1174:12: error: conflicting types for 'P_eof'; have 'int(void)' 1174 | extern int P_eof(); | ^~~~~ comlike.c:1025:7: error: too many arguments to function 'msegdown'; expected 0, have 1 1025 | msegdown(&V); | ^~~~~~~~ ~~ loinputcode.c:611:6: note: declared here 611 | Void inputerror(nerror, par1, par2, LINK) | ^~~~~~~~~~ commondefs.h:1165:13: note: declared here 1165 | extern void msegdown(); | ^~~~~~~~ In file included from ligetvect.c:86: comgetvect.c: In function 'prior': commondefs.h:1022:5: note: previous declaration of 'P_eof' with type 'int(FILE *)' 1022 | int P_eof(FILE*); | ^~~~~ comrec.c:295:12: error: too many arguments to function 'getdist'; expected 0, have 1 295 | dist = getdist(&maletheta->theta[i]) * distratio; | ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~ commondefs.h:1175:12: error: conflicting types for 'P_eoln'; have 'int(void)' 1175 | extern int P_eoln(); | ^~~~~~ commondefs.h:1167:15: note: declared here 1167 | extern double getdist(); | ^~~~~~~ comlike.c:1030:9: error: too many arguments to function 'segsexdown'; expected 0, have 1 1030 | segsexdown(&V); | ^~~~~~~~~~ ~~ commondefs.h:1023:5: note: previous declaration of 'P_eoln' with type 'int(FILE *)' 1023 | int P_eoln(FILE*); | ^~~~~~ commondefs.h:1138:13: note: declared here 1138 | extern void segsexdown(); | ^~~~~~~~~~ comrec.c:296:29: error: too many arguments to function 'invdist'; expected 0, have 1 296 | femaletheta->theta[i] = invdist(&dist); | ^~~~~~~ ~~~~~ commondefs.h:1168:15: note: declared here 1168 | extern double invdist(); | ^~~~~~~ comgetvect.c:26:13: warning: old-style function definition [-Wold-style-definition] 26 | static void prior(LINK) | ^~~~~ comlike.c:1036:7: error: too many arguments to function 'msegsexdown'; expected 0, have 1 1036 | msegsexdown(&V); | ^~~~~~~~~~~ ~~ cominputcode.c: In function 'sethap': commondefs.h:1184:17: error: conflicting types for 'MakeMask'; have 'unsigned int(void)' 1184 | extern unsigned MakeMask(); | ^~~~~~~~ commondefs.h:1164:13: note: declared here 1164 | extern void msegsexdown(); | ^~~~~~~~~~~ cominputcode.c:244:12: warning: old-style function definition [-Wold-style-definition] 244 | Local Void sethap(system, LINK) | ^~~~~~ commondefs.h:1024:10: note: previous declaration of 'MakeMask' with type 'unsigned int(int, int)' 1024 | unsigned MakeMask(int start, int end); | ^~~~~~~~ cominputcode.c: In function 'readbin': loinputcode.c:1722:7: error: too many arguments to function 'inputerror'; expected 0, have 4 1722 | inputerror(43L, locuslist1[V.i - 1], mlocus, LINK); | ^~~~~~~~~~ ~~~ commondefs.h:1185:13: error: conflicting types for 'getlocus'; have 'void(void)' 1185 | extern void getlocus(); | ^~~~~~~~ comrec.c: In function 'recombination': cominputcode.c:1154:12: warning: old-style function definition [-Wold-style-definition] 1154 | Local Void readbin(phen, ourlocus, LINK) | ^~~~~~~ commondefs.h:1025:6: note: previous declaration of 'getlocus' with type 'void(long int, struct LOC_readloci *)' 1025 | void getlocus(long, struct LOC_readloci*); | ^~~~~~~~ comrec.c:311:33: error: too many arguments to function 'mapfunction'; expected 0, have 2 311 | WITH->theta[mlocus - 1] = mapfunction(WITH->theta[mlocus - 2], | ^~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~ commondefs.h:1166:15: note: declared here 1166 | extern double mapfunction(); | ^~~~~~~~~~~ commondefs.h:1186:13: error: conflicting types for 'inputerror'; have 'void(void)' 1186 | extern void inputerror(); | ^~~~~~~~~~ commondefs.h:1026:6: note: previous declaration of 'inputerror' with type 'void(long int, long int, long int, struct LOC_inputdata *)' 1026 | void inputerror(long, long, long, struct LOC_inputdata*); | ^~~~~~~~~~ loinputcode.c:611:6: note: declared here 611 | Void inputerror(nerror, par1, par2, LINK) | ^~~~~~~~~~ commondefs.h:1187:13: error: conflicting types for 'inputwarning'; have 'void(void)' 1187 | extern void inputwarning(); | ^~~~~~~~~~~~ commondefs.h:1027:6: note: previous declaration of 'inputwarning' with type 'void(long int, long int, long int, struct LOC_inputdata *)' 1027 | void inputwarning(long, long, long, struct LOC_inputdata*); | ^~~~~~~~~~~~ comlike.c: In function 'collapseup': cominputcode.c:1171:7: error: too many arguments to function 'inputerror'; expected 0, have 4 1171 | inputerror(14L, (*LINK->p)->id, j, LINK->LINK->LINK); | ^~~~~~~~~~ ~~~ commondefs.h:1191:13: error: conflicting types for 'readped'; have 'void(void)' 1191 | extern void readped(); | ^~~~~~~ comlike.c:1044:12: warning: old-style function definition [-Wold-style-definition] 1044 | Local Void collapseup(p, LINK) | ^~~~~~~~~~ commondefs.h:1028:6: note: previous declaration of 'readped' with type 'void(struct LOC_inputdata *)' 1028 | void readped(struct LOC_inputdata*); | ^~~~~~~ cominputcode.c:342:6: note: declared here 342 | Void inputerror(nerror, par1, par2, LINK) | ^~~~~~~~~~ cominputcode.c: In function 'starthap': cominputcode.c:293:12: warning: old-style function definition [-Wold-style-definition] 293 | Local Void starthap(LINK) | ^~~~~~~~ ilink.c: In function 'bldlt': loinputcode.c:1728:11: error: too many arguments to function 'P_eoln'; expected 0, have 1 1728 | while (!P_eoln(datafile)) { | ^~~~~~ ~~~~~~~~ cominputcode.c: In function 'readnumber': ilink.c:1448:12: warning: old-style function definition [-Wold-style-definition] 1448 | Local Void bldlt(b) | ^~~~~ commondefs.h:1175:12: note: declared here 1175 | extern int P_eoln(); | ^~~~~~ cominputcode.c: In function 'gethet1': cominputcode.c:306:12: warning: old-style function definition [-Wold-style-definition] 306 | Local Void gethet1(system, LINK) | ^~~~~~~ cominputcode.c:1177:12: warning: old-style function definition [-Wold-style-definition] 1177 | Local Void readnumber(phen, ourlocus, LINK) | ^~~~~~~~~~ comlike.c:1079:9: error: too many arguments to function 'seg'; expected 0, have 5 1079 | seg(&p, &q, &child, peelup, LINK); | ^~~ ~~ loinputcode.c:1732:7: error: too many arguments to function 'inputerror'; expected 0, have 4 1732 | inputerror(42L, locuslist2[V.i - 1], mlocus, LINK); | ^~~~~~~~~~ ~~~ comlike.c:850:6: note: declared here 850 | Void seg(p_, q_, r_, peel, LINK) | ^~~ comrec.c:349:35: error: too many arguments to function 'mapfunction'; expected 0, have 2 349 | WITH->theta[mlocus - 1] = mapfunction(WITH->theta[mlocus - 2], | ^~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~ commondefs.h:1166:15: note: declared here 1166 | extern double mapfunction(); | ^~~~~~~~~~~ cominputcode.c:1198:7: error: too many arguments to function 'inputerror'; expected 0, have 4 1198 | inputerror(16L, (*LINK->p)->id, j, LINK->LINK->LINK); | ^~~~~~~~~~ ~~~ In file included from mlgetvect.c:4: commondefs.h:1166:15: error: conflicting types for 'mapfunction'; have 'double(void)' 1166 | extern double mapfunction(); | ^~~~~~~~~~~ cominputcode.c: At top level: cominputcode.c:342:6: note: declared here 342 | Void inputerror(nerror, par1, par2, LINK) | ^~~~~~~~~~ comlike.c: In function 'precollapseup': cominputcode.c:342:6: error: conflicting types for 'inputerror'; have 'void(void)' 342 | Void inputerror(nerror, par1, par2, LINK) | ^~~~~~~~~~ comlike.c:1090:12: warning: old-style function definition [-Wold-style-definition] 1090 | Local Void precollapseup(p) | ^~~~~~~~~~~~~ loinputcode.c:611:6: note: declared here 611 | Void inputerror(nerror, par1, par2, LINK) | ^~~~~~~~~~ commondefs.h:1026:6: note: previous declaration of 'inputerror' with type 'void(long int, long int, long int, struct LOC_inputdata *)' 1026 | void inputerror(long, long, long, struct LOC_inputdata*); | ^~~~~~~~~~ cominputcode.c: In function 'inputerror': commondefs.h:1067:8: note: previous declaration of 'mapfunction' with type 'double(double, double)' 1067 | double mapfunction(double, double); | ^~~~~~~~~~~ cominputcode.c:342:6: warning: old-style function definition [-Wold-style-definition] 342 | Void inputerror(nerror, par1, par2, LINK) | ^~~~~~~~~~ commondefs.h:1167:15: error: conflicting types for 'getdist'; have 'double(void)' 1167 | extern double getdist(); | ^~~~~~~ cominputcode.c:1200:7: error: too many arguments to function 'inputerror'; expected 0, have 4 1200 | inputerror(17L, (*LINK->p)->id, j, LINK->LINK->LINK); | ^~~~~~~~~~ ~~~ commondefs.h:1068:8: note: previous declaration of 'getdist' with type 'double(double *)' 1068 | double getdist(double*); | ^~~~~~~ cominputcode.c:342:6: note: declared here 342 | Void inputerror(nerror, par1, par2, LINK) | ^~~~~~~~~~ commondefs.h:1168:15: error: conflicting types for 'invdist'; have 'double(void)' 1168 | extern double invdist(); | ^~~~~~~ commondefs.h:1069:8: note: previous declaration of 'invdist' with type 'double(double *)' 1069 | double invdist(double*); | ^~~~~~~ loinputcode.c:1734:7: error: too many arguments to function 'inputerror'; expected 0, have 4 1734 | inputerror(43L, locuslist2[V.i - 1], mlocus, LINK); | ^~~~~~~~~~ ~~~ commondefs.h:1173:13: error: conflicting types for 'malloc_err'; have 'void(void)' 1173 | extern void malloc_err(); | ^~~~~~~~~~ commondefs.h:1021:6: note: previous declaration of 'malloc_err' with type 'void(char *)' 1021 | void malloc_err(char*); | ^~~~~~~~~~ comrec.c: In function 'scramble': commondefs.h:1174:12: error: conflicting types for 'P_eof'; have 'int(void)' 1174 | extern int P_eof(); | ^~~~~ loinputcode.c:611:6: note: declared here 611 | Void inputerror(nerror, par1, par2, LINK) | ^~~~~~~~~~ commondefs.h:1022:5: note: previous declaration of 'P_eof' with type 'int(FILE *)' 1022 | int P_eof(FILE*); | ^~~~~ comrec.c:42:12: warning: old-style function definition [-Wold-style-definition] 42 | Local Void scramble(LINK) | ^~~~~~~~ cominputcode.c: In function 'readaff': commondefs.h:1175:12: error: conflicting types for 'P_eoln'; have 'int(void)' 1175 | extern int P_eoln(); | ^~~~~~ comlike.c: In function 'collapsedown': commondefs.h:1023:5: note: previous declaration of 'P_eoln' with type 'int(FILE *)' 1023 | int P_eoln(FILE*); | ^~~~~~ comlike.c:1152:12: warning: old-style function definition [-Wold-style-definition] 1152 | Local Void collapsedown(p, LINK) | ^~~~~~~~~~~~ cominputcode.c:1235:12: warning: old-style function definition [-Wold-style-definition] 1235 | Local Void readaff(phen, thislocus, LINK) | ^~~~~~~ comlike.c:1160:3: error: too many arguments to function 'seg'; expected 0, have 5 1160 | seg(&p->pa, &p->ma, &p, peeldown, LINK); | ^~~ ~~~~~~ commondefs.h:1184:17: error: conflicting types for 'MakeMask'; have 'unsigned int(void)' 1184 | extern unsigned MakeMask(); | ^~~~~~~~ commondefs.h:1024:10: note: previous declaration of 'MakeMask' with type 'unsigned int(int, int)' 1024 | unsigned MakeMask(int start, int end); | ^~~~~~~~ In file included from gemdefs.h:17, from check.c:24: commondefs.h:1166:15: error: conflicting types for 'mapfunction'; have 'double(void)' 1166 | extern double mapfunction(); | ^~~~~~~~~~~ commondefs.h:1067:8: note: previous declaration of 'mapfunction' with type 'double(double, double)' 1067 | double mapfunction(double, double); | ^~~~~~~~~~~ commondefs.h:1185:13: error: conflicting types for 'getlocus'; have 'void(void)' 1185 | extern void getlocus(); | ^~~~~~~~ comlike.c:850:6: note: declared here 850 | Void seg(p_, q_, r_, peel, LINK) | ^~~ commondefs.h:1025:6: note: previous declaration of 'getlocus' with type 'void(long int, struct LOC_readloci *)' 1025 | void getlocus(long, struct LOC_readloci*); | ^~~~~~~~ commondefs.h:1167:15: error: conflicting types for 'getdist'; have 'double(void)' 1167 | extern double getdist(); | ^~~~~~~ cominputcode.c:1253:9: error: too many arguments to function 'inputwarning'; expected 0, have 4 1253 | inputwarning(3L, (*LINK->p)->id, thisval, LINK->LINK->LINK); | ^~~~~~~~~~~~ ~~ comlike.c: In function 'precollapsedown': commondefs.h:1186:13: error: conflicting types for 'inputerror'; have 'void(void)' 1186 | extern void inputerror(); | ^~~~~~~~~~ commondefs.h:1068:8: note: previous declaration of 'getdist' with type 'double(double *)' 1068 | double getdist(double*); | ^~~~~~~ comlike.c:1164:12: warning: old-style function definition [-Wold-style-definition] 1164 | Local Void precollapsedown(p) | ^~~~~~~~~~~~~~~ loinputcode.c: In function 'inputdata': commondefs.h:1026:6: note: previous declaration of 'inputerror' with type 'void(long int, long int, long int, struct LOC_inputdata *)' 1026 | void inputerror(long, long, long, struct LOC_inputdata*); | ^~~~~~~~~~ cominputcode.c:595:6: note: declared here 595 | Void inputwarning(nwarning, par1, par2, LINK) | ^~~~~~~~~~~~ commondefs.h:1168:15: error: conflicting types for 'invdist'; have 'double(void)' 1168 | extern double invdist(); | ^~~~~~~ commondefs.h:1069:8: note: previous declaration of 'invdist' with type 'double(double *)' 1069 | double invdist(double*); | ^~~~~~~ commondefs.h:1187:13: error: conflicting types for 'inputwarning'; have 'void(void)' 1187 | extern void inputwarning(); | ^~~~~~~~~~~~ commondefs.h:1027:6: note: previous declaration of 'inputwarning' with type 'void(long int, long int, long int, struct LOC_inputdata *)' 1027 | void inputwarning(long, long, long, struct LOC_inputdata*); | ^~~~~~~~~~~~ commondefs.h:1173:13: error: conflicting types for 'malloc_err'; have 'void(void)' 1173 | extern void malloc_err(); | ^~~~~~~~~~ commondefs.h:1021:6: note: previous declaration of 'malloc_err' with type 'void(char *)' 1021 | void malloc_err(char*); | ^~~~~~~~~~ commondefs.h:1191:13: error: conflicting types for 'readped'; have 'void(void)' 1191 | extern void readped(); | ^~~~~~~ comnuclear.c: In function 'msegsexf': loinputcode.c:1747:3: error: too many arguments to function 'readped'; expected 0, have 1 1747 | readped(&V); | ^~~~~~~ ~~ commondefs.h:1028:6: note: previous declaration of 'readped' with type 'void(struct LOC_inputdata *)' 1028 | void readped(struct LOC_inputdata*); | ^~~~~~~ commondefs.h:1174:12: error: conflicting types for 'P_eof'; have 'int(void)' 1174 | extern int P_eof(); | ^~~~~ comnuclear.c:146:14: warning: old-style function definition [-Wold-style-definition] 146 | Local double msegsexf(LINK) | ^~~~~~~~ commondefs.h:1022:5: note: previous declaration of 'P_eof' with type 'int(FILE *)' 1022 | int P_eof(FILE*); | ^~~~~ comlike.c: In function 'riskcumul': cominputcode.c:1262:5: error: too many arguments to function 'inputerror'; expected 0, have 4 1262 | inputerror(26L, (*LINK->p)->id, WITH->liability, LINK->LINK->LINK); | ^~~~~~~~~~ ~~~ comlike.c:1190:12: warning: old-style function definition [-Wold-style-definition] 1190 | Local Void riskcumul(LINK) | ^~~~~~~~~ commondefs.h:1175:12: error: conflicting types for 'P_eoln'; have 'int(void)' 1175 | extern int P_eoln(); | ^~~~~~ loinputcode.c:1168:6: note: declared here 1168 | Void readped(LINK) | ^~~~~~~ commondefs.h:1023:5: note: previous declaration of 'P_eoln' with type 'int(FILE *)' 1023 | int P_eoln(FILE*); | ^~~~~~ cominputcode.c:342:6: note: declared here 342 | Void inputerror(nerror, par1, par2, LINK) | ^~~~~~~~~~ cominputcode.c: At top level: mlgetvect.c: In function 'quanfun': commondefs.h:1184:17: error: conflicting types for 'MakeMask'; have 'unsigned int(void)' 1184 | extern unsigned MakeMask(); | ^~~~~~~~ cominputcode.c:595:6: error: conflicting types for 'inputwarning'; have 'void(void)' 595 | Void inputwarning(nwarning, par1, par2, LINK) | ^~~~~~~~~~~~ commondefs.h:1024:10: note: previous declaration of 'MakeMask' with type 'unsigned int(int, int)' 1024 | unsigned MakeMask(int start, int end); | ^~~~~~~~ commondefs.h:1027:6: note: previous declaration of 'inputwarning' with type 'void(long int, long int, long int, struct LOC_inputdata *)' 1027 | void inputwarning(long, long, long, struct LOC_inputdata*); | ^~~~~~~~~~~~ cominputcode.c: In function 'inputwarning': cominputcode.c:1264:5: error: too many arguments to function 'inputerror'; expected 0, have 4 1264 | inputerror(27L, (*LINK->p)->id, WITH->liability, LINK->LINK->LINK); | ^~~~~~~~~~ ~~~ cominputcode.c:595:6: warning: old-style function definition [-Wold-style-definition] 595 | Void inputwarning(nwarning, par1, par2, LINK) | ^~~~~~~~~~~~ commondefs.h:1185:13: error: conflicting types for 'getlocus'; have 'void(void)' 1185 | extern void getlocus(); | ^~~~~~~~ mlgetvect.c:20:14: warning: old-style function definition [-Wold-style-definition] 20 | Local double quanfun(phen, thislocus, i, j, mean, LINK) | ^~~~~~~ commondefs.h:1025:6: note: previous declaration of 'getlocus' with type 'void(long int, struct LOC_readloci *)' 1025 | void getlocus(long, struct LOC_readloci*); | ^~~~~~~~ cominputcode.c:342:6: note: declared here 342 | Void inputerror(nerror, par1, par2, LINK) | ^~~~~~~~~~ commondefs.h:1186:13: error: conflicting types for 'inputerror'; have 'void(void)' 1186 | extern void inputerror(); | ^~~~~~~~~~ comlike.c: In function 'riskcalc': commondefs.h:1026:6: note: previous declaration of 'inputerror' with type 'void(long int, long int, long int, struct LOC_inputdata *)' 1026 | void inputerror(long, long, long, struct LOC_inputdata*); | ^~~~~~~~~~ comlike.c:1213:12: warning: old-style function definition [-Wold-style-definition] 1213 | Local Void riskcalc(LINK) | ^~~~~~~~ cominputcode.c: In function 'readquan': commondefs.h:1187:13: error: conflicting types for 'inputwarning'; have 'void(void)' 1187 | extern void inputwarning(); | ^~~~~~~~~~~~ commondefs.h:1027:6: note: previous declaration of 'inputwarning' with type 'void(long int, long int, long int, struct LOC_inputdata *)' 1027 | void inputwarning(long, long, long, struct LOC_inputdata*); | ^~~~~~~~~~~~ cominputcode.c:1267:12: warning: old-style function definition [-Wold-style-definition] 1267 | Local Void readquan(phen, thislocus, LINK) | ^~~~~~~~ comgetvect.c: In function 'setval': commondefs.h:1191:13: error: conflicting types for 'readped'; have 'void(void)' 1191 | extern void readped(); | ^~~~~~~ commondefs.h:1028:6: note: previous declaration of 'readped' with type 'void(struct LOC_inputdata *)' 1028 | void readped(struct LOC_inputdata*); | ^~~~~~~ comgetvect.c:167:13: warning: old-style function definition [-Wold-style-definition] 167 | static void setval(val_, LINK) | ^~~~~~ lodscore.c: In function 'initialize': lodscore.c:1411:5: error: too many arguments to function 'performCheckpoint'; expected 0, have 3 1411 | performCheckpoint ( functionLocation , funCallPath , 0 ) ; | ^~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ commondefs.h:1139:13: note: declared here 1139 | extern void performCheckpoint(); | ^~~~~~~~~~~~~~~~~ comrec.c: In function 'setrec': cominputcode.c: In function 'getphenotype': cominputcode.c:1307:12: warning: old-style function definition [-Wold-style-definition] 1307 | Local Void getphenotype(p_, LINK) | ^~~~~~~~~~~~ comrec.c:100:12: warning: old-style function definition [-Wold-style-definition] 100 | Local Void setrec(val, LINK) | ^~~~~~ lodscore.c:1418:7: error: too many arguments to function 'recoverCheckpoint'; expected 0, have 1 1418 | recoverCheckpoint ( NULL ) ; | ^~~~~~~~~~~~~~~~~ ~~~~ comlike.c: In function 'pollutedescendants': commondefs.h:1140:13: note: declared here 1140 | extern void recoverCheckpoint (); | ^~~~~~~~~~~~~~~~~ comlike.c:1246:12: warning: old-style function definition [-Wold-style-definition] 1246 | Local Void pollutedescendants(startper) | ^~~~~~~~~~~~~~~~~~ commoncode.c: In function 'miscInit': commoncode.c:436:5: error: too many arguments to function 'malloc_err'; expected 0, have 1 436 | malloc_err("censorstruct"); | ^~~~~~~~~~ ~~~~~~~~~~~~~~ cominputcode.c:1324:9: error: too many arguments to function 'malloc_err'; expected 0, have 1 1324 | malloc_err("phen field"); | ^~~~~~~~~~ ~~~~~~~~~~~~ commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ comlike.c: In function 'translate_loop_vector': comlike.c:1276:13: warning: old-style function definition [-Wold-style-definition] 1276 | static void translate_loop_vector(loopgen, ped) | ^~~~~~~~~~~~~~~~~~~~~ mlgetvect.c: In function 'getval': cominputcode.c: In function 'malloc_loop_err': comrec.c: In function 'dointer': mlgetvect.c:55:12: warning: old-style function definition [-Wold-style-definition] 55 | Local Void getval(syste, i, j, val, LINK) | ^~~~~~ comrec.c:111:12: warning: old-style function definition [-Wold-style-definition] 111 | Local Void dointer(LINK) | ^~~~~~~ cominputcode.c:748:13: warning: old-style function definition [-Wold-style-definition] 748 | static void malloc_loop_err(message, fewer_vects_size) | ^~~~~~~~~~~~~~~ comgetvect.c: In function 'facmale': commoncode.c: In function 'ckptPreIpedRecover': commoncode.c:462:5: error: too many arguments to function 'recoverCheckpoint'; expected 0, have 1 462 | recoverCheckpoint(&checkpoint_place); | ^~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~ comgetvect.c:227:13: warning: old-style function definition [-Wold-style-definition] 227 | static void facmale(LINK) | ^~~~~~~ commondefs.h:1140:13: note: declared here 1140 | extern void recoverCheckpoint (); | ^~~~~~~~~~~~~~~~~ ilink.c: In function 'initilink': check.c: In function 'fileErrorHelp': cominputcode.c:1350:9: error: too many arguments to function 'malloc_err'; expected 0, have 1 1350 | malloc_err("privphen field"); | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~ ilink.c:1590:5: error: too many arguments to function 'performCheckpoint'; expected 0, have 3 1590 | performCheckpoint ( functionLocation , funCallPath , 0 ) ; | ^~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ commondefs.h:1139:13: note: declared here 1139 | extern void performCheckpoint(); | ^~~~~~~~~~~~~~~~~ cominputcode.c: In function 'infer_genotypes': cominputcode.c:774:6: warning: old-style function definition [-Wold-style-definition] 774 | void infer_genotypes(curr_ped) | ^~~~~~~~~~~~~~~ check.c:31:1: warning: old-style function definition [-Wold-style-definition] 31 | fileErrorHelp ( fileName , problemType ) | ^~~~~~~~~~~~~ ilink.c:1597:7: error: too many arguments to function 'recoverCheckpoint'; expected 0, have 1 1597 | recoverCheckpoint ( NULL ) ; | ^~~~~~~~~~~~~~~~~ ~~~~ cominputcode.c: In function 'getinformative': commondefs.h:1140:13: note: declared here 1140 | extern void recoverCheckpoint (); | ^~~~~~~~~~~~~~~~~ cominputcode.c:1371:12: warning: old-style function definition [-Wold-style-definition] 1371 | Local Void getinformative(LINK) | ^~~~~~~~~~~~~~ lodscore.c: In function 'gforward': lodscore.c:1479:7: error: too many arguments to function 'performCheckpoint'; expected 0, have 3 1479 | performCheckpoint ( functionLocation , funCallPath , i ) ; | ^~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ commondefs.h:1139:13: note: declared here 1139 | extern void performCheckpoint(); | ^~~~~~~~~~~~~~~~~ cominputcode.c:794:7: error: too many arguments to function 'malloc_err'; expected 0, have 1 794 | malloc_err("breaker_poss_bylocus middle level"); | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ comgetvect.c:247:9: error: too many arguments to function 'getgene'; expected 0, have 3 247 | getgene(LINK->syste + 1, LINK->val, LINK->LINK); | ^~~~~~~ ~~~~~~~~~~~~~~~ ligetvect.c:19:13: note: declared here 19 | static void getgene (); | ^~~~~~~ In file included from mlgetvect.c:84: comgetvect.c: In function 'prior': cominputcode.c:799:7: error: too many arguments to function 'malloc_err'; expected 0, have 1 799 | malloc_err("breaker_poss_bylocus inner level"); | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lodscore.c:1485:7: error: too many arguments to function 'recoverCheckpoint'; expected 0, have 1 1485 | recoverCheckpoint ( & i ) ; | ^~~~~~~~~~~~~~~~~ ~~~ commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ commondefs.h:1140:13: note: declared here 1140 | extern void recoverCheckpoint (); | ^~~~~~~~~~~~~~~~~ comgetvect.c: In function 'affmale': comgetvect.c:256:13: warning: old-style function definition [-Wold-style-definition] 256 | static void affmale(LINK) | ^~~~~~~ comgetvect.c:26:13: warning: old-style function definition [-Wold-style-definition] 26 | static void prior(LINK) | ^~~~~ comlike.c: In function 'find_loopbreaker_genotypes': check.c: In function 'ourCopyAppendFile': comlike.c:1403:6: warning: old-style function definition [-Wold-style-definition] 1403 | Void find_loopbreaker_genotypes(ped,i, loopmax) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ commoncode.c: In function 'seqStartup': check.c:71:1: warning: old-style function definition [-Wold-style-definition] 71 | ourCopyAppendFile ( fromName , toName , operationType ) | ^~~~~~~~~~~~~~~~~ commoncode.c:597:6: warning: old-style function definition [-Wold-style-definition] 597 | void seqStartup(argc, argv) | ^~~~~~~~~~ cominputcode.c:818:7: error: too many arguments to function 'malloc_err'; expected 0, have 1 818 | malloc_err("breaker_poss_genotype"); | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~ commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ cominputcode.c: In function 'getind': comgetvect.c:271:9: error: too many arguments to function 'getgene'; expected 0, have 3 271 | getgene(LINK->syste + 1, LINK->newval, LINK->LINK); | ^~~~~~~ ~~~~~~~~~~~~~~~ cominputcode.c:1436:12: warning: old-style function definition [-Wold-style-definition] 1436 | Local Void getind(id, LINK) | ^~~~~~ ligetvect.c:19:13: note: declared here 19 | static void getgene (); | ^~~~~~~ comlike.c:1427:7: error: too many arguments to function 'malloc_err'; expected 0, have 1 1427 | malloc_err("loopbreaker_nextgeno entry"); | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ comgetvect.c: In function 'quanmale': cominputcode.c:1445:5: error: too many arguments to function 'inputerror'; expected 0, have 4 1445 | inputerror(13L, *id, *id, LINK->LINK); | ^~~~~~~~~~ ~~~ comgetvect.c:280:13: warning: old-style function definition [-Wold-style-definition] 280 | static void quanmale(LINK) | ^~~~~~~~ cominputcode.c:342:6: note: declared here 342 | Void inputerror(nerror, par1, par2, LINK) | ^~~~~~~~~~ comlike.c: In function 'likelihood': comlike.c:1453:6: warning: old-style function definition [-Wold-style-definition] 1453 | Void likelihood(thisped_, proband_) | ^~~~~~~~~~ commoncode.c: In function 'zerotest': comlike.c:1456:1: error: number of arguments doesn't match prototype 1456 | { | ^ commondefs.h:1156:13: error: prototype declaration 1156 | extern void likelihood(); | ^~~~~~~~~~ commoncode.c:664:9: warning: old-style function definition [-Wold-style-definition] 664 | boolean zerotest(thetacomponent) | ^~~~~~~~ lodscore.c: In function 'gcentral': ilink.c: In function 'gforward': cominputcode.c:1449:7: error: too many arguments to function 'malloc_err'; expected 0, have 1 1449 | malloc_err("person"); | ^~~~~~~~~~ ~~~~~~~~ commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ cominputcode.c: In function 'read_loop_file': lodscore.c:1543:7: error: too many arguments to function 'performCheckpoint'; expected 0, have 3 1543 | performCheckpoint ( functionLocation , funCallPath, i ) ; | ^~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ cominputcode.c:880:6: warning: old-style function definition [-Wold-style-definition] 880 | void read_loop_file(curr_ped) | ^~~~~~~~~~~~~~ cominputcode.c: In function 'multimarriage': ilink.c:1853:7: error: too many arguments to function 'performCheckpoint'; expected 0, have 3 1853 | performCheckpoint ( functionLocation , funCallPath , i ) ; | ^~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ commondefs.h:1139:13: note: declared here 1139 | extern void performCheckpoint(); | ^~~~~~~~~~~~~~~~~ comgetvect.c:296:9: error: too many arguments to function 'getgene'; expected 0, have 3 296 | getgene(LINK->syste + 1, LINK->newval, LINK->LINK); | ^~~~~~~ ~~~~~~~~~~~~~~~ cominputcode.c:1453:12: warning: old-style function definition [-Wold-style-definition] 1453 | Local Void multimarriage(p, LINK) | ^~~~~~~~~~~~~ commoncode.c: In function 'main': cominputcode.c:882:1: error: number of arguments doesn't match prototype 882 | { | ^ commondefs.h:1139:13: note: declared here 1139 | extern void performCheckpoint(); | ^~~~~~~~~~~~~~~~~ commondefs.h:1190:13: error: prototype declaration 1190 | extern void read_loop_file(); | ^~~~~~~~~~~~~~ commoncode.c:672:5: warning: old-style function definition [-Wold-style-definition] 672 | int main(argc, argv) | ^~~~ ligetvect.c:19:13: note: declared here 19 | static void getgene (); | ^~~~~~~ comlike.c:1491:3: error: too many arguments to function 'recompute_haps'; expected 0, have 2 1491 | recompute_haps(thisped_, true); | ^~~~~~~~~~~~~~ ~~~~~~~~ comlike.c:361:6: note: declared here 361 | void recompute_haps(pedix, wantlocations) | ^~~~~~~~~~~~~~ lodscore.c:1549:7: error: too many arguments to function 'recoverCheckpoint'; expected 0, have 1 1549 | recoverCheckpoint ( & i ) ; | ^~~~~~~~~~~~~~~~~ ~~~ comrec.c: In function 'nexthet': comnuclear.c: In function 'segsex': ilink.c:1859:7: error: too many arguments to function 'recoverCheckpoint'; expected 0, have 1 1859 | recoverCheckpoint ( & i ) ; | ^~~~~~~~~~~~~~~~~ ~~~ commondefs.h:1140:13: note: declared here 1140 | extern void recoverCheckpoint (); | ^~~~~~~~~~~~~~~~~ commondefs.h:1140:13: note: declared here 1140 | extern void recoverCheckpoint (); | ^~~~~~~~~~~~~~~~~ comnuclear.c:229:14: warning: old-style function definition [-Wold-style-definition] 229 | Local double segsex(LINK) | ^~~~~~ comrec.c:165:12: warning: old-style function definition [-Wold-style-definition] 165 | Local Void nexthet(i, val, inphase, LINK) | ^~~~~~~ comgetvect.c:311:11: error: too many arguments to function 'getgene'; expected 0, have 3 311 | getgene(LINK->syste + 1, LINK->newval, LINK->LINK); | ^~~~~~~ ~~~~~~~~~~~~~~~ ligetvect.c:19:13: note: declared here 19 | static void getgene (); | ^~~~~~~ cominputcode.c:945:5: error: too many arguments to function 'malloc_err'; expected 0, have 1 945 | malloc_err("is_zero_breaker"); | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~ comgetvect.c: In function 'fac': commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ comgetvect.c:321:13: warning: old-style function definition [-Wold-style-definition] 321 | static void fac(LINK) | ^~~ cominputcode.c: At top level: cominputcode.c:1482:6: error: conflicting types for 'readped'; have 'void(void)' 1482 | Void readped(LINK) | ^~~~~~~ commondefs.h:1028:6: note: previous declaration of 'readped' with type 'void(struct LOC_inputdata *)' 1028 | void readped(struct LOC_inputdata*); | ^~~~~~~ cominputcode.c: In function 'readped': cominputcode.c:1482:6: warning: old-style function definition [-Wold-style-definition] 1482 | Void readped(LINK) | ^~~~~~~ cominputcode.c:1517:11: error: too many arguments to function 'P_eof'; expected 0, have 1 1517 | while (!P_eof(ipedfile)) { | ^~~~~ ~~~~~~~~ comlike.c:1545:9: error: too many arguments to function 'malloc_err'; expected 0, have 1 1545 | malloc_err("gen field in likelihood"); | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ comlike.c:1546:7: error: too many arguments to function 'allocate_thisarray'; expected 0, have 2 1546 | allocate_thisarray(WITH->gen, fgeno); | ^~~~~~~~~~~~~~~~~~ ~~~~~~~~~ commondefs.h:1174:12: note: declared here 1174 | extern int P_eof(); | ^~~~~ comlike.c:172:6: note: declared here 172 | void allocate_thisarray(location, number) | ^~~~~~~~~~~~~~~~~~ comnuclear.c: In function 'segsexf': comnuclear.c:320:14: warning: old-style function definition [-Wold-style-definition] 320 | Local double segsexf(LINK) | ^~~~~~~ ilink.c: In function 'gcentral': ilink.c:2150:7: error: too many arguments to function 'performCheckpoint'; expected 0, have 3 2150 | performCheckpoint ( functionLocation , funCallPath, i ) ; | ^~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ comrec.c: In function 'getrecprob': comlike.c:1551:7: error: too many arguments to function 'getvect'; expected 0, have 2 1551 | getvect(looppers[V.thisped - 1][i][0], &V); /*G OK*/ | ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ commondefs.h:1141:13: note: declared here 1141 | extern void getvect(); | ^~~~~~~ commondefs.h:1139:13: note: declared here 1139 | extern void performCheckpoint(); | ^~~~~~~~~~~~~~~~~ comrec.c:220:12: warning: old-style function definition [-Wold-style-definition] 220 | Local Void getrecprob(LINK) | ^~~~~~~~~~ mlink.c: In function 'ipedLoop': comgetvect.c: In function 'setval': mlink.c:466:9: error: too many arguments to function 'performCheckpoint'; expected 0, have 3 466 | performCheckpoint(functionLocation, iterpeds_counter, iterped_call_before); | ^~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ ilink.c:2156:7: error: too many arguments to function 'recoverCheckpoint'; expected 0, have 1 2156 | recoverCheckpoint ( & i ) ; | ^~~~~~~~~~~~~~~~~ ~~~ commondefs.h:1139:13: note: declared here 1139 | extern void performCheckpoint(); | ^~~~~~~~~~~~~~~~~ comgetvect.c:167:13: warning: old-style function definition [-Wold-style-definition] 167 | static void setval(val_, LINK) | ^~~~~~ commondefs.h:1140:13: note: declared here 1140 | extern void recoverCheckpoint (); | ^~~~~~~~~~~~~~~~~ cominputcode.c:1537:7: error: too many arguments to function 'inputerror'; expected 0, have 4 1537 | inputerror(11L, WITH->id, sex_, LINK); | ^~~~~~~~~~ ~~~ cominputcode.c:342:6: note: declared here 342 | Void inputerror(nerror, par1, par2, LINK) | ^~~~~~~~~~ mlink.c:478:9: error: too many arguments to function 'performCheckpoint'; expected 0, have 3 478 | performCheckpoint(functionLocation, iterpeds_counter, iterped_call_after); | ^~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ commondefs.h:1139:13: note: declared here 1139 | extern void performCheckpoint(); | ^~~~~~~~~~~~~~~~~ comnuclear.c: In function 'segfun': comnuclear.c:384:14: warning: old-style function definition [-Wold-style-definition] 384 | Local double segfun(LINK) | ^~~~~~ comrec.c: In function 'gethet': comrec.c:249:12: warning: old-style function definition [-Wold-style-definition] 249 | Local Void gethet(system, LINK) | ^~~~~~ mlink.c:499:10: error: too many arguments to function 'P_eof'; expected 0, have 1 499 | if (!P_eof(datafile)) { | ^~~~~ ~~~~~~~~ commondefs.h:1174:12: note: declared here 1174 | extern int P_eof(); | ^~~~~ cominputcode.c: In function 'readbin': cominputcode.c:1154:12: warning: old-style function definition [-Wold-style-definition] 1154 | Local Void readbin(phen, ourlocus, LINK) | ^~~~~~~ cominputcode.c:1171:7: error: too many arguments to function 'inputerror'; expected 0, have 4 1171 | inputerror(14L, (*LINK->p)->id, j, LINK->LINK->LINK); | ^~~~~~~~~~ ~~~ comlike.c:1697:11: error: too many arguments to function 'cleanup'; expected 0, have 2 1697 | cleanup(&person[i], &V); | ^~~~~~~ ~~~~~~~~~~ comgetvect.c: In function 'facmale': comgetvect.c:227:13: warning: old-style function definition [-Wold-style-definition] 227 | static void facmale(LINK) | ^~~~~~~ comlike.c:150:6: note: declared here 150 | Void cleanup(p, LINK) | ^~~~~~~ cominputcode.c:342:6: note: declared here 342 | Void inputerror(nerror, par1, par2, LINK) | ^~~~~~~~~~ cominputcode.c:1581:10: error: too many arguments to function 'P_eof'; expected 0, have 1 1581 | if (!P_eof(ipedfile)) | ^~~~~ ~~~~~~~~ cominputcode.c: In function 'readnumber': commondefs.h:1174:12: note: declared here 1174 | extern int P_eof(); | ^~~~~ comgetvect.c:346:11: error: too many arguments to function 'getgene'; expected 0, have 3 346 | getgene(LINK->syste + 1, LINK->val, LINK->LINK); | ^~~~~~~ ~~~~~~~~~~~~~~~ ligetvect.c:19:13: note: declared here 19 | static void getgene (); | ^~~~~~~ check.c: In function 'putCkptNumber': cominputcode.c:1177:12: warning: old-style function definition [-Wold-style-definition] 1177 | Local Void readnumber(phen, ourlocus, LINK) | ^~~~~~~~~~ comgetvect.c:247:9: error: too many arguments to function 'getgene'; expected 0, have 3 247 | getgene(LINK->syste + 1, LINK->val, LINK->LINK); | ^~~~~~~ ~~~~~~~~~~~~~~~ comlike.c:1720:7: error: too many arguments to function 'cleanup'; expected 0, have 2 1720 | cleanup(&person[i], &V); | ^~~~~~~ ~~~~~~~~~~ cominputcode.c:1590:7: error: too many arguments to function 'inputerror'; expected 0, have 4 1590 | inputerror(12L, newped, nuped, LINK); | ^~~~~~~~~~ ~~~ mlgetvect.c:17:13: note: declared here 17 | static void getgene (); | ^~~~~~~ check.c:217:7: warning: old-style function definition [-Wold-style-definition] 217 | void putCkptNumber ( numberPtr , numberSize ) | ^~~~~~~~~~~~~ cominputcode.c:1198:7: error: too many arguments to function 'inputerror'; expected 0, have 4 1198 | inputerror(16L, (*LINK->p)->id, j, LINK->LINK->LINK); | ^~~~~~~~~~ ~~~ cominputcode.c:342:6: note: declared here 342 | Void inputerror(nerror, par1, par2, LINK) | ^~~~~~~~~~ comlike.c:150:6: note: declared here 150 | Void cleanup(p, LINK) | ^~~~~~~ cominputcode.c:342:6: note: declared here 342 | Void inputerror(nerror, par1, par2, LINK) | ^~~~~~~~~~ comnuclear.c: In function 'msegfast': check.c: In function 'putCkptVector': comnuclear.c:477:14: warning: old-style function definition [-Wold-style-definition] 477 | Local double msegfast(LINK) | ^~~~~~~~ comgetvect.c: In function 'affmale': check.c:226:9: warning: old-style function definition [-Wold-style-definition] 226 | void putCkptVector ( theVector ) | ^~~~~~~~~~~~~ comgetvect.c:256:13: warning: old-style function definition [-Wold-style-definition] 256 | static void affmale(LINK) | ^~~~~~~ comgetvect.c:371:11: error: too many arguments to function 'getgene'; expected 0, have 3 371 | getgene(LINK->syste + 1, LINK->val, LINK->LINK); | ^~~~~~~ ~~~~~~~~~~~~~~~ cominputcode.c:1200:7: error: too many arguments to function 'inputerror'; expected 0, have 4 1200 | inputerror(17L, (*LINK->p)->id, j, LINK->LINK->LINK); | ^~~~~~~~~~ ~~~ ligetvect.c:19:13: note: declared here 19 | static void getgene (); | ^~~~~~~ cominputcode.c:342:6: note: declared here 342 | Void inputerror(nerror, par1, par2, LINK) | ^~~~~~~~~~ comgetvect.c: In function 'aff': check.c: In function 'putCkptMatrix': comgetvect.c:381:13: warning: old-style function definition [-Wold-style-definition] 381 | static void aff(LINK) | ^~~ check.c:237:9: warning: old-style function definition [-Wold-style-definition] 237 | void putCkptMatrix ( theMatrix ) | ^~~~~~~~~~~~~ comgetvect.c:271:9: error: too many arguments to function 'getgene'; expected 0, have 3 271 | getgene(LINK->syste + 1, LINK->newval, LINK->LINK); | ^~~~~~~ ~~~~~~~~~~~~~~~ mlgetvect.c:17:13: note: declared here 17 | static void getgene (); | ^~~~~~~ cominputcode.c: In function 'readaff': check.c: In function 'putCkptIter': check.c:248:11: warning: old-style function definition [-Wold-style-definition] 248 | void putCkptIter ( theIter ) | ^~~~~~~~~~~ cominputcode.c:1235:12: warning: old-style function definition [-Wold-style-definition] 1235 | Local Void readaff(phen, thislocus, LINK) | ^~~~~~~ comgetvect.c:402:13: error: too many arguments to function 'getgene'; expected 0, have 3 402 | getgene(LINK->syste + 1, LINK->newval, LINK->LINK); | ^~~~~~~ ~~~~~~~~~~~~~~~ comgetvect.c: In function 'quanmale': ligetvect.c:19:13: note: declared here 19 | static void getgene (); | ^~~~~~~ comgetvect.c:280:13: warning: old-style function definition [-Wold-style-definition] 280 | static void quanmale(LINK) | ^~~~~~~~ cominputcode.c: In function 'getbin': cominputcode.c:1253:9: error: too many arguments to function 'inputwarning'; expected 0, have 4 1253 | inputwarning(3L, (*LINK->p)->id, thisval, LINK->LINK->LINK); | ^~~~~~~~~~~~ ~~ cominputcode.c:1651:12: warning: old-style function definition [-Wold-style-definition] 1651 | Local Void getbin(locus, system, LINK) | ^~~~~~ cominputcode.c:595:6: note: declared here 595 | Void inputwarning(nwarning, par1, par2, LINK) | ^~~~~~~~~~~~ comlike.c: In function 'mem_cleanup': comgetvect.c:423:13: error: too many arguments to function 'getgene'; expected 0, have 3 423 | getgene(LINK->syste + 1, LINK->newval, LINK->LINK); | ^~~~~~~ ~~~~~~~~~~~~~~~ ligetvect.c:19:13: note: declared here 19 | static void getgene (); | ^~~~~~~ comgetvect.c:296:9: error: too many arguments to function 'getgene'; expected 0, have 3 296 | getgene(LINK->syste + 1, LINK->newval, LINK->LINK); | ^~~~~~~ ~~~~~~~~~~~~~~~ mlgetvect.c:17:13: note: declared here 17 | static void getgene (); | ^~~~~~~ cominputcode.c:1262:5: error: too many arguments to function 'inputerror'; expected 0, have 4 1262 | inputerror(26L, (*LINK->p)->id, WITH->liability, LINK->LINK->LINK); | ^~~~~~~~~~ ~~~ cominputcode.c:1664:5: error: too many arguments to function 'inputerror'; expected 0, have 4 1664 | inputerror(8L, *system, LINK->LINK->LINK->nfactor[*system - 1], | ^~~~~~~~~~ ~~ comrec.c: In function 'recombine': comlike.c:1963:12: warning: old-style function definition [-Wold-style-definition] 1963 | Local Void mem_cleanup(p) | ^~~~~~~~~~~ comgetvect.c: In function 'quanval': cominputcode.c:342:6: note: declared here 342 | Void inputerror(nerror, par1, par2, LINK) | ^~~~~~~~~~ comrec.c:268:12: warning: old-style function definition [-Wold-style-definition] 268 | Local Void recombine(theta_, segprob_, LINK) | ^~~~~~~~~ cominputcode.c:342:6: note: declared here 342 | Void inputerror(nerror, par1, par2, LINK) | ^~~~~~~~~~ comgetvect.c:433:13: warning: old-style function definition [-Wold-style-definition] 433 | static void quanval(LINK) | ^~~~~~~ comlike.c: In function 'mem_prob': comlike.c:1976:12: warning: old-style function definition [-Wold-style-definition] 1976 | Local Void mem_prob(p) | ^~~~~~~~ cominputcode.c:1264:5: error: too many arguments to function 'inputerror'; expected 0, have 4 1264 | inputerror(27L, (*LINK->p)->id, WITH->liability, LINK->LINK->LINK); | ^~~~~~~~~~ ~~~ comrec.c: In function 'getfemaletheta': cominputcode.c:342:6: note: declared here 342 | Void inputerror(nerror, par1, par2, LINK) | ^~~~~~~~~~ comlike.c: In function 'mem_initseg': cominputcode.c:1667:5: error: too many arguments to function 'inputerror'; expected 0, have 4 1667 | inputerror(9L, *system, LINK->LINK->LINK->nfactor[*system - 1], | ^~~~~~~~~~ ~~ comrec.c:284:12: warning: old-style function definition [-Wold-style-definition] 284 | Local Void getfemaletheta(LINK) | ^~~~~~~~~~~~~~ comlike.c:1990:12: warning: old-style function definition [-Wold-style-definition] 1990 | Local Void mem_initseg(father, mother) | ^~~~~~~~~~~ cominputcode.c: In function 'readquan': cominputcode.c:342:6: note: declared here 342 | Void inputerror(nerror, par1, par2, LINK) | ^~~~~~~~~~ In file included from mloldnuclear.c:4: commondefs.h:1166:15: error: conflicting types for 'mapfunction'; have 'double(void)' 1166 | extern double mapfunction(); | ^~~~~~~~~~~ comgetvect.c:311:11: error: too many arguments to function 'getgene'; expected 0, have 3 311 | getgene(LINK->syste + 1, LINK->newval, LINK->LINK); | ^~~~~~~ ~~~~~~~~~~~~~~~ mlgetvect.c:17:13: note: declared here 17 | static void getgene (); | ^~~~~~~ cominputcode.c:1267:12: warning: old-style function definition [-Wold-style-definition] 1267 | Local Void readquan(phen, thislocus, LINK) | ^~~~~~~~ commondefs.h:1067:8: note: previous declaration of 'mapfunction' with type 'double(double, double)' 1067 | double mapfunction(double, double); | ^~~~~~~~~~~ comgetvect.c:453:13: error: too many arguments to function 'getgene'; expected 0, have 3 453 | getgene(LINK->syste + 1, LINK->newval, LINK->LINK); | ^~~~~~~ ~~~~~~~~~~~~~~~ lodscore.c: In function 'iterate': ligetvect.c:19:13: note: declared here 19 | static void getgene (); | ^~~~~~~ commondefs.h:1167:15: error: conflicting types for 'getdist'; have 'double(void)' 1167 | extern double getdist(); | ^~~~~~~ commondefs.h:1068:8: note: previous declaration of 'getdist' with type 'double(double *)' 1068 | double getdist(double*); | ^~~~~~~ commondefs.h:1168:15: error: conflicting types for 'invdist'; have 'double(void)' 1168 | extern double invdist(); | ^~~~~~~ commondefs.h:1069:8: note: previous declaration of 'invdist' with type 'double(double *)' 1069 | double invdist(double*); | ^~~~~~~ comrec.c:295:12: error: too many arguments to function 'getdist'; expected 0, have 1 295 | dist = getdist(&maletheta->theta[i]) * distratio; | ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~ comgetvect.c: In function 'fac': lodscore.c:1794:7: error: too many arguments to function 'performCheckpoint'; expected 0, have 3 1794 | performCheckpoint ( iterationLocation , nit , 0 ) ; | ^~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~ comgetvect.c:321:13: warning: old-style function definition [-Wold-style-definition] 321 | static void fac(LINK) | ^~~ commondefs.h:1173:13: error: conflicting types for 'malloc_err'; have 'void(void)' 1173 | extern void malloc_err(); | ^~~~~~~~~~ commondefs.h:1167:15: note: declared here 1167 | extern double getdist(); | ^~~~~~~ commondefs.h:1139:13: note: declared here 1139 | extern void performCheckpoint(); | ^~~~~~~~~~~~~~~~~ comlike.c: In function 'mem_exitseg': commondefs.h:1021:6: note: previous declaration of 'malloc_err' with type 'void(char *)' 1021 | void malloc_err(char*); | ^~~~~~~~~~ commondefs.h:1174:12: error: conflicting types for 'P_eof'; have 'int(void)' 1174 | extern int P_eof(); | ^~~~~ comlike.c:2016:12: warning: old-style function definition [-Wold-style-definition] 2016 | Local Void mem_exitseg(father, mother) | ^~~~~~~~~~~ commondefs.h:1022:5: note: previous declaration of 'P_eof' with type 'int(FILE *)' 1022 | int P_eof(FILE*); | ^~~~~ cominputcode.c: In function 'getnumber': commondefs.h:1175:12: error: conflicting types for 'P_eoln'; have 'int(void)' 1175 | extern int P_eoln(); | ^~~~~~ comrec.c:296:29: error: too many arguments to function 'invdist'; expected 0, have 1 296 | femaletheta->theta[i] = invdist(&dist); | ^~~~~~~ ~~~~~ commondefs.h:1023:5: note: previous declaration of 'P_eoln' with type 'int(FILE *)' 1023 | int P_eoln(FILE*); | ^~~~~~ commondefs.h:1168:15: note: declared here 1168 | extern double invdist(); | ^~~~~~~ commondefs.h:1184:17: error: conflicting types for 'MakeMask'; have 'unsigned int(void)' 1184 | extern unsigned MakeMask(); | ^~~~~~~~ comlike.c: In function 'mem_segup': commondefs.h:1024:10: note: previous declaration of 'MakeMask' with type 'unsigned int(int, int)' 1024 | unsigned MakeMask(int start, int end); | ^~~~~~~~ comlike.c:2029:12: warning: old-style function definition [-Wold-style-definition] 2029 | Local Void mem_segup(p, q, child) | ^~~~~~~~~ cominputcode.c:1686:12: warning: old-style function definition [-Wold-style-definition] 1686 | Local Void getnumber(locus, system, LINK) | ^~~~~~~~~ commondefs.h:1185:13: error: conflicting types for 'getlocus'; have 'void(void)' 1185 | extern void getlocus(); | ^~~~~~~~ commondefs.h:1025:6: note: previous declaration of 'getlocus' with type 'void(long int, struct LOC_readloci *)' 1025 | void getlocus(long, struct LOC_readloci*); | ^~~~~~~~ comgetvect.c:474:13: error: too many arguments to function 'getgene'; expected 0, have 3 474 | getgene(LINK->syste + 1, LINK->newval, LINK->LINK); | ^~~~~~~ ~~~~~~~~~~~~~~~ commondefs.h:1186:13: error: conflicting types for 'inputerror'; have 'void(void)' 1186 | extern void inputerror(); | ^~~~~~~~~~ ligetvect.c:19:13: note: declared here 19 | static void getgene (); | ^~~~~~~ cominputcode.c: In function 'getphenotype': commondefs.h:1026:6: note: previous declaration of 'inputerror' with type 'void(long int, long int, long int, struct LOC_inputdata *)' 1026 | void inputerror(long, long, long, struct LOC_inputdata*); | ^~~~~~~~~~ cominputcode.c:1307:12: warning: old-style function definition [-Wold-style-definition] 1307 | Local Void getphenotype(p_, LINK) | ^~~~~~~~~~~~ commondefs.h:1187:13: error: conflicting types for 'inputwarning'; have 'void(void)' 1187 | extern void inputwarning(); | ^~~~~~~~~~~~ commondefs.h:1027:6: note: previous declaration of 'inputwarning' with type 'void(long int, long int, long int, struct LOC_inputdata *)' 1027 | void inputwarning(long, long, long, struct LOC_inputdata*); | ^~~~~~~~~~~~ cominputcode.c: In function 'getpen': cominputcode.c:1702:12: warning: old-style function definition [-Wold-style-definition] 1702 | Local Void getpen(locus, LINK) | ^~~~~~ commondefs.h:1191:13: error: conflicting types for 'readped'; have 'void(void)' 1191 | extern void readped(); | ^~~~~~~ comrec.c: In function 'recombination': commondefs.h:1028:6: note: previous declaration of 'readped' with type 'void(struct LOC_inputdata *)' 1028 | void readped(struct LOC_inputdata*); | ^~~~~~~ comrec.c:311:33: error: too many arguments to function 'mapfunction'; expected 0, have 2 311 | WITH->theta[mlocus - 1] = mapfunction(WITH->theta[mlocus - 2], | ^~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~ commondefs.h:1166:15: note: declared here 1166 | extern double mapfunction(); | ^~~~~~~~~~~ comgetvect.c: In function 'getgene': comgetvect.c:485:13: warning: old-style function definition [-Wold-style-definition] 485 | static void getgene(syste_, val_, LINK) | ^~~~~~~ cominputcode.c:1714:5: error: too many arguments to function 'inputerror'; expected 0, have 4 1714 | inputerror(28L, LINK->system, WITH->UU.U0.nclass, LINK->LINK->LINK); | ^~~~~~~~~~ ~~~ comlike.c: In function 'mem_segdown': cominputcode.c:1324:9: error: too many arguments to function 'malloc_err'; expected 0, have 1 1324 | malloc_err("phen field"); | ^~~~~~~~~~ ~~~~~~~~~~~~ commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ mloldnuclear.c: In function 'getapprox': comlike.c:2069:12: warning: old-style function definition [-Wold-style-definition] 2069 | Local Void mem_segdown(p, q, child) | ^~~~~~~~~~~ cominputcode.c:342:6: note: declared here 342 | Void inputerror(nerror, par1, par2, LINK) | ^~~~~~~~~~ mloldnuclear.c:7:12: warning: old-style function definition [-Wold-style-definition] 7 | Local Void getapprox(LINK) | ^~~~~~~~~ cominputcode.c:1716:5: error: too many arguments to function 'inputerror'; expected 0, have 4 1716 | inputerror(29L, LINK->system, WITH->UU.U0.nclass, LINK->LINK->LINK); | ^~~~~~~~~~ ~~~ cominputcode.c:342:6: note: declared here 342 | Void inputerror(nerror, par1, par2, LINK) | ^~~~~~~~~~ lodscore.c: In function 'gemini': cominputcode.c:1350:9: error: too many arguments to function 'malloc_err'; expected 0, have 1 1350 | malloc_err("privphen field"); | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~ commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ comlike.c: In function 'mem_collapseup': lodscore.c:1894:7: error: too many arguments to function 'recoverCheckpoint'; expected 0, have 1 1894 | recoverCheckpoint ( NULL ) ; | ^~~~~~~~~~~~~~~~~ ~~~~ comlike.c:2103:12: warning: old-style function definition [-Wold-style-definition] 2103 | Local Void mem_collapseup(p) | ^~~~~~~~~~~~~~ commondefs.h:1140:13: note: declared here 1140 | extern void recoverCheckpoint (); | ^~~~~~~~~~~~~~~~~ comgetvect.c: In function 'facmale_': comgetvect.c:557:13: warning: old-style function definition [-Wold-style-definition] 557 | static void facmale_(LINK) | ^~~~~~~~ comlike.c:2120:7: error: too many arguments to function 'mem_collapsedown'; expected 0, have 1 2120 | mem_collapsedown(q); | ^~~~~~~~~~~~~~~~ ~ cominputcode.c: In function 'getinformative': comlike.c:1961:13: note: declared here 1961 | static void mem_collapsedown(); | ^~~~~~~~~~~~~~~~ cominputcode.c:1371:12: warning: old-style function definition [-Wold-style-definition] 1371 | Local Void getinformative(LINK) | ^~~~~~~~~~~~~~ comnuclear.c: In function 'msegfun': comnuclear.c:642:14: warning: old-style function definition [-Wold-style-definition] 642 | Local double msegfun(LINK) | ^~~~~~~ comlike.c:2139:9: error: too many arguments to function 'mem_collapsedown'; expected 0, have 1 2139 | mem_collapsedown(p); | ^~~~~~~~~~~~~~~~ ~ comlike.c:1961:13: note: declared here 1961 | static void mem_collapsedown(); | ^~~~~~~~~~~~~~~~ cominputcode.c:1725:11: error: too many arguments to function 'inputerror'; expected 0, have 4 1725 | inputerror(30L, LINK->system, LINK->system, LINK->LINK->LINK); | ^~~~~~~~~~ ~~~ ilink.c: In function 'iterate': comlike.c: In function 'mem_collapsedown': comlike.c:2149:12: warning: old-style function definition [-Wold-style-definition] 2149 | Local Void mem_collapsedown(p) | ^~~~~~~~~~~~~~~~ cominputcode.c:342:6: note: declared here 342 | Void inputerror(nerror, par1, par2, LINK) | ^~~~~~~~~~ In file included from mloldnuclear.c:34: comnuclear.c: In function 'msegsex': ilink.c:2433:7: error: too many arguments to function 'performCheckpoint'; expected 0, have 3 2433 | performCheckpoint ( iterationLocation , nit , 0 ) ; | ^~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~ commondefs.h:1139:13: note: declared here 1139 | extern void performCheckpoint(); | ^~~~~~~~~~~~~~~~~ comrec.c:349:35: error: too many arguments to function 'mapfunction'; expected 0, have 2 349 | WITH->theta[mlocus - 1] = mapfunction(WITH->theta[mlocus - 2], | ^~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~ comnuclear.c:7:14: warning: old-style function definition [-Wold-style-definition] 7 | Local double msegsex(LINK) | ^~~~~~~ commondefs.h:1166:15: note: declared here 1166 | extern double mapfunction(); | ^~~~~~~~~~~ comgetvect.c:601:11: error: too many arguments to function 'ugetgene'; expected 0, have 3 601 | ugetgene(locus + 2, LINK->val, LINK->LINK); | ^~~~~~~~ ~~~~~~~~~ ligetvect.c:20:13: note: declared here 20 | static void ugetgene (); | ^~~~~~~~ cominputcode.c: In function 'getind': comlike.c: In function 'maxw_estimation': cominputcode.c:1436:12: warning: old-style function definition [-Wold-style-definition] 1436 | Local Void getind(id, LINK) | ^~~~~~ comlike.c:2198:7: error: too many arguments to function 'mem_collapsedown'; expected 0, have 1 2198 | mem_collapsedown(proband[ped - 1]); | ^~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ comgetvect.c: In function 'affmale_': comlike.c:2149:12: note: declared here 2149 | Local Void mem_collapsedown(p) | ^~~~~~~~~~~~~~~~ comgetvect.c:616:13: warning: old-style function definition [-Wold-style-definition] 616 | static void affmale_(LINK) | ^~~~~~~~ cominputcode.c:1445:5: error: too many arguments to function 'inputerror'; expected 0, have 4 1445 | inputerror(13L, *id, *id, LINK->LINK); | ^~~~~~~~~~ ~~~ comlike.c:2207:5: error: too many arguments to function 'mem_collapsedown'; expected 0, have 1 2207 | mem_collapsedown(proband[ped - 1]); | ^~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ cominputcode.c:342:6: note: declared here 342 | Void inputerror(nerror, par1, par2, LINK) | ^~~~~~~~~~ comlike.c:2149:12: note: declared here 2149 | Local Void mem_collapsedown(p) | ^~~~~~~~~~~~~~~~ check.c: In function 'performCheckpoint': cominputcode.c:1742:11: error: too many arguments to function 'inputerror'; expected 0, have 4 1742 | inputerror(30L, LINK->system, LINK->system, LINK->LINK->LINK); | ^~~~~~~~~~ ~~~ cominputcode.c:1449:7: error: too many arguments to function 'malloc_err'; expected 0, have 1 1449 | malloc_err("person"); | ^~~~~~~~~~ ~~~~~~~~ commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ comgetvect.c:653:11: error: too many arguments to function 'ugetgene'; expected 0, have 3 653 | ugetgene(locus + 2, LINK->newval, LINK->LINK); | ^~~~~~~~ ~~~~~~~~~ cominputcode.c: In function 'multimarriage': cominputcode.c:1453:12: warning: old-style function definition [-Wold-style-definition] 1453 | Local Void multimarriage(p, LINK) | ^~~~~~~~~~~~~ cominputcode.c:342:6: note: declared here 342 | Void inputerror(nerror, par1, par2, LINK) | ^~~~~~~~~~ ligetvect.c:20:13: note: declared here 20 | static void ugetgene (); | ^~~~~~~~ check.c:372:21: warning: old-style function definition [-Wold-style-definition] 372 | void performCheckpoint ( locationType , locationDatum , extra ) | ^~~~~~~~~~~~~~~~~ ilink.c: In function 'gemini': check.c:376:1: error: number of arguments doesn't match prototype 376 | { | ^ ilink.c:2537:7: error: too many arguments to function 'recoverCheckpoint'; expected 0, have 1 2537 | recoverCheckpoint ( NULL ) ; | ^~~~~~~~~~~~~~~~~ ~~~~ commondefs.h:1139:13: error: prototype declaration 1139 | extern void performCheckpoint(); | ^~~~~~~~~~~~~~~~~ commondefs.h:1140:13: note: declared here 1140 | extern void recoverCheckpoint (); | ^~~~~~~~~~~~~~~~~ comgetvect.c: In function 'quanmale_': comgetvect.c:668:13: warning: old-style function definition [-Wold-style-definition] 668 | static void quanmale_(LINK) | ^~~~~~~~~ lodscore.c: In function 'checkdone': comgetvect.c:346:11: error: too many arguments to function 'getgene'; expected 0, have 3 346 | getgene(LINK->syste + 1, LINK->val, LINK->LINK); | ^~~~~~~ ~~~~~~~~~~~~~~~ mlgetvect.c:17:13: note: declared here 17 | static void getgene (); | ^~~~~~~ cominputcode.c: In function 'getquan': lodscore.c:2013:16: warning: old-style function definition [-Wold-style-definition] 2013 | static boolean checkdone(ilocus, jlocus) | ^~~~~~~~~ cominputcode.c:1753:12: warning: old-style function definition [-Wold-style-definition] 1753 | Local Void getquan(locus, privelege, LINK) | ^~~~~~~ cominputcode.c: At top level: cominputcode.c:1482:6: error: conflicting types for 'readped'; have 'void(void)' 1482 | Void readped(LINK) | ^~~~~~~ commondefs.h:1028:6: note: previous declaration of 'readped' with type 'void(struct LOC_inputdata *)' 1028 | void readped(struct LOC_inputdata*); | ^~~~~~~ cominputcode.c: In function 'readped': cominputcode.c:1482:6: warning: old-style function definition [-Wold-style-definition] 1482 | Void readped(LINK) | ^~~~~~~ ilink.c: In function 'main': ilink.c:2583:5: warning: old-style function definition [-Wold-style-definition] 2583 | int main(argc, argv) | ^~~~ cominputcode.c:1768:5: error: too many arguments to function 'inputerror'; expected 0, have 4 1768 | inputerror(31L, LINK->system, WITH->UU.U1.ntrait, LINK->LINK->LINK); | ^~~~~~~~~~ ~~~ comgetvect.c:708:11: error: too many arguments to function 'ugetgene'; expected 0, have 3 708 | ugetgene(locus + 2, LINK->newval, LINK->LINK); | ^~~~~~~~ ~~~~~~~~~ ligetvect.c:20:13: note: declared here 20 | static void ugetgene (); | ^~~~~~~~ cominputcode.c:342:6: note: declared here 342 | Void inputerror(nerror, par1, par2, LINK) | ^~~~~~~~~~ check.c: In function 'getCkptNumber': check.c:437:7: warning: old-style function definition [-Wold-style-definition] 437 | void getCkptNumber ( numberPtr , numberSize ) | ^~~~~~~~~~~~~ cominputcode.c:1517:11: error: too many arguments to function 'P_eof'; expected 0, have 1 1517 | while (!P_eof(ipedfile)) { | ^~~~~ ~~~~~~~~ commondefs.h:1174:12: note: declared here 1174 | extern int P_eof(); | ^~~~~ cominputcode.c:1770:5: error: too many arguments to function 'inputerror'; expected 0, have 4 1770 | inputerror(32L, LINK->system, WITH->UU.U0.nclass, LINK->LINK->LINK); | ^~~~~~~~~~ ~~~ lodscore.c: In function 'main': check.c: In function 'getCkptVector': cominputcode.c:342:6: note: declared here 342 | Void inputerror(nerror, par1, par2, LINK) | ^~~~~~~~~~ lodscore.c:2054:5: warning: old-style function definition [-Wold-style-definition] 2054 | int main(argc, argv) | ^~~~ check.c:446:9: warning: old-style function definition [-Wold-style-definition] 446 | void getCkptVector ( theVector ) | ^~~~~~~~~~~~~ comgetvect.c:371:11: error: too many arguments to function 'getgene'; expected 0, have 3 371 | getgene(LINK->syste + 1, LINK->val, LINK->LINK); | ^~~~~~~ ~~~~~~~~~~~~~~~ mlgetvect.c:17:13: note: declared here 17 | static void getgene (); | ^~~~~~~ cominputcode.c:1537:7: error: too many arguments to function 'inputerror'; expected 0, have 4 1537 | inputerror(11L, WITH->id, sex_, LINK); | ^~~~~~~~~~ ~~~ check.c: In function 'getCkptMatrix': check.c:457:9: warning: old-style function definition [-Wold-style-definition] 457 | void getCkptMatrix ( theMatrix ) | ^~~~~~~~~~~~~ cominputcode.c:342:6: note: declared here 342 | Void inputerror(nerror, par1, par2, LINK) | ^~~~~~~~~~ comgetvect.c:740:13: error: too many arguments to function 'ugetgene'; expected 0, have 3 740 | ugetgene(locus + 2, LINK->newval, LINK->LINK); | ^~~~~~~~ ~~~~~~~~~ ligetvect.c:20:13: note: declared here 20 | static void ugetgene (); | ^~~~~~~~ comgetvect.c: In function 'aff': comgetvect.c:381:13: warning: old-style function definition [-Wold-style-definition] 381 | static void aff(LINK) | ^~~ check.c: In function 'getCkptIter': check.c:468:11: warning: old-style function definition [-Wold-style-definition] 468 | void getCkptIter ( theIter ) | ^~~~~~~~~~~ comgetvect.c: In function 'fac_': comgetvect.c:758:13: warning: old-style function definition [-Wold-style-definition] 758 | static void fac_(LINK) | ^~~~ cominputcode.c:1792:9: error: too many arguments to function 'inputerror'; expected 0, have 4 1792 | inputerror(33L, LINK->system, LINK->system, LINK->LINK->LINK); | ^~~~~~~~~~ ~~~ cominputcode.c:342:6: note: declared here 342 | Void inputerror(nerror, par1, par2, LINK) | ^~~~~~~~~~ comgetvect.c:402:13: error: too many arguments to function 'getgene'; expected 0, have 3 402 | getgene(LINK->syste + 1, LINK->newval, LINK->LINK); | ^~~~~~~ ~~~~~~~~~~~~~~~ mlgetvect.c:17:13: note: declared here 17 | static void getgene (); | ^~~~~~~ cominputcode.c:1581:10: error: too many arguments to function 'P_eof'; expected 0, have 1 1581 | if (!P_eof(ipedfile)) | ^~~~~ ~~~~~~~~ commondefs.h:1174:12: note: declared here 1174 | extern int P_eof(); | ^~~~~ cominputcode.c:1798:3: error: too many arguments to function 'invert'; expected 0, have 3 1798 | invert(WITH->UU.U1.vmat, WITH->UU.U1.ntrait, &WITH->UU.U1.det); | ^~~~~~ ~~~~~~~~~~~~~~~~ commondefs.h:1145:13: note: declared here 1145 | extern void invert(); | ^~~~~~ cominputcode.c:1590:7: error: too many arguments to function 'inputerror'; expected 0, have 4 1590 | inputerror(12L, newped, nuped, LINK); | ^~~~~~~~~~ ~~~ cominputcode.c:1803:5: error: too many arguments to function 'inputerror'; expected 0, have 4 1803 | inputerror(34L, LINK->system, LINK->system, LINK->LINK->LINK); | ^~~~~~~~~~ ~~~ cominputcode.c:342:6: note: declared here 342 | Void inputerror(nerror, par1, par2, LINK) | ^~~~~~~~~~ comnuclear.c: In function 'segfast': comnuclear.c: In function 'msegsexf': cominputcode.c:342:6: note: declared here 342 | Void inputerror(nerror, par1, par2, LINK) | ^~~~~~~~~~ comnuclear.c:794:14: warning: old-style function definition [-Wold-style-definition] 794 | Local double segfast(LINK) | ^~~~~~~ comnuclear.c:146:14: warning: old-style function definition [-Wold-style-definition] 146 | Local double msegsexf(LINK) | ^~~~~~~~ comgetvect.c:423:13: error: too many arguments to function 'getgene'; expected 0, have 3 423 | getgene(LINK->syste + 1, LINK->newval, LINK->LINK); | ^~~~~~~ ~~~~~~~~~~~~~~~ mlgetvect.c:17:13: note: declared here 17 | static void getgene (); | ^~~~~~~ cominputcode.c: At top level: cominputcode.c:1812:6: error: conflicting types for 'getlocus'; have 'void(void)' 1812 | Void getlocus(system_, LINK) | ^~~~~~~~ commondefs.h:1025:6: note: previous declaration of 'getlocus' with type 'void(long int, struct LOC_readloci *)' 1025 | void getlocus(long, struct LOC_readloci*); | ^~~~~~~~ comgetvect.c: In function 'quanval': cominputcode.c: In function 'getlocus': cominputcode.c:1812:6: warning: old-style function definition [-Wold-style-definition] 1812 | Void getlocus(system_, LINK) | ^~~~~~~~ comgetvect.c:433:13: warning: old-style function definition [-Wold-style-definition] 433 | static void quanval(LINK) | ^~~~~~~ cominputcode.c: In function 'getbin': comgetvect.c:809:13: error: too many arguments to function 'ugetgene'; expected 0, have 3 809 | ugetgene(locus + 2, LINK->val, LINK->LINK); | ^~~~~~~~ ~~~~~~~~~ cominputcode.c:1826:5: error: too many arguments to function 'malloc_err'; expected 0, have 1 1826 | malloc_err("entry in thislocus"); | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~ commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ ligetvect.c:20:13: note: declared here 20 | static void ugetgene (); | ^~~~~~~~ cominputcode.c:1651:12: warning: old-style function definition [-Wold-style-definition] 1651 | Local Void getbin(locus, system, LINK) | ^~~~~~ cominputcode.c:1837:5: error: too many arguments to function 'inputerror'; expected 0, have 4 1837 | inputerror(5L, V.system, LINK->whichtype, LINK->LINK); | ^~~~~~~~~~ ~~ comgetvect.c:453:13: error: too many arguments to function 'getgene'; expected 0, have 3 453 | getgene(LINK->syste + 1, LINK->newval, LINK->LINK); | ^~~~~~~ ~~~~~~~~~~~~~~~ mlgetvect.c:17:13: note: declared here 17 | static void getgene (); | ^~~~~~~ cominputcode.c:1664:5: error: too many arguments to function 'inputerror'; expected 0, have 4 1664 | inputerror(8L, *system, LINK->LINK->LINK->nfactor[*system - 1], | ^~~~~~~~~~ ~~ cominputcode.c:342:6: note: declared here 342 | Void inputerror(nerror, par1, par2, LINK) | ^~~~~~~~~~ cominputcode.c:342:6: note: declared here 342 | Void inputerror(nerror, par1, par2, LINK) | ^~~~~~~~~~ cominputcode.c:1839:5: error: too many arguments to function 'inputerror'; expected 0, have 4 1839 | inputerror(6L, V.system, WITH->nallele, LINK->LINK); | ^~~~~~~~~~ ~~ cominputcode.c:342:6: note: declared here 342 | Void inputerror(nerror, par1, par2, LINK) | ^~~~~~~~~~ cominputcode.c:1667:5: error: too many arguments to function 'inputerror'; expected 0, have 4 1667 | inputerror(9L, *system, LINK->LINK->LINK->nfactor[*system - 1], | ^~~~~~~~~~ ~~ cominputcode.c:342:6: note: declared here 342 | Void inputerror(nerror, par1, par2, LINK) | ^~~~~~~~~~ In file included from linkmap.c:10: commondefs.h:1166:15: error: conflicting types for 'mapfunction'; have 'double(void)' 1166 | extern double mapfunction(); | ^~~~~~~~~~~ comnuclear.c: In function 'segsexctop': comnuclear.c:902:6: warning: old-style function definition [-Wold-style-definition] 902 | Void segsexctop(LINK) | ^~~~~~~~~~ cominputcode.c:1841:5: error: too many arguments to function 'inputerror'; expected 0, have 4 1841 | inputerror(7L, V.system, WITH->nallele, LINK->LINK); | ^~~~~~~~~~ ~~ commondefs.h:1067:8: note: previous declaration of 'mapfunction' with type 'double(double, double)' 1067 | double mapfunction(double, double); | ^~~~~~~~~~~ comnuclear.c:904:1: error: number of arguments doesn't match prototype 904 | { | ^ commondefs.h:1159:13: error: prototype declaration 1159 | extern void segsexctop(); | ^~~~~~~~~~ cominputcode.c:342:6: note: declared here 342 | Void inputerror(nerror, par1, par2, LINK) | ^~~~~~~~~~ commondefs.h:1167:15: error: conflicting types for 'getdist'; have 'double(void)' 1167 | extern double getdist(); | ^~~~~~~ commondefs.h:1068:8: note: previous declaration of 'getdist' with type 'double(double *)' 1068 | double getdist(double*); | ^~~~~~~ comgetvect.c:856:13: error: too many arguments to function 'ugetgene'; expected 0, have 3 856 | ugetgene(LINK->syste + 1, LINK->val, LINK->LINK); | ^~~~~~~~ ~~~~~~~~~~~~~~~ commondefs.h:1168:15: error: conflicting types for 'invdist'; have 'double(void)' 1168 | extern double invdist(); | ^~~~~~~ comnuclear.c:913:3: error: too many arguments to function 'initseg'; expected 0, have 1 913 | initseg(LINK); | ^~~~~~~ ~~~~ commondefs.h:1147:13: note: declared here 1147 | extern void initseg(); | ^~~~~~~ commondefs.h:1069:8: note: previous declaration of 'invdist' with type 'double(double *)' 1069 | double invdist(double*); | ^~~~~~~ ligetvect.c:20:13: note: declared here 20 | static void ugetgene (); | ^~~~~~~~ cominputcode.c: In function 'getnumber': comgetvect.c:474:13: error: too many arguments to function 'getgene'; expected 0, have 3 474 | getgene(LINK->syste + 1, LINK->newval, LINK->LINK); | ^~~~~~~ ~~~~~~~~~~~~~~~ commondefs.h:1173:13: error: conflicting types for 'malloc_err'; have 'void(void)' 1173 | extern void malloc_err(); | ^~~~~~~~~~ mlgetvect.c:17:13: note: declared here 17 | static void getgene (); | ^~~~~~~ commondefs.h:1021:6: note: previous declaration of 'malloc_err' with type 'void(char *)' 1021 | void malloc_err(char*); | ^~~~~~~~~~ cominputcode.c:1686:12: warning: old-style function definition [-Wold-style-definition] 1686 | Local Void getnumber(locus, system, LINK) | ^~~~~~~~~ commondefs.h:1174:12: error: conflicting types for 'P_eof'; have 'int(void)' 1174 | extern int P_eof(); | ^~~~~ commondefs.h:1022:5: note: previous declaration of 'P_eof' with type 'int(FILE *)' 1022 | int P_eof(FILE*); | ^~~~~ cominputcode.c: In function 'getpen': commondefs.h:1175:12: error: conflicting types for 'P_eoln'; have 'int(void)' 1175 | extern int P_eoln(); | ^~~~~~ cominputcode.c:1702:12: warning: old-style function definition [-Wold-style-definition] 1702 | Local Void getpen(locus, LINK) | ^~~~~~ commondefs.h:1023:5: note: previous declaration of 'P_eoln' with type 'int(FILE *)' 1023 | int P_eoln(FILE*); | ^~~~~~ cominputcode.c:1871:9: error: too many arguments to function 'malloc_err'; expected 0, have 1 1871 | malloc_err("privlocus field"); | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~ comgetvect.c: In function 'getgene': commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ comgetvect.c:485:13: warning: old-style function definition [-Wold-style-definition] 485 | static void getgene(syste_, val_, LINK) | ^~~~~~~ lodscore.c:2251:5: error: too many arguments to function 'malloc_err'; expected 0, have 1 2251 | malloc_err("censorstruct"); | ^~~~~~~~~~ ~~~~~~~~~~~~~~ commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ commondefs.h:1184:17: error: conflicting types for 'MakeMask'; have 'unsigned int(void)' 1184 | extern unsigned MakeMask(); | ^~~~~~~~ comgetvect.c: In function 'aff_': cominputcode.c:1714:5: error: too many arguments to function 'inputerror'; expected 0, have 4 1714 | inputerror(28L, LINK->system, WITH->UU.U0.nclass, LINK->LINK->LINK); | ^~~~~~~~~~ ~~~ commondefs.h:1024:10: note: previous declaration of 'MakeMask' with type 'unsigned int(int, int)' 1024 | unsigned MakeMask(int start, int end); | ^~~~~~~~ comgetvect.c:948:13: warning: old-style function definition [-Wold-style-definition] 948 | static void aff_(LINK) | ^~~~ commondefs.h:1185:13: error: conflicting types for 'getlocus'; have 'void(void)' 1185 | extern void getlocus(); | ^~~~~~~~ check.c: In function 'recoverCheckpoint': cominputcode.c:342:6: note: declared here 342 | Void inputerror(nerror, par1, par2, LINK) | ^~~~~~~~~~ commondefs.h:1025:6: note: previous declaration of 'getlocus' with type 'void(long int, struct LOC_readloci *)' 1025 | void getlocus(long, struct LOC_readloci*); | ^~~~~~~~ check.c:587:7: warning: old-style function definition [-Wold-style-definition] 587 | void recoverCheckpoint ( extra ) | ^~~~~~~~~~~~~~~~~ commondefs.h:1186:13: error: conflicting types for 'inputerror'; have 'void(void)' 1186 | extern void inputerror(); | ^~~~~~~~~~ check.c:589:1: error: number of arguments doesn't match prototype 589 | { | ^ commondefs.h:1026:6: note: previous declaration of 'inputerror' with type 'void(long int, long int, long int, struct LOC_inputdata *)' 1026 | void inputerror(long, long, long, struct LOC_inputdata*); | ^~~~~~~~~~ commondefs.h:1140:13: error: prototype declaration 1140 | extern void recoverCheckpoint (); | ^~~~~~~~~~~~~~~~~ commondefs.h:1187:13: error: conflicting types for 'inputwarning'; have 'void(void)' 1187 | extern void inputwarning(); | ^~~~~~~~~~~~ cominputcode.c:1716:5: error: too many arguments to function 'inputerror'; expected 0, have 4 1716 | inputerror(29L, LINK->system, WITH->UU.U0.nclass, LINK->LINK->LINK); | ^~~~~~~~~~ ~~~ commondefs.h:1027:6: note: previous declaration of 'inputwarning' with type 'void(long int, long int, long int, struct LOC_inputdata *)' 1027 | void inputwarning(long, long, long, struct LOC_inputdata*); | ^~~~~~~~~~~~ cominputcode.c:342:6: note: declared here 342 | Void inputerror(nerror, par1, par2, LINK) | ^~~~~~~~~~ commondefs.h:1191:13: error: conflicting types for 'readped'; have 'void(void)' 1191 | extern void readped(); | ^~~~~~~ commondefs.h:1028:6: note: previous declaration of 'readped' with type 'void(struct LOC_inputdata *)' 1028 | void readped(struct LOC_inputdata*); | ^~~~~~~ comgetvect.c: In function 'facmale_': comgetvect.c:557:13: warning: old-style function definition [-Wold-style-definition] 557 | static void facmale_(LINK) | ^~~~~~~~ cominputcode.c:1955:5: error: too many arguments to function 'inputerror'; expected 0, have 4 1955 | inputerror(35L, V.system, (int)riskall, LINK->LINK); | ^~~~~~~~~~ ~~~ comnuclear.c: In function 'segsex': comgetvect.c:1005:15: error: too many arguments to function 'ugetgene'; expected 0, have 3 1005 | ugetgene(locus + 2, LINK->newval, LINK->LINK); | ^~~~~~~~ ~~~~~~~~~ cominputcode.c:342:6: note: declared here 342 | Void inputerror(nerror, par1, par2, LINK) | ^~~~~~~~~~ cominputcode.c:1725:11: error: too many arguments to function 'inputerror'; expected 0, have 4 1725 | inputerror(30L, LINK->system, LINK->system, LINK->LINK->LINK); | ^~~~~~~~~~ ~~~ comnuclear.c:229:14: warning: old-style function definition [-Wold-style-definition] 229 | Local double segsex(LINK) | ^~~~~~ ligetvect.c:20:13: note: declared here 20 | static void ugetgene (); | ^~~~~~~~ comnuclear.c:1020:3: error: too many arguments to function 'cleanup'; expected 0, have 2 1020 | cleanup(LINK->q, LINK->LINK); | ^~~~~~~ ~~~~~~~ cominputcode.c:342:6: note: declared here 342 | Void inputerror(nerror, par1, par2, LINK) | ^~~~~~~~~~ commondefs.h:1146:13: note: declared here 1146 | extern void cleanup(); | ^~~~~~~ comnuclear.c:1021:3: error: too many arguments to function 'exitseg'; expected 0, have 1 1021 | exitseg(LINK); | ^~~~~~~ ~~~~ commondefs.h:1148:13: note: declared here 1148 | extern void exitseg(); | ^~~~~~~ cominputcode.c:1957:5: error: too many arguments to function 'inputerror'; expected 0, have 4 1957 | inputerror(36L, V.system, (int)riskall, LINK->LINK); | ^~~~~~~~~~ ~~~ cominputcode.c:342:6: note: declared here 342 | Void inputerror(nerror, par1, par2, LINK) | ^~~~~~~~~~ comnuclear.c: In function 'segsextop': comnuclear.c:1025:6: warning: old-style function definition [-Wold-style-definition] 1025 | Void segsextop(LINK) | ^~~~~~~~~ comnuclear.c:1027:1: error: number of arguments doesn't match prototype 1027 | { | ^ commondefs.h:1160:13: error: prototype declaration 1160 | extern void segsextop(); | ^~~~~~~~~ comnuclear.c:1035:3: error: too many arguments to function 'initseg'; expected 0, have 1 1035 | initseg(LINK); | ^~~~~~~ ~~~~ commondefs.h:1147:13: note: declared here 1147 | extern void initseg(); | ^~~~~~~ cominputcode.c: In function 'gettheta': cominputcode.c:1742:11: error: too many arguments to function 'inputerror'; expected 0, have 4 1742 | inputerror(30L, LINK->system, LINK->system, LINK->LINK->LINK); | ^~~~~~~~~~ ~~~ cominputcode.c:1961:6: warning: old-style function definition [-Wold-style-definition] 1961 | Void gettheta(sex_, LINK) | ^~~~~~~~ cominputcode.c:342:6: note: declared here 342 | Void inputerror(nerror, par1, par2, LINK) | ^~~~~~~~~~ comgetvect.c:601:11: error: too many arguments to function 'ugetgene'; expected 0, have 3 601 | ugetgene(locus + 2, LINK->val, LINK->LINK); | ^~~~~~~~ ~~~~~~~~~ mlgetvect.c:18:13: note: declared here 18 | static void ugetgene (); | ^~~~~~~~ comgetvect.c:1049:15: error: too many arguments to function 'ugetgene'; expected 0, have 3 1049 | ugetgene(locus + 2, LINK->newval, LINK->LINK); | ^~~~~~~~ ~~~~~~~~~ ligetvect.c:20:13: note: declared here 20 | static void ugetgene (); | ^~~~~~~~ comgetvect.c: In function 'affmale_': cominputcode.c:1979:5: error: too many arguments to function 'malloc_err'; expected 0, have 1 1979 | malloc_err("item of type thetavalues"); | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~ cominputcode.c: In function 'getquan': comgetvect.c:616:13: warning: old-style function definition [-Wold-style-definition] 616 | static void affmale_(LINK) | ^~~~~~~~ commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ cominputcode.c:1983:5: error: too many arguments to function 'malloc_err'; expected 0, have 1 1983 | malloc_err("a segprob array in procedure gettheta"); | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ cominputcode.c:1753:12: warning: old-style function definition [-Wold-style-definition] 1753 | Local Void getquan(locus, privelege, LINK) | ^~~~~~~ comgetvect.c: In function 'ugetgene': comgetvect.c:1065:13: warning: old-style function definition [-Wold-style-definition] 1065 | static void ugetgene(syste_, val_, LINK) | ^~~~~~~~ comnuclear.c: In function 'segsexf': cominputcode.c:1768:5: error: too many arguments to function 'inputerror'; expected 0, have 4 1768 | inputerror(31L, LINK->system, WITH->UU.U1.ntrait, LINK->LINK->LINK); | ^~~~~~~~~~ ~~~ comnuclear.c:320:14: warning: old-style function definition [-Wold-style-definition] 320 | Local double segsexf(LINK) | ^~~~~~~ comnuclear.c:1107:3: error: too many arguments to function 'cleanup'; expected 0, have 2 1107 | cleanup(LINK->q, LINK->LINK); | ^~~~~~~ ~~~~~~~ commondefs.h:1146:13: note: declared here 1146 | extern void cleanup(); | ^~~~~~~ cominputcode.c:342:6: note: declared here 342 | Void inputerror(nerror, par1, par2, LINK) | ^~~~~~~~~~ comnuclear.c:1108:3: error: too many arguments to function 'exitseg'; expected 0, have 1 1108 | exitseg(LINK); | ^~~~~~~ ~~~~ commondefs.h:1148:13: note: declared here 1148 | extern void exitseg(); | ^~~~~~~ In file included from gemdefs.h:17, from linkmap.c:11: commondefs.h:1166:15: error: conflicting types for 'mapfunction'; have 'double(void)' 1166 | extern double mapfunction(); | ^~~~~~~~~~~ commondefs.h:1067:8: note: previous declaration of 'mapfunction' with type 'double(double, double)' 1067 | double mapfunction(double, double); | ^~~~~~~~~~~ comgetvect.c:653:11: error: too many arguments to function 'ugetgene'; expected 0, have 3 653 | ugetgene(locus + 2, LINK->newval, LINK->LINK); | ^~~~~~~~ ~~~~~~~~~ commondefs.h:1167:15: error: conflicting types for 'getdist'; have 'double(void)' 1167 | extern double getdist(); | ^~~~~~~ mlgetvect.c:18:13: note: declared here 18 | static void ugetgene (); | ^~~~~~~~ cominputcode.c:1770:5: error: too many arguments to function 'inputerror'; expected 0, have 4 1770 | inputerror(32L, LINK->system, WITH->UU.U0.nclass, LINK->LINK->LINK); | ^~~~~~~~~~ ~~~ comnuclear.c: In function 'segctop': comnuclear.c:1111:6: warning: old-style function definition [-Wold-style-definition] 1111 | Void segctop(LINK) | ^~~~~~~ commondefs.h:1068:8: note: previous declaration of 'getdist' with type 'double(double *)' 1068 | double getdist(double*); | ^~~~~~~ comnuclear.c:1113:1: error: number of arguments doesn't match prototype 1113 | { | ^ commondefs.h:1161:13: error: prototype declaration 1161 | extern void segctop(); | ^~~~~~~ cominputcode.c:342:6: note: declared here 342 | Void inputerror(nerror, par1, par2, LINK) | ^~~~~~~~~~ commondefs.h:1168:15: error: conflicting types for 'invdist'; have 'double(void)' 1168 | extern double invdist(); | ^~~~~~~ commondefs.h:1069:8: note: previous declaration of 'invdist' with type 'double(double *)' 1069 | double invdist(double*); | ^~~~~~~ comnuclear.c:1121:3: error: too many arguments to function 'initseg'; expected 0, have 1 1121 | initseg(LINK); | ^~~~~~~ ~~~~ commondefs.h:1147:13: note: declared here 1147 | extern void initseg(); | ^~~~~~~ comgetvect.c: In function 'quanmale_': commondefs.h:1173:13: error: conflicting types for 'malloc_err'; have 'void(void)' 1173 | extern void malloc_err(); | ^~~~~~~~~~ comgetvect.c:668:13: warning: old-style function definition [-Wold-style-definition] 668 | static void quanmale_(LINK) | ^~~~~~~~~ commondefs.h:1021:6: note: previous declaration of 'malloc_err' with type 'void(char *)' 1021 | void malloc_err(char*); | ^~~~~~~~~~ comgetvect.c: In function 'getvect': commondefs.h:1174:12: error: conflicting types for 'P_eof'; have 'int(void)' 1174 | extern int P_eof(); | ^~~~~ comgetvect.c:1127:6: warning: old-style function definition [-Wold-style-definition] 1127 | void getvect(p_, LINK) | ^~~~~~~ commondefs.h:1022:5: note: previous declaration of 'P_eof' with type 'int(FILE *)' 1022 | int P_eof(FILE*); | ^~~~~ commondefs.h:1175:12: error: conflicting types for 'P_eoln'; have 'int(void)' 1175 | extern int P_eoln(); | ^~~~~~ comgetvect.c:1130:1: error: number of arguments doesn't match prototype 1130 | { | ^ commondefs.h:1023:5: note: previous declaration of 'P_eoln' with type 'int(FILE *)' 1023 | int P_eoln(FILE*); | ^~~~~~ commondefs.h:1141:13: error: prototype declaration 1141 | extern void getvect(); | ^~~~~~~ cominputcode.c: In function 'inputdata': commondefs.h:1184:17: error: conflicting types for 'MakeMask'; have 'unsigned int(void)' 1184 | extern unsigned MakeMask(); | ^~~~~~~~ cominputcode.c:2035:3: error: too many arguments to function 'readped'; expected 0, have 1 2035 | readped(&V); | ^~~~~~~ ~~ commondefs.h:1024:10: note: previous declaration of 'MakeMask' with type 'unsigned int(int, int)' 1024 | unsigned MakeMask(int start, int end); | ^~~~~~~~ cominputcode.c:1482:6: note: declared here 1482 | Void readped(LINK) | ^~~~~~~ comnuclear.c: In function 'segfun': comgetvect.c:1137:5: error: too many arguments to function 'ugetgene'; expected 0, have 3 1137 | ugetgene(1L, 1.0, &V); | ^~~~~~~~ ~~ commondefs.h:1185:13: error: conflicting types for 'getlocus'; have 'void(void)' 1185 | extern void getlocus(); | ^~~~~~~~ comgetvect.c:1065:13: note: declared here 1065 | static void ugetgene(syste_, val_, LINK) | ^~~~~~~~ comnuclear.c:384:14: warning: old-style function definition [-Wold-style-definition] 384 | Local double segfun(LINK) | ^~~~~~ commondefs.h:1025:6: note: previous declaration of 'getlocus' with type 'void(long int, struct LOC_readloci *)' 1025 | void getlocus(long, struct LOC_readloci*); | ^~~~~~~~ cominputcode.c:1792:9: error: too many arguments to function 'inputerror'; expected 0, have 4 1792 | inputerror(33L, LINK->system, LINK->system, LINK->LINK->LINK); | ^~~~~~~~~~ ~~~ commondefs.h:1186:13: error: conflicting types for 'inputerror'; have 'void(void)' 1186 | extern void inputerror(); | ^~~~~~~~~~ cominputcode.c:342:6: note: declared here 342 | Void inputerror(nerror, par1, par2, LINK) | ^~~~~~~~~~ comgetvect.c:1139:5: error: too many arguments to function 'getgene'; expected 0, have 3 1139 | getgene(1L, 1.0, &V); | ^~~~~~~ ~~ commondefs.h:1026:6: note: previous declaration of 'inputerror' with type 'void(long int, long int, long int, struct LOC_inputdata *)' 1026 | void inputerror(long, long, long, struct LOC_inputdata*); | ^~~~~~~~~~ commondefs.h:1187:13: error: conflicting types for 'inputwarning'; have 'void(void)' 1187 | extern void inputwarning(); | ^~~~~~~~~~~~ comgetvect.c:708:11: error: too many arguments to function 'ugetgene'; expected 0, have 3 708 | ugetgene(locus + 2, LINK->newval, LINK->LINK); | ^~~~~~~~ ~~~~~~~~~ commondefs.h:1027:6: note: previous declaration of 'inputwarning' with type 'void(long int, long int, long int, struct LOC_inputdata *)' 1027 | void inputwarning(long, long, long, struct LOC_inputdata*); | ^~~~~~~~~~~~ mlgetvect.c:18:13: note: declared here 18 | static void ugetgene (); | ^~~~~~~~ commondefs.h:1191:13: error: conflicting types for 'readped'; have 'void(void)' 1191 | extern void readped(); | ^~~~~~~ comgetvect.c:485:13: note: declared here 485 | static void getgene(syste_, val_, LINK) | ^~~~~~~ commondefs.h:1028:6: note: previous declaration of 'readped' with type 'void(struct LOC_inputdata *)' 1028 | void readped(struct LOC_inputdata*); | ^~~~~~~ comnuclear.c:1181:3: error: too many arguments to function 'cleanup'; expected 0, have 2 1181 | cleanup(LINK->q, LINK->LINK); | ^~~~~~~ ~~~~~~~ commondefs.h:1146:13: note: declared here 1146 | extern void cleanup(); | ^~~~~~~ comnuclear.c:1182:3: error: too many arguments to function 'exitseg'; expected 0, have 1 1182 | exitseg(LINK); | ^~~~~~~ ~~~~ cominputcode.c:1798:3: error: too many arguments to function 'invert'; expected 0, have 3 1798 | invert(WITH->UU.U1.vmat, WITH->UU.U1.ntrait, &WITH->UU.U1.det); | ^~~~~~ ~~~~~~~~~~~~~~~~ commondefs.h:1148:13: note: declared here 1148 | extern void exitseg(); | ^~~~~~~ commondefs.h:1145:13: note: declared here 1145 | extern void invert(); | ^~~~~~ cominputcode.c:1803:5: error: too many arguments to function 'inputerror'; expected 0, have 4 1803 | inputerror(34L, LINK->system, LINK->system, LINK->LINK->LINK); | ^~~~~~~~~~ ~~~ comnuclear.c: In function 'segtop': cominputcode.c:342:6: note: declared here 342 | Void inputerror(nerror, par1, par2, LINK) | ^~~~~~~~~~ comnuclear.c:1187:6: warning: old-style function definition [-Wold-style-definition] 1187 | Void segtop(LINK) | ^~~~~~ comnuclear.c:1189:1: error: number of arguments doesn't match prototype 1189 | { | ^ commondefs.h:1162:13: error: prototype declaration 1162 | extern void segtop(); | ^~~~~~ comnuclear.c:1197:3: error: too many arguments to function 'initseg'; expected 0, have 1 1197 | initseg(LINK); | ^~~~~~~ ~~~~ commondefs.h:1147:13: note: declared here 1147 | extern void initseg(); | ^~~~~~~ comgetvect.c:740:13: error: too many arguments to function 'ugetgene'; expected 0, have 3 740 | ugetgene(locus + 2, LINK->newval, LINK->LINK); | ^~~~~~~~ ~~~~~~~~~ mlgetvect.c:18:13: note: declared here 18 | static void ugetgene (); | ^~~~~~~~ cominputcode.c: At top level: cominputcode.c:1812:6: error: conflicting types for 'getlocus'; have 'void(void)' 1812 | Void getlocus(system_, LINK) | ^~~~~~~~ comgetvect.c: In function 'fac_': commondefs.h:1025:6: note: previous declaration of 'getlocus' with type 'void(long int, struct LOC_readloci *)' 1025 | void getlocus(long, struct LOC_readloci*); | ^~~~~~~~ comgetvect.c:758:13: warning: old-style function definition [-Wold-style-definition] 758 | static void fac_(LINK) | ^~~~ cominputcode.c: In function 'getlocus': cominputcode.c:1812:6: warning: old-style function definition [-Wold-style-definition] 1812 | Void getlocus(system_, LINK) | ^~~~~~~~ In file included from commoncode.c:18: commondefs.h:1166:15: error: conflicting types for 'mapfunction'; have 'double(void)' 1166 | extern double mapfunction(); | ^~~~~~~~~~~ commondefs.h:1067:8: note: previous declaration of 'mapfunction' with type 'double(double, double)' 1067 | double mapfunction(double, double); | ^~~~~~~~~~~ commondefs.h:1167:15: error: conflicting types for 'getdist'; have 'double(void)' 1167 | extern double getdist(); | ^~~~~~~ cominputcode.c:1826:5: error: too many arguments to function 'malloc_err'; expected 0, have 1 1826 | malloc_err("entry in thislocus"); | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~ commondefs.h:1068:8: note: previous declaration of 'getdist' with type 'double(double *)' 1068 | double getdist(double*); | ^~~~~~~ commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ commondefs.h:1168:15: error: conflicting types for 'invdist'; have 'double(void)' 1168 | extern double invdist(); | ^~~~~~~ commondefs.h:1069:8: note: previous declaration of 'invdist' with type 'double(double *)' 1069 | double invdist(double*); | ^~~~~~~ commondefs.h:1173:13: error: conflicting types for 'malloc_err'; have 'void(void)' 1173 | extern void malloc_err(); | ^~~~~~~~~~ commondefs.h:1021:6: note: previous declaration of 'malloc_err' with type 'void(char *)' 1021 | void malloc_err(char*); | ^~~~~~~~~~ commondefs.h:1174:12: error: conflicting types for 'P_eof'; have 'int(void)' 1174 | extern int P_eof(); | ^~~~~ commondefs.h:1022:5: note: previous declaration of 'P_eof' with type 'int(FILE *)' 1022 | int P_eof(FILE*); | ^~~~~ commondefs.h:1175:12: error: conflicting types for 'P_eoln'; have 'int(void)' 1175 | extern int P_eoln(); | ^~~~~~ commondefs.h:1023:5: note: previous declaration of 'P_eoln' with type 'int(FILE *)' 1023 | int P_eoln(FILE*); | ^~~~~~ comnuclear.c: In function 'msegfast': cominputcode.c:1837:5: error: too many arguments to function 'inputerror'; expected 0, have 4 1837 | inputerror(5L, V.system, LINK->whichtype, LINK->LINK); | ^~~~~~~~~~ ~~ comnuclear.c:1262:3: error: too many arguments to function 'cleanup'; expected 0, have 2 1262 | cleanup(LINK->q, LINK->LINK); | ^~~~~~~ ~~~~~~~ comnuclear.c:477:14: warning: old-style function definition [-Wold-style-definition] 477 | Local double msegfast(LINK) | ^~~~~~~~ commondefs.h:1184:17: error: conflicting types for 'MakeMask'; have 'unsigned int(void)' 1184 | extern unsigned MakeMask(); | ^~~~~~~~ commondefs.h:1146:13: note: declared here 1146 | extern void cleanup(); | ^~~~~~~ commondefs.h:1024:10: note: previous declaration of 'MakeMask' with type 'unsigned int(int, int)' 1024 | unsigned MakeMask(int start, int end); | ^~~~~~~~ comnuclear.c:1263:3: error: too many arguments to function 'exitseg'; expected 0, have 1 1263 | exitseg(LINK); | ^~~~~~~ ~~~~ cominputcode.c:342:6: note: declared here 342 | Void inputerror(nerror, par1, par2, LINK) | ^~~~~~~~~~ commondefs.h:1185:13: error: conflicting types for 'getlocus'; have 'void(void)' 1185 | extern void getlocus(); | ^~~~~~~~ commondefs.h:1148:13: note: declared here 1148 | extern void exitseg(); | ^~~~~~~ commondefs.h:1025:6: note: previous declaration of 'getlocus' with type 'void(long int, struct LOC_readloci *)' 1025 | void getlocus(long, struct LOC_readloci*); | ^~~~~~~~ commondefs.h:1186:13: error: conflicting types for 'inputerror'; have 'void(void)' 1186 | extern void inputerror(); | ^~~~~~~~~~ commondefs.h:1026:6: note: previous declaration of 'inputerror' with type 'void(long int, long int, long int, struct LOC_inputdata *)' 1026 | void inputerror(long, long, long, struct LOC_inputdata*); | ^~~~~~~~~~ commondefs.h:1187:13: error: conflicting types for 'inputwarning'; have 'void(void)' 1187 | extern void inputwarning(); | ^~~~~~~~~~~~ commondefs.h:1027:6: note: previous declaration of 'inputwarning' with type 'void(long int, long int, long int, struct LOC_inputdata *)' 1027 | void inputwarning(long, long, long, struct LOC_inputdata*); | ^~~~~~~~~~~~ commondefs.h:1191:13: error: conflicting types for 'readped'; have 'void(void)' 1191 | extern void readped(); | ^~~~~~~ commondefs.h:1028:6: note: previous declaration of 'readped' with type 'void(struct LOC_inputdata *)' 1028 | void readped(struct LOC_inputdata*); | ^~~~~~~ cominputcode.c:1839:5: error: too many arguments to function 'inputerror'; expected 0, have 4 1839 | inputerror(6L, V.system, WITH->nallele, LINK->LINK); | ^~~~~~~~~~ ~~ comnuclear.c: In function 'segcapprox': comnuclear.c:1269:6: warning: old-style function definition [-Wold-style-definition] 1269 | Void segcapprox(LINK) | ^~~~~~~~~~ comnuclear.c:1271:1: error: number of arguments doesn't match prototype 1271 | { | ^ cominputcode.c:342:6: note: declared here 342 | Void inputerror(nerror, par1, par2, LINK) | ^~~~~~~~~~ commondefs.h:1163:13: error: prototype declaration 1163 | extern void segcapprox(); | ^~~~~~~~~~ comnuclear.c:1279:3: error: too many arguments to function 'initseg'; expected 0, have 1 1279 | initseg(LINK); | ^~~~~~~ ~~~~ commondefs.h:1147:13: note: declared here 1147 | extern void initseg(); | ^~~~~~~ cominputcode.c:1841:5: error: too many arguments to function 'inputerror'; expected 0, have 4 1841 | inputerror(7L, V.system, WITH->nallele, LINK->LINK); | ^~~~~~~~~~ ~~ cominputcode.c:342:6: note: declared here 342 | Void inputerror(nerror, par1, par2, LINK) | ^~~~~~~~~~ comgetvect.c:809:13: error: too many arguments to function 'ugetgene'; expected 0, have 3 809 | ugetgene(locus + 2, LINK->val, LINK->LINK); | ^~~~~~~~ ~~~~~~~~~ comnuclear.c:1314:3: error: too many arguments to function 'cleanup'; expected 0, have 2 1314 | cleanup(LINK->q, LINK->LINK); | ^~~~~~~ ~~~~~~~ commondefs.h:1146:13: note: declared here 1146 | extern void cleanup(); | ^~~~~~~ mlgetvect.c:18:13: note: declared here 18 | static void ugetgene (); | ^~~~~~~~ comnuclear.c:1315:3: error: too many arguments to function 'exitseg'; expected 0, have 1 1315 | exitseg(LINK); | ^~~~~~~ ~~~~ commondefs.h:1148:13: note: declared here 1148 | extern void exitseg(); | ^~~~~~~ cominputcode.c:1871:9: error: too many arguments to function 'malloc_err'; expected 0, have 1 1871 | malloc_err("privlocus field"); | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~ commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ In file included from comnuclear.c:1318: oldsegup.c: In function 'oldsegsexup': In file included from gemdefs.h:17, from commoncode.c:19: commondefs.h:1166:15: error: conflicting types for 'mapfunction'; have 'double(void)' 1166 | extern double mapfunction(); | ^~~~~~~~~~~ oldsegup.c:6:6: warning: old-style function definition [-Wold-style-definition] 6 | Void oldsegsexup(LINK) | ^~~~~~~~~~~ commondefs.h:1067:8: note: previous declaration of 'mapfunction' with type 'double(double, double)' 1067 | double mapfunction(double, double); | ^~~~~~~~~~~ oldsegup.c:8:1: error: number of arguments doesn't match prototype 8 | { | ^ commondefs.h:1167:15: error: conflicting types for 'getdist'; have 'double(void)' 1167 | extern double getdist(); | ^~~~~~~ commondefs.h:1171:13: error: prototype declaration 1171 | extern void oldsegsexup(); | ^~~~~~~~~~~ commondefs.h:1068:8: note: previous declaration of 'getdist' with type 'double(double *)' 1068 | double getdist(double*); | ^~~~~~~ commondefs.h:1168:15: error: conflicting types for 'invdist'; have 'double(void)' 1168 | extern double invdist(); | ^~~~~~~ commondefs.h:1069:8: note: previous declaration of 'invdist' with type 'double(double *)' 1069 | double invdist(double*); | ^~~~~~~ oldsegup.c:17:3: error: too many arguments to function 'initseg'; expected 0, have 1 17 | initseg(LINK); | ^~~~~~~ ~~~~ commondefs.h:1147:13: note: declared here 1147 | extern void initseg(); | ^~~~~~~ commondefs.h:1173:13: error: conflicting types for 'malloc_err'; have 'void(void)' 1173 | extern void malloc_err(); | ^~~~~~~~~~ commondefs.h:1021:6: note: previous declaration of 'malloc_err' with type 'void(char *)' 1021 | void malloc_err(char*); | ^~~~~~~~~~ commondefs.h:1174:12: error: conflicting types for 'P_eof'; have 'int(void)' 1174 | extern int P_eof(); | ^~~~~ commondefs.h:1022:5: note: previous declaration of 'P_eof' with type 'int(FILE *)' 1022 | int P_eof(FILE*); | ^~~~~ commondefs.h:1175:12: error: conflicting types for 'P_eoln'; have 'int(void)' 1175 | extern int P_eoln(); | ^~~~~~ commondefs.h:1023:5: note: previous declaration of 'P_eoln' with type 'int(FILE *)' 1023 | int P_eoln(FILE*); | ^~~~~~ commondefs.h:1184:17: error: conflicting types for 'MakeMask'; have 'unsigned int(void)' 1184 | extern unsigned MakeMask(); | ^~~~~~~~ commondefs.h:1024:10: note: previous declaration of 'MakeMask' with type 'unsigned int(int, int)' 1024 | unsigned MakeMask(int start, int end); | ^~~~~~~~ commondefs.h:1185:13: error: conflicting types for 'getlocus'; have 'void(void)' 1185 | extern void getlocus(); | ^~~~~~~~ commondefs.h:1025:6: note: previous declaration of 'getlocus' with type 'void(long int, struct LOC_readloci *)' 1025 | void getlocus(long, struct LOC_readloci*); | ^~~~~~~~ commondefs.h:1186:13: error: conflicting types for 'inputerror'; have 'void(void)' 1186 | extern void inputerror(); | ^~~~~~~~~~ commondefs.h:1026:6: note: previous declaration of 'inputerror' with type 'void(long int, long int, long int, struct LOC_inputdata *)' 1026 | void inputerror(long, long, long, struct LOC_inputdata*); | ^~~~~~~~~~ commondefs.h:1187:13: error: conflicting types for 'inputwarning'; have 'void(void)' 1187 | extern void inputwarning(); | ^~~~~~~~~~~~ commondefs.h:1027:6: note: previous declaration of 'inputwarning' with type 'void(long int, long int, long int, struct LOC_inputdata *)' 1027 | void inputwarning(long, long, long, struct LOC_inputdata*); | ^~~~~~~~~~~~ commondefs.h:1191:13: error: conflicting types for 'readped'; have 'void(void)' 1191 | extern void readped(); | ^~~~~~~ commondefs.h:1028:6: note: previous declaration of 'readped' with type 'void(struct LOC_inputdata *)' 1028 | void readped(struct LOC_inputdata*); | ^~~~~~~ cominputcode.c:1955:5: error: too many arguments to function 'inputerror'; expected 0, have 4 1955 | inputerror(35L, V.system, (int)riskall, LINK->LINK); | ^~~~~~~~~~ ~~~ cominputcode.c:342:6: note: declared here 342 | Void inputerror(nerror, par1, par2, LINK) | ^~~~~~~~~~ comgetvect.c:856:13: error: too many arguments to function 'ugetgene'; expected 0, have 3 856 | ugetgene(LINK->syste + 1, LINK->val, LINK->LINK); | ^~~~~~~~ ~~~~~~~~~~~~~~~ oldsegup.c:67:3: error: too many arguments to function 'cleanup'; expected 0, have 2 67 | cleanup(LINK->q, LINK->LINK); | ^~~~~~~ ~~~~~~~ commondefs.h:1146:13: note: declared here 1146 | extern void cleanup(); | ^~~~~~~ mlgetvect.c:18:13: note: declared here 18 | static void ugetgene (); | ^~~~~~~~ oldsegup.c:68:3: error: too many arguments to function 'exitseg'; expected 0, have 1 68 | exitseg(LINK); | ^~~~~~~ ~~~~ commondefs.h:1148:13: note: declared here 1148 | extern void exitseg(); | ^~~~~~~ cominputcode.c:1957:5: error: too many arguments to function 'inputerror'; expected 0, have 4 1957 | inputerror(36L, V.system, (int)riskall, LINK->LINK); | ^~~~~~~~~~ ~~~ oldsegup.c: In function 'oldsegup': oldsegup.c:71:6: warning: old-style function definition [-Wold-style-definition] 71 | Void oldsegup(LINK) | ^~~~~~~~ cominputcode.c:342:6: note: declared here 342 | Void inputerror(nerror, par1, par2, LINK) | ^~~~~~~~~~ oldsegup.c:73:1: error: number of arguments doesn't match prototype 73 | { | ^ commondefs.h:1172:13: error: prototype declaration 1172 | extern void oldsegup(); | ^~~~~~~~ oldsegup.c:80:3: error: too many arguments to function 'initseg'; expected 0, have 1 80 | initseg(LINK); | ^~~~~~~ ~~~~ commondefs.h:1147:13: note: declared here 1147 | extern void initseg(); | ^~~~~~~ cominputcode.c: In function 'gettheta': comgetvect.c: In function 'aff_': comgetvect.c:948:13: warning: old-style function definition [-Wold-style-definition] 948 | static void aff_(LINK) | ^~~~ cominputcode.c:1961:6: warning: old-style function definition [-Wold-style-definition] 1961 | Void gettheta(sex_, LINK) | ^~~~~~~~ oldsegup.c:104:3: error: too many arguments to function 'cleanup'; expected 0, have 2 104 | cleanup(LINK->q, LINK->LINK); | ^~~~~~~ ~~~~~~~ commondefs.h:1146:13: note: declared here 1146 | extern void cleanup(); | ^~~~~~~ oldsegup.c:105:3: error: too many arguments to function 'exitseg'; expected 0, have 1 105 | exitseg(LINK); | ^~~~~~~ ~~~~ commondefs.h:1148:13: note: declared here 1148 | extern void exitseg(); | ^~~~~~~ comnuclear.c: In function 'msegsexdown': comnuclear.c:1320:6: warning: old-style function definition [-Wold-style-definition] 1320 | Void msegsexdown(LINK) | ^~~~~~~~~~~ cominputcode.c:1979:5: error: too many arguments to function 'malloc_err'; expected 0, have 1 1979 | malloc_err("item of type thetavalues"); | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~ comnuclear.c:1322:1: error: number of arguments doesn't match prototype 1322 | { | ^ commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ commondefs.h:1164:13: error: prototype declaration 1164 | extern void msegsexdown(); | ^~~~~~~~~~~ comnuclear.c:1334:3: error: too many arguments to function 'initseg'; expected 0, have 1 1334 | initseg(LINK); | ^~~~~~~ ~~~~ commondefs.h:1147:13: note: declared here 1147 | extern void initseg(); | ^~~~~~~ cominputcode.c:1983:5: error: too many arguments to function 'malloc_err'; expected 0, have 1 1983 | malloc_err("a segprob array in procedure gettheta"); | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ comnuclear.c: In function 'msegfun': comnuclear.c:642:14: warning: old-style function definition [-Wold-style-definition] 642 | Local double msegfun(LINK) | ^~~~~~~ commoncode.c:68:8: error: conflicting types for 'mapfunction'; have 'double(void)' 68 | double mapfunction(theta1, theta2) | ^~~~~~~~~~~ commondefs.h:1067:8: note: previous declaration of 'mapfunction' with type 'double(double, double)' 1067 | double mapfunction(double, double); | ^~~~~~~~~~~ commoncode.c: In function 'mapfunction': commoncode.c:68:8: warning: old-style function definition [-Wold-style-definition] 68 | double mapfunction(theta1, theta2) | ^~~~~~~~~~~ comgetvect.c:1005:15: error: too many arguments to function 'ugetgene'; expected 0, have 3 1005 | ugetgene(locus + 2, LINK->newval, LINK->LINK); | ^~~~~~~~ ~~~~~~~~~ commoncode.c: At top level: commoncode.c:78:8: error: conflicting types for 'getdist'; have 'double(void)' 78 | double getdist(theta) | ^~~~~~~ mlgetvect.c:18:13: note: declared here 18 | static void ugetgene (); | ^~~~~~~~ commondefs.h:1068:8: note: previous declaration of 'getdist' with type 'double(double *)' 1068 | double getdist(double*); | ^~~~~~~ commoncode.c: In function 'getdist': commoncode.c:78:8: warning: old-style function definition [-Wold-style-definition] 78 | double getdist(theta) | ^~~~~~~ commoncode.c: At top level: commoncode.c:88:8: error: conflicting types for 'invdist'; have 'double(void)' 88 | double invdist(dist) | ^~~~~~~ commondefs.h:1069:8: note: previous declaration of 'invdist' with type 'double(double *)' 1069 | double invdist(double*); | ^~~~~~~ cominputcode.c: In function 'inputdata': commoncode.c: In function 'invdist': commoncode.c:88:8: warning: old-style function definition [-Wold-style-definition] 88 | double invdist(dist) | ^~~~~~~ cominputcode.c:2035:3: error: too many arguments to function 'readped'; expected 0, have 1 2035 | readped(&V); | ^~~~~~~ ~~ cominputcode.c:1482:6: note: declared here 1482 | Void readped(LINK) | ^~~~~~~ comgetvect.c:1049:15: error: too many arguments to function 'ugetgene'; expected 0, have 3 1049 | ugetgene(locus + 2, LINK->newval, LINK->LINK); | ^~~~~~~~ ~~~~~~~~~ mlgetvect.c:18:13: note: declared here 18 | static void ugetgene (); | ^~~~~~~~ comnuclear.c:1410:3: error: too many arguments to function 'cleanup'; expected 0, have 2 1410 | cleanup(LINK->p, LINK->LINK); | ^~~~~~~ ~~~~~~~ commondefs.h:1146:13: note: declared here 1146 | extern void cleanup(); | ^~~~~~~ comnuclear.c:1411:3: error: too many arguments to function 'cleanup'; expected 0, have 2 1411 | cleanup(LINK->q, LINK->LINK); | ^~~~~~~ ~~~~~~~ commondefs.h:1146:13: note: declared here 1146 | extern void cleanup(); | ^~~~~~~ comnuclear.c:1412:3: error: too many arguments to function 'exitseg'; expected 0, have 1 1412 | exitseg(LINK); | ^~~~~~~ ~~~~ commondefs.h:1148:13: note: declared here 1148 | extern void exitseg(); | ^~~~~~~ comgetvect.c: In function 'ugetgene': comgetvect.c:1065:13: warning: old-style function definition [-Wold-style-definition] 1065 | static void ugetgene(syste_, val_, LINK) | ^~~~~~~~ comnuclear.c: In function 'msegdown': comnuclear.c:1416:6: warning: old-style function definition [-Wold-style-definition] 1416 | Void msegdown(LINK) | ^~~~~~~~ comnuclear.c:1418:1: error: number of arguments doesn't match prototype 1418 | { | ^ commondefs.h:1165:13: error: prototype declaration 1165 | extern void msegdown(); | ^~~~~~~~ comnuclear.c:1430:3: error: too many arguments to function 'initseg'; expected 0, have 1 1430 | initseg(LINK); | ^~~~~~~ ~~~~ commondefs.h:1147:13: note: declared here 1147 | extern void initseg(); | ^~~~~~~ comgetvect.c: In function 'getvect': comgetvect.c:1127:6: warning: old-style function definition [-Wold-style-definition] 1127 | void getvect(p_, LINK) | ^~~~~~~ comgetvect.c:1130:1: error: number of arguments doesn't match prototype 1130 | { | ^ commondefs.h:1141:13: error: prototype declaration 1141 | extern void getvect(); | ^~~~~~~ In file included from liinputcode.c:12: commondefs.h:1166:15: error: conflicting types for 'mapfunction'; have 'double(void)' 1166 | extern double mapfunction(); | ^~~~~~~~~~~ comgetvect.c:1137:5: error: too many arguments to function 'ugetgene'; expected 0, have 3 1137 | ugetgene(1L, 1.0, &V); | ^~~~~~~~ ~~ comgetvect.c:1065:13: note: declared here 1065 | static void ugetgene(syste_, val_, LINK) | ^~~~~~~~ comgetvect.c:1139:5: error: too many arguments to function 'getgene'; expected 0, have 3 1139 | getgene(1L, 1.0, &V); | ^~~~~~~ ~~ commondefs.h:1067:8: note: previous declaration of 'mapfunction' with type 'double(double, double)' 1067 | double mapfunction(double, double); | ^~~~~~~~~~~ commondefs.h:1167:15: error: conflicting types for 'getdist'; have 'double(void)' 1167 | extern double getdist(); | ^~~~~~~ comnuclear.c: In function 'segfast': commondefs.h:1068:8: note: previous declaration of 'getdist' with type 'double(double *)' 1068 | double getdist(double*); | ^~~~~~~ comgetvect.c:485:13: note: declared here 485 | static void getgene(syste_, val_, LINK) | ^~~~~~~ commondefs.h:1168:15: error: conflicting types for 'invdist'; have 'double(void)' 1168 | extern double invdist(); | ^~~~~~~ comnuclear.c:794:14: warning: old-style function definition [-Wold-style-definition] 794 | Local double segfast(LINK) | ^~~~~~~ commondefs.h:1069:8: note: previous declaration of 'invdist' with type 'double(double *)' 1069 | double invdist(double*); | ^~~~~~~ commondefs.h:1173:13: error: conflicting types for 'malloc_err'; have 'void(void)' 1173 | extern void malloc_err(); | ^~~~~~~~~~ commondefs.h:1021:6: note: previous declaration of 'malloc_err' with type 'void(char *)' 1021 | void malloc_err(char*); | ^~~~~~~~~~ comnuclear.c:1526:3: error: too many arguments to function 'cleanup'; expected 0, have 2 1526 | cleanup(LINK->p, LINK->LINK); | ^~~~~~~ ~~~~~~~ commondefs.h:1146:13: note: declared here 1146 | extern void cleanup(); | ^~~~~~~ commondefs.h:1174:12: error: conflicting types for 'P_eof'; have 'int(void)' 1174 | extern int P_eof(); | ^~~~~ comnuclear.c:1527:3: error: too many arguments to function 'cleanup'; expected 0, have 2 1527 | cleanup(LINK->q, LINK->LINK); | ^~~~~~~ ~~~~~~~ commondefs.h:1146:13: note: declared here 1146 | extern void cleanup(); | ^~~~~~~ comnuclear.c:1528:3: error: too many arguments to function 'exitseg'; expected 0, have 1 1528 | exitseg(LINK); | ^~~~~~~ ~~~~ commondefs.h:1022:5: note: previous declaration of 'P_eof' with type 'int(FILE *)' 1022 | int P_eof(FILE*); | ^~~~~ commondefs.h:1148:13: note: declared here 1148 | extern void exitseg(); | ^~~~~~~ commondefs.h:1175:12: error: conflicting types for 'P_eoln'; have 'int(void)' 1175 | extern int P_eoln(); | ^~~~~~ commondefs.h:1023:5: note: previous declaration of 'P_eoln' with type 'int(FILE *)' 1023 | int P_eoln(FILE*); | ^~~~~~ commondefs.h:1184:17: error: conflicting types for 'MakeMask'; have 'unsigned int(void)' 1184 | extern unsigned MakeMask(); | ^~~~~~~~ commondefs.h:1024:10: note: previous declaration of 'MakeMask' with type 'unsigned int(int, int)' 1024 | unsigned MakeMask(int start, int end); | ^~~~~~~~ commondefs.h:1185:13: error: conflicting types for 'getlocus'; have 'void(void)' 1185 | extern void getlocus(); | ^~~~~~~~ commondefs.h:1025:6: note: previous declaration of 'getlocus' with type 'void(long int, struct LOC_readloci *)' 1025 | void getlocus(long, struct LOC_readloci*); | ^~~~~~~~ commondefs.h:1186:13: error: conflicting types for 'inputerror'; have 'void(void)' 1186 | extern void inputerror(); | ^~~~~~~~~~ commondefs.h:1026:6: note: previous declaration of 'inputerror' with type 'void(long int, long int, long int, struct LOC_inputdata *)' 1026 | void inputerror(long, long, long, struct LOC_inputdata*); | ^~~~~~~~~~ commondefs.h:1187:13: error: conflicting types for 'inputwarning'; have 'void(void)' 1187 | extern void inputwarning(); | ^~~~~~~~~~~~ commondefs.h:1027:6: note: previous declaration of 'inputwarning' with type 'void(long int, long int, long int, struct LOC_inputdata *)' 1027 | void inputwarning(long, long, long, struct LOC_inputdata*); | ^~~~~~~~~~~~ commondefs.h:1191:13: error: conflicting types for 'readped'; have 'void(void)' 1191 | extern void readped(); | ^~~~~~~ commondefs.h:1028:6: note: previous declaration of 'readped' with type 'void(struct LOC_inputdata *)' 1028 | void readped(struct LOC_inputdata*); | ^~~~~~~ linkmap.c: In function 'iterpeds': comnuclear.c: In function 'segsexctop': comnuclear.c:902:6: warning: old-style function definition [-Wold-style-definition] 902 | Void segsexctop(LINK) | ^~~~~~~~~~ comnuclear.c:904:1: error: number of arguments doesn't match prototype 904 | { | ^ commondefs.h:1159:13: error: prototype declaration 1159 | extern void segsexctop(); | ^~~~~~~~~~ linkmap.c:490:5: error: too many arguments to function 'read_loop_file'; expected 0, have 1 490 | read_loop_file(thisped + 1); | ^~~~~~~~~~~~~~ ~~~~~~~~~~~ commoncode.c: In function 'miscInit': commondefs.h:1190:13: note: declared here 1190 | extern void read_loop_file(); | ^~~~~~~~~~~~~~ commoncode.c:436:5: error: too many arguments to function 'malloc_err'; expected 0, have 1 436 | malloc_err("censorstruct"); | ^~~~~~~~~~ ~~~~~~~~~~~~~~ comnuclear.c:913:3: error: too many arguments to function 'initseg'; expected 0, have 1 913 | initseg(LINK); | ^~~~~~~ ~~~~ commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ commondefs.h:1147:13: note: declared here 1147 | extern void initseg(); | ^~~~~~~ linkmap.c:492:5: error: too many arguments to function 'likelihood'; expected 0, have 2 492 | likelihood((int)(thisped + 1), proband[thisped]); | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~ commondefs.h:1156:13: note: declared here 1156 | extern void likelihood(); | ^~~~~~~~~~ commoncode.c: In function 'ckptPreIpedRecover': commoncode.c:462:5: error: too many arguments to function 'recoverCheckpoint'; expected 0, have 1 462 | recoverCheckpoint(&checkpoint_place); | ^~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~ commondefs.h:1140:13: note: declared here 1140 | extern void recoverCheckpoint (); | ^~~~~~~~~~~~~~~~~ commoncode.c: In function 'seqStartup': commoncode.c:597:6: warning: old-style function definition [-Wold-style-definition] 597 | void seqStartup(argc, argv) | ^~~~~~~~~~ In file included from gemdefs.h:17, from liinputcode.c:13: commondefs.h:1166:15: error: conflicting types for 'mapfunction'; have 'double(void)' 1166 | extern double mapfunction(); | ^~~~~~~~~~~ commondefs.h:1067:8: note: previous declaration of 'mapfunction' with type 'double(double, double)' 1067 | double mapfunction(double, double); | ^~~~~~~~~~~ commondefs.h:1167:15: error: conflicting types for 'getdist'; have 'double(void)' 1167 | extern double getdist(); | ^~~~~~~ comnuclear.c:1020:3: error: too many arguments to function 'cleanup'; expected 0, have 2 1020 | cleanup(LINK->q, LINK->LINK); | ^~~~~~~ ~~~~~~~ commondefs.h:1068:8: note: previous declaration of 'getdist' with type 'double(double *)' 1068 | double getdist(double*); | ^~~~~~~ commondefs.h:1146:13: note: declared here 1146 | extern void cleanup(); | ^~~~~~~ commondefs.h:1168:15: error: conflicting types for 'invdist'; have 'double(void)' 1168 | extern double invdist(); | ^~~~~~~ comnuclear.c:1021:3: error: too many arguments to function 'exitseg'; expected 0, have 1 1021 | exitseg(LINK); | ^~~~~~~ ~~~~ commondefs.h:1148:13: note: declared here 1148 | extern void exitseg(); | ^~~~~~~ commondefs.h:1069:8: note: previous declaration of 'invdist' with type 'double(double *)' 1069 | double invdist(double*); | ^~~~~~~ commondefs.h:1173:13: error: conflicting types for 'malloc_err'; have 'void(void)' 1173 | extern void malloc_err(); | ^~~~~~~~~~ commondefs.h:1021:6: note: previous declaration of 'malloc_err' with type 'void(char *)' 1021 | void malloc_err(char*); | ^~~~~~~~~~ commondefs.h:1174:12: error: conflicting types for 'P_eof'; have 'int(void)' 1174 | extern int P_eof(); | ^~~~~ comnuclear.c: In function 'segsextop': unknown.c: In function 'malloc_err': commondefs.h:1022:5: note: previous declaration of 'P_eof' with type 'int(FILE *)' 1022 | int P_eof(FILE*); | ^~~~~ comnuclear.c:1025:6: warning: old-style function definition [-Wold-style-definition] 1025 | Void segsextop(LINK) | ^~~~~~~~~ commoncode.c: In function 'zerotest': comnuclear.c:1027:1: error: number of arguments doesn't match prototype 1027 | { | ^ commondefs.h:1160:13: error: prototype declaration 1160 | extern void segsextop(); | ^~~~~~~~~ commondefs.h:1175:12: error: conflicting types for 'P_eoln'; have 'int(void)' 1175 | extern int P_eoln(); | ^~~~~~ commoncode.c:664:9: warning: old-style function definition [-Wold-style-definition] 664 | boolean zerotest(thetacomponent) | ^~~~~~~~ commondefs.h:1023:5: note: previous declaration of 'P_eoln' with type 'int(FILE *)' 1023 | int P_eoln(FILE*); | ^~~~~~ comnuclear.c:1035:3: error: too many arguments to function 'initseg'; expected 0, have 1 1035 | initseg(LINK); | ^~~~~~~ ~~~~ commondefs.h:1147:13: note: declared here 1147 | extern void initseg(); | ^~~~~~~ commoncode.c: In function 'main': commondefs.h:1184:17: error: conflicting types for 'MakeMask'; have 'unsigned int(void)' 1184 | extern unsigned MakeMask(); | ^~~~~~~~ commoncode.c:672:5: warning: old-style function definition [-Wold-style-definition] 672 | int main(argc, argv) | ^~~~ commondefs.h:1024:10: note: previous declaration of 'MakeMask' with type 'unsigned int(int, int)' 1024 | unsigned MakeMask(int start, int end); | ^~~~~~~~ commondefs.h:1185:13: error: conflicting types for 'getlocus'; have 'void(void)' 1185 | extern void getlocus(); | ^~~~~~~~ commondefs.h:1025:6: note: previous declaration of 'getlocus' with type 'void(long int, struct LOC_readloci *)' 1025 | void getlocus(long, struct LOC_readloci*); | ^~~~~~~~ commondefs.h:1186:13: error: conflicting types for 'inputerror'; have 'void(void)' 1186 | extern void inputerror(); | ^~~~~~~~~~ commondefs.h:1026:6: note: previous declaration of 'inputerror' with type 'void(long int, long int, long int, struct LOC_inputdata *)' 1026 | void inputerror(long, long, long, struct LOC_inputdata*); | ^~~~~~~~~~ commondefs.h:1187:13: error: conflicting types for 'inputwarning'; have 'void(void)' 1187 | extern void inputwarning(); | ^~~~~~~~~~~~ commondefs.h:1027:6: note: previous declaration of 'inputwarning' with type 'void(long int, long int, long int, struct LOC_inputdata *)' 1027 | void inputwarning(long, long, long, struct LOC_inputdata*); | ^~~~~~~~~~~~ commondefs.h:1191:13: error: conflicting types for 'readped'; have 'void(void)' 1191 | extern void readped(); | ^~~~~~~ commondefs.h:1028:6: note: previous declaration of 'readped' with type 'void(struct LOC_inputdata *)' 1028 | void readped(struct LOC_inputdata*); | ^~~~~~~ unknown.c:140:6: warning: old-style function definition [-Wold-style-definition] 140 | void malloc_err(message) | ^~~~~~~~~~ comnuclear.c:1107:3: error: too many arguments to function 'cleanup'; expected 0, have 2 1107 | cleanup(LINK->q, LINK->LINK); | ^~~~~~~ ~~~~~~~ commondefs.h:1146:13: note: declared here 1146 | extern void cleanup(); | ^~~~~~~ comnuclear.c:1108:3: error: too many arguments to function 'exitseg'; expected 0, have 1 1108 | exitseg(LINK); | ^~~~~~~ ~~~~ commondefs.h:1148:13: note: declared here 1148 | extern void exitseg(); | ^~~~~~~ unknown.c: In function 'P_eof': unknown.c:175:5: warning: old-style function definition [-Wold-style-definition] 175 | int P_eof(f) | ^~~~~ comnuclear.c: In function 'segctop': comnuclear.c:1111:6: warning: old-style function definition [-Wold-style-definition] 1111 | Void segctop(LINK) | ^~~~~~~ comnuclear.c:1113:1: error: number of arguments doesn't match prototype 1113 | { | ^ commondefs.h:1161:13: error: prototype declaration 1161 | extern void segctop(); | ^~~~~~~ comnuclear.c:1121:3: error: too many arguments to function 'initseg'; expected 0, have 1 1121 | initseg(LINK); | ^~~~~~~ ~~~~ commondefs.h:1147:13: note: declared here 1147 | extern void initseg(); | ^~~~~~~ unknown.c: In function 'P_eoln': unknown.c:194:5: warning: old-style function definition [-Wold-style-definition] 194 | int P_eoln(f) | ^~~~~~ liinputcode.c: In function 'readloci': liinputcode.c:16:6: warning: old-style function definition [-Wold-style-definition] 16 | Void readloci(LINK) | ^~~~~~~~ comnuclear.c:1181:3: error: too many arguments to function 'cleanup'; expected 0, have 2 1181 | cleanup(LINK->q, LINK->LINK); | ^~~~~~~ ~~~~~~~ commondefs.h:1146:13: note: declared here 1146 | extern void cleanup(); | ^~~~~~~ comnuclear.c:1182:3: error: too many arguments to function 'exitseg'; expected 0, have 1 1182 | exitseg(LINK); | ^~~~~~~ ~~~~ commondefs.h:1148:13: note: declared here 1148 | extern void exitseg(); | ^~~~~~~ linkmap.c: In function 'preIpedLoop': liinputcode.c:30:5: error: too many arguments to function 'inputerror'; expected 0, have 4 30 | inputerror(0L, mlocus, mlocus, LINK); | ^~~~~~~~~~ ~~ commondefs.h:1186:13: note: declared here 1186 | extern void inputerror(); | ^~~~~~~~~~ linkmap.c:667:20: error: too many arguments to function 'getdist'; expected 0, have 1 667 | thisdistm += getdist(&maletheta->theta[i - 1]); | ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ commondefs.h:1167:15: note: declared here 1167 | extern double getdist(); | ^~~~~~~ liinputcode.c:32:5: error: too many arguments to function 'inputerror'; expected 0, have 4 32 | inputerror(1L, mlocus, mlocus, LINK); | ^~~~~~~~~~ ~~ commondefs.h:1186:13: note: declared here 1186 | extern void inputerror(); | ^~~~~~~~~~ liinputcode.c:34:5: error: too many arguments to function 'inputerror'; expected 0, have 4 34 | inputerror(37L, risksys, risksys, LINK); | ^~~~~~~~~~ ~~~ comnuclear.c: In function 'segtop': commondefs.h:1186:13: note: declared here 1186 | extern void inputerror(); | ^~~~~~~~~~ comnuclear.c:1187:6: warning: old-style function definition [-Wold-style-definition] 1187 | Void segtop(LINK) | ^~~~~~ comnuclear.c:1189:1: error: number of arguments doesn't match prototype 1189 | { | ^ commondefs.h:1162:13: error: prototype declaration 1162 | extern void segtop(); | ^~~~~~ liinputcode.c:36:5: error: too many arguments to function 'inputerror'; expected 0, have 4 36 | inputerror(38L, risksys, risksys, LINK); | ^~~~~~~~~~ ~~~ commondefs.h:1186:13: note: declared here 1186 | extern void inputerror(); | ^~~~~~~~~~ comnuclear.c:1197:3: error: too many arguments to function 'initseg'; expected 0, have 1 1197 | initseg(LINK); | ^~~~~~~ ~~~~ commondefs.h:1147:13: note: declared here 1147 | extern void initseg(); | ^~~~~~~ linkmap.c:681:22: error: too many arguments to function 'getdist'; expected 0, have 1 681 | thisdistf += getdist(&femaletheta->theta[i - 1]); | ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~ commondefs.h:1167:15: note: declared here 1167 | extern double getdist(); | ^~~~~~~ unknown.c: In function 'read_till_blank_line': unknown.c:434:6: warning: old-style function definition [-Wold-style-definition] 434 | void read_till_blank_line(infile) | ^~~~~~~~~~~~~~~~~~~~ linkmap.c:691:22: error: too many arguments to function 'getdist'; expected 0, have 1 691 | thisdistm += getdist(&maletheta->theta[i - 2]); | ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ commondefs.h:1167:15: note: declared here 1167 | extern double getdist(); | ^~~~~~~ liinputcode.c:57:5: error: too many arguments to function 'inputerror'; expected 0, have 4 57 | inputerror(39L, mutsys, mutsys, LINK); | ^~~~~~~~~~ ~~~ commondefs.h:1186:13: note: declared here 1186 | extern void inputerror(); | ^~~~~~~~~~ unknown.c: In function 'check_status': unknown.c:456:6: warning: old-style function definition [-Wold-style-definition] 456 | void check_status(max_id, ped_num) | ^~~~~~~~~~~~ liinputcode.c:59:5: error: too many arguments to function 'inputerror'; expected 0, have 4 59 | inputerror(40L, mutsys, mutsys, LINK); | ^~~~~~~~~~ ~~~ commondefs.h:1186:13: note: declared here 1186 | extern void inputerror(); | ^~~~~~~~~~ linkmap.c:697:24: error: too many arguments to function 'getdist'; expected 0, have 1 697 | thisdistf += getdist(&femaletheta->theta[i - 2]); | ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~ commondefs.h:1167:15: note: declared here 1167 | extern double getdist(); | ^~~~~~~ liinputcode.c:67:7: error: too many arguments to function 'malloc_err'; expected 0, have 1 67 | malloc_err("hapfreq"); | ^~~~~~~~~~ ~~~~~~~~~ commondefs.h:1173:13: note: declared here 1173 | extern void malloc_err(); | ^~~~~~~~~~ liinputcode.c:72:7: error: too many arguments to function 'inputerror'; expected 0, have 4 72 | inputerror(2L, i, j, LINK); | ^~~~~~~~~~ ~~ linkmap.c:709:19: error: too many arguments to function 'getdist'; expected 0, have 1 709 | distratio = getdist(&distratio) / getdist(&maletheta->theta[whichvary - 1]); | ^~~~~~~ ~~~~~~~~~~ commondefs.h:1167:15: note: declared here 1167 | extern double getdist(); | ^~~~~~~ commondefs.h:1186:13: note: declared here 1186 | extern void inputerror(); | ^~~~~~~~~~ In file included from check.c:22: commondefs.h:1166:15: error: conflicting types for 'mapfunction'; have 'double(void)' 1166 | extern double mapfunction(); | ^~~~~~~~~~~ comnuclear.c:1262:3: error: too many arguments to function 'cleanup'; expected 0, have 2 1262 | cleanup(LINK->q, LINK->LINK); | ^~~~~~~ ~~~~~~~ commondefs.h:1067:8: note: previous declaration of 'mapfunction' with type 'double(double, double)' 1067 | double mapfunction(double, double); | ^~~~~~~~~~~ liinputcode.c:74:7: error: too many arguments to function 'inputerror'; expected 0, have 4 74 | inputerror(3L, i, j, LINK); | ^~~~~~~~~~ ~~ commondefs.h:1146:13: note: declared here 1146 | extern void cleanup(); | ^~~~~~~ commondefs.h:1167:15: error: conflicting types for 'getdist'; have 'double(void)' 1167 | extern double getdist(); | ^~~~~~~ commondefs.h:1186:13: note: declared here 1186 | extern void inputerror(); | ^~~~~~~~~~ comnuclear.c:1263:3: error: too many arguments to function 'exitseg'; expected 0, have 1 1263 | exitseg(LINK); | ^~~~~~~ ~~~~ commondefs.h:1148:13: note: declared here 1148 | extern void exitseg(); | ^~~~~~~ commondefs.h:1068:8: note: previous declaration of 'getdist' with type 'double(double *)' 1068 | double getdist(double*); | ^~~~~~~ linkmap.c:709:41: error: too many arguments to function 'getdist'; expected 0, have 1 709 | distratio = getdist(&distratio) / getdist(&maletheta->theta[whichvary - 1]); | ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ commondefs.h:1167:15: note: declared here 1167 | extern double getdist(); | ^~~~~~~ commondefs.h:1168:15: error: conflicting types for 'invdist'; have 'double(void)' 1168 | extern double invdist(); | ^~~~~~~ commondefs.h:1069:8: note: previous declaration of 'invdist' with type 'double(double *)' 1069 | double invdist(double*); | ^~~~~~~ liinputcode.c:80:9: error: too many arguments to function 'inputerror'; expected 0, have 4 80 | inputerror(4L, i, j, LINK); | ^~~~~~~~~~ ~~ commondefs.h:1186:13: note: declared here 1186 | extern void inputerror(); | ^~~~~~~~~~ commondefs.h:1173:13: error: conflicting types for 'malloc_err'; have 'void(void)' 1173 | extern void malloc_err(); | ^~~~~~~~~~ comnuclear.c: In function 'segcapprox': comnuclear.c:1269:6: warning: old-style function definition [-Wold-style-definition] 1269 | Void segcapprox(LINK) | ^~~~~~~~~~ commondefs.h:1021:6: note: previous declaration of 'malloc_err' with type 'void(char *)' 1021 | void malloc_err(char*); | ^~~~~~~~~~ comnuclear.c:1271:1: error: number of arguments doesn't match prototype 1271 | { | ^ commondefs.h:1163:13: error: prototype declaration 1163 | extern void segcapprox(); | ^~~~~~~~~~ commondefs.h:1174:12: error: conflicting types for 'P_eof'; have 'int(void)' 1174 | extern int P_eof(); | ^~~~~ linkmap.c:716:21: error: too many arguments to function 'getdist'; expected 0, have 1 716 | distratio = getdist(&distratio) / getdist(&maletheta->theta[1]); | ^~~~~~~ ~~~~~~~~~~ comnuclear.c:1279:3: error: too many arguments to function 'initseg'; expected 0, have 1 1279 | initseg(LINK); | ^~~~~~~ ~~~~ commondefs.h:1167:15: note: declared here 1167 | extern double getdist(); | ^~~~~~~ commondefs.h:1147:13: note: declared here 1147 | extern void initseg(); | ^~~~~~~ commondefs.h:1022:5: note: previous declaration of 'P_eof' with type 'int(FILE *)' 1022 | int P_eof(FILE*); | ^~~~~ commondefs.h:1175:12: error: conflicting types for 'P_eoln'; have 'int(void)' 1175 | extern int P_eoln(); | ^~~~~~ linkmap.c:716:43: error: too many arguments to function 'getdist'; expected 0, have 1 716 | distratio = getdist(&distratio) / getdist(&maletheta->theta[1]); | ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~ liinputcode.c:91:5: error: too many arguments to function 'getlocus'; expected 0, have 2 91 | getlocus(order[i], &V); | ^~~~~~~~ ~~~~~~~~ commondefs.h:1023:5: note: previous declaration of 'P_eoln' with type 'int(FILE *)' 1023 | int P_eoln(FILE*); | ^~~~~~ commondefs.h:1185:13: note: declared here 1185 | extern void getlocus(); | ^~~~~~~~ commondefs.h:1167:15: note: declared here 1167 | extern double getdist(); | ^~~~~~~ commondefs.h:1184:17: error: conflicting types for 'MakeMask'; have 'unsigned int(void)' 1184 | extern unsigned MakeMask(); | ^~~~~~~~ linkmap.c:719:21: error: too many arguments to function 'getdist'; expected 0, have 1 719 | distratio = getdist(&distratio) / getdist(&maletheta->theta[mlocus - 3]); | ^~~~~~~ ~~~~~~~~~~ commondefs.h:1024:10: note: previous declaration of 'MakeMask' with type 'unsigned int(int, int)' 1024 | unsigned MakeMask(int start, int end); | ^~~~~~~~ commondefs.h:1167:15: note: declared here 1167 | extern double getdist(); | ^~~~~~~ commondefs.h:1185:13: error: conflicting types for 'getlocus'; have 'void(void)' 1185 | extern void getlocus(); | ^~~~~~~~ commondefs.h:1025:6: note: previous declaration of 'getlocus' with type 'void(long int, struct LOC_readloci *)' 1025 | void getlocus(long, struct LOC_readloci*); | ^~~~~~~~ linkmap.c:719:43: error: too many arguments to function 'getdist'; expected 0, have 1 719 | distratio = getdist(&distratio) / getdist(&maletheta->theta[mlocus - 3]); | ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ commondefs.h:1167:15: note: declared here 1167 | extern double getdist(); | ^~~~~~~ commondefs.h:1186:13: error: conflicting types for 'inputerror'; have 'void(void)' 1186 | extern void inputerror(); | ^~~~~~~~~~ liinputcode.c:103:5: error: too many arguments to function 'allocate_thisarray'; expected 0, have 2 103 | allocate_thisarray(hapfreq, mgeno); | ^~~~~~~~~~~~~~~~~~ ~~~~~~~ commondefs.h:1026:6: note: previous declaration of 'inputerror' with type 'void(long int, long int, long int, struct LOC_inputdata *)' 1026 | void inputerror(long, long, long, struct LOC_inputdata*); | ^~~~~~~~~~ commondefs.h:1192:13: note: declared here 1192 | extern void allocate_thisarray(); | ^~~~~~~~~~~~~~~~~~ commondefs.h:1187:13: error: conflicting types for 'inputwarning'; have 'void(void)' 1187 | extern void inputwarning(); | ^~~~~~~~~~~~ commondefs.h:1027:6: note: previous declaration of 'inputwarning' with type 'void(long int, long int, long int, struct LOC_inputdata *)' 1027 | void inputwarning(long, long, long, struct LOC_inputdata*); | ^~~~~~~~~~~~ comnuclear.c:1314:3: error: too many arguments to function 'cleanup'; expected 0, have 2 1314 | cleanup(LINK->q, LINK->LINK); | ^~~~~~~ ~~~~~~~ commondefs.h:1146:13: note: declared here 1146 | extern void cleanup(); | ^~~~~~~ comnuclear.c:1315:3: error: too many arguments to function 'exitseg'; expected 0, have 1 1315 | exitseg(LINK); | ^~~~~~~ ~~~~ commondefs.h:1191:13: error: conflicting types for 'readped'; have 'void(void)' 1191 | extern void readped(); | ^~~~~~~ commondefs.h:1148:13: note: declared here 1148 | extern void exitseg(); | ^~~~~~~ commondefs.h:1028:6: note: previous declaration of 'readped' with type 'void(struct LOC_inputdata *)' 1028 | void readped(struct LOC_inputdata*); | ^~~~~~~ linkmap.c: In function 'ipedLoop': linkmap.c:735:32: error: too many arguments to function 'getdist'; expected 0, have 1 735 | thisdist = thisdistm - getdist(maletheta->theta); | ^~~~~~~ ~~~~~~~~~~~~~~~~ In file included from comnuclear.c:1318: oldsegup.c: In function 'oldsegsexup': commondefs.h:1167:15: note: declared here 1167 | extern double getdist(); | ^~~~~~~ oldsegup.c:6:6: warning: old-style function definition [-Wold-style-definition] 6 | Void oldsegsexup(LINK) | ^~~~~~~~~~~ oldsegup.c:8:1: error: number of arguments doesn't match prototype 8 | { | ^ commondefs.h:1171:13: error: prototype declaration 1171 | extern void oldsegsexup(); | ^~~~~~~~~~~ linkmap.c:737:32: error: too many arguments to function 'getdist'; expected 0, have 1 737 | thisdist = thisdistm + getdist(&maletheta->theta[whichvary - 2]); | ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ oldsegup.c:17:3: error: too many arguments to function 'initseg'; expected 0, have 1 17 | initseg(LINK); | ^~~~~~~ ~~~~ commondefs.h:1147:13: note: declared here 1147 | extern void initseg(); | ^~~~~~~ commondefs.h:1167:15: note: declared here 1167 | extern double getdist(); | ^~~~~~~ liinputcode.c:122:5: error: too many arguments to function 'inputwarning'; expected 0, have 4 122 | inputwarning(0L, difference, difference, LINK); | ^~~~~~~~~~~~ ~~ commondefs.h:1187:13: note: declared here 1187 | extern void inputwarning(); | ^~~~~~~~~~~~ linkmap.c:742:34: error: too many arguments to function 'getdist'; expected 0, have 1 742 | thisdist = thisdistf - getdist(femaletheta->theta); | ^~~~~~~ ~~~~~~~~~~~~~~~~~~ commondefs.h:1167:15: note: declared here 1167 | extern double getdist(); | ^~~~~~~ linkmap.c:744:34: error: too many arguments to function 'getdist'; expected 0, have 1 744 | thisdist = thisdistf + getdist(&femaletheta->theta[whichvary - 2]); | ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ liinputcode.c:130:5: error: too many arguments to function 'inputwarning'; expected 0, have 4 130 | inputwarning(1L, independent, independent, LINK); | ^~~~~~~~~~~~ ~~ commondefs.h:1167:15: note: declared here 1167 | extern double getdist(); | ^~~~~~~ commondefs.h:1187:13: note: declared here 1187 | extern void inputwarning(); | ^~~~~~~~~~~~ unknown.c: In function 'inputerror': oldsegup.c:67:3: error: too many arguments to function 'cleanup'; expected 0, have 2 67 | cleanup(LINK->q, LINK->LINK); | ^~~~~~~ ~~~~~~~ commondefs.h:1146:13: note: declared here 1146 | extern void cleanup(); | ^~~~~~~ liinputcode.c:141:5: error: too many arguments to function 'inputwarning'; expected 0, have 4 141 | inputwarning(2L, difference, difference, LINK); | ^~~~~~~~~~~~ ~~ oldsegup.c:68:3: error: too many arguments to function 'exitseg'; expected 0, have 1 68 | exitseg(LINK); | ^~~~~~~ ~~~~ unknown.c:836:13: warning: old-style function definition [-Wold-style-definition] 836 | static void inputerror(nerror, par1, par2) | ^~~~~~~~~~ commondefs.h:1148:13: note: declared here 1148 | extern void exitseg(); | ^~~~~~~ commondefs.h:1187:13: note: declared here 1187 | extern void inputwarning(); | ^~~~~~~~~~~~ oldsegup.c: In function 'oldsegup': oldsegup.c:71:6: warning: old-style function definition [-Wold-style-definition] 71 | Void oldsegup(LINK) | ^~~~~~~~ oldsegup.c:73:1: error: number of arguments doesn't match prototype 73 | { | ^ commondefs.h:1172:13: error: prototype declaration 1172 | extern void oldsegup(); | ^~~~~~~~ oldsegup.c:80:3: error: too many arguments to function 'initseg'; expected 0, have 1 80 | initseg(LINK); | ^~~~~~~ ~~~~ commondefs.h:1147:13: note: declared here 1147 | extern void initseg(); | ^~~~~~~ linkmap.c:770:7: error: too many arguments to function 'performCheckpoint'; expected 0, have 3 770 | performCheckpoint(functionLocation, iterpeds_counter, iterped_call_before); | ^~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ commondefs.h:1139:13: note: declared here 1139 | extern void performCheckpoint(); | ^~~~~~~~~~~~~~~~~ oldsegup.c:104:3: error: too many arguments to function 'cleanup'; expected 0, have 2 104 | cleanup(LINK->q, LINK->LINK); | ^~~~~~~ ~~~~~~~ commondefs.h:1146:13: note: declared here 1146 | extern void cleanup(); | ^~~~~~~ oldsegup.c:105:3: error: too many arguments to function 'exitseg'; expected 0, have 1 105 | exitseg(LINK); | ^~~~~~~ ~~~~ commondefs.h:1148:13: note: declared here 1148 | extern void exitseg(); | ^~~~~~~ comnuclear.c: In function 'msegsexdown': comnuclear.c:1320:6: warning: old-style function definition [-Wold-style-definition] 1320 | Void msegsexdown(LINK) | ^~~~~~~~~~~ comnuclear.c:1322:1: error: number of arguments doesn't match prototype 1322 | { | ^ linkmap.c:785:8: error: too many arguments to function 'performCheckpoint'; expected 0, have 3 785 | performCheckpoint(functionLocation, iterpeds_counter, iterped_call_after); | ^~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ commondefs.h:1164:13: error: prototype declaration 1164 | extern void msegsexdown(); | ^~~~~~~~~~~ commondefs.h:1139:13: note: declared here 1139 | extern void performCheckpoint(); | ^~~~~~~~~~~~~~~~~ In file included from gemdefs.h:17, from check.c:24: commondefs.h:1166:15: error: conflicting types for 'mapfunction'; have 'double(void)' 1166 | extern double mapfunction(); | ^~~~~~~~~~~ commondefs.h:1067:8: note: previous declaration of 'mapfunction' with type 'double(double, double)' 1067 | double mapfunction(double, double); | ^~~~~~~~~~~ commondefs.h:1167:15: error: conflicting types for 'getdist'; have 'double(void)' 1167 | extern double getdist(); | ^~~~~~~ commondefs.h:1068:8: note: previous declaration of 'getdist' with type 'double(double *)' 1068 | double getdist(double*); | ^~~~~~~ commondefs.h:1168:15: error: conflicting types for 'invdist'; have 'double(void)' 1168 | extern double invdist(); | ^~~~~~~ comnuclear.c:1334:3: error: too many arguments to function 'initseg'; expected 0, have 1 1334 | initseg(LINK); | ^~~~~~~ ~~~~ commondefs.h:1069:8: note: previous declaration of 'invdist' with type 'double(double *)' 1069 | double invdist(double*); | ^~~~~~~ commondefs.h:1147:13: note: declared here 1147 | extern void initseg(); | ^~~~~~~ commondefs.h:1173:13: error: conflicting types for 'malloc_err'; have 'void(void)' 1173 | extern void malloc_err(); | ^~~~~~~~~~ commondefs.h:1021:6: note: previous declaration of 'malloc_err' with type 'void(char *)' 1021 | void malloc_err(char*); | ^~~~~~~~~~ commondefs.h:1174:12: error: conflicting types for 'P_eof'; have 'int(void)' 1174 | extern int P_eof(); | ^~~~~ commondefs.h:1022:5: note: previous declaration of 'P_eof' with type 'int(FILE *)' 1022 | int P_eof(FILE*); | ^~~~~ commondefs.h:1175:12: error: conflicting types for 'P_eoln'; have 'int(void)' 1175 | extern int P_eoln(); | ^~~~~~ commondefs.h:1023:5: note: previous declaration of 'P_eoln' with type 'int(FILE *)' 1023 | int P_eoln(FILE*); | ^~~~~~ commondefs.h:1184:17: error: conflicting types for 'MakeMask'; have 'unsigned int(void)' 1184 | extern unsigned MakeMask(); | ^~~~~~~~ commondefs.h:1024:10: note: previous declaration of 'MakeMask' with type 'unsigned int(int, int)' 1024 | unsigned MakeMask(int start, int end); | ^~~~~~~~ commondefs.h:1185:13: error: conflicting types for 'getlocus'; have 'void(void)' 1185 | extern void getlocus(); | ^~~~~~~~ commondefs.h:1025:6: note: previous declaration of 'getlocus' with type 'void(long int, struct LOC_readloci *)' 1025 | void getlocus(long, struct LOC_readloci*); | ^~~~~~~~ commondefs.h:1186:13: error: conflicting types for 'inputerror'; have 'void(void)' 1186 | extern void inputerror(); | ^~~~~~~~~~ commondefs.h:1026:6: note: previous declaration of 'inputerror' with type 'void(long int, long int, long int, struct LOC_inputdata *)' 1026 | void inputerror(long, long, long, struct LOC_inputdata*); | ^~~~~~~~~~ linkmap.c:803:45: error: too many arguments to function 'getdist'; expected 0, have 1 803 | femaletheta->theta[0] = distratio * getdist(maletheta->theta); | ^~~~~~~ ~~~~~~~~~~~~~~~~ commondefs.h:1187:13: error: conflicting types for 'inputwarning'; have 'void(void)' 1187 | extern void inputwarning(); | ^~~~~~~~~~~~ commondefs.h:1027:6: note: previous declaration of 'inputwarning' with type 'void(long int, long int, long int, struct LOC_inputdata *)' 1027 | void inputwarning(long, long, long, struct LOC_inputdata*); | ^~~~~~~~~~~~ commondefs.h:1167:15: note: declared here 1167 | extern double getdist(); | ^~~~~~~ commondefs.h:1191:13: error: conflicting types for 'readped'; have 'void(void)' 1191 | extern void readped(); | ^~~~~~~ commondefs.h:1028:6: note: previous declaration of 'readped' with type 'void(struct LOC_inputdata *)' 1028 | void readped(struct LOC_inputdata*); | ^~~~~~~ linkmap.c:804:33: error: too many arguments to function 'invdist'; expected 0, have 1 804 | femaletheta->theta[0] = invdist(femaletheta->theta); | ^~~~~~~ ~~~~~~~~~~~~~~~~~~ commondefs.h:1168:15: note: declared here 1168 | extern double invdist(); | ^~~~~~~ linkmap.c:813:54: error: too many arguments to function 'getdist'; expected 0, have 1 813 | femaletheta->theta[mlocus - 2] = distratio * getdist(&maletheta->theta[mlocus - 2]); | ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ commondefs.h:1167:15: note: declared here 1167 | extern double getdist(); | ^~~~~~~ check.c: In function 'fileErrorHelp': linkmap.c:814:42: error: too many arguments to function 'invdist'; expected 0, have 1 814 | femaletheta->theta[mlocus - 2] = invdist(&femaletheta->theta[mlocus - 2]); | ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ check.c:31:1: warning: old-style function definition [-Wold-style-definition] 31 | fileErrorHelp ( fileName , problemType ) | ^~~~~~~~~~~~~ commondefs.h:1168:15: note: declared here 1168 | extern double invdist(); | ^~~~~~~ check.c: In function 'ourCopyAppendFile': unknown.c: In function 'inputwarning': unknown.c:1095:13: warning: old-style function definition [-Wold-style-definition] 1095 | static void inputwarning(nwarning, par1, par2) | ^~~~~~~~~~~~ check.c:71:1: warning: old-style function definition [-Wold-style-definition] 71 | ourCopyAppendFile ( fromName , toName , operationType ) | ^~~~~~~~~~~~~~~~~ linkmap.c:828:23: error: too many arguments to function 'getdist'; expected 0, have 1 828 | distratio * getdist(&maletheta->theta[whichvary - 2]); | ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ commondefs.h:1167:15: note: declared here 1167 | extern double getdist(); | ^~~~~~~ linkmap.c:829:45: error: too many arguments to function 'invdist'; expected 0, have 1 829 | femaletheta->theta[whichvary - 2] = invdist(&femaletheta->theta[whichvary - 2]); | ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ commondefs.h:1168:15: note: declared here 1168 | extern double invdist(); | ^~~~~~~ comnuclear.c:1410:3: error: too many arguments to function 'cleanup'; expected 0, have 2 1410 | cleanup(LINK->p, LINK->LINK); | ^~~~~~~ ~~~~~~~ commondefs.h:1146:13: note: declared here 1146 | extern void cleanup(); | ^~~~~~~ comnuclear.c:1411:3: error: too many arguments to function 'cleanup'; expected 0, have 2 1411 | cleanup(LINK->q, LINK->LINK); | ^~~~~~~ ~~~~~~~ commondefs.h:1146:13: note: declared here 1146 | extern void cleanup(); | ^~~~~~~ comnuclear.c:1412:3: error: too many arguments to function 'exitseg'; expected 0, have 1 1412 | exitseg(LINK); | ^~~~~~~ ~~~~ linkmap.c:833:23: error: too many arguments to function 'getdist'; expected 0, have 1 833 | distratio * getdist(&maletheta->theta[whichvary - 1]); | ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ commondefs.h:1148:13: note: declared here 1148 | extern void exitseg(); | ^~~~~~~ commondefs.h:1167:15: note: declared here 1167 | extern double getdist(); | ^~~~~~~ linkmap.c:834:45: error: too many arguments to function 'invdist'; expected 0, have 1 834 | femaletheta->theta[whichvary - 1] = invdist(&femaletheta->theta[whichvary - 1]); | ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ commondefs.h:1168:15: note: declared here 1168 | extern double invdist(); | ^~~~~~~ comnuclear.c: In function 'msegdown': comnuclear.c:1416:6: warning: old-style function definition [-Wold-style-definition] 1416 | Void msegdown(LINK) | ^~~~~~~~ comnuclear.c:1418:1: error: number of arguments doesn't match prototype 1418 | { | ^ commondefs.h:1165:13: error: prototype declaration 1165 | extern void msegdown(); | ^~~~~~~~ comnuclear.c:1430:3: error: too many arguments to function 'initseg'; expected 0, have 1 1430 | initseg(LINK); | ^~~~~~~ ~~~~ commondefs.h:1147:13: note: declared here 1147 | extern void initseg(); | ^~~~~~~ unknown.c: In function 'write_loopfile_old': unknown.c:1294:13: warning: old-style function definition [-Wold-style-definition] 1294 | static void write_loopfile_old(ped) | ^~~~~~~~~~~~~~~~~~ unknown.c: In function 'write_loopfile_new': comnuclear.c:1526:3: error: too many arguments to function 'cleanup'; expected 0, have 2 1526 | cleanup(LINK->p, LINK->LINK); | ^~~~~~~ ~~~~~~~ unknown.c:1367:13: warning: old-style function definition [-Wold-style-definition] 1367 | static void write_loopfile_new(ped) | ^~~~~~~~~~~~~~~~~~ commondefs.h:1146:13: note: declared here 1146 | extern void cleanup(); | ^~~~~~~ comnuclear.c:1527:3: error: too many arguments to function 'cleanup'; expected 0, have 2 1527 | cleanup(LINK->q, LINK->LINK); | ^~~~~~~ ~~~~~~~ commondefs.h:1146:13: note: declared here 1146 | extern void cleanup(); | ^~~~~~~ comnuclear.c:1528:3: error: too many arguments to function 'exitseg'; expected 0, have 1 1528 | exitseg(LINK); | ^~~~~~~ ~~~~ commondefs.h:1148:13: note: declared here 1148 | extern void exitseg(); | ^~~~~~~ check.c: In function 'putCkptNumber': check.c:217:7: warning: old-style function definition [-Wold-style-definition] 217 | void putCkptNumber ( numberPtr , numberSize ) | ^~~~~~~~~~~~~ check.c: In function 'putCkptVector': check.c:226:9: warning: old-style function definition [-Wold-style-definition] 226 | void putCkptVector ( theVector ) | ^~~~~~~~~~~~~ check.c: In function 'putCkptMatrix': check.c:237:9: warning: old-style function definition [-Wold-style-definition] 237 | void putCkptMatrix ( theMatrix ) | ^~~~~~~~~~~~~ check.c: In function 'putCkptIter': check.c:248:11: warning: old-style function definition [-Wold-style-definition] 248 | void putCkptIter ( theIter ) | ^~~~~~~~~~~ check.c: In function 'performCheckpoint': check.c:372:21: warning: old-style function definition [-Wold-style-definition] 372 | void performCheckpoint ( locationType , locationDatum , extra ) | ^~~~~~~~~~~~~~~~~ check.c:376:1: error: number of arguments doesn't match prototype 376 | { | ^ commondefs.h:1139:13: error: prototype declaration 1139 | extern void performCheckpoint(); | ^~~~~~~~~~~~~~~~~ check.c: In function 'getCkptNumber': check.c:437:7: warning: old-style function definition [-Wold-style-definition] 437 | void getCkptNumber ( numberPtr , numberSize ) | ^~~~~~~~~~~~~ check.c: In function 'getCkptVector': check.c:446:9: warning: old-style function definition [-Wold-style-definition] 446 | void getCkptVector ( theVector ) | ^~~~~~~~~~~~~ check.c: In function 'getCkptMatrix': check.c:457:9: warning: old-style function definition [-Wold-style-definition] 457 | void getCkptMatrix ( theMatrix ) | ^~~~~~~~~~~~~ check.c: In function 'getCkptIter': check.c:468:11: warning: old-style function definition [-Wold-style-definition] 468 | void getCkptIter ( theIter ) | ^~~~~~~~~~~ check.c: In function 'recoverCheckpoint': check.c:587:7: warning: old-style function definition [-Wold-style-definition] 587 | void recoverCheckpoint ( extra ) | ^~~~~~~~~~~~~~~~~ check.c:589:1: error: number of arguments doesn't match prototype 589 | { | ^ commondefs.h:1140:13: error: prototype declaration 1140 | extern void recoverCheckpoint (); | ^~~~~~~~~~~~~~~~~ unknown.c: In function 'getlocation': unknown.c:2173:13: warning: old-style function definition [-Wold-style-definition] 2173 | static void getlocation(thislocus) | ^~~~~~~~~~~ unknown.c: In function 'readbin': unknown.c:2215:6: warning: old-style function definition [-Wold-style-definition] 2215 | void readbin(phen, ourlocus, LINK) | ^~~~~~~ unknown.c: In function 'readnumber': unknown.c:2238:6: warning: old-style function definition [-Wold-style-definition] 2238 | void readnumber(phen, LINK, version) | ^~~~~~~~~~ unknown.c: In function 'readaff': unknown.c:2280:6: warning: old-style function definition [-Wold-style-definition] 2280 | void readaff(phen, thislocus, LINK) | ^~~~~~~ make[2]: *** [Makefile:742: ilcomrec.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: *** [Makefile:819: liinputcode.o] Error 1 unknown.c: In function 'readquan': make[2]: *** [Makefile:989: looldnuclear.o] Error 1 unknown.c:2312:7: warning: old-style function definition [-Wold-style-definition] 2312 | void readquan(phen, thislocus, LINK) | ^~~~~~~~ make[2]: *** [Makefile:807: licominputcode.o] Error 1 make[2]: *** [Makefile:1004: automodified.o] Error 1 unknown.c: In function 'getphenotype': unknown.c:2352:6: warning: old-style function definition [-Wold-style-definition] 2352 | void getphenotype(p_, version) | ^~~~~~~~~~~~ make[2]: *** [Makefile:754: iliostuff.o] Error 1 make[2]: *** [Makefile:907: mliostuff.o] Error 1 make[2]: *** [Makefile:745: ilgetvect.o] Error 1 unknown.c: In function 'getind': make[2]: *** [Makefile:968: locheck.o] Error 1 unknown.c:2391:7: warning: old-style function definition [-Wold-style-definition] 2391 | void getind(id, seq) | ^~~~~~ make[2]: *** [Makefile:983: loinputcode.o] Error 1 make[2]: *** [Makefile:751: ilinputcode.o] Error 1 make[2]: *** [Makefile:886: mlcheck.o] Error 1 make[2]: *** [Makefile:974: locomrec.o] Error 1 make[2]: *** [Makefile:889: mlcominputcode.o] Error 1 make[2]: *** [Makefile:904: mlinputcode.o] Error 1 unknown.c: In function 'multimarriage': make[2]: *** [Makefile:898: mlgetvect.o] Error 1 unknown.c:2419:7: warning: old-style function definition [-Wold-style-definition] 2419 | void multimarriage(p) | ^~~~~~~~~~~~~ make[2]: *** [Makefile:739: ilcommoncode.o] Error 1 make[2]: *** [Makefile:1010: sexmodified.o] Error 1 make[2]: *** [Makefile:736: ilcominputcode.o] Error 1 unknown.c: In function 'readped': unknown.c:2468:13: warning: old-style function definition [-Wold-style-definition] 2468 | static void readped(version) | ^~~~~~~ make[2]: *** [Makefile:980: logetvect.o] Error 1 unknown.c: In function 'getquan': unknown.c:2621:6: warning: old-style function definition [-Wold-style-definition] 2621 | void getquan(locus, LINK) | ^~~~~~~ make[2]: *** [Makefile:816: ligetvect.o] Error 1 make[2]: *** [Makefile:810: licommoncode.o] Error 1 make[2]: *** [Makefile:1007: comlike.o] Error 1 unknown.c: In function 'getpen': unknown.c:2642:6: warning: old-style function definition [-Wold-style-definition] 2642 | void getpen(locus, LINK) | ^~~~~~ make[2]: *** [Makefile:971: locomlike.o] Error 1 make[2]: *** [Makefile:892: mlcommoncode.o] Error 1 make[2]: *** [Makefile:822: liiostuff.o] Error 1 make[2]: *** [Makefile:757: iloldnuclear.o] Error 1 unknown.c: In function 'getbin': unknown.c:2692:6: warning: old-style function definition [-Wold-style-definition] 2692 | void getbin(locus, LINK) | ^~~~~~ make[2]: *** [Makefile:895: mlcomrec.o] Error 1 unknown.c: In function 'getnumber': unknown.c:2725:6: warning: old-style function definition [-Wold-style-definition] 2725 | void getnumber(locus, LINK) | ^~~~~~~~~ unknown.c: In function 'getlocus': unknown.c:2740:6: warning: old-style function definition [-Wold-style-definition] 2740 | void getlocus(system_, LINK) | ^~~~~~~~ make[2]: *** [Makefile:825: linkmap.o] Error 1 make[2]: *** [Makefile:804: licheck.o] Error 1 make[2]: *** [Makefile:986: loiostuff.o] Error 1 make[2]: *** [Makefile:748: ilink.o] Error 1 make[2]: *** [Makefile:813: licomrec.o] Error 1 unknown.c: In function 'loopbreaker_getgene': unknown.c:2912:13: warning: old-style function definition [-Wold-style-definition] 2912 | static void loopbreaker_getgene(ped, locus,p) | ^~~~~~~~~~~~~~~~~~~ unknown.c: In function 'getgene': unknown.c:2959:13: warning: old-style function definition [-Wold-style-definition] 2959 | static void getgene(system, p, phen) | ^~~~~~~ make[2]: *** [Makefile:977: lodscore.o] Error 1 make[2]: *** [Makefile:733: ilcheck.o] Error 1 make[2]: *** [Makefile:828: lioldnuclear.o] Error 1 make[2]: *** [Makefile:901: mlink.o] Error 1 unknown.c: In function 'set_num_loops_considered': unknown.c:3057:13: warning: old-style function definition [-Wold-style-definition] 3057 | static void set_num_loops_considered(initial, ped) | ^~~~~~~~~~~~~~~~~~~~~~~~ unknown.c: In function 'segfun': unknown.c:3135:10: warning: old-style function definition [-Wold-style-definition] 3135 | boolean segfun(child, first, second, LINK) | ^~~~~~ unknown.c: In function 'segup': unknown.c:3199:6: warning: old-style function definition [-Wold-style-definition] 3199 | void segup(LINK) | ^~~~~ unknown.c: In function 'segdown': unknown.c:3298:6: warning: old-style function definition [-Wold-style-definition] 3298 | void segdown(LINK) | ^~~~~~~ unknown.c: In function 'seg': unknown.c:3437:7: warning: old-style function definition [-Wold-style-definition] 3437 | void seg(p_, q_, r_, peel) | ^~~ unknown.c: In function 'collapseup': unknown.c:3461:7: warning: old-style function definition [-Wold-style-definition] 3461 | void collapseup(p) | ^~~~~~~~~~ unknown.c:3487:7: error: too many arguments to function 'collapsedown'; expected 0, have 1 3487 | collapsedown(q); | ^~~~~~~~~~~~ ~ unknown.c:3121:13: note: declared here 3121 | static void collapsedown (); | ^~~~~~~~~~~~ unknown.c:3506:9: error: too many arguments to function 'collapsedown'; expected 0, have 1 3506 | collapsedown(p); | ^~~~~~~~~~~~ ~ unknown.c:3121:13: note: declared here 3121 | static void collapsedown (); | ^~~~~~~~~~~~ unknown.c: In function 'collapsedown': unknown.c:3517:13: warning: old-style function definition [-Wold-style-definition] 3517 | static void collapsedown(p) | ^~~~~~~~~~~~ unknown.c: In function 'malloc_unknown_poss': make[2]: *** [Makefile:910: mloldnuclear.o] Error 1 unknown.c:3549:13: warning: old-style function definition [-Wold-style-definition] 3549 | static void malloc_unknown_poss(curr_person, init_value) | ^~~~~~~~~~~~~~~~~~~ unknown.c: In function 'likelihood': unknown.c:3636:6: warning: old-style function definition [-Wold-style-definition] 3636 | void likelihood(initial, ped) | ^~~~~~~~~~ unknown.c:3788:9: error: too many arguments to function 'collapsedown'; expected 0, have 1 3788 | collapsedown(proband); | ^~~~~~~~~~~~ ~~~~~~~ unknown.c:3517:13: note: declared here 3517 | static void collapsedown(p) | ^~~~~~~~~~~~ unknown.c: In function 'no_loop_likelihood': unknown.c:3852:13: warning: old-style function definition [-Wold-style-definition] 3852 | static void no_loop_likelihood(proband_index) | ^~~~~~~~~~~~~~~~~~ unknown.c:3859:3: error: too many arguments to function 'collapsedown'; expected 0, have 1 3859 | collapsedown(proband); | ^~~~~~~~~~~~ ~~~~~~~ unknown.c:3517:13: note: declared here 3517 | static void collapsedown(p) | ^~~~~~~~~~~~ unknown.c: In function 'free_simple_list': unknown.c:3963:13: warning: old-style function definition [-Wold-style-definition] 3963 | static void free_simple_list(l) | ^~~~~~~~~~~~~~~~ unknown.c: In function 'get_loopbreaker_vectors': unknown.c:3987:13: warning: old-style function definition [-Wold-style-definition] 3987 | static void get_loopbreaker_vectors(initial, ped) | ^~~~~~~~~~~~~~~~~~~~~~~ unknown.c: In function 'iterpeds': unknown.c:4120:13: warning: old-style function definition [-Wold-style-definition] 4120 | static void iterpeds(initial,ped) | ^~~~~~~~ unknown.c: In function 'prelim_iterpeds': unknown.c:4285:13: warning: old-style function definition [-Wold-style-definition] 4285 | static void prelim_iterpeds(ped) | ^~~~~~~~~~~~~~~ unknown.c: In function 'initunknown': unknown.c:4579:13: warning: old-style function definition [-Wold-style-definition] 4579 | static void initunknown(version) | ^~~~~~~~~~~ unknown.c: In function 'main_old': unknown.c:4662:5: warning: old-style function definition [-Wold-style-definition] 4662 | int main_old(argc, argv) /* generate "speedfile.dat" in old format - Tony */ | ^~~~~~~~ unknown.c: In function 'main_new_first': unknown.c:5026:5: warning: old-style function definition [-Wold-style-definition] 5026 | int main_new_first(argc, argv) /* generate "newspeedfile.dat" - Tony */ | ^~~~~~~~~~~~~~ unknown.c: In function 'main_new_second': unknown.c:5131:5: warning: old-style function definition [-Wold-style-definition] 5131 | int main_new_second(argc, argv) /* generate "newspeedfile.dat" - Tony */ | ^~~~~~~~~~~~~~~ unknown.c: In function 'main': unknown.c:5380:5: warning: old-style function definition [-Wold-style-definition] 5380 | int main(argc, argv) | ^~~~ make[2]: *** [Makefile:687: unknown.o] Error 1 make[2]: Leaving directory '/build/reproducible-path/fastlink-4.1P-fix100+dfsg/4.1P/src' dh_auto_build: error: cd 4.1P/src && make -j42 "INSTALL=install --strip-program=true" "CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/fastlink-4.1P-fix100+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fcommon" "DEBIANLDFLAGS=-Wl,-z,relro -Wl,-z,now" returned exit code 2 make[1]: *** [debian/rules:16: override_dh_auto_build] Error 25 make[1]: Leaving directory '/build/reproducible-path/fastlink-4.1P-fix100+dfsg' make: *** [debian/rules:9: binary] Error 2 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 I: copying local configuration E: Failed autobuilding of package I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env I: removing directory /srv/workspace/pbuilder/2422418 and its subdirectories Mon Sep 15 19:36:42 UTC 2025 W: No second build log, what happened?