Mock Version: 6.0 Mock Version: 6.0 Mock Version: 6.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target ppc64le --nodeps /builddir/build/SPECS/rvm.spec'], chrootPath='/var/lib/mock/f42-build-56890968-6546995/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.c_oir47g:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.c_oir47g:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '09a8873f15764bc6b29ab8b5f0f926c5', '-D', '/var/lib/mock/f42-build-56890968-6546995/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.c_oir47g:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target ppc64le --nodeps /builddir/build/SPECS/rvm.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1721433600 Wrote: /builddir/build/SRPMS/rvm-1.17-30.fc42.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target ppc64le --nodeps /builddir/build/SPECS/rvm.spec'], chrootPath='/var/lib/mock/f42-build-56890968-6546995/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.c_oir47g:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.c_oir47g:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'df370b2788c34cbf9117ddb9d90e7010', '-D', '/var/lib/mock/f42-build-56890968-6546995/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.c_oir47g:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target ppc64le --nodeps /builddir/build/SPECS/rvm.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1721433600 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.H5j0L5 + umask 022 + cd /builddir/build/BUILD/rvm-1.17-build + test -d /builddir/build/BUILD/rvm-1.17-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/rvm-1.17-build + /usr/bin/rm -rf /builddir/build/BUILD/rvm-1.17-build + /usr/bin/mkdir -p /builddir/build/BUILD/rvm-1.17-build + /usr/bin/mkdir -p /builddir/build/BUILD/rvm-1.17-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.GJlrqE + umask 022 + cd /builddir/build/BUILD/rvm-1.17-build + cd /builddir/build/BUILD/rvm-1.17-build + rm -rf rvm-1.17 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/rvm-1.17.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd rvm-1.17 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.gAeYCd + umask 022 + cd /builddir/build/BUILD/rvm-1.17-build + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd rvm-1.17 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2010-03-23 18:37:31.000000000 +0000 +++ ./configure 2025-02-01 00:52:52.250246630 +0000 @@ -1859,7 +1859,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2025-02-01 00:52:52.250246630 +0000 +++ ./configure 2025-02-01 00:52:52.290245151 +0000 @@ -11909,7 +11909,7 @@ compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`' GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`' -lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`' objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`' + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./ltmain.sh ++ grep -q runstatedir=DIR ./configure + ./configure --build=ppc64le-redhat-linux-gnu --host=ppc64le-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/bin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-static checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for ppc64le-redhat-linux-gnu-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of gcc... none checking how to run the C preprocessor... gcc -E checking whether make sets $(MAKE)... (cached) yes checking build system type... powerpc64le-redhat-linux-gnu checking host system type... powerpc64le-redhat-linux-gnu checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... -r checking for ppc64le-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for ppc64le-redhat-linux-gnu-ar... no checking for ar... ar checking for ppc64le-redhat-linux-gnu-strip... no checking for strip... strip checking for ppc64le-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf64ppc) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for ppc64le-redhat-linux-gnu-pkg-config... /usr/bin/ppc64le-redhat-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for LWP... yes checking for library containing fdatasync... none required checking whether the C compiler accepts -Wall... yes checking for strerror... yes checking for fdatasync... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/param.h... yes checking for getpagesize... yes checking for working mmap... yes configure: creating ./config.status config.status: creating Makefile config.status: creating include/Makefile config.status: creating rvm/Makefile config.status: creating seg/Makefile config.status: creating rds/Makefile config.status: creating tests/Makefile config.status: creating rvm.pc config.status: creating rvm-uninstalled.pc config.status: creating rvmlwp.pc config.status: creating rvmlwp-uninstalled.pc config.status: creating pkgs/pkg-bsd.sh config.status: creating pkgs/rvm.spec config.status: creating debian/changelog config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands + sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool + sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool ++ pwd ++ pwd + export LD_LIBRARY_PATH=/builddir/build/BUILD/rvm-1.17-build/rvm-1.17/rvm/.libs:/builddir/build/BUILD/rvm-1.17-build/rvm-1.17/seg/.libs + LD_LIBRARY_PATH=/builddir/build/BUILD/rvm-1.17-build/rvm-1.17/rvm/.libs:/builddir/build/BUILD/rvm-1.17-build/rvm-1.17/seg/.libs + make -j8 make all-recursive make[1]: Entering directory '/builddir/build/BUILD/rvm-1.17-build/rvm-1.17' Making all in include make[2]: Entering directory '/builddir/build/BUILD/rvm-1.17-build/rvm-1.17/include' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/rvm-1.17-build/rvm-1.17/include' Making all in rvm make[2]: Entering directory '/builddir/build/BUILD/rvm-1.17-build/rvm-1.17/rvm' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DRVM_USELWP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c -o librvmlwp_la-rvm_init.lo `test -f 'rvm_init.c' || echo './'`rvm_init.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DRVM_USELWP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c -o librvmlwp_la-rvm_map.lo `test -f 'rvm_map.c' || echo './'`rvm_map.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DRVM_USELWP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c -o librvmlwp_la-rvm_unmap.lo `test -f 'rvm_unmap.c' || echo './'`rvm_unmap.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DRVM_USELWP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c -o librvmlwp_la-rvm_trans.lo `test -f 'rvm_trans.c' || echo './'`rvm_trans.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DRVM_USELWP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c -o librvmlwp_la-rvm_logstatus.lo `test -f 'rvm_logstatus.c' || echo './'`rvm_logstatus.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DRVM_USELWP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c -o librvmlwp_la-rvm_logflush.lo `test -f 'rvm_logflush.c' || echo './'`rvm_logflush.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DRVM_USELWP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c -o librvmlwp_la-rvm_logrecovr.lo `test -f 'rvm_logrecovr.c' || echo './'`rvm_logrecovr.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DRVM_USELWP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c -o librvmlwp_la-rvm_utils.lo `test -f 'rvm_utils.c' || echo './'`rvm_utils.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DRVM_USELWP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c rvm_logflush.c -fPIC -DPIC -o .libs/librvmlwp_la-rvm_logflush.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DRVM_USELWP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c rvm_map.c -fPIC -DPIC -o .libs/librvmlwp_la-rvm_map.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DRVM_USELWP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c rvm_unmap.c -fPIC -DPIC -o .libs/librvmlwp_la-rvm_unmap.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DRVM_USELWP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c rvm_init.c -fPIC -DPIC -o .libs/librvmlwp_la-rvm_init.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DRVM_USELWP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c rvm_trans.c -fPIC -DPIC -o .libs/librvmlwp_la-rvm_trans.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DRVM_USELWP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c rvm_utils.c -fPIC -DPIC -o .libs/librvmlwp_la-rvm_utils.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DRVM_USELWP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c rvm_logrecovr.c -fPIC -DPIC -o .libs/librvmlwp_la-rvm_logrecovr.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DRVM_USELWP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c rvm_logstatus.c -fPIC -DPIC -o .libs/librvmlwp_la-rvm_logstatus.o In file included from rvm_map.c:49: rvm_private.h:1629:14: error: conflicting types for ‘bad_region’; have ‘rvm_return_t(void)’ {aka ‘int(void)’} 1629 | rvm_return_t bad_region(); /* [rvm_map.c] */ | ^~~~~~~~~~ rvm_private.h:1481:14: note: previous declaration of ‘bad_region’ with type ‘rvm_return_t(rvm_region_t *)’ {aka ‘int(rvm_region_t *)’} 1481 | rvm_return_t bad_region(rvm_region_t *rvm_region); | ^~~~~~~~~~ rvm_map.c: In function ‘init_map_roots’: rvm_map.c:83:5: error: too many arguments to function ‘init_list_header’; expected 0, have 2 83 | init_list_header(&seg_root,seg_id); | ^~~~~~~~~~~~~~~~ ~~~~~~~~~ rvm_private.h:1145:6: note: declared here 1145 | void init_list_header(); /* [rvm_utils.c] */ | ^~~~~~~~~~~~~~~~ rvm_map.c:84:5: error: too many arguments to function ‘init_rw_lock’; expected 0, have 1 84 | init_rw_lock(&seg_root_lock); | ^~~~~~~~~~~~ ~~~~~~~~~~~~~~ rvm_private.h:1564:6: note: declared here 1564 | void init_rw_lock(); | ^~~~~~~~~~~~ rvm_map.c:85:5: error: too many arguments to function ‘init_rw_lock’; expected 0, have 1 85 | init_rw_lock(®ion_tree_lock); | ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~ rvm_private.h:1564:6: note: declared here 1564 | void init_rw_lock(); | ^~~~~~~~~~~~ rvm_map.c:86:5: error: too many arguments to function ‘init_tree_root’; expected 0, have 1 86 | init_tree_root(®ion_tree); | ^~~~~~~~~~~~~~ ~~~~~~~~~~~~ rvm_private.h:1568:6: note: declared here 1568 | void init_tree_root(); /* [rvm_utils.c] */ | ^~~~~~~~~~~~~~ rvm_map.c:100:5: error: too many arguments to function ‘init_list_header’; expected 0, have 2 100 | init_list_header(&page_list,free_page_id); | ^~~~~~~~~~~~~~~~ ~~~~~~~~~~ rvm_private.h:1145:6: note: declared here 1145 | void init_list_header(); /* [rvm_utils.c] */ | ^~~~~~~~~~~~~~~~ rvm_map.c: At top level: rvm_map.c:104:14: error: conflicting types for ‘bad_region’; have ‘rvm_return_t(void)’ {aka ‘int(void)’} 104 | rvm_return_t bad_region(rvm_region) | ^~~~~~~~~~ rvm_private.h:1481:14: note: previous declaration of ‘bad_region’ with type ‘rvm_return_t(rvm_region_t *)’ {aka ‘int(rvm_region_t *)’} 1481 | rvm_return_t bad_region(rvm_region_t *rvm_region); | ^~~~~~~~~~ rvm_map.c: In function ‘bad_region’: rvm_map.c:104:14: warning: old-style function definition [-Wold-style-definition] 104 | rvm_return_t bad_region(rvm_region) | ^~~~~~~~~~ rvm_map.c: In function ‘page_alloc’: rvm_map.c:337:7: warning: old-style function definition [-Wold-style-definition] 337 | char *page_alloc(len) | ^~~~~~~~~~ rvm_map.c: In function ‘page_free’: rvm_map.c:384:6: warning: old-style function definition [-Wold-style-definition] 384 | void page_free(vmaddr, length) | ^~~~~~~~~ rvm_map.c: In function ‘open_seg_dev’: rvm_map.c:448:6: warning: old-style function definition [-Wold-style-definition] 448 | long open_seg_dev(seg,dev_length) | ^~~~~~~~~~~~ rvm_map.c:456:17: error: too many arguments to function ‘open_dev’; expected 0, have 3 456 | if ((retval=open_dev(&seg->dev,flags,0)) < 0) | ^~~~~~~~ ~~~~~~~~~ rvm_private.h:1513:6: note: declared here 1513 | long open_dev(); /* [rvm_io.c] */ | ^~~~~~~~ rvm_map.c:459:9: error: too many arguments to function ‘close_dev’; expected 0, have 1 459 | close_dev(&seg->dev); | ^~~~~~~~~ ~~~~~~~~~ rvm_private.h:1519:6: note: declared here 1519 | long close_dev(); /* [rvm_io.c] */ | ^~~~~~~~~ rvm_map.c: In function ‘close_seg_dev’: rvm_map.c:464:6: warning: old-style function definition [-Wold-style-definition] 464 | long close_seg_dev(seg) | ^~~~~~~~~~~~~ rvm_map.c:468:12: error: too many arguments to function ‘close_dev’; expected 0, have 1 468 | return close_dev(&seg->dev); | ^~~~~~~~~ ~~~~~~~~~ rvm_private.h:1519:6: note: declared here 1519 | long close_dev(); /* [rvm_io.c] */ | ^~~~~~~~~ rvm_map.c: In function ‘close_all_segs’: rvm_private.h:460:5: error: too many arguments to function ‘rw_lock’; expected 0, have 2 460 | rw_lock(&(rwl),(mode)); \ | ^~~~~~~ ~~~~~~ rvm_map.c:478:5: note: in expansion of macro ‘RW_CRITICAL’ 478 | RW_CRITICAL(seg_root_lock,w, /* begin seg_root_lock crit section */ | ^~~~~~~~~~~ rvm_private.h:1554:6: note: declared here 1554 | void rw_lock(); | ^~~~~~~ rvm_private.h:462:5: error: too many arguments to function ‘rw_unlock’; expected 0, have 2 462 | rw_unlock(&(rwl),(mode)); \ | ^~~~~~~~~ ~~~~~~ rvm_map.c:478:5: note: in expansion of macro ‘RW_CRITICAL’ 478 | RW_CRITICAL(seg_root_lock,w, /* begin seg_root_lock crit section */ | ^~~~~~~~~~~ rvm_private.h:1559:6: note: declared here 1559 | void rw_unlock(); | ^~~~~~~~~ rvm_map.c: In function ‘seg_lookup’: rvm_map.c:496:8: warning: old-style function definition [-Wold-style-definition] 496 | seg_t *seg_lookup(dev_name,retval) | ^~~~~~~~~~ rvm_map.c:504:11: error: too many arguments to function ‘make_full_name’; expected 0, have 3 504 | (void)make_full_name(dev_name,full_name,retval); | ^~~~~~~~~~~~~~ ~~~~~~~~ rvm_private.h:1200:7: note: declared here 1200 | char *make_full_name(); /* [rvm_utils.c] */ | ^~~~~~~~~~~~~~ rvm_private.h:460:5: error: too many arguments to function ‘rw_lock’; expected 0, have 2 460 | rw_lock(&(rwl),(mode)); \ | ^~~~~~~ ~~~~~~ rvm_map.c:509:5: note: in expansion of macro ‘RW_CRITICAL’ 509 | RW_CRITICAL(seg_root_lock,r, /* begin seg_root_lock crit section */ | ^~~~~~~~~~~ rvm_private.h:1554:6: note: declared here 1554 | void rw_lock(); | ^~~~~~~ rvm_private.h:462:5: error: too many arguments to function ‘rw_unlock’; expected 0, have 2 462 | rw_unlock(&(rwl),(mode)); \ | ^~~~~~~~~ ~~~~~~ rvm_map.c:509:5: note: in expansion of macro ‘RW_CRITICAL’ 509 | RW_CRITICAL(seg_root_lock,r, /* begin seg_root_lock crit section */ | ^~~~~~~~~~~ rvm_private.h:1559:6: note: declared here 1559 | void rw_unlock(); | ^~~~~~~~~ rvm_map.c: In function ‘define_seg’: rvm_map.c:523:14: warning: old-style function definition [-Wold-style-definition] 523 | rvm_return_t define_seg(log,seg) | ^~~~~~~~~~ rvm_map.c:534:13: error: too many arguments to function ‘make_log_special’; expected 0, have 2 534 | special=make_log_special(log_seg_id,name_len+1); | ^~~~~~~~~~~~~~~~ ~~~~~~~~~~ rvm_private.h:1210:16: note: declared here 1210 | log_special_t *make_log_special(); /* [rvm_utils.c] */ | ^~~~~~~~~~~~~~~~ rvm_map.c:544:17: error: too many arguments to function ‘queue_special’; expected 0, have 2 544 | if ((retval=queue_special(log,special)) != RVM_SUCCESS) | ^~~~~~~~~~~~~ ~~~ rvm_private.h:1334:14: note: declared here 1334 | rvm_return_t queue_special(); /* [rvm_logflush.c] */ | ^~~~~~~~~~~~~ rvm_map.c:545:9: error: too many arguments to function ‘free_log_special’; expected 0, have 1 545 | free_log_special(log_seg); | ^~~~~~~~~~~~~~~~ ~~~~~~~ rvm_private.h:1215:6: note: declared here 1215 | void free_log_special(); /* [rvm_utils.c] */ | ^~~~~~~~~~~~~~~~ rvm_map.c: In function ‘define_all_segs’: rvm_map.c:551:14: warning: old-style function definition [-Wold-style-definition] 551 | rvm_return_t define_all_segs(log) | ^~~~~~~~~~~~~~~ rvm_private.h:460:5: error: too many arguments to function ‘rw_lock’; expected 0, have 2 460 | rw_lock(&(rwl),(mode)); \ | ^~~~~~~ ~~~~~~ rvm_map.c:557:5: note: in expansion of macro ‘RW_CRITICAL’ 557 | RW_CRITICAL(seg_root_lock,r, /* begin seg_root_lock crit sec */ | ^~~~~~~~~~~ rvm_private.h:1554:6: note: declared here 1554 | void rw_lock(); | ^~~~~~~ rvm_private.h:462:5: error: too many arguments to function ‘rw_unlock’; expected 0, have 2 462 | rw_unlock(&(rwl),(mode)); \ | ^~~~~~~~~ ~~~~~~ rvm_map.c:557:5: note: in expansion of macro ‘RW_CRITICAL’ 557 | RW_CRITICAL(seg_root_lock,r, /* begin seg_root_lock crit sec */ | ^~~~~~~~~~~ rvm_private.h:1559:6: note: declared here 1559 | void rw_unlock(); | ^~~~~~~~~ rvm_map.c: In function ‘build_seg’: rvm_map.c:570:15: warning: old-style function definition [-Wold-style-definition] 570 | static seg_t *build_seg(rvm_region,log,retval) | ^~~~~~~~~ rvm_map.c:578:11: error: too many arguments to function ‘make_seg’; expected 0, have 2 578 | seg = make_seg(rvm_region->data_dev,retval); | ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~ rvm_private.h:1178:8: note: declared here 1178 | seg_t *make_seg(); /* [rvm_utils.c] */ | ^~~~~~~~ rvm_private.h:460:5: error: too many arguments to function ‘rw_lock’; expected 0, have 2 460 | rw_lock(&(rwl),(mode)); \ | ^~~~~~~ ~~~~~~ rvm_map.c:605:5: note: in expansion of macro ‘RW_CRITICAL’ 605 | RW_CRITICAL(seg_root_lock,w, /* begin seg_root_lock crit sec */ | ^~~~~~~~~~~ rvm_private.h:1554:6: note: declared here 1554 | void rw_lock(); | ^~~~~~~ rvm_map.c:607:15: error: too many arguments to function ‘move_list_entry’; expected 0, have 3 607 | (void)move_list_entry(NULL,&seg_root,seg); | ^~~~~~~~~~~~~~~ rvm_private.h:461:5: note: in definition of macro ‘RW_CRITICAL’ 461 | body; \ | ^~~~ rvm_private.h:1150:15: note: declared here 1150 | list_entry_t *move_list_entry(); /* [rvm_utils.c] */ | ^~~~~~~~~~~~~~~ rvm_private.h:462:5: error: too many arguments to function ‘rw_unlock’; expected 0, have 2 462 | rw_unlock(&(rwl),(mode)); \ | ^~~~~~~~~ ~~~~~~ rvm_map.c:605:5: note: in expansion of macro ‘RW_CRITICAL’ 605 | RW_CRITICAL(seg_root_lock,w, /* begin seg_root_lock crit sec */ | ^~~~~~~~~~~ rvm_private.h:1559:6: note: declared here 1559 | void rw_unlock(); | ^~~~~~~~~ rvm_map.c:613:22: error: too many arguments to function ‘free_seg’; expected 0, have 1 613 | if (seg != NULL) free_seg(seg); /* deallocated since the seg_code is */ | ^~~~~~~~ ~~~ rvm_private.h:1183:6: note: declared here 1183 | void free_seg(); /* [rvm_utils.c] */ | ^~~~~~~~ rvm_map.c: In function ‘dev_partial_include’: rvm_map.c:618:6: warning: old-style function definition [-Wold-style-definition] 618 | long dev_partial_include(base1,end1,base2,end2) | ^~~~~~~~~~~~~~~~~~~ rvm_map.c: In function ‘dev_total_include’: rvm_map.c:631:6: warning: old-style function definition [-Wold-style-definition] 631 | long dev_total_include(base1,end1,base2,end2) | ^~~~~~~~~~~~~~~~~ rvm_map.c: In function ‘mem_partial_include’: rvm_map.c:646:6: warning: old-style function definition [-Wold-style-definition] 646 | long mem_partial_include(tnode1,tnode2) | ^~~~~~~~~~~~~~~~~~~ rvm_map.c: In function ‘mem_total_include’: rvm_map.c:667:6: warning: old-style function definition [-Wold-style-definition] 667 | long mem_total_include(tnode1,tnode2) | ^~~~~~~~~~~~~~~~~ rvm_map.c: In function ‘find_whole_range’: rvm_map.c:695:11: warning: old-style function definition [-Wold-style-definition] 695 | region_t *find_whole_range(dest,length,mode) | ^~~~~~~~~~~~~~~~ rvm_private.h:460:5: error: too many arguments to function ‘rw_lock’; expected 0, have 2 460 | rw_lock(&(rwl),(mode)); \ | ^~~~~~~ ~~~~~~ rvm_map.c:708:5: note: in expansion of macro ‘RW_CRITICAL’ 708 | RW_CRITICAL(region_tree_lock,mode, /* begin region_tree_lock crit sect */ | ^~~~~~~~~~~ rvm_private.h:1554:6: note: declared here 1554 | void rw_lock(); | ^~~~~~~ rvm_map.c:710:32: error: too many arguments to function ‘tree_lookup’; expected 0, have 3 710 | node = (mem_region_t *)tree_lookup(®ion_tree, | ^~~~~~~~~~~ ~~~~~~~~~~~~ rvm_private.h:461:5: note: in definition of macro ‘RW_CRITICAL’ 461 | body; \ | ^~~~ rvm_private.h:1581:14: note: declared here 1581 | tree_node_t *tree_lookup(); /* [rvm_utils.c] */ | ^~~~~~~~~~~ rvm_map.c:718:17: error: too many arguments to function ‘rw_lock’; expected 0, have 2 718 | rw_lock(®ion->region_lock,mode); /* (ended by caller) */ | ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~ rvm_private.h:461:5: note: in definition of macro ‘RW_CRITICAL’ 461 | body; \ | ^~~~ rvm_private.h:1554:6: note: declared here 1554 | void rw_lock(); | ^~~~~~~ rvm_private.h:462:5: error: too many arguments to function ‘rw_unlock’; expected 0, have 2 462 | rw_unlock(&(rwl),(mode)); \ | ^~~~~~~~~ ~~~~~~ rvm_map.c:708:5: note: in expansion of macro ‘RW_CRITICAL’ 708 | RW_CRITICAL(region_tree_lock,mode, /* begin region_tree_lock crit sect */ | ^~~~~~~~~~~ rvm_private.h:1559:6: note: declared here 1559 | void rw_unlock(); | ^~~~~~~~~ rvm_map.c: In function ‘find_partial_range’: rvm_map.c:730:11: warning: old-style function definition [-Wold-style-definition] 730 | region_t *find_partial_range(dest,length,code) | ^~~~~~~~~~~~~~~~~~ rvm_private.h:460:5: error: too many arguments to function ‘rw_lock’; expected 0, have 2 460 | rw_lock(&(rwl),(mode)); \ | ^~~~~~~ ~~~~~~ rvm_map.c:743:5: note: in expansion of macro ‘RW_CRITICAL’ 743 | RW_CRITICAL(region_tree_lock,r, /* begin region_tree_lock crit sect */ | ^~~~~~~~~~~ rvm_private.h:1554:6: note: declared here 1554 | void rw_lock(); | ^~~~~~~ rvm_map.c:745:32: error: too many arguments to function ‘tree_lookup’; expected 0, have 3 745 | node = (mem_region_t *)tree_lookup(®ion_tree, | ^~~~~~~~~~~ ~~~~~~~~~~~~ rvm_private.h:461:5: note: in definition of macro ‘RW_CRITICAL’ 461 | body; \ | ^~~~ rvm_private.h:1581:14: note: declared here 1581 | tree_node_t *tree_lookup(); /* [rvm_utils.c] */ | ^~~~~~~~~~~ rvm_map.c:754:13: error: too many arguments to function ‘rw_lock’; expected 0, have 2 754 | rw_lock(®ion->region_lock,r); | ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~ rvm_private.h:461:5: note: in definition of macro ‘RW_CRITICAL’ 461 | body; \ | ^~~~ rvm_private.h:1554:6: note: declared here 1554 | void rw_lock(); | ^~~~~~~ rvm_private.h:462:5: error: too many arguments to function ‘rw_unlock’; expected 0, have 2 462 | rw_unlock(&(rwl),(mode)); \ | ^~~~~~~~~ ~~~~~~ rvm_map.c:743:5: note: in expansion of macro ‘RW_CRITICAL’ 743 | RW_CRITICAL(region_tree_lock,r, /* begin region_tree_lock crit sect */ | ^~~~~~~~~~~ rvm_private.h:1559:6: note: declared here 1559 | void rw_unlock(); | ^~~~~~~~~ rvm_map.c: In function ‘round_region’: rvm_map.c:764:21: warning: old-style function definition [-Wold-style-definition] 764 | static rvm_return_t round_region(rvm_region,seg) | ^~~~~~~~~~~~ rvm_map.c: In function ‘establish_range’: rvm_map.c:816:21: warning: old-style function definition [-Wold-style-definition] 816 | static rvm_return_t establish_range(rvm_region,region,mem_region,seg) | ^~~~~~~~~~~~~~~ rvm_private.h:460:5: error: too many arguments to function ‘rw_lock’; expected 0, have 2 460 | rw_lock(&(rwl),(mode)); \ | ^~~~~~~ ~~~~~~ rvm_map.c:850:5: note: in expansion of macro ‘RW_CRITICAL’ 850 | RW_CRITICAL(region_tree_lock,w, /* begin region_tree_lock crit sect */ | ^~~~~~~~~~~ rvm_private.h:1554:6: note: declared here 1554 | void rw_lock(); | ^~~~~~~ rvm_map.c:852:14: error: too many arguments to function ‘tree_insert’; expected 0, have 3 852 | if (!tree_insert(®ion_tree,(tree_node_t *)mem_node, | ^~~~~~~~~~~ ~~~~~~~~~~~~ rvm_private.h:461:5: note: in definition of macro ‘RW_CRITICAL’ 461 | body; \ | ^~~~ rvm_private.h:1587:12: note: declared here 1587 | rvm_bool_t tree_insert(); /* [rvm_utils.c] */ | ^~~~~~~~~~~ rvm_private.h:462:5: error: too many arguments to function ‘rw_unlock’; expected 0, have 2 462 | rw_unlock(&(rwl),(mode)); \ | ^~~~~~~~~ ~~~~~~ rvm_map.c:850:5: note: in expansion of macro ‘RW_CRITICAL’ 850 | RW_CRITICAL(region_tree_lock,w, /* begin region_tree_lock crit sect */ | ^~~~~~~~~~~ rvm_private.h:1559:6: note: declared here 1559 | void rw_unlock(); | ^~~~~~~~~ rvm_map.c: In function ‘chk_seg_mappings’: rvm_map.c:865:18: warning: old-style function definition [-Wold-style-definition] 865 | static region_t *chk_seg_mappings(chk_region,list_root) | ^~~~~~~~~~~~~~~~ rvm_map.c: In function ‘chk_dependencies’: rvm_map.c:885:21: warning: old-style function definition [-Wold-style-definition] 885 | static rvm_return_t chk_dependencies(seg,region) | ^~~~~~~~~~~~~~~~ rvm_map.c:900:19: error: too many arguments to function ‘move_list_entry’; expected 0, have 3 900 | (void)move_list_entry(NULL,&seg->map_list, | ^~~~~~~~~~~~~~~ rvm_private.h:415:5: note: in definition of macro ‘CRITICAL’ 415 | body; \ | ^~~~ rvm_private.h:1150:15: note: declared here 1150 | list_entry_t *move_list_entry(); /* [rvm_utils.c] */ | ^~~~~~~~~~~~~~~ rvm_map.c:910:27: error: too many arguments to function ‘initiate_truncation’; expected 0, have 2 910 | (void)initiate_truncation(seg->log,100); | ^~~~~~~~~~~~~~~~~~~ ~~~~~~~~ rvm_private.h:415:5: note: in definition of macro ‘CRITICAL’ 415 | body; \ | ^~~~ rvm_private.h:1441:12: note: declared here 1441 | rvm_bool_t initiate_truncation(); /* [rvm_logrecovr.c] */ | ^~~~~~~~~~~~~~~~~~~ rvm_map.c:911:33: error: too many arguments to function ‘wait_for_truncation’; expected 0, have 2 911 | if ((retval=wait_for_truncation(seg->log, | ^~~~~~~~~~~~~~~~~~~ ~~~~~~~~ rvm_private.h:415:5: note: in definition of macro ‘CRITICAL’ 415 | body; \ | ^~~~ rvm_private.h:1446:14: note: declared here 1446 | rvm_return_t wait_for_truncation(); /* [rvm_logrecovr.c] */ | ^~~~~~~~~~~~~~~~~~~ rvm_map.c:914:21: error: too many arguments to function ‘free_region’; expected 0, have 1 914 | free_region(x_region); /* can free now */ | ^~~~~~~~~~~ ~~~~~~~~ rvm_private.h:415:5: note: in definition of macro ‘CRITICAL’ 415 | body; \ | ^~~~ rvm_private.h:1174:6: note: declared here 1174 | void free_region(); /* [rvm_utils.c] */ | ^~~~~~~~~~~ rvm_map.c: In function ‘map_data’: rvm_map.c:927:21: warning: old-style function definition [-Wold-style-definition] 927 | static rvm_return_t map_data(rvm_options,region) | ^~~~~~~~ rvm_map.c:969:17: error: too many arguments to function ‘read_dev’; expected 0, have 4 969 | if (read_dev(&seg->dev,®ion->offset, | ^~~~~~~~ ~~~~~~~~~ rvm_private.h:415:5: note: in definition of macro ‘CRITICAL’ 415 | body; \ | ^~~~ rvm_private.h:1523:6: note: declared here 1523 | long read_dev(); /* [rvm_io.c] */ | ^~~~~~~~ rvm_map.c: In function ‘clean_up’: rvm_map.c:978:13: warning: old-style function definition [-Wold-style-definition] 978 | static void clean_up(region,mem_region) | ^~~~~~~~ rvm_map.c:991:23: error: too many arguments to function ‘move_list_entry’; expected 0, have 3 991 | (void)move_list_entry(&seg->map_list,NULL, | ^~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~ rvm_private.h:415:5: note: in definition of macro ‘CRITICAL’ 415 | body; \ | ^~~~ rvm_private.h:1150:15: note: declared here 1150 | list_entry_t *move_list_entry(); /* [rvm_utils.c] */ | ^~~~~~~~~~~~~~~ rvm_map.c:994:9: error: too many arguments to function ‘free_region’; expected 0, have 1 994 | free_region(region); | ^~~~~~~~~~~ ~~~~~~ rvm_private.h:1174:6: note: declared here 1174 | void free_region(); /* [rvm_utils.c] */ | ^~~~~~~~~~~ rvm_private.h:460:5: error: too many arguments to function ‘rw_lock’; expected 0, have 2 460 | rw_lock(&(rwl),(mode)); \ | ^~~~~~~ ~~~~~~ rvm_map.c:1000:9: note: in expansion of macro ‘RW_CRITICAL’ 1000 | RW_CRITICAL(region_tree_lock,w, | ^~~~~~~~~~~ rvm_private.h:1554:6: note: declared here 1554 | void rw_lock(); | ^~~~~~~ rvm_map.c:1002:19: error: too many arguments to function ‘tree_delete’; expected 0, have 3 1002 | (void)tree_delete(®ion_tree,(tree_node_t *)mem_region, | ^~~~~~~~~~~ ~~~~~~~~~~~~ rvm_private.h:461:5: note: in definition of macro ‘RW_CRITICAL’ 461 | body; \ | ^~~~ rvm_private.h:1593:12: note: declared here 1593 | rvm_bool_t tree_delete(); /* [rvm_utils.c] */ | ^~~~~~~~~~~ rvm_private.h:462:5: error: too many arguments to function ‘rw_unlock’; expected 0, have 2 462 | rw_unlock(&(rwl),(mode)); \ | ^~~~~~~~~ ~~~~~~ rvm_map.c:1000:9: note: in expansion of macro ‘RW_CRITICAL’ 1000 | RW_CRITICAL(region_tree_lock,w, | ^~~~~~~~~~~ rvm_private.h:1559:6: note: declared here 1559 | void rw_unlock(); | ^~~~~~~~~ rvm_map.c:1005:9: error: too many arguments to function ‘free_mem_region’; expected 0, have 1 1005 | free_mem_region(mem_region); | ^~~~~~~~~~~~~~~ ~~~~~~~~~~ rvm_private.h:1241:6: note: declared here 1241 | void free_mem_region(); /* [rvm_utils.c] */ | ^~~~~~~~~~~~~~~ rvm_map.c: In function ‘rvm_map’: rvm_map.c:1022:17: error: too many arguments to function ‘bad_region’; expected 0, have 1 1022 | if ((retval=bad_region(rvm_region)) != RVM_SUCCESS) | ^~~~~~~~~~ ~~~~~~~~~~ rvm_map.c:104:14: note: declared here 104 | rvm_return_t bad_region(rvm_region) | ^~~~~~~~~~ rvm_map.c:1025:21: error: too many arguments to function ‘do_rvm_options’; expected 0, have 1 1025 | if ((retval=do_rvm_options(rvm_options)) != RVM_SUCCESS) | ^~~~~~~~~~~~~~ ~~~~~~~~~~~ rvm_private.h:1637:14: note: declared here 1637 | rvm_return_t do_rvm_options(); /* [rvm_status.c] */ | ^~~~~~~~~~~~~~ make[2]: *** [Makefile:586: librvmlwp_la-rvm_map.lo] Error 1 make[2]: *** Waiting for unfinished jobs.... In file included from rvm_logflush.c:27: rvm_private.h:1629:14: error: conflicting types for ‘bad_region’; have ‘rvm_return_t(void)’ {aka ‘int(void)’} 1629 | rvm_return_t bad_region(); /* [rvm_map.c] */ | ^~~~~~~~~~ rvm_private.h:1481:14: note: previous declaration of ‘bad_region’ with type ‘rvm_return_t(rvm_region_t *)’ {aka ‘int(rvm_region_t *)’} 1481 | rvm_return_t bad_region(rvm_region_t *rvm_region); | ^~~~~~~~~~ rvm_logflush.c: In function ‘make_iov’: rvm_logflush.c:50:21: warning: old-style function definition [-Wold-style-definition] 50 | static rvm_return_t make_iov(log,length) | ^~~~~~~~ rvm_logflush.c: In function ‘make_rec_num’: rvm_logflush.c:78:13: warning: old-style function definition [-Wold-style-definition] 78 | static long make_rec_num(log) | ^~~~~~~~~~~~ rvm_logflush.c: In function ‘write_log_wrap’: rvm_logflush.c:108:5: error: too many arguments to function ‘make_uname’; expected 0, have 1 108 | make_uname(&wrap->rec_hdr.timestamp); | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ rvm_private.h:1641:6: note: declared here 1641 | void make_uname(); | ^~~~~~~~~~ rvm_logflush.c:128:9: error: too many arguments to function ‘gather_write_dev’; expected 0, have 2 128 | if (gather_write_dev(&log->dev,&log->status.log_tail) < 0) | ^~~~~~~~~~~~~~~~ ~~~~~~~~~ rvm_private.h:1542:6: note: declared here 1542 | long gather_write_dev(); /* [rvm_io.c] */ | ^~~~~~~~~~~~~~~~ rvm_logflush.c:138:12: error: too many arguments to function ‘update_log_tail’; expected 0, have 2 138 | return update_log_tail(log, &wrap->rec_hdr); | ^~~~~~~~~~~~~~~ ~~~ rvm_private.h:1309:14: note: declared here 1309 | rvm_return_t update_log_tail(); /* [rvm_logstatus.c] */ | ^~~~~~~~~~~~~~~ rvm_logflush.c: In function ‘build_trans_hdr’: rvm_logflush.c:141:13: warning: old-style function definition [-Wold-style-definition] 141 | static void build_trans_hdr(tid,is_first,is_last) | ^~~~~~~~~~~~~~~ rvm_logflush.c:151:5: error: too many arguments to function ‘make_uname’; expected 0, have 1 151 | make_uname(&trans_hdr->rec_hdr.timestamp); | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rvm_private.h:1641:6: note: declared here 1641 | void make_uname(); | ^~~~~~~~~~ rvm_logflush.c: In function ‘build_rec_end’: rvm_logflush.c:176:13: warning: old-style function definition [-Wold-style-definition] 176 | static void build_rec_end(log,timestamp,rec_num,rec_type,back_link) | ^~~~~~~~~~~~~ rvm_logflush.c: In function ‘build_nv_range’: rvm_logflush.c:202:13: warning: old-style function definition [-Wold-style-definition] 202 | static void build_nv_range(log,tid,range) | ^~~~~~~~~~~~~~ rvm_logflush.c:218:9: error: too many arguments to function ‘chk_sum’; expected 0, have 2 218 | chk_sum(range->nvaddr+BYTE_SKEW(nv_range->vmaddr), | ^~~~~~~ rvm_private.h:1679:14: note: declared here 1679 | rvm_length_t chk_sum(); /* rvm_utils.c */ | ^~~~~~~ rvm_logflush.c:234:5: error: too many arguments to function ‘enter_histogram’; expected 0, have 4 234 | enter_histogram(nv_range->length,log->status.range_lengths, | ^~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ rvm_private.h:1663:6: note: declared here 1663 | void enter_histogram(); /* [rvm_utils] */ | ^~~~~~~~~~~~~~~ rvm_logflush.c: In function ‘split_range’: rvm_logflush.c:237:14: warning: old-style function definition [-Wold-style-definition] 237 | static void split_range(range,new_range,avail) | ^~~~~~~~~~~ In file included from rvm_init.c:25: rvm_private.h:1629:14: error: conflicting types for ‘bad_region’; have ‘rvm_return_t(void)’ {aka ‘int(void)’} 1629 | rvm_return_t bad_region(); /* [rvm_map.c] */ | ^~~~~~~~~~ rvm_private.h:1481:14: note: previous declaration of ‘bad_region’ with type ‘rvm_return_t(rvm_region_t *)’ {aka ‘int(rvm_region_t *)’} 1481 | rvm_return_t bad_region(rvm_region_t *rvm_region); | ^~~~~~~~~~ rvm_init.c: In function ‘rvm_initialize’: rvm_init.c:54:5: error: too many arguments to function ‘rvm_debug’; expected 0, have 1 54 | rvm_debug(0); /* only causes module loading */ | ^~~~~~~~~ ~ rvm_private.h:1709:6: note: declared here 1709 | void rvm_debug(); /* [rvm_debug] */ | ^~~~~~~~~ rvm_init.c:94:21: error: too many arguments to function ‘do_rvm_options’; expected 0, have 1 94 | if ((retval=do_rvm_options(rvm_options)) != RVM_SUCCESS) { | ^~~~~~~~~~~~~~ ~~~~~~~~~~~ rvm_private.h:415:5: note: in definition of macro ‘CRITICAL’ 415 | body; \ | ^~~~ rvm_private.h:1637:14: note: declared here 1637 | rvm_return_t do_rvm_options(); /* [rvm_status.c] */ | ^~~~~~~~~~~~~~ rvm_init.c:101:29: error: too many arguments to function ‘do_log_options’; expected 0, have 2 101 | if ((retval=do_log_options(NULL,NULL)) != RVM_SUCCESS) { | ^~~~~~~~~~~~~~ rvm_private.h:415:5: note: in definition of macro ‘CRITICAL’ 415 | body; \ | ^~~~ rvm_private.h:1276:14: note: declared here 1276 | rvm_return_t do_log_options(); /* [rvm_logstatus.c] */ | ^~~~~~~~~~~~~~ rvm_logflush.c: In function ‘write_tid’: rvm_logflush.c:326:5: error: too many arguments to function ‘log_tail_sngl_w’; expected 0, have 2 326 | log_tail_sngl_w(log,&log_free); | ^~~~~~~~~~~~~~~ ~~~ rvm_private.h:1319:6: note: declared here 1319 | void log_tail_sngl_w(); /* [rvm_logstatus.c] */ | ^~~~~~~~~~~~~~~ rvm_logflush.c:331:9: error: too many arguments to function ‘log_tail_sngl_w’; expected 0, have 2 331 | log_tail_sngl_w(log,&log_free); | ^~~~~~~~~~~~~~~ ~~~ rvm_private.h:1319:6: note: declared here 1319 | void log_tail_sngl_w(); /* [rvm_logstatus.c] */ | ^~~~~~~~~~~~~~~ rvm_private.h:525:26: error: too many arguments to function ‘init_tree_generator’; expected 0, have 3 525 | (ptr) = (type *)init_tree_generator(&(tree),FORWARD,rvm_false); \ | ^~~~~~~~~~~~~~~~~~~ ~~~~~~~ rvm_logflush.c:338:5: note: in expansion of macro ‘FOR_NODES_OF’ 338 | FOR_NODES_OF(tid->range_tree,range_t,range) | ^~~~~~~~~~~~ rvm_private.h:1599:14: note: declared here 1599 | tree_node_t *init_tree_generator(); /* [rvm_utils.c] */ | ^~~~~~~~~~~~~~~~~~~ In file included from rvm_logrecovr.c:31: rvm_private.h:1629:14: error: conflicting types for ‘bad_region’; have ‘rvm_return_t(void)’ {aka ‘int(void)’} 1629 | rvm_return_t bad_region(); /* [rvm_map.c] */ | ^~~~~~~~~~ rvm_private.h:1481:14: note: previous declaration of ‘bad_region’ with type ‘rvm_return_t(rvm_region_t *)’ {aka ‘int(rvm_region_t *)’} 1481 | rvm_return_t bad_region(rvm_region_t *rvm_region); | ^~~~~~~~~~ rvm_private.h:527:26: error: too many arguments to function ‘tree_successor’; expected 0, have 1 527 | (ptr) = (type *)tree_successor(&(tree)) \ | ^~~~~~~~~~~~~~ ~~~~~~~ rvm_logflush.c:338:5: note: in expansion of macro ‘FOR_NODES_OF’ 338 | FOR_NODES_OF(tid->range_tree,range_t,range) | ^~~~~~~~~~~~ rvm_logrecovr.c: In function ‘monitor_vmaddr’: rvm_logrecovr.c:76:13: warning: old-style function definition [-Wold-style-definition] 76 | static void monitor_vmaddr(nv_addr,nv_len,nv_data,nv_offset,rec_hdr,msg) | ^~~~~~~~~~~~~~ rvm_logrecovr.c:92:18: error: too many arguments to function ‘rvm_chk_sigint’; expected 0, have 1 92 | if ((*rvm_chk_sigint)(NULL)) return; /* test for interrupt */ | ~^~~~~~~~~~~~~~~~ ~~~~ rvm_private.h:1611:14: note: declared here 1611 | tree_node_t *tree_successor(); /* [rvm_utils.c] */ | ^~~~~~~~~~~~~~ rvm_logrecovr.c:99:9: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 99 | if ((((rvm_length_t)rvm_chk_vec[i].vmaddr | ^~ rvm_logrecovr.c:110:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 110 | (*rvm_monitor)((rvm_length_t)nv_addr,nv_len,nv_data, | ^ rvm_logrecovr.c:110:14: error: too many arguments to function ‘rvm_monitor’; expected 0, have 7 110 | (*rvm_monitor)((rvm_length_t)nv_addr,nv_len,nv_data, | ~^~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~ rvm_logrecovr.c: In function ‘alloc_log_buf’: rvm_logrecovr.c:118:14: warning: old-style function definition [-Wold-style-definition] 118 | rvm_return_t alloc_log_buf(log) | ^~~~~~~~~~~~~ rvm_logrecovr.c:120:5: error: number of arguments doesn’t match prototype 120 | { | ^ rvm_private.h:1471:14: error: prototype declaration 1471 | rvm_return_t alloc_log_buf(); /* [rvm_logrecovr.c] */ | ^~~~~~~~~~~~~ rvm_logrecovr.c: In function ‘free_log_buf’: rvm_logrecovr.c:157:6: warning: old-style function definition [-Wold-style-definition] 157 | void free_log_buf(log) | ^~~~~~~~~~~~ rvm_logrecovr.c:159:5: error: number of arguments doesn’t match prototype 159 | { | ^ rvm_private.h:1475:6: error: prototype declaration 1475 | void free_log_buf(); /* [rvm_logrecovr.c] */ | ^~~~~~~~~~~~ rvm_logflush.c:354:13: error: too many arguments to function ‘log_tail_sngl_w’; expected 0, have 2 354 | log_tail_sngl_w(log,&log_free); | ^~~~~~~~~~~~~~~ ~~~ rvm_logrecovr.c: In function ‘init_buffer’: rvm_private.h:1319:6: note: declared here 1319 | void log_tail_sngl_w(); /* [rvm_logstatus.c] */ | ^~~~~~~~~~~~~~~ rvm_logrecovr.c:179:14: warning: old-style function definition [-Wold-style-definition] 179 | rvm_return_t init_buffer(log,offset,direction,synch) | ^~~~~~~~~~~ rvm_logrecovr.c:184:5: error: number of arguments doesn’t match prototype 184 | { | ^ rvm_private.h:1352:14: error: prototype declaration 1352 | rvm_return_t init_buffer(); /* [rvm_logrecovr.c] */ | ^~~~~~~~~~~ rvm_logflush.c:375:5: error: too many arguments to function ‘enter_histogram’; expected 0, have 4 375 | enter_histogram(tid->range_elim,status->range_elims, | ^~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ rvm_private.h:1663:6: note: declared here 1663 | void enter_histogram(); /* [rvm_utils] */ | ^~~~~~~~~~~~~~~ rvm_private.h:146:5: error: too many arguments to function ‘rvm_rnd_offset_to_sector’; expected 0, have 1 146 | rvm_rnd_offset_to_sector(&(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ rvm_logrecovr.c:207:27: note: in expansion of macro ‘ROUND_OFFSET_TO_SECTOR_SIZE’ 207 | log_buf->offset = ROUND_OFFSET_TO_SECTOR_SIZE(*offset); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ rvm_private.h:1704:14: note: declared here 1704 | rvm_offset_t rvm_rnd_offset_to_sector(); /* [rvm_utils.c] */ | ^~~~~~~~~~~~~~~~~~~~~~~~ rvm_logflush.c:377:5: error: too many arguments to function ‘enter_histogram’; expected 0, have 4 377 | enter_histogram(tid->trans_elim,status->trans_elims, | ^~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ rvm_private.h:1663:6: note: declared here 1663 | void enter_histogram(); /* [rvm_utils] */ | ^~~~~~~~~~~~~~~ rvm_logflush.c:379:5: error: too many arguments to function ‘enter_histogram’; expected 0, have 4 379 | enter_histogram(RVM_OFFSET_TO_LENGTH(tid->range_overlap), | ^~~~~~~~~~~~~~~ rvm_private.h:1663:6: note: declared here 1663 | void enter_histogram(); /* [rvm_utils] */ | ^~~~~~~~~~~~~~~ rvm_logrecovr.c:250:28: error: too many arguments to function ‘read_dev’; expected 0, have 4 250 | if ((log_buf->r_length=read_dev(&log->dev,&log_buf->offset, | ^~~~~~~~ ~~~~~~~~~ rvm_private.h:1523:6: note: declared here 1523 | long read_dev(); /* [rvm_io.c] */ | ^~~~~~~~ rvm_logrecovr.c: In function ‘refill_buffer’: rvm_logflush.c:382:5: error: too many arguments to function ‘enter_histogram’; expected 0, have 4 382 | enter_histogram(RVM_OFFSET_TO_LENGTH(tid->trans_overlap), | ^~~~~~~~~~~~~~~ rvm_logrecovr.c:294:21: warning: old-style function definition [-Wold-style-definition] 294 | static rvm_return_t refill_buffer(log,direction,synch) | ^~~~~~~~~~~~~ rvm_private.h:1663:6: note: declared here 1663 | void enter_histogram(); /* [rvm_utils] */ | ^~~~~~~~~~~~~~~ rvm_logrecovr.c:306:12: error: too many arguments to function ‘init_buffer’; expected 0, have 4 306 | return init_buffer(log,&offset,direction,synch); | ^~~~~~~~~~~ ~~~ rvm_logrecovr.c:179:14: note: declared here 179 | rvm_return_t init_buffer(log,offset,direction,synch) | ^~~~~~~~~~~ rvm_logrecovr.c: In function ‘find_byte’: rvm_logrecovr.c:361:5: warning: old-style function definition [-Wold-style-definition] 361 | int find_byte(chr,buf,disp,max_len) | ^~~~~~~~~ rvm_logflush.c:385:5: error: too many arguments to function ‘enter_histogram’; expected 0, have 4 385 | enter_histogram(tid->n_coalesced,status->tot_trans_coalesces, | ^~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ rvm_logrecovr.c: In function ‘find_word’: rvm_private.h:1663:6: note: declared here 1663 | void enter_histogram(); /* [rvm_utils] */ | ^~~~~~~~~~~~~~~ rvm_logrecovr.c:378:5: warning: old-style function definition [-Wold-style-definition] 378 | int find_word(wrd,buf,disp,max_len) | ^~~~~~~~~ rvm_logrecovr.c: In function ‘find_buf_word’: rvm_logrecovr.c:395:5: warning: old-style function definition [-Wold-style-definition] 395 | int find_buf_word(wrd,disp) | ^~~~~~~~~~~~~ rvm_logrecovr.c: In function ‘load_aux_buf’: rvm_logflush.c:387:9: error: too many arguments to function ‘gather_write_dev’; expected 0, have 2 387 | if (gather_write_dev(&log->dev,&log->status.log_tail) < 0) | ^~~~~~~~~~~~~~~~ ~~~~~~~~~ rvm_private.h:1542:6: note: declared here 1542 | long gather_write_dev(); /* [rvm_io.c] */ | ^~~~~~~~~~~~~~~~ rvm_logrecovr.c:404:14: warning: old-style function definition [-Wold-style-definition] 404 | rvm_return_t load_aux_buf(log,log_offset,length,aux_ptr, | ^~~~~~~~~~~~ rvm_logrecovr.c:413:5: error: number of arguments doesn’t match prototype 413 | { | ^ rvm_private.h:1363:14: error: prototype declaration 1363 | rvm_return_t load_aux_buf(); /* [rvm_logrecovr.c] */ | ^~~~~~~~~~~~ rvm_logflush.c:389:12: error: too many arguments to function ‘update_log_tail’; expected 0, have 2 389 | return update_log_tail(log, &log->trans_hdr.rec_hdr); | ^~~~~~~~~~~~~~~ ~~~ rvm_private.h:1309:14: note: declared here 1309 | rvm_return_t update_log_tail(); /* [rvm_logstatus.c] */ | ^~~~~~~~~~~~~~~ rvm_logflush.c: In function ‘wait_for_space’: rvm_private.h:146:5: error: too many arguments to function ‘rvm_rnd_offset_to_sector’; expected 0, have 1 146 | rvm_rnd_offset_to_sector(&(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ rvm_logrecovr.c:454:19: note: in expansion of macro ‘ROUND_OFFSET_TO_SECTOR_SIZE’ 454 | high_offset = ROUND_OFFSET_TO_SECTOR_SIZE(high_offset); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ rvm_private.h:1704:14: note: declared here 1704 | rvm_offset_t rvm_rnd_offset_to_sector(); /* [rvm_utils.c] */ | ^~~~~~~~~~~~~~~~~~~~~~~~ rvm_logflush.c:393:21: warning: old-style function definition [-Wold-style-definition] 393 | static rvm_return_t wait_for_space(log,space_needed,log_free,did_wait) | ^~~~~~~~~~~~~~ rvm_logflush.c:405:9: error: too many arguments to function ‘log_tail_length’; expected 0, have 2 405 | log_tail_length(log,log_free); | ^~~~~~~~~~~~~~~ ~~~ rvm_private.h:1314:6: note: declared here 1314 | void log_tail_length(); /* [rvm_logstatus.c] */ | ^~~~~~~~~~~~~~~ rvm_logrecovr.c:491:31: error: too many arguments to function ‘read_dev’; expected 0, have 4 491 | if ((log_buf->aux_rlength=read_dev(&log->dev,&log_buf->aux_offset, | ^~~~~~~~ ~~~~~~~~~ rvm_private.h:1523:6: note: declared here 1523 | long read_dev(); /* [rvm_io.c] */ | ^~~~~~~~ rvm_logrecovr.c: In function ‘clear_aux_buf’: rvm_logrecovr.c:512:6: warning: old-style function definition [-Wold-style-definition] 512 | void clear_aux_buf(log) | ^~~~~~~~~~~~~ rvm_logrecovr.c:514:5: error: number of arguments doesn’t match prototype 514 | { | ^ rvm_private.h:1359:6: error: prototype declaration 1359 | void clear_aux_buf(); /* [rvm_logrecovr.c] */ | ^~~~~~~~~~~~~ rvm_logflush.c:411:18: error: too many arguments to function ‘wait_for_truncation’; expected 0, have 2 411 | retval = wait_for_truncation(log,NULL); | ^~~~~~~~~~~~~~~~~~~ ~~~ rvm_logrecovr.c: In function ‘chk_hdr_type’: rvm_private.h:1446:14: note: declared here 1446 | rvm_return_t wait_for_truncation(); /* [rvm_logrecovr.c] */ | ^~~~~~~~~~~~~~~~~~~ rvm_logrecovr.c:521:12: warning: old-style function definition [-Wold-style-definition] 521 | rvm_bool_t chk_hdr_type(rec_hdr) | ^~~~~~~~~~~~ rvm_logflush.c: In function ‘log_tid’: rvm_logrecovr.c:523:5: error: number of arguments doesn’t match prototype 523 | { | ^ rvm_private.h:1377:12: error: prototype declaration 1377 | rvm_bool_t chk_hdr_type(); /* [rvm_logrecovr.c] */ | ^~~~~~~~~~~~ rvm_logrecovr.c: In function ‘chk_hdr_currency’: rvm_logrecovr.c:538:12: warning: old-style function definition [-Wold-style-definition] 538 | rvm_bool_t chk_hdr_currency(log,rec_hdr) | ^~~~~~~~~~~~~~~~ rvm_logflush.c:431:35: error: too many arguments to function ‘cur_log_percent’; expected 0, have 2 431 | (void)initiate_truncation(log,cur_log_percent(log,&tid->log_size)); | ^~~~~~~~~~~~~~~ ~~~ rvm_private.h:1324:6: note: declared here 1324 | long cur_log_percent(); /* [rvm_logstatus.c] */ | ^~~~~~~~~~~~~~~ rvm_logrecovr.c:541:5: error: number of arguments doesn’t match prototype 541 | { | ^ rvm_private.h:1381:12: error: prototype declaration 1381 | rvm_bool_t chk_hdr_currency(); /* [rvm_logrecovr.c] */ | ^~~~~~~~~~~~~~~~ rvm_logrecovr.c: In function ‘reset_hdr_chks’: rvm_logrecovr.c:557:6: warning: old-style function definition [-Wold-style-definition] 557 | void reset_hdr_chks(log) | ^~~~~~~~~~~~~~ rvm_logflush.c:431:11: error: too many arguments to function ‘initiate_truncation’; expected 0, have 2 431 | (void)initiate_truncation(log,cur_log_percent(log,&tid->log_size)); | ^~~~~~~~~~~~~~~~~~~ ~~~ rvm_private.h:1441:12: note: declared here 1441 | rvm_bool_t initiate_truncation(); /* [rvm_logrecovr.c] */ | ^~~~~~~~~~~~~~~~~~~ rvm_logrecovr.c:559:5: error: number of arguments doesn’t match prototype 559 | { | ^ rvm_private.h:1373:6: error: prototype declaration 1373 | void reset_hdr_chks(); /* [rvm_logrecovr.c] */ | ^~~~~~~~~~~~~~ rvm_logrecovr.c: In function ‘chk_hdr_sequence’: rvm_logrecovr.c:566:12: warning: old-style function definition [-Wold-style-definition] 566 | rvm_bool_t chk_hdr_sequence(log,rec_hdr,direction) | ^~~~~~~~~~~~~~~~ rvm_logrecovr.c:570:5: error: number of arguments doesn’t match prototype 570 | { | ^ rvm_private.h:1386:12: error: prototype declaration 1386 | rvm_bool_t chk_hdr_sequence(); /* [rvm_logrecovr.c] */ | ^~~~~~~~~~~~~~~~ rvm_logflush.c:436:21: error: too many arguments to function ‘flush_log_special’; expected 0, have 1 436 | if ((retval=flush_log_special(log)) != RVM_SUCCESS) | ^~~~~~~~~~~~~~~~~ ~~~ rvm_private.h:415:5: note: in definition of macro ‘CRITICAL’ 415 | body; \ | ^~~~ rvm_private.h:1339:14: note: declared here 1339 | rvm_return_t flush_log_special(); /* [rvm_logflush.c] */ | ^~~~~~~~~~~~~~~~~ rvm_logrecovr.c: In function ‘chk_hdr’: rvm_logrecovr.c:592:12: warning: old-style function definition [-Wold-style-definition] 592 | rvm_bool_t chk_hdr(log,rec_hdr,rec_end,direction) | ^~~~~~~ rvm_logrecovr.c:597:5: error: number of arguments doesn’t match prototype 597 | { | ^ rvm_private.h:1392:12: error: prototype declaration 1392 | rvm_bool_t chk_hdr(); /* [rvm_logrecovr.c] */ | ^~~~~~~ rvm_logrecovr.c:600:10: error: too many arguments to function ‘chk_hdr_type’; expected 0, have 1 600 | if (!chk_hdr_type(rec_hdr)) | ^~~~~~~~~~~~ ~~~~~~~ rvm_logflush.c:459:39: error: too many arguments to function ‘free_tid’; expected 0, have 1 459 | CRITICAL(log->flush_list_lock,free_tid(tid)); | ^~~~~~~~ ~~~ rvm_private.h:415:5: note: in definition of macro ‘CRITICAL’ 415 | body; \ | ^~~~ rvm_private.h:1234:6: note: declared here 1234 | void free_tid(); /* [rvm_utils.c] */ | ^~~~~~~~ rvm_logrecovr.c:521:12: note: declared here 521 | rvm_bool_t chk_hdr_type(rec_hdr) | ^~~~~~~~~~~~ rvm_logflush.c: In function ‘build_log_special’: rvm_logrecovr.c:607:13: error: too many arguments to function ‘chk_hdr_currency’; expected 0, have 2 607 | if (chk_hdr_currency(log,rec_hdr) != rvm_true) | ^~~~~~~~~~~~~~~~ ~~~ rvm_logrecovr.c:538:12: note: declared here 538 | rvm_bool_t chk_hdr_currency(log,rec_hdr) | ^~~~~~~~~~~~~~~~ rvm_logflush.c:470:5: error: too many arguments to function ‘make_uname’; expected 0, have 1 470 | make_uname(&special->rec_hdr.timestamp); | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ rvm_private.h:1641:6: note: declared here 1641 | void make_uname(); | ^~~~~~~~~~ rvm_logrecovr.c:611:13: error: too many arguments to function ‘chk_hdr_sequence’; expected 0, have 3 611 | if (chk_hdr_sequence(log,rec_hdr,direction) != rvm_true) | ^~~~~~~~~~~~~~~~ ~~~ rvm_logrecovr.c:566:12: note: declared here 566 | rvm_bool_t chk_hdr_sequence(log,rec_hdr,direction) | ^~~~~~~~~~~~~~~~ rvm_logrecovr.c: In function ‘validate_hdr’: rvm_logrecovr.c:627:12: warning: old-style function definition [-Wold-style-definition] 627 | rvm_bool_t validate_hdr(log,rec_hdr,rec_end,direction) | ^~~~~~~~~~~~ rvm_logrecovr.c:632:5: error: number of arguments doesn’t match prototype 632 | { | ^ rvm_private.h:1399:12: error: prototype declaration 1399 | rvm_bool_t validate_hdr(); /* [rvm_logrecovr.c] */ | ^~~~~~~~~~~~ rvm_logrecovr.c:637:9: error: too many arguments to function ‘reset_hdr_chks’; expected 0, have 1 637 | reset_hdr_chks(log); | ^~~~~~~~~~~~~~ ~~~ rvm_logflush.c: In function ‘log_special’: rvm_logrecovr.c:557:6: note: declared here 557 | void reset_hdr_chks(log) | ^~~~~~~~~~~~~~ rvm_logrecovr.c:640:10: error: too many arguments to function ‘chk_hdr’; expected 0, have 4 640 | if (!chk_hdr(log,rec_hdr,rec_end,direction)) | ^~~~~~~ ~~~ rvm_logflush.c:517:5: error: too many arguments to function ‘log_tail_sngl_w’; expected 0, have 2 517 | log_tail_sngl_w(log,&log_free); | ^~~~~~~~~~~~~~~ ~~~ rvm_private.h:1319:6: note: declared here 1319 | void log_tail_sngl_w(); /* [rvm_logstatus.c] */ | ^~~~~~~~~~~~~~~ rvm_logrecovr.c:592:12: note: declared here 592 | rvm_bool_t chk_hdr(log,rec_hdr,rec_end,direction) | ^~~~~~~ rvm_logrecovr.c: In function ‘scan_nv_forward’: rvm_logrecovr.c:672:14: warning: old-style function definition [-Wold-style-definition] 672 | rvm_return_t scan_nv_forward(log,synch) | ^~~~~~~~~~~~~~~ rvm_logrecovr.c:675:5: error: number of arguments doesn’t match prototype 675 | { | ^ rvm_private.h:1426:14: error: prototype declaration 1426 | rvm_return_t scan_nv_forward(); /* [rvm_logrecovr.c] */ | ^~~~~~~~~~~~~~~ rvm_logflush.c:529:9: error: too many arguments to function ‘gather_write_dev’; expected 0, have 2 529 | if (gather_write_dev(&log->dev, &log->status.log_tail) < 0) | ^~~~~~~~~~~~~~~~ ~~~~~~~~~ rvm_private.h:1542:6: note: declared here 1542 | long gather_write_dev(); /* [rvm_io.c] */ | ^~~~~~~~~~~~~~~~ rvm_logrecovr.c:687:21: error: too many arguments to function ‘init_buffer’; expected 0, have 4 687 | if ((retval=init_buffer(log,&offset,FORWARD,synch)) | ^~~~~~~~~~~ ~~~ rvm_logrecovr.c:179:14: note: declared here 179 | rvm_return_t init_buffer(log,offset,direction,synch) | ^~~~~~~~~~~ rvm_logrecovr.c: In function ‘scan_nv_reverse’: rvm_logrecovr.c:712:14: warning: old-style function definition [-Wold-style-definition] 712 | rvm_return_t scan_nv_reverse(log,synch) | ^~~~~~~~~~~~~~~ rvm_logrecovr.c:715:5: error: number of arguments doesn’t match prototype 715 | { | ^ rvm_private.h:1431:14: error: prototype declaration 1431 | rvm_return_t scan_nv_reverse(); /* [rvm_logrecovr.c] */ | ^~~~~~~~~~~~~~~ rvm_logflush.c:531:14: error: too many arguments to function ‘update_log_tail’; expected 0, have 2 531 | retval = update_log_tail(log, &special->rec_hdr); | ^~~~~~~~~~~~~~~ ~~~ rvm_private.h:1309:14: note: declared here 1309 | rvm_return_t update_log_tail(); /* [rvm_logstatus.c] */ | ^~~~~~~~~~~~~~~ rvm_logrecovr.c:753:25: error: too many arguments to function ‘init_buffer’; expected 0, have 4 753 | if ((retval=init_buffer(log,&offset,REVERSE,synch)) | ^~~~~~~~~~~ ~~~ rvm_logrecovr.c:179:14: note: declared here 179 | rvm_return_t init_buffer(log,offset,direction,synch) | ^~~~~~~~~~~ rvm_logflush.c:534:5: error: too many arguments to function ‘free_log_special’; expected 0, have 1 534 | free_log_special(special); | ^~~~~~~~~~~~~~~~ ~~~~~~~ rvm_private.h:1215:6: note: declared here 1215 | void free_log_special(); /* [rvm_utils.c] */ | ^~~~~~~~~~~~~~~~ rvm_logflush.c: In function ‘flush_log_special’: rvm_logrecovr.c: In function ‘validate_rec_forward’: rvm_logflush.c:539:14: warning: old-style function definition [-Wold-style-definition] 539 | rvm_return_t flush_log_special(log) | ^~~~~~~~~~~~~~~~~ rvm_logrecovr.c:768:14: warning: old-style function definition [-Wold-style-definition] 768 | rvm_return_t validate_rec_forward(log,synch) | ^~~~~~~~~~~~~~~~~~~~ rvm_logrecovr.c:771:5: error: number of arguments doesn’t match prototype 771 | { | ^ rvm_private.h:1406:14: error: prototype declaration 1406 | rvm_return_t validate_rec_forward(); /* [rvm_logrecovr.c] */ | ^~~~~~~~~~~~~~~~~~~~ rvm_logflush.c:541:5: error: number of arguments doesn’t match prototype 541 | { | ^ rvm_private.h:1339:14: error: prototype declaration 1339 | rvm_return_t flush_log_special(); /* [rvm_logflush.c] */ | ^~~~~~~~~~~~~~~~~ rvm_logrecovr.c:786:20: error: too many arguments to function ‘init_buffer’; expected 0, have 4 786 | if ((retval=init_buffer(log,&end_offset,FORWARD,synch)) | ^~~~~~~~~~~ ~~~ rvm_logrecovr.c:179:14: note: declared here 179 | rvm_return_t init_buffer(log,offset,direction,synch) | ^~~~~~~~~~~ make[2]: *** [Makefile:579: librvmlwp_la-rvm_init.lo] Error 1 rvm_logrecovr.c:794:10: error: too many arguments to function ‘chk_hdr’; expected 0, have 4 794 | if (!chk_hdr(log,rec_hdr,NULL,FORWARD)) | ^~~~~~~ ~~~ rvm_logflush.c:552:21: error: too many arguments to function ‘move_list_entry’; expected 0, have 3 552 | move_list_entry(&log->special_list,NULL,NULL); | ^~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~ rvm_private.h:415:5: note: in definition of macro ‘CRITICAL’ 415 | body; \ | ^~~~ rvm_private.h:1150:15: note: declared here 1150 | list_entry_t *move_list_entry(); /* [rvm_utils.c] */ | ^~~~~~~~~~~~~~~ rvm_logrecovr.c:592:12: note: declared here 592 | rvm_bool_t chk_hdr(log,rec_hdr,rec_end,direction) | ^~~~~~~ rvm_logflush.c: In function ‘flush_log’: rvm_logflush.c:565:14: warning: old-style function definition [-Wold-style-definition] 565 | rvm_return_t flush_log(log,count) | ^~~~~~~~~ rvm_logflush.c:568:5: error: number of arguments doesn’t match prototype 568 | { | ^ rvm_private.h:1343:14: error: prototype declaration 1343 | rvm_return_t flush_log(); /* [rvm_logflush.c] */ | ^~~~~~~~~ In file included from rvm_trans.c:26: rvm_private.h:1629:14: error: conflicting types for ‘bad_region’; have ‘rvm_return_t(void)’ {aka ‘int(void)’} 1629 | rvm_return_t bad_region(); /* [rvm_map.c] */ | ^~~~~~~~~~ rvm_logrecovr.c:824:18: error: too many arguments to function ‘load_aux_buf’; expected 0, have 7 824 | retval = load_aux_buf(log, &end_offset, sizeof(rec_end_t), | ^~~~~~~~~~~~ ~~~ rvm_private.h:1481:14: note: previous declaration of ‘bad_region’ with type ‘rvm_return_t(rvm_region_t *)’ {aka ‘int(rvm_region_t *)’} 1481 | rvm_return_t bad_region(rvm_region_t *rvm_region); | ^~~~~~~~~~ rvm_logrecovr.c:404:14: note: declared here 404 | rvm_return_t load_aux_buf(log,log_offset,length,aux_ptr, | ^~~~~~~~~~~~ rvm_trans.c: In function ‘bad_tid’: In file included from rvm_unmap.c:25: rvm_private.h:1629:14: error: conflicting types for ‘bad_region’; have ‘rvm_return_t(void)’ {aka ‘int(void)’} 1629 | rvm_return_t bad_region(); /* [rvm_map.c] */ | ^~~~~~~~~~ rvm_private.h:1481:14: note: previous declaration of ‘bad_region’ with type ‘rvm_return_t(rvm_region_t *)’ {aka ‘int(rvm_region_t *)’} 1481 | rvm_return_t bad_region(rvm_region_t *rvm_region); | ^~~~~~~~~~ rvm_trans.c:41:14: warning: old-style function definition [-Wold-style-definition] 41 | rvm_return_t bad_tid(rvm_tid) | ^~~~~~~ rvm_trans.c:43:5: error: number of arguments doesn’t match prototype 43 | { | ^ rvm_private.h:460:5: error: too many arguments to function ‘rw_lock’; expected 0, have 2 460 | rw_lock(&(rwl),(mode)); \ | ^~~~~~~ ~~~~~~ rvm_logflush.c:577:5: note: in expansion of macro ‘RW_CRITICAL’ 577 | RW_CRITICAL(log->flush_lock,w, /* begin flush_lock crit sec */ | ^~~~~~~~~~~ rvm_private.h:1633:14: error: prototype declaration 1633 | rvm_return_t bad_tid(); /* [rvm_trans.c] */ | ^~~~~~~ rvm_private.h:1554:6: note: declared here 1554 | void rw_lock(); | ^~~~~~~ rvm_unmap.c: In function ‘rvm_unmap’: rvm_trans.c: In function ‘get_tid’: rvm_unmap.c:37:14: warning: old-style function definition [-Wold-style-definition] 37 | rvm_return_t rvm_unmap(rvm_region) | ^~~~~~~~~ rvm_trans.c:59:9: error: too many arguments to function ‘bad_tid’; expected 0, have 1 59 | if (bad_tid(rvm_tid) != RVM_SUCCESS) return NULL; | ^~~~~~~ ~~~~~~~ rvm_trans.c:41:14: note: declared here 41 | rvm_return_t bad_tid(rvm_tid) | ^~~~~~~ rvm_unmap.c:45:17: error: too many arguments to function ‘bad_region’; expected 0, have 1 45 | if ((retval=bad_region(rvm_region)) != RVM_SUCCESS) | ^~~~~~~~~~ ~~~~~~~~~~ rvm_logrecovr.c:834:9: error: too many arguments to function ‘validate_hdr’; expected 0, have 4 834 | if (validate_hdr(log,rec_hdr,rec_end,FORWARD)) | ^~~~~~~~~~~~ ~~~ rvm_private.h:460:5: error: too many arguments to function ‘rw_lock’; expected 0, have 2 460 | rw_lock(&(rwl),(mode)); \ | ^~~~~~~ ~~~~~~ rvm_trans.c:66:5: note: in expansion of macro ‘RW_CRITICAL’ 66 | RW_CRITICAL(tid->tid_lock,w, | ^~~~~~~~~~~ rvm_logrecovr.c:627:12: note: declared here 627 | rvm_bool_t validate_hdr(log,rec_hdr,rec_end,direction) | ^~~~~~~~~~~~ rvm_private.h:1554:6: note: declared here 1554 | void rw_lock(); | ^~~~~~~ rvm_logrecovr.c: In function ‘scan_forward’: rvm_private.h:462:5: error: too many arguments to function ‘rw_unlock’; expected 0, have 2 462 | rw_unlock(&(rwl),(mode)); \ | ^~~~~~~~~ ~~~~~~ rvm_trans.c:66:5: note: in expansion of macro ‘RW_CRITICAL’ 66 | RW_CRITICAL(tid->tid_lock,w, | ^~~~~~~~~~~ rvm_private.h:1559:6: note: declared here 1559 | void rw_unlock(); | ^~~~~~~~~ rvm_logrecovr.c:843:14: warning: old-style function definition [-Wold-style-definition] 843 | rvm_return_t scan_forward(log,synch) | ^~~~~~~~~~~~ rvm_trans.c: In function ‘alloc_x_ranges’: rvm_logflush.c:618:17: error: too many arguments to function ‘sync_dev’; expected 0, have 1 618 | if (sync_dev(&log->dev) < 0) | ^~~~~~~~ ~~~~~~~~~ rvm_private.h:461:5: note: in definition of macro ‘RW_CRITICAL’ 461 | body; \ | ^~~~ rvm_logflush.c:616:9: note: in expansion of macro ‘CRITICAL’ 616 | CRITICAL(log->dev_lock, | ^~~~~~~~ rvm_trans.c:78:19: warning: old-style function definition [-Wold-style-definition] 78 | static rvm_bool_t alloc_x_ranges(tid,len) | ^~~~~~~~~~~~~~ rvm_private.h:1538:6: note: declared here 1538 | long sync_dev(); /* [rvm_io.c] */ | ^~~~~~~~ rvm_logrecovr.c:846:5: error: number of arguments doesn’t match prototype 846 | { | ^ rvm_private.h:1416:14: error: prototype declaration 1416 | rvm_return_t scan_forward(); /* [rvm_logrecovr.c] */ | ^~~~~~~~~~~~ rvm_trans.c: In function ‘build_range’: rvm_trans.c:97:17: warning: old-style function definition [-Wold-style-definition] 97 | static range_t *build_range(region,dest,length) | ^~~~~~~~~~~ rvm_private.h:462:5: error: too many arguments to function ‘rw_unlock’; expected 0, have 2 462 | rw_unlock(&(rwl),(mode)); \ | ^~~~~~~~~ ~~~~~~ rvm_logflush.c:577:5: note: in expansion of macro ‘RW_CRITICAL’ 577 | RW_CRITICAL(log->flush_lock,w, /* begin flush_lock crit sec */ | ^~~~~~~~~~~ rvm_private.h:1629:14: note: declared here 1629 | rvm_return_t bad_region(); /* [rvm_map.c] */ | ^~~~~~~~~~ rvm_private.h:1559:6: note: declared here 1559 | void rw_unlock(); | ^~~~~~~~~ rvm_trans.c: In function ‘save_ov’: rvm_trans.c:122:14: warning: old-style function definition [-Wold-style-definition] 122 | static char *save_ov(range) | ^~~~~~~ rvm_logrecovr.c:864:25: error: too many arguments to function ‘scan_nv_forward’; expected 0, have 2 864 | if ((retval=scan_nv_forward(log,synch)) != RVM_SUCCESS) | ^~~~~~~~~~~~~~~ ~~~ rvm_unmap.c:70:10: error: too many arguments to function ‘tree_delete’; expected 0, have 3 70 | if (!tree_delete(®ion_tree,(tree_node_t *)region->mem_region, | ^~~~~~~~~~~ ~~~~~~~~~~~~ rvm_private.h:1593:12: note: declared here 1593 | rvm_bool_t tree_delete(); /* [rvm_utils.c] */ | ^~~~~~~~~~~ rvm_logrecovr.c:672:14: note: declared here 672 | rvm_return_t scan_nv_forward(log,synch) | ^~~~~~~~~~~~~~~ rvm_unmap.c:73:5: error: too many arguments to function ‘rw_unlock’; expected 0, have 2 73 | rw_unlock(®ion_tree_lock,w); /* end region_tree_lock crit sect */ | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ rvm_trans.c: In function ‘restore_ov’: rvm_logflush.c:629:20: error: too many arguments to function ‘sub_times’; expected 0, have 2 629 | end_time = sub_times(&end_time,&start_time); | ^~~~~~~~~ ~~~~~~~~~ rvm_private.h:1559:6: note: declared here 1559 | void rw_unlock(); | ^~~~~~~~~ rvm_private.h:1653:16: note: declared here 1653 | struct timeval sub_times(); /* [rvm_utils.c] */ | ^~~~~~~~~ rvm_trans.c:135:13: warning: old-style function definition [-Wold-style-definition] 135 | static void restore_ov(tid) | ^~~~~~~~~~ rvm_unmap.c:74:5: error: too many arguments to function ‘rw_unlock’; expected 0, have 2 74 | rw_unlock(®ion->region_lock,w); /* end region_lock crit sect */ | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~ rvm_private.h:1559:6: note: declared here 1559 | void rw_unlock(); | ^~~~~~~~~ rvm_private.h:554:26: error: too many arguments to function ‘init_tree_generator’; expected 0, have 3 554 | (ptr) = (type *)init_tree_generator(&(tree),REVERSE,rvm_true); \ | ^~~~~~~~~~~~~~~~~~~ ~~~~~~~ rvm_trans.c:143:5: note: in expansion of macro ‘UNLINK_REVERSE_NODES_OF’ 143 | UNLINK_REVERSE_NODES_OF(tid->range_tree,range_t,range) | ^~~~~~~~~~~~~~~~~~~~~~~ rvm_private.h:1599:14: note: declared here 1599 | tree_node_t *init_tree_generator(); /* [rvm_utils.c] */ | ^~~~~~~~~~~~~~~~~~~ rvm_unmap.c:80:15: error: too many arguments to function ‘move_list_entry’; expected 0, have 3 80 | (void)move_list_entry(&seg->map_list,NULL, | ^~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~ rvm_private.h:415:5: note: in definition of macro ‘CRITICAL’ 415 | body; \ | ^~~~ rvm_private.h:1150:15: note: declared here 1150 | list_entry_t *move_list_entry(); /* [rvm_utils.c] */ | ^~~~~~~~~~~~~~~ rvm_private.h:556:26: error: too many arguments to function ‘tree_predecessor’; expected 0, have 1 556 | (ptr) = (type *)tree_predecessor(&(tree)) \ | ^~~~~~~~~~~~~~~~ ~~~~~~~ rvm_trans.c:143:5: note: in expansion of macro ‘UNLINK_REVERSE_NODES_OF’ 143 | UNLINK_REVERSE_NODES_OF(tid->range_tree,range_t,range) | ^~~~~~~~~~~~~~~~~~~~~~~ rvm_logflush.c:630:34: error: too many arguments to function ‘add_times’; expected 0, have 2 630 | log->status.flush_time = add_times(&log->status.flush_time, | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~ rvm_logrecovr.c:882:21: error: too many arguments to function ‘init_buffer’; expected 0, have 4 882 | if ((retval=init_buffer(log,&log->status.log_start, | ^~~~~~~~~~~ ~~~ rvm_private.h:1648:16: note: declared here 1648 | struct timeval add_times(); /* [rvm_utils.c] */ | ^~~~~~~~~ rvm_logrecovr.c:179:14: note: declared here 179 | rvm_return_t init_buffer(log,offset,direction,synch) | ^~~~~~~~~~~ rvm_private.h:1616:14: note: declared here 1616 | tree_node_t *tree_predecessor(); /* [rvm_utils.c] */ | ^~~~~~~~~~~~~~~~ rvm_unmap.c:86:13: error: too many arguments to function ‘make_uname’; expected 0, have 1 86 | make_uname(®ion->unmap_ts); /* timestamp unmap */ | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~ rvm_private.h:415:5: note: in definition of macro ‘CRITICAL’ 415 | body; \ | ^~~~ rvm_private.h:1641:6: note: declared here 1641 | void make_uname(); | ^~~~~~~~~~ rvm_unmap.c:87:19: error: too many arguments to function ‘move_list_entry’; expected 0, have 3 87 | (void)move_list_entry(NULL,&seg->unmap_list, | ^~~~~~~~~~~~~~~ rvm_private.h:415:5: note: in definition of macro ‘CRITICAL’ 415 | body; \ | ^~~~ rvm_private.h:1150:15: note: declared here 1150 | list_entry_t *move_list_entry(); /* [rvm_utils.c] */ | ^~~~~~~~~~~~~~~ rvm_logflush.c:635:9: error: too many arguments to function ‘enter_histogram’; expected 0, have 4 635 | enter_histogram(end_time.tv_usec,log->status.flush_times, | ^~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ rvm_private.h:1663:6: note: declared here 1663 | void enter_histogram(); /* [rvm_utils] */ | ^~~~~~~~~~~~~~~ rvm_unmap.c:91:13: error: too many arguments to function ‘free_region’; expected 0, have 1 91 | free_region(region); | ^~~~~~~~~~~ ~~~~~~ rvm_private.h:415:5: note: in definition of macro ‘CRITICAL’ 415 | body; \ | ^~~~ rvm_logrecovr.c:896:12: error: too many arguments to function ‘validate_rec_forward’; expected 0, have 2 896 | return validate_rec_forward(log,synch); | ^~~~~~~~~~~~~~~~~~~~ ~~~ rvm_private.h:1174:6: note: declared here 1174 | void free_region(); /* [rvm_utils.c] */ | ^~~~~~~~~~~ rvm_logflush.c: In function ‘rvm_flush’: rvm_trans.c:159:9: error: too many arguments to function ‘free_range’; expected 0, have 1 159 | free_range(range); | ^~~~~~~~~~ ~~~~~ rvm_unmap.c:97:5: error: too many arguments to function ‘rw_unlock’; expected 0, have 2 97 | rw_unlock(®ion->region_lock,w); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~ rvm_private.h:1226:6: note: declared here 1226 | void free_range(); /* [rvm_utils.c] */ | ^~~~~~~~~~ rvm_private.h:1559:6: note: declared here 1559 | void rw_unlock(); | ^~~~~~~~~ rvm_trans.c: In function ‘cmp_range_num’: rvm_logrecovr.c:768:14: note: declared here 768 | rvm_return_t validate_rec_forward(log,synch) | ^~~~~~~~~~~~~~~~~~~~ rvm_logrecovr.c: In function ‘scan_wrap_reverse’: rvm_trans.c:163:13: warning: old-style function definition [-Wold-style-definition] 163 | static long cmp_range_num(range1,range2) | ^~~~~~~~~~~~~ rvm_unmap.c:98:5: error: too many arguments to function ‘rw_unlock’; expected 0, have 2 98 | rw_unlock(®ion_tree_lock,w); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~ rvm_private.h:1559:6: note: declared here 1559 | void rw_unlock(); | ^~~~~~~~~ rvm_trans.c: In function ‘add_new_range’: rvm_logflush.c:650:17: error: too many arguments to function ‘flush_log’; expected 0, have 2 650 | if ((retval=flush_log(default_log, | ^~~~~~~~~ ~~~~~~~~~~~ rvm_trans.c:178:21: warning: old-style function definition [-Wold-style-definition] 178 | static rvm_return_t add_new_range(tid,new_range) | ^~~~~~~~~~~~~ rvm_logrecovr.c:899:14: warning: old-style function definition [-Wold-style-definition] 899 | rvm_return_t scan_wrap_reverse(log,synch) | ^~~~~~~~~~~~~~~~~ rvm_logflush.c:565:14: note: declared here 565 | rvm_return_t flush_log(log,count) | ^~~~~~~~~ rvm_logrecovr.c:902:5: error: number of arguments doesn’t match prototype 902 | { | ^ rvm_private.h:1436:14: error: prototype declaration 1436 | rvm_return_t scan_wrap_reverse(); /* [rvm_logrecovr.c] */ | ^~~~~~~~~~~~~~~~~ rvm_logflush.c: In function ‘queue_special’: rvm_trans.c:190:17: error: too many arguments to function ‘free_range’; expected 0, have 1 190 | free_range(new_range); | ^~~~~~~~~~ ~~~~~~~~~ rvm_private.h:1226:6: note: declared here 1226 | void free_range(); /* [rvm_utils.c] */ | ^~~~~~~~~~ rvm_logflush.c:657:14: warning: old-style function definition [-Wold-style-definition] 657 | rvm_return_t queue_special(log,special) | ^~~~~~~~~~~~~ rvm_logrecovr.c:910:17: error: too many arguments to function ‘init_buffer’; expected 0, have 4 910 | if ((retval=init_buffer(log,&log->dev.num_bytes, | ^~~~~~~~~~~ ~~~ rvm_logrecovr.c:179:14: note: declared here 179 | rvm_return_t init_buffer(log,offset,direction,synch) | ^~~~~~~~~~~ rvm_logflush.c:660:5: error: number of arguments doesn’t match prototype 660 | { | ^ rvm_trans.c:202:10: error: too many arguments to function ‘tree_insert’; expected 0, have 3 202 | if (!tree_insert(&tid->range_tree,(tree_node_t *)new_range, | ^~~~~~~~~~~ ~~~~~~~~~~~~~~~~ rvm_private.h:1334:14: error: prototype declaration 1334 | rvm_return_t queue_special(); /* [rvm_logflush.c] */ | ^~~~~~~~~~~~~ rvm_private.h:1587:12: note: declared here 1587 | rvm_bool_t tree_insert(); /* [rvm_utils.c] */ | ^~~~~~~~~~~ rvm_trans.c: In function ‘region_partial_include’: rvm_logflush.c:664:20: error: too many arguments to function ‘move_list_entry’; expected 0, have 3 664 | (void)move_list_entry(NULL,&log->special_list, | ^~~~~~~~~~~~~~~ rvm_private.h:415:5: note: in definition of macro ‘CRITICAL’ 415 | body; \ | ^~~~ rvm_trans.c:211:13: warning: old-style function definition [-Wold-style-definition] 211 | static long region_partial_include(range1,range2) | ^~~~~~~~~~~~~~~~~~~~~~ rvm_private.h:1150:15: note: declared here 1150 | list_entry_t *move_list_entry(); /* [rvm_utils.c] */ | ^~~~~~~~~~~~~~~ rvm_logrecovr.c:943:18: error: too many arguments to function ‘validate_hdr’; expected 0, have 4 943 | if (!validate_hdr(log,rec_hdr,NULL,REVERSE)) | ^~~~~~~~~~~~ ~~~ rvm_trans.c: In function ‘segment_partial_include’: rvm_logrecovr.c:627:12: note: declared here 627 | rvm_bool_t validate_hdr(log,rec_hdr,rec_end,direction) | ^~~~~~~~~~~~ rvm_trans.c:236:13: warning: old-style function definition [-Wold-style-definition] 236 | static long segment_partial_include(range1,range2) | ^~~~~~~~~~~~~~~~~~~~~~~ rvm_logrecovr.c: In function ‘validate_rec_reverse’: rvm_trans.c: In function ‘find_overlap’: rvm_logrecovr.c:955:14: warning: old-style function definition [-Wold-style-definition] 955 | rvm_return_t validate_rec_reverse(log,synch) | ^~~~~~~~~~~~~~~~~~~~ rvm_trans.c:258:19: warning: old-style function definition [-Wold-style-definition] 258 | static rvm_bool_t find_overlap(tid,new_range,cmp_func,elim,overlap,retval) | ^~~~~~~~~~~~ rvm_logrecovr.c:958:1: error: number of arguments doesn’t match prototype 958 | { | ^ rvm_private.h:1411:14: error: prototype declaration 1411 | rvm_return_t validate_rec_reverse(); /* [rvm_logrecovr.c] */ | ^~~~~~~~~~~~~~~~~~~~ rvm_private.h:540:26: error: too many arguments to function ‘tree_iterate_insert’; expected 0, have 3 540 | (ptr) = (type *)tree_iterate_insert(&(tree),(node),(cmp)); \ | ^~~~~~~~~~~~~~~~~~~ ~~~~~~~ rvm_trans.c:273:5: note: in expansion of macro ‘FROM_EXISTING_NODE_OF’ 273 | FROM_EXISTING_NODE_OF(tid->range_tree,range_t,range, | ^~~~~~~~~~~~~~~~~~~~~ make[2]: *** [Makefile:593: librvmlwp_la-rvm_unmap.lo] Error 1 rvm_private.h:1605:14: note: declared here 1605 | tree_node_t *tree_iterate_insert(); /* [rvm_utils.c] */ | ^~~~~~~~~~~~~~~~~~~ rvm_private.h:542:26: error: too many arguments to function ‘tree_successor’; expected 0, have 1 542 | (ptr) = (type *)tree_successor(&(tree)) \ | ^~~~~~~~~~~~~~ ~~~~~~~ rvm_trans.c:273:5: note: in expansion of macro ‘FROM_EXISTING_NODE_OF’ 273 | FROM_EXISTING_NODE_OF(tid->range_tree,range_t,range, | ^~~~~~~~~~~~~~~~~~~~~ rvm_logrecovr.c:975:20: error: too many arguments to function ‘scan_wrap_reverse’; expected 0, have 2 975 | retval=scan_wrap_reverse(log,synch); | ^~~~~~~~~~~~~~~~~ ~~~ rvm_private.h:1611:14: note: declared here 1611 | tree_node_t *tree_successor(); /* [rvm_utils.c] */ | ^~~~~~~~~~~~~~ rvm_logrecovr.c:899:14: note: declared here 899 | rvm_return_t scan_wrap_reverse(log,synch) | ^~~~~~~~~~~~~~~~~ rvm_trans.c:277:14: error: too many arguments to function ‘cmp_func’; expected 0, have 2 277 | if ((*cmp_func)(new_range,range) != 0) | ~^~~~~~~~~~ ~~~~~~~~~ rvm_logrecovr.c:980:25: error: too many arguments to function ‘init_buffer’; expected 0, have 4 980 | if ((retval=init_buffer(log,&offset,REVERSE,synch)) | ^~~~~~~~~~~ ~~~ rvm_logrecovr.c:179:14: note: declared here 179 | rvm_return_t init_buffer(log,offset,direction,synch) | ^~~~~~~~~~~ rvm_trans.c: In function ‘merge_range’: rvm_trans.c:334:21: warning: old-style function definition [-Wold-style-definition] 334 | static rvm_return_t merge_range(tid,region,new_range) | ^~~~~~~~~~~ rvm_trans.c:355:9: error: too many arguments to function ‘free_range’; expected 0, have 1 355 | free_range(new_range); | ^~~~~~~~~~ ~~~~~~~~~ rvm_private.h:1226:6: note: declared here 1226 | void free_range(); /* [rvm_utils.c] */ | ^~~~~~~~~~ rvm_logrecovr.c:1018:18: error: too many arguments to function ‘load_aux_buf’; expected 0, have 7 1018 | retval = load_aux_buf(log, &offset, MAX_HDR_SIZE, &tmp_ptr, &tmp_len, | ^~~~~~~~~~~~ ~~~ rvm_logrecovr.c:404:14: note: declared here 404 | rvm_return_t load_aux_buf(log,log_offset,length,aux_ptr, | ^~~~~~~~~~~~ rvm_trans.c:365:22: error: too many arguments to function ‘tree_delete’; expected 0, have 3 365 | if (!tree_delete(&tid->range_tree,new_range, | ^~~~~~~~~~~ ~~~~~~~~~~~~~~~~ rvm_private.h:1593:12: note: declared here 1593 | rvm_bool_t tree_delete(); /* [rvm_utils.c] */ | ^~~~~~~~~~~ rvm_logrecovr.c:1027:9: error: too many arguments to function ‘validate_hdr’; expected 0, have 4 1027 | if (validate_hdr(log,rec_hdr,rec_end,REVERSE)) | ^~~~~~~~~~~~ ~~~ rvm_logrecovr.c:627:12: note: declared here 627 | rvm_bool_t validate_hdr(log,rec_hdr,rec_end,direction) | ^~~~~~~~~~~~ rvm_logrecovr.c: In function ‘scan_reverse’: rvm_trans.c:368:17: error: too many arguments to function ‘free_range’; expected 0, have 1 368 | free_range(new_range); | ^~~~~~~~~~ ~~~~~~~~~ rvm_private.h:1226:6: note: declared here 1226 | void free_range(); /* [rvm_utils.c] */ | ^~~~~~~~~~ rvm_logrecovr.c:1036:14: warning: old-style function definition [-Wold-style-definition] 1036 | rvm_return_t scan_reverse(log,synch) | ^~~~~~~~~~~~ rvm_logrecovr.c:1039:5: error: number of arguments doesn’t match prototype 1039 | { | ^ rvm_private.h:1421:14: error: prototype declaration 1421 | rvm_return_t scan_reverse(); /* [rvm_logrecovr.c] */ | ^~~~~~~~~~~~ make[2]: *** [Makefile:614: librvmlwp_la-rvm_logflush.lo] Error 1 rvm_logrecovr.c:1052:16: error: too many arguments to function ‘validate_rec_reverse’; expected 0, have 2 1052 | return validate_rec_reverse(log,synch); | ^~~~~~~~~~~~~~~~~~~~ ~~~ rvm_trans.c:432:22: error: too many arguments to function ‘tree_delete’; expected 0, have 3 432 | if (!tree_delete(&tid->range_tree,range, | ^~~~~~~~~~~ ~~~~~~~~~~~~~~~~ rvm_private.h:1593:12: note: declared here 1593 | rvm_bool_t tree_delete(); /* [rvm_utils.c] */ | ^~~~~~~~~~~ rvm_logrecovr.c:955:14: note: declared here 955 | rvm_return_t validate_rec_reverse(log,synch) | ^~~~~~~~~~~~~~~~~~~~ rvm_trans.c:435:17: error: too many arguments to function ‘free_range’; expected 0, have 1 435 | free_range(range); | ^~~~~~~~~~ ~~~~~ rvm_private.h:1226:6: note: declared here 1226 | void free_range(); /* [rvm_utils.c] */ | ^~~~~~~~~~ rvm_logrecovr.c:1058:21: error: too many arguments to function ‘scan_wrap_reverse’; expected 0, have 2 1058 | if ((retval=scan_wrap_reverse(log,synch)) != RVM_SUCCESS) | ^~~~~~~~~~~~~~~~~ ~~~ rvm_trans.c:451:9: error: too many arguments to function ‘free_range’; expected 0, have 1 451 | free_range(new_range); | ^~~~~~~~~~ ~~~~~~~~~ rvm_private.h:1226:6: note: declared here 1226 | void free_range(); /* [rvm_utils.c] */ | ^~~~~~~~~~ rvm_logrecovr.c:899:14: note: declared here 899 | rvm_return_t scan_wrap_reverse(log,synch) | ^~~~~~~~~~~~~~~~~ rvm_trans.c: In function ‘rvm_set_range’: rvm_trans.c:461:14: warning: old-style function definition [-Wold-style-definition] 461 | rvm_return_t rvm_set_range(rvm_tid,dest,length) | ^~~~~~~~~~~~~ rvm_logrecovr.c:1079:25: error: too many arguments to function ‘scan_nv_reverse’; expected 0, have 2 1079 | if ((retval=scan_nv_reverse(log,synch)) != RVM_SUCCESS) | ^~~~~~~~~~~~~~~ ~~~ rvm_logrecovr.c:712:14: note: declared here 712 | rvm_return_t scan_nv_reverse(log,synch) | ^~~~~~~~~~~~~~~ rvm_trans.c:491:9: error: too many arguments to function ‘rw_unlock’; expected 0, have 2 491 | rw_unlock(®ion->region_lock,r); /* end region_lock crit sect */ | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~ rvm_private.h:1559:6: note: declared here 1559 | void rw_unlock(); | ^~~~~~~~~ rvm_trans.c:494:5: error: too many arguments to function ‘rw_unlock’; expected 0, have 2 494 | rw_unlock(&tid->tid_lock,w); /* end tid_lock critical section */ | ^~~~~~~~~ ~~~~~~~~~~~~~~ rvm_private.h:1559:6: note: declared here 1559 | void rw_unlock(); | ^~~~~~~~~ rvm_trans.c: In function ‘rvm_modify_bytes’: rvm_logrecovr.c:1098:12: error: too many arguments to function ‘validate_rec_reverse’; expected 0, have 2 1098 | return validate_rec_reverse(log,synch); | ^~~~~~~~~~~~~~~~~~~~ ~~~ rvm_trans.c:498:14: warning: old-style function definition [-Wold-style-definition] 498 | rvm_return_t rvm_modify_bytes(rvm_tid,dest,src,length) | ^~~~~~~~~~~~~~~~ rvm_trans.c: In function ‘nv_size’: rvm_logrecovr.c:955:14: note: declared here 955 | rvm_return_t validate_rec_reverse(log,synch) | ^~~~~~~~~~~~~~~~~~~~ In file included from rvm_utils.c:42: rvm_private.h:1629:14: error: conflicting types for ‘bad_region’; have ‘rvm_return_t(void)’ {aka ‘int(void)’} 1629 | rvm_return_t bad_region(); /* [rvm_map.c] */ | ^~~~~~~~~~ rvm_logrecovr.c: In function ‘set_wrap_status’: rvm_private.h:1481:14: note: previous declaration of ‘bad_region’ with type ‘rvm_return_t(rvm_region_t *)’ {aka ‘int(rvm_region_t *)’} 1481 | rvm_return_t bad_region(rvm_region_t *rvm_region); | ^~~~~~~~~~ rvm_trans.c:518:13: warning: old-style function definition [-Wold-style-definition] 518 | static void nv_size(tid,size) | ^~~~~~~ rvm_logrecovr.c:1104:13: warning: old-style function definition [-Wold-style-definition] 1104 | static void set_wrap_status(status,rec_hdr) | ^~~~~~~~~~~~~~~ rvm_logrecovr.c: In function ‘range_chk_sum’: rvm_utils.c: In function ‘init_list_header’: rvm_utils.c:88:6: warning: old-style function definition [-Wold-style-definition] 88 | void init_list_header(whichlist,struct_id) | ^~~~~~~~~~~~~~~~ rvm_utils.c:91:5: error: number of arguments doesn’t match prototype 91 | { | ^ rvm_private.h:525:26: error: too many arguments to function ‘init_tree_generator’; expected 0, have 3 525 | (ptr) = (type *)init_tree_generator(&(tree),FORWARD,rvm_false); \ | ^~~~~~~~~~~~~~~~~~~ ~~~~~~~ rvm_trans.c:526:5: note: in expansion of macro ‘FOR_NODES_OF’ 526 | FOR_NODES_OF(tid->range_tree,range_t,range) | ^~~~~~~~~~~~ rvm_private.h:1145:6: error: prototype declaration 1145 | void init_list_header(); /* [rvm_utils.c] */ | ^~~~~~~~~~~~~~~~ rvm_utils.c: In function ‘malloc_list_entry’: rvm_utils.c:102:22: warning: old-style function definition [-Wold-style-definition] 102 | static list_entry_t *malloc_list_entry(id) | ^~~~~~~~~~~~~~~~~ rvm_private.h:1599:14: note: declared here 1599 | tree_node_t *init_tree_generator(); /* [rvm_utils.c] */ | ^~~~~~~~~~~~~~~~~~~ rvm_logrecovr.c:1113:21: warning: old-style function definition [-Wold-style-definition] 1113 | static rvm_return_t range_chk_sum(log,nv,chk_val,synch) | ^~~~~~~~~~~~~ rvm_utils.c: In function ‘move_list_entry’: rvm_utils.c:125:15: warning: old-style function definition [-Wold-style-definition] 125 | list_entry_t *move_list_entry(fromptr, toptr, victim) | ^~~~~~~~~~~~~~~ rvm_utils.c:129:5: error: number of arguments doesn’t match prototype 129 | { | ^ rvm_private.h:527:26: error: too many arguments to function ‘tree_successor’; expected 0, have 1 527 | (ptr) = (type *)tree_successor(&(tree)) \ | ^~~~~~~~~~~~~~ ~~~~~~~ rvm_trans.c:526:5: note: in expansion of macro ‘FOR_NODES_OF’ 526 | FOR_NODES_OF(tid->range_tree,range_t,range) | ^~~~~~~~~~~~ rvm_private.h:1150:15: error: prototype declaration 1150 | list_entry_t *move_list_entry(); /* [rvm_utils.c] */ | ^~~~~~~~~~~~~~~ rvm_private.h:1611:14: note: declared here 1611 | tree_node_t *tree_successor(); /* [rvm_utils.c] */ | ^~~~~~~~~~~~~~ rvm_trans.c: In function ‘nv_io_size’: rvm_trans.c:531:21: warning: old-style function definition [-Wold-style-definition] 531 | static rvm_return_t nv_io_size(tid,size) | ^~~~~~~~~~ rvm_logrecovr.c:1139:13: error: too many arguments to function ‘chk_sum’; expected 0, have 2 1139 | chk_sum(&log_buf->buf[log_buf->ptr+align_skew], | ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rvm_private.h:1679:14: note: declared here 1679 | rvm_length_t chk_sum(); /* rvm_utils.c */ | ^~~~~~~ rvm_trans.c: In function ‘save_nv’: rvm_trans.c:551:21: warning: old-style function definition [-Wold-style-definition] 551 | static rvm_return_t save_nv(range) | ^~~~~~~ rvm_utils.c: In function ‘insert_list_entry’: rvm_utils.c:179:6: warning: old-style function definition [-Wold-style-definition] 179 | void insert_list_entry(entry,new_entry) | ^~~~~~~~~~~~~~~~~ rvm_utils.c:182:5: error: number of arguments doesn’t match prototype 182 | { | ^ rvm_private.h:1156:6: error: prototype declaration 1156 | void insert_list_entry(); /* [rvm_utils.c] */ | ^~~~~~~~~~~~~~~~~ rvm_logrecovr.c: In function ‘set_trans_status’: rvm_trans.c:569:9: error: too many arguments to function ‘src_aligned_bcopy’; expected 0, have 3 569 | src_aligned_bcopy(range->nv.vmaddr,range->data, | ^~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ rvm_private.h:1690:6: note: declared here 1690 | void src_aligned_bcopy(); /* rvm_utils.c */ | ^~~~~~~~~~~~~~~~~ rvm_trans.c: In function ‘save_all_nvs’: rvm_logrecovr.c:1157:21: warning: old-style function definition [-Wold-style-definition] 1157 | static rvm_return_t set_trans_status(log,rec_hdr) | ^~~~~~~~~~~~~~~~ rvm_utils.c:202:15: error: too many arguments to function ‘move_list_entry’; expected 0, have 3 202 | (void)move_list_entry(NULL, NULL, new_entry); | ^~~~~~~~~~~~~~~ ~~~~ rvm_utils.c:125:15: note: declared here 125 | list_entry_t *move_list_entry(fromptr, toptr, victim) | ^~~~~~~~~~~~~~~ rvm_trans.c:577:21: warning: old-style function definition [-Wold-style-definition] 577 | static rvm_return_t save_all_nvs(tid) | ^~~~~~~~~~~~ rvm_utils.c: In function ‘init_free_lists’: rvm_private.h:525:26: error: too many arguments to function ‘init_tree_generator’; expected 0, have 3 525 | (ptr) = (type *)init_tree_generator(&(tree),FORWARD,rvm_false); \ | ^~~~~~~~~~~~~~~~~~~ ~~~~~~~ rvm_trans.c:584:5: note: in expansion of macro ‘FOR_NODES_OF’ 584 | FOR_NODES_OF(tid->range_tree,range_t,range) | ^~~~~~~~~~~~ rvm_private.h:1599:14: note: declared here 1599 | tree_node_t *init_tree_generator(); /* [rvm_utils.c] */ | ^~~~~~~~~~~~~~~~~~~ rvm_utils.c:227:9: error: too many arguments to function ‘init_list_header’; expected 0, have 2 227 | init_list_header(&free_lists[i],INDEX_ID(i)); | ^~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~ rvm_utils.c:88:6: note: declared here 88 | void init_list_header(whichlist,struct_id) | ^~~~~~~~~~~~~~~~ rvm_logrecovr.c:1176:21: error: too many arguments to function ‘scan_nv_forward’; expected 0, have 2 1176 | if ((retval=scan_nv_forward(log,NO_SYNCH)) != RVM_SUCCESS) | ^~~~~~~~~~~~~~~ ~~~ rvm_private.h:527:26: error: too many arguments to function ‘tree_successor’; expected 0, have 1 527 | (ptr) = (type *)tree_successor(&(tree)) \ | ^~~~~~~~~~~~~~ ~~~~~~~ rvm_trans.c:584:5: note: in expansion of macro ‘FOR_NODES_OF’ 584 | FOR_NODES_OF(tid->range_tree,range_t,range) | ^~~~~~~~~~~~ rvm_utils.c:233:19: error: too many arguments to function ‘move_list_entry’; expected 0, have 3 233 | (void)move_list_entry(NULL,&free_lists[i],cell); | ^~~~~~~~~~~~~~~ ~~~~ rvm_utils.c:125:15: note: declared here 125 | list_entry_t *move_list_entry(fromptr, toptr, victim) | ^~~~~~~~~~~~~~~ rvm_private.h:1611:14: note: declared here 1611 | tree_node_t *tree_successor(); /* [rvm_utils.c] */ | ^~~~~~~~~~~~~~ rvm_utils.c: In function ‘alloc_list_entry’: rvm_logrecovr.c:672:14: note: declared here 672 | rvm_return_t scan_nv_forward(log,synch) | ^~~~~~~~~~~~~~~ rvm_utils.c:239:15: warning: old-style function definition [-Wold-style-definition] 239 | list_entry_t *alloc_list_entry(id) | ^~~~~~~~~~~~~~~~ rvm_utils.c:241:5: error: number of arguments doesn’t match prototype 241 | { | ^ rvm_private.h:1161:15: error: prototype declaration 1161 | list_entry_t *alloc_list_entry(); /* [rvm_utils.c] */ | ^~~~~~~~~~~~~~~~ rvm_trans.c: In function ‘merge_tid’: rvm_trans.c:599:21: warning: old-style function definition [-Wold-style-definition] 599 | static rvm_return_t merge_tid(q_tid,tid,new_range) | ^~~~~~~~~ rvm_utils.c:249:16: error: too many arguments to function ‘move_list_entry’; expected 0, have 3 249 | cell = move_list_entry(&free_lists[ID_INDEX(id)], | ^~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ rvm_private.h:415:5: note: in definition of macro ‘CRITICAL’ 415 | body; \ | ^~~~ rvm_utils.c:125:15: note: declared here 125 | list_entry_t *move_list_entry(fromptr, toptr, victim) | ^~~~~~~~~~~~~~~ rvm_utils.c: In function ‘kill_list_entry’: rvm_utils.c:256:13: warning: old-style function definition [-Wold-style-definition] 256 | static void kill_list_entry(cell) | ^~~~~~~~~~~~~~~ rvm_utils.c:263:15: error: too many arguments to function ‘move_list_entry’; expected 0, have 3 263 | (void)move_list_entry(NULL, NULL, cell); | ^~~~~~~~~~~~~~~ ~~~~ In file included from rvm_logstatus.c:30: rvm_private.h:1629:14: error: conflicting types for ‘bad_region’; have ‘rvm_return_t(void)’ {aka ‘int(void)’} 1629 | rvm_return_t bad_region(); /* [rvm_map.c] */ | ^~~~~~~~~~ rvm_utils.c:125:15: note: declared here 125 | list_entry_t *move_list_entry(fromptr, toptr, victim) | ^~~~~~~~~~~~~~~ rvm_private.h:1481:14: note: previous declaration of ‘bad_region’ with type ‘rvm_return_t(rvm_region_t *)’ {aka ‘int(rvm_region_t *)’} 1481 | rvm_return_t bad_region(rvm_region_t *rvm_region); | ^~~~~~~~~~ rvm_utils.c: In function ‘free_list_entry’: rvm_logrecovr.c: In function ‘locate_tail’: rvm_utils.c:273:13: warning: old-style function definition [-Wold-style-definition] 273 | static void free_list_entry(cell) | ^~~~~~~~~~~~~~~ rvm_logstatus.c: In function ‘init_log_list’: rvm_logstatus.c:91:5: error: too many arguments to function ‘init_list_header’; expected 0, have 2 91 | init_list_header(&log_root,log_id); | ^~~~~~~~~~~~~~~~ ~~~~~~~~~ rvm_private.h:1145:6: note: declared here 1145 | void init_list_header(); /* [rvm_utils.c] */ | ^~~~~~~~~~~~~~~~ rvm_logstatus.c: In function ‘enter_log’: rvm_logstatus.c:104:6: warning: old-style function definition [-Wold-style-definition] 104 | void enter_log(log) | ^~~~~~~~~ rvm_logstatus.c:106:5: error: number of arguments doesn’t match prototype 106 | { | ^ rvm_private.h:1256:6: error: prototype declaration 1256 | void enter_log(); /* [rvm_logstatus.c] */ | ^~~~~~~~~ rvm_logrecovr.c:1213:14: warning: old-style function definition [-Wold-style-definition] 1213 | rvm_return_t locate_tail(log) | ^~~~~~~~~~~ rvm_utils.c:289:19: error: too many arguments to function ‘move_list_entry’; expected 0, have 3 289 | (void)move_list_entry(cell->list.name, | ^~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ rvm_private.h:415:5: note: in definition of macro ‘CRITICAL’ 415 | body; \ | ^~~~ rvm_utils.c:125:15: note: declared here 125 | list_entry_t *move_list_entry(fromptr, toptr, victim) | ^~~~~~~~~~~~~~~ rvm_logstatus.c:114:15: error: too many arguments to function ‘move_list_entry’; expected 0, have 3 114 | (void)move_list_entry(NULL,(list_entry_t *)&log_root, | ^~~~~~~~~~~~~~~ rvm_private.h:415:5: note: in definition of macro ‘CRITICAL’ 415 | body; \ | ^~~~ rvm_utils.c: In function ‘clear_free_list’: rvm_private.h:1150:15: note: declared here 1150 | list_entry_t *move_list_entry(); /* [rvm_utils.c] */ | ^~~~~~~~~~~~~~~ rvm_logstatus.c: In function ‘find_log’: rvm_utils.c:299:6: warning: old-style function definition [-Wold-style-definition] 299 | void clear_free_list(id) | ^~~~~~~~~~~~~~~ rvm_logstatus.c:143:8: warning: old-style function definition [-Wold-style-definition] 143 | log_t *find_log(log_dev) | ^~~~~~~~ rvm_logstatus.c:145:5: error: number of arguments doesn’t match prototype 145 | { | ^ rvm_private.h:1260:8: error: prototype declaration 1260 | log_t *find_log(); /* [rvm_logstatus.c] */ | ^~~~~~~~ rvm_utils.c:301:5: error: number of arguments doesn’t match prototype 301 | { | ^ rvm_logrecovr.c:1215:5: error: number of arguments doesn’t match prototype 1215 | { | ^ rvm_private.h:1348:14: error: prototype declaration 1348 | rvm_return_t locate_tail(); /* [rvm_logrecovr.c] */ | ^~~~~~~~~~~ rvm_private.h:1167:6: error: prototype declaration 1167 | void clear_free_list(); /* [rvm_utils.c] */ | ^~~~~~~~~~~~~~~ rvm_utils.c: In function ‘clear_free_lists’: rvm_logstatus.c: In function ‘fork_daemon’: rvm_logstatus.c:175:39: error: passing argument 1 of ‘cthread_fork’ from incompatible pointer type [-Wincompatible-pointer-types] 175 | daemon->thread = cthread_fork(log_daemon, log); | ^~~~~~~~~~ | | | void (*)(void) rvm_utils.c:319:9: error: too many arguments to function ‘clear_free_list’; expected 0, have 1 319 | clear_free_list(INDEX_ID(i)); | ^~~~~~~~~~~~~~~ In file included from rvm_private.h:393: ../include/rvm_lwp.h:38:43: note: expected ‘void (*)(void *)’ but argument is of type ‘void (*)(void)’ 38 | static inline PROCESS cthread_fork(void (*fname)(void *), void *arg) | ~~~~~~~^~~~~~~~~~~~~~ rvm_private.h:1458:6: note: ‘log_daemon’ declared here 1458 | void log_daemon(); /* [rvm_logrecovr.c] */ | ^~~~~~~~~~ rvm_utils.c:299:6: note: declared here 299 | void clear_free_list(id) | ^~~~~~~~~~~~~~~ rvm_logstatus.c: In function ‘join_daemon’: rvm_utils.c: In function ‘make_uname’: rvm_logstatus.c:185:21: warning: old-style function definition [-Wold-style-definition] 185 | static rvm_return_t join_daemon(log) | ^~~~~~~~~~~ rvm_trans.c:747:14: error: too many arguments to function ‘tree_delete’; expected 0, have 3 747 | if (!tree_delete(&q_tid->range_tree,range, | ^~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~ rvm_private.h:1593:12: note: declared here 1593 | rvm_bool_t tree_delete(); /* [rvm_utils.c] */ | ^~~~~~~~~~~ rvm_utils.c:326:6: warning: old-style function definition [-Wold-style-definition] 326 | void make_uname(new_uname) | ^~~~~~~~~~ rvm_logstatus.c: In function ‘set_truncate_options’: rvm_utils.c:328:5: error: number of arguments doesn’t match prototype 328 | { | ^ rvm_private.h:1641:6: error: prototype declaration 1641 | void make_uname(); | ^~~~~~~~~~ rvm_logstatus.c:215:21: warning: old-style function definition [-Wold-style-definition] 215 | static rvm_return_t set_truncate_options(log,rvm_options) | ^~~~~~~~~~~~~~~~~~~~ rvm_logrecovr.c:1234:5: error: too many arguments to function ‘reset_hdr_chks’; expected 0, have 1 1234 | reset_hdr_chks(log); | ^~~~~~~~~~~~~~ ~~~ rvm_logstatus.c: In function ‘close_log’: rvm_logrecovr.c:557:6: note: declared here 557 | void reset_hdr_chks(log) | ^~~~~~~~~~~~~~ rvm_logstatus.c:240:14: warning: old-style function definition [-Wold-style-definition] 240 | rvm_return_t close_log(log) | ^~~~~~~~~ rvm_utils.c: In function ‘add_times’: rvm_trans.c:750:9: error: too many arguments to function ‘free_range’; expected 0, have 1 750 | free_range(range); | ^~~~~~~~~~ ~~~~~ rvm_private.h:1226:6: note: declared here 1226 | void free_range(); /* [rvm_utils.c] */ | ^~~~~~~~~~ rvm_logstatus.c:242:5: error: number of arguments doesn’t match prototype 242 | { | ^ rvm_private.h:1281:14: error: prototype declaration 1281 | rvm_return_t close_log(); /* [rvm_logstatus.c] */ | ^~~~~~~~~ rvm_utils.c:380:16: warning: old-style function definition [-Wold-style-definition] 380 | struct timeval add_times(x,y) | ^~~~~~~~~ rvm_utils.c:383:5: error: number of arguments doesn’t match prototype 383 | { | ^ rvm_private.h:1648:16: error: prototype declaration 1648 | struct timeval add_times(); /* [rvm_utils.c] */ | ^~~~~~~~~ rvm_utils.c: In function ‘sub_times’: rvm_logstatus.c:260:21: error: too many arguments to function ‘flush_log’; expected 0, have 2 260 | if ((retval=flush_log(log,&log->status.n_flush)) | ^~~~~~~~~ ~~~ rvm_private.h:415:5: note: in definition of macro ‘CRITICAL’ 415 | body; \ | ^~~~ rvm_private.h:1343:14: note: declared here 1343 | rvm_return_t flush_log(); /* [rvm_logflush.c] */ | ^~~~~~~~~ rvm_utils.c:396:16: warning: old-style function definition [-Wold-style-definition] 396 | struct timeval sub_times(x,y) | ^~~~~~~~~ rvm_logrecovr.c:1235:5: error: too many arguments to function ‘clear_aux_buf’; expected 0, have 1 1235 | clear_aux_buf(log); | ^~~~~~~~~~~~~ ~~~ rvm_trans.c:773:5: error: too many arguments to function ‘free_range’; expected 0, have 1 773 | free_range(new_range); | ^~~~~~~~~~ ~~~~~~~~~ rvm_private.h:1226:6: note: declared here 1226 | void free_range(); /* [rvm_utils.c] */ | ^~~~~~~~~~ rvm_utils.c:399:5: error: number of arguments doesn’t match prototype 399 | { | ^ rvm_private.h:1653:16: error: prototype declaration 1653 | struct timeval sub_times(); /* [rvm_utils.c] */ | ^~~~~~~~~ rvm_logrecovr.c:512:6: note: declared here 512 | void clear_aux_buf(log) | ^~~~~~~~~~~~~ rvm_logstatus.c:264:29: error: too many arguments to function ‘write_log_status’; expected 0, have 2 264 | if ((retval=write_log_status(log,NULL)) | ^~~~~~~~~~~~~~~~ ~~~ rvm_private.h:415:5: note: in definition of macro ‘CRITICAL’ 415 | body; \ | ^~~~ rvm_logstatus.c:262:13: note: in expansion of macro ‘CRITICAL’ 262 | CRITICAL(log->dev_lock, | ^~~~~~~~ rvm_utils.c: In function ‘round_time’: rvm_trans.c: In function ‘coalesce_trans’: rvm_private.h:1304:14: note: declared here 1304 | rvm_return_t write_log_status(); /* [rvm_logstatus.c] */ | ^~~~~~~~~~~~~~~~ rvm_utils.c:414:6: warning: old-style function definition [-Wold-style-definition] 414 | long round_time(x) | ^~~~~~~~~~ rvm_utils.c:416:5: error: number of arguments doesn’t match prototype 416 | { | ^ rvm_trans.c:780:21: warning: old-style function definition [-Wold-style-definition] 780 | static rvm_return_t coalesce_trans(tid,q_tid) | ^~~~~~~~~~~~~~ rvm_logstatus.c:266:25: error: too many arguments to function ‘close_dev’; expected 0, have 1 266 | if (close_dev(&log->dev) < 0) | ^~~~~~~~~ ~~~~~~~~~ rvm_private.h:415:5: note: in definition of macro ‘CRITICAL’ 415 | body; \ | ^~~~ rvm_logstatus.c:262:13: note: in expansion of macro ‘CRITICAL’ 262 | CRITICAL(log->dev_lock, | ^~~~~~~~ rvm_private.h:1658:6: error: prototype declaration 1658 | long round_time(); /* [rvm_utils.c] */ | ^~~~~~~~~~ rvm_private.h:1519:6: note: declared here 1519 | long close_dev(); /* [rvm_io.c] */ | ^~~~~~~~~ rvm_utils.c: In function ‘make_region’: rvm_private.h:547:26: error: too many arguments to function ‘init_tree_generator’; expected 0, have 3 547 | (ptr) = (type *)init_tree_generator(&(tree),FORWARD,rvm_true); \ | ^~~~~~~~~~~~~~~~~~~ ~~~~~~~ rvm_trans.c:788:5: note: in expansion of macro ‘UNLINK_NODES_OF’ 788 | UNLINK_NODES_OF(tid->range_tree,range_t,range) | ^~~~~~~~~~~~~~~ rvm_utils.c:427:26: error: too many arguments to function ‘alloc_list_entry’; expected 0, have 1 427 | region = (region_t *)alloc_list_entry(region_id); | ^~~~~~~~~~~~~~~~ ~~~~~~~~~ rvm_logstatus.c:285:9: error: too many arguments to function ‘free_log_special’; expected 0, have 1 285 | free_log_special(special); | ^~~~~~~~~~~~~~~~ ~~~~~~~ rvm_private.h:1599:14: note: declared here 1599 | tree_node_t *init_tree_generator(); /* [rvm_utils.c] */ | ^~~~~~~~~~~~~~~~~~~ rvm_logrecovr.c:1246:5: error: too many arguments to function ‘make_uname’; expected 0, have 1 1246 | make_uname(&status->last_trunc); | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~ rvm_private.h:1215:6: note: declared here 1215 | void free_log_special(); /* [rvm_utils.c] */ | ^~~~~~~~~~~~~~~~ rvm_private.h:1641:6: note: declared here 1641 | void make_uname(); | ^~~~~~~~~~ rvm_utils.c:239:15: note: declared here 239 | list_entry_t *alloc_list_entry(id) | ^~~~~~~~~~~~~~~~ rvm_logstatus.c:288:5: error: too many arguments to function ‘free_log’; expected 0, have 1 288 | free_log(log); | ^~~~~~~~ ~~~ rvm_private.h:1206:6: note: declared here 1206 | void free_log(); /* [rvm_utils.c] */ | ^~~~~~~~ rvm_logstatus.c: In function ‘close_all_logs’: rvm_private.h:549:26: error: too many arguments to function ‘tree_successor’; expected 0, have 1 549 | (ptr) = (type *)tree_successor(&(tree)) \ | ^~~~~~~~~~~~~~ ~~~~~~~ rvm_trans.c:788:5: note: in expansion of macro ‘UNLINK_NODES_OF’ 788 | UNLINK_NODES_OF(tid->range_tree,range_t,range) | ^~~~~~~~~~~~~~~ rvm_utils.c:430:9: error: too many arguments to function ‘init_rw_lock’; expected 0, have 1 430 | init_rw_lock(®ion->region_lock); | ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~ rvm_private.h:1564:6: note: declared here 1564 | void init_rw_lock(); | ^~~~~~~~~~~~ rvm_utils.c: In function ‘free_region’: rvm_private.h:1611:14: note: declared here 1611 | tree_node_t *tree_successor(); /* [rvm_utils.c] */ | ^~~~~~~~~~~~~~ rvm_logstatus.c:303:25: error: too many arguments to function ‘close_log’; expected 0, have 1 303 | if ((retval=close_log(log)) != RVM_SUCCESS) | ^~~~~~~~~ ~~~ rvm_private.h:415:5: note: in definition of macro ‘CRITICAL’ 415 | body; \ | ^~~~ rvm_utils.c:436:6: warning: old-style function definition [-Wold-style-definition] 436 | void free_region(region) | ^~~~~~~~~~~ rvm_logstatus.c:240:14: note: declared here 240 | rvm_return_t close_log(log) | ^~~~~~~~~ rvm_logstatus.c: In function ‘preload_wrt_buf’: rvm_utils.c:438:5: error: number of arguments doesn’t match prototype 438 | { | ^ rvm_private.h:1174:6: error: prototype declaration 1174 | void free_region(); /* [rvm_utils.c] */ | ^~~~~~~~~~~ rvm_logstatus.c:311:21: warning: old-style function definition [-Wold-style-definition] 311 | static rvm_return_t preload_wrt_buf(log) | ^~~~~~~~~~~~~~~ rvm_logrecovr.c:1255:17: error: too many arguments to function ‘init_buffer’; expected 0, have 4 1255 | if ((retval=init_buffer(log,&status->log_head, | ^~~~~~~~~~~ ~~~ rvm_logrecovr.c:179:14: note: declared here 179 | rvm_return_t init_buffer(log,offset,direction,synch) | ^~~~~~~~~~~ rvm_trans.c:805:5: error: too many arguments to function ‘free_tid’; expected 0, have 1 805 | free_tid(tid); | ^~~~~~~~ ~~~ rvm_private.h:1234:6: note: declared here 1234 | void free_tid(); /* [rvm_utils.c] */ | ^~~~~~~~ rvm_trans.c: In function ‘get_queued_tid’: rvm_logstatus.c:319:9: error: too many arguments to function ‘read_dev’; expected 0, have 4 319 | if (read_dev(dev,&tail_sector,dev->wrt_buf,SECTOR_SIZE) < 0) | ^~~~~~~~ ~~~ rvm_private.h:1523:6: note: declared here 1523 | long read_dev(); /* [rvm_io.c] */ | ^~~~~~~~ rvm_utils.c:442:5: error: too many arguments to function ‘rw_lock_clear’; expected 0, have 1 442 | rw_lock_clear(®ion->region_lock); | ^~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~ rvm_private.h:1576:6: note: declared here 1576 | void rw_lock_clear(); | ^~~~~~~~~~~~~ rvm_logstatus.c: In function ‘open_log’: rvm_trans.c:810:19: warning: old-style function definition [-Wold-style-definition] 810 | static int_tid_t *get_queued_tid(tid) | ^~~~~~~~~~~~~~ rvm_utils.c: In function ‘make_full_name’: rvm_logstatus.c:330:14: warning: old-style function definition [-Wold-style-definition] 330 | rvm_return_t open_log(dev_name,log_ptr,status_buf,rvm_options) | ^~~~~~~~ rvm_utils.c:447:7: warning: old-style function definition [-Wold-style-definition] 447 | char *make_full_name(dev_str,dev_name,retval) | ^~~~~~~~~~~~~~ rvm_logstatus.c:335:5: error: number of arguments doesn’t match prototype 335 | { | ^ rvm_private.h:1264:14: error: prototype declaration 1264 | rvm_return_t open_log(); /* [rvm_logstatus.c] */ | ^~~~~~~~ rvm_trans.c: In function ‘queue_tid’: rvm_utils.c:451:5: error: number of arguments doesn’t match prototype 451 | { | ^ rvm_private.h:1200:7: error: prototype declaration 1200 | char *make_full_name(); /* [rvm_utils.c] */ | ^~~~~~~~~~~~~~ rvm_logstatus.c:344:16: error: too many arguments to function ‘make_log’; expected 0, have 2 344 | if ((log = make_log(dev_name,&retval)) == NULL) | ^~~~~~~~ ~~~~~~~~ rvm_logrecovr.c:1263:10: error: too many arguments to function ‘validate_hdr’; expected 0, have 4 1263 | if (!validate_hdr(log,rec_hdr,NULL,FORWARD)) | ^~~~~~~~~~~~ ~~~ rvm_private.h:1191:8: note: declared here 1191 | log_t *make_log(); /* [rvm_utils.c] */ | ^~~~~~~~ rvm_trans.c:835:21: warning: old-style function definition [-Wold-style-definition] 835 | static rvm_return_t queue_tid(tid) | ^~~~~~~~~ rvm_logrecovr.c:627:12: note: declared here 627 | rvm_bool_t validate_hdr(log,rec_hdr,rec_end,direction) | ^~~~~~~~~~~~ rvm_utils.c: In function ‘dev_init’: rvm_logstatus.c:359:17: error: too many arguments to function ‘alloc_log_buf’; expected 0, have 1 359 | if ((retval=alloc_log_buf(log)) != RVM_SUCCESS) | ^~~~~~~~~~~~~ ~~~ rvm_private.h:1471:14: note: declared here 1471 | rvm_return_t alloc_log_buf(); /* [rvm_logrecovr.c] */ | ^~~~~~~~~~~~~ rvm_utils.c:493:14: warning: old-style function definition [-Wold-style-definition] 493 | rvm_return_t dev_init(dev,dev_str) | ^~~~~~~~ rvm_utils.c:496:5: error: number of arguments doesn’t match prototype 496 | { | ^ rvm_private.h:1218:14: error: prototype declaration 1218 | rvm_return_t dev_init(); /* [rvm_utils.c] */ | ^~~~~~~~ rvm_logstatus.c:364:9: error: too many arguments to function ‘open_dev’; expected 0, have 3 364 | if (open_dev(dev,flags,0) != 0) | ^~~~~~~~ ~~~ rvm_private.h:1513:6: note: declared here 1513 | long open_dev(); /* [rvm_io.c] */ | ^~~~~~~~ rvm_trans.c:854:9: error: too many arguments to function ‘make_uname’; expected 0, have 1 854 | make_uname(&tid->commit_stamp); /* record commit timestamp */ | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~ rvm_private.h:415:5: note: in definition of macro ‘CRITICAL’ 415 | body; \ | ^~~~ rvm_private.h:1641:6: note: declared here 1641 | void make_uname(); | ^~~~~~~~~~ rvm_logrecovr.c:1278:9: error: too many arguments to function ‘clear_log_status’; expected 0, have 1 1278 | clear_log_status(log); | ^~~~~~~~~~~~~~~~ ~~~ rvm_private.h:1292:6: note: declared here 1292 | void clear_log_status(); /* [rvm_logstatus.c] */ | ^~~~~~~~~~~~~~~~ rvm_utils.c:502:21: error: too many arguments to function ‘make_full_name’; expected 0, have 3 502 | dev->name = make_full_name(dev_str,NULL,&retval); | ^~~~~~~~~~~~~~ ~~~~~~~ rvm_logstatus.c:378:17: error: too many arguments to function ‘read_log_status’; expected 0, have 2 378 | if ((retval=read_log_status(log,status_buf)) != RVM_SUCCESS) | ^~~~~~~~~~~~~~~ ~~~ rvm_private.h:1299:14: note: declared here 1299 | rvm_return_t read_log_status(); /* [rvm_logstatus.c] */ | ^~~~~~~~~~~~~~~ rvm_utils.c:447:7: note: declared here 447 | char *make_full_name(dev_str,dev_name,retval) | ^~~~~~~~~~~~~~ rvm_utils.c: In function ‘make_seg’: rvm_trans.c:865:41: error: too many arguments to function ‘alloc_list_entry’; expected 0, have 1 865 | if ((q_tid=(int_tid_t *)alloc_list_entry(int_tid_id)) == NULL) | ^~~~~~~~~~~~~~~~ ~~~~~~~~~~ rvm_private.h:415:5: note: in definition of macro ‘CRITICAL’ 415 | body; \ | ^~~~ rvm_private.h:1161:15: note: declared here 1161 | list_entry_t *alloc_list_entry(); /* [rvm_utils.c] */ | ^~~~~~~~~~~~~~~~ rvm_utils.c:522:8: warning: old-style function definition [-Wold-style-definition] 522 | seg_t *make_seg(seg_dev_name,retval) | ^~~~~~~~ rvm_logstatus.c:413:5: error: too many arguments to function ‘enter_log’; expected 0, have 1 413 | enter_log(log); | ^~~~~~~~~ ~~~ rvm_logstatus.c:104:6: note: declared here 104 | void enter_log(log) | ^~~~~~~~~ rvm_utils.c:525:5: error: number of arguments doesn’t match prototype 525 | { | ^ rvm_private.h:1178:8: error: prototype declaration 1178 | seg_t *make_seg(); /* [rvm_utils.c] */ | ^~~~~~~~ rvm_logstatus.c:418:11: error: too many arguments to function ‘close_dev’; expected 0, have 1 418 | (void)close_dev(dev); | ^~~~~~~~~ ~~~ rvm_trans.c:871:17: error: too many arguments to function ‘init_tree_root’; expected 0, have 1 871 | init_tree_root(&q_tid->range_tree); | ^~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~ rvm_private.h:415:5: note: in definition of macro ‘CRITICAL’ 415 | body; \ | ^~~~ rvm_private.h:1519:6: note: declared here 1519 | long close_dev(); /* [rvm_io.c] */ | ^~~~~~~~~ rvm_private.h:1568:6: note: declared here 1568 | void init_tree_root(); /* [rvm_utils.c] */ | ^~~~~~~~~~~~~~ rvm_utils.c:529:20: error: too many arguments to function ‘alloc_list_entry’; expected 0, have 1 529 | seg = (seg_t *)alloc_list_entry(seg_id); | ^~~~~~~~~~~~~~~~ ~~~~~~ rvm_logrecovr.c:1311:25: error: too many arguments to function ‘scan_forward’; expected 0, have 2 1311 | if ((retval=scan_forward(log,NO_SYNCH)) != RVM_SUCCESS) | ^~~~~~~~~~~~ ~~~ rvm_utils.c:239:15: note: declared here 239 | list_entry_t *alloc_list_entry(id) | ^~~~~~~~~~~~~~~~ rvm_logstatus.c:420:5: error: too many arguments to function ‘free_log’; expected 0, have 1 420 | free_log(log); | ^~~~~~~~ ~~~ rvm_private.h:1206:6: note: declared here 1206 | void free_log(); /* [rvm_utils.c] */ | ^~~~~~~~ rvm_logstatus.c: In function ‘do_log_options’: rvm_trans.c:874:23: error: too many arguments to function ‘move_list_entry’; expected 0, have 3 874 | (void)move_list_entry(NULL,&log->flush_list, | ^~~~~~~~~~~~~~~ rvm_private.h:415:5: note: in definition of macro ‘CRITICAL’ 415 | body; \ | ^~~~ rvm_private.h:1150:15: note: declared here 1150 | list_entry_t *move_list_entry(); /* [rvm_utils.c] */ | ^~~~~~~~~~~~~~~ rvm_logrecovr.c:843:14: note: declared here 843 | rvm_return_t scan_forward(log,synch) | ^~~~~~~~~~~~ rvm_logstatus.c:425:14: warning: old-style function definition [-Wold-style-definition] 425 | rvm_return_t do_log_options(log_ptr,rvm_options) | ^~~~~~~~~~~~~~ rvm_utils.c:533:22: error: too many arguments to function ‘dev_init’; expected 0, have 2 533 | if ((*retval=dev_init(&seg->dev,seg_dev_name)) != RVM_SUCCESS) | ^~~~~~~~ ~~~~~~~~~ rvm_logstatus.c:428:5: error: number of arguments doesn’t match prototype 428 | { | ^ rvm_private.h:1276:14: error: prototype declaration 1276 | rvm_return_t do_log_options(); /* [rvm_logstatus.c] */ | ^~~~~~~~~~~~~~ rvm_trans.c:890:15: error: too many arguments to function ‘move_list_entry’; expected 0, have 3 890 | (void)move_list_entry(NULL,&log->flush_list,&tid->links); | ^~~~~~~~~~~~~~~ rvm_private.h:415:5: note: in definition of macro ‘CRITICAL’ 415 | body; \ | ^~~~ rvm_utils.c:493:14: note: declared here 493 | rvm_return_t dev_init(dev,dev_str) | ^~~~~~~~ rvm_private.h:1150:15: note: declared here 1150 | list_entry_t *move_list_entry(); /* [rvm_utils.c] */ | ^~~~~~~~~~~~~~~ rvm_logstatus.c:438:14: error: too many arguments to function ‘find_log’; expected 0, have 1 438 | if ((log=find_log(log_dev)) == NULL) | ^~~~~~~~ ~~~~~~~ rvm_logstatus.c:143:8: note: declared here 143 | log_t *find_log(log_dev) | ^~~~~~~~ rvm_utils.c:542:9: error: too many arguments to function ‘init_list_header’; expected 0, have 2 542 | init_list_header(&seg->map_list,region_id); | ^~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~ rvm_utils.c:88:6: note: declared here 88 | void init_list_header(whichlist,struct_id) | ^~~~~~~~~~~~~~~~ rvm_trans.c:898:18: error: too many arguments to function ‘flush_log’; expected 0, have 2 898 | retval = flush_log(log,&log->status.n_flush); | ^~~~~~~~~ ~~~ rvm_private.h:1343:14: note: declared here 1343 | rvm_return_t flush_log(); /* [rvm_logflush.c] */ | ^~~~~~~~~ rvm_logrecovr.c:1317:22: error: too many arguments to function ‘rvm_chk_sigint’; expected 0, have 1 1317 | if ((*rvm_chk_sigint)(NULL)) goto err_exit; | ~^~~~~~~~~~~~~~~~ ~~~~ rvm_logstatus.c:445:21: error: too many arguments to function ‘open_log’; expected 0, have 4 445 | if ((retval=open_log(log_dev,&log,NULL,rvm_options)) | ^~~~~~~~ ~~~~~~~ rvm_trans.c: In function ‘rvm_begin_transaction’: rvm_utils.c:543:9: error: too many arguments to function ‘init_list_header’; expected 0, have 2 543 | init_list_header(&seg->unmap_list,region_id); | ^~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ rvm_utils.c:88:6: note: declared here 88 | void init_list_header(whichlist,struct_id) | ^~~~~~~~~~~~~~~~ rvm_logstatus.c:330:14: note: declared here 330 | rvm_return_t open_log(dev_name,log_ptr,status_buf,rvm_options) | ^~~~~~~~ rvm_utils.c: In function ‘free_seg’: rvm_utils.c:549:6: warning: old-style function definition [-Wold-style-definition] 549 | void free_seg(seg) | ^~~~~~~~ rvm_trans.c:903:14: warning: old-style function definition [-Wold-style-definition] 903 | rvm_return_t rvm_begin_transaction(rvm_tid,mode) | ^~~~~~~~~~~~~~~~~~~~~ rvm_logstatus.c:452:23: error: too many arguments to function ‘log_recover’; expected 0, have 4 452 | if ((retval = log_recover(log,&log->status.tot_recovery, | ^~~~~~~~~~~ ~~~ rvm_private.h:1451:14: note: declared here 1451 | rvm_return_t log_recover(); /* [rvm_logrecovr.c] */ | ^~~~~~~~~~~ rvm_utils.c:551:5: error: number of arguments doesn’t match prototype 551 | { | ^ rvm_private.h:1183:6: error: prototype declaration 1183 | void free_seg(); /* [rvm_utils.c] */ | ^~~~~~~~ rvm_logstatus.c: In function ‘copy_log_stats’: rvm_logrecovr.c:1325:5: error: too many arguments to function ‘reset_hdr_chks’; expected 0, have 1 1325 | reset_hdr_chks(log); | ^~~~~~~~~~~~~~ ~~~ rvm_logstatus.c:477:6: warning: old-style function definition [-Wold-style-definition] 477 | void copy_log_stats(log) | ^~~~~~~~~~~~~~ rvm_logrecovr.c:557:6: note: declared here 557 | void reset_hdr_chks(log) | ^~~~~~~~~~~~~~ rvm_trans.c:913:17: error: too many arguments to function ‘bad_tid’; expected 0, have 1 913 | if ((retval=bad_tid(rvm_tid)) != RVM_SUCCESS) | ^~~~~~~ ~~~~~~~ rvm_utils.c: In function ‘free_seg_dict_vec’: rvm_trans.c:41:14: note: declared here 41 | rvm_return_t bad_tid(rvm_tid) | ^~~~~~~ rvm_logstatus.c:479:5: error: number of arguments doesn’t match prototype 479 | { | ^ rvm_private.h:1288:6: error: prototype declaration 1288 | void copy_log_stats(); /* [rvm_logstatus.c] */ | ^~~~~~~~~~~~~~ rvm_utils.c:570:6: warning: old-style function definition [-Wold-style-definition] 570 | void free_seg_dict_vec(log) | ^~~~~~~~~~~~~~~~~ rvm_utils.c:572:5: error: number of arguments doesn’t match prototype 572 | { | ^ rvm_private.h:1187:6: error: prototype declaration 1187 | void free_seg_dict_vec(); /* [rvm_utils.c] */ | ^~~~~~~~~~~~~~~~~ rvm_logrecovr.c:1326:17: error: too many arguments to function ‘init_buffer’; expected 0, have 4 1326 | if ((retval=init_buffer(log,&tail,FORWARD,NO_SYNCH)) | ^~~~~~~~~~~ ~~~ rvm_logrecovr.c:179:14: note: declared here 179 | rvm_return_t init_buffer(log,offset,direction,synch) | ^~~~~~~~~~~ rvm_trans.c:921:16: error: too many arguments to function ‘make_tid’; expected 0, have 1 921 | if ((tid = make_tid(mode)) == NULL) return RVM_ENO_MEMORY; | ^~~~~~~~ ~~~~ rvm_utils.c:579:13: error: too many arguments to function ‘clear_tree_root’; expected 0, have 1 579 | clear_tree_root(&log->seg_dict_vec[i].mod_tree); | ^~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rvm_logstatus.c:520:5: error: too many arguments to function ‘log_tail_length’; expected 0, have 2 520 | log_tail_length(log,&temp); | ^~~~~~~~~~~~~~~ ~~~ rvm_private.h:1230:12: note: declared here 1230 | int_tid_t *make_tid(); /* [rvm_utils.c] */ | ^~~~~~~~ rvm_private.h:1314:6: note: declared here 1314 | void log_tail_length(); /* [rvm_logstatus.c] */ | ^~~~~~~~~~~~~~~ rvm_private.h:1572:6: note: declared here 1572 | void clear_tree_root(); /* [rvm_utils.c] */ | ^~~~~~~~~~~~~~~ rvm_utils.c: In function ‘free_log’: rvm_utils.c:587:6: warning: old-style function definition [-Wold-style-definition] 587 | void free_log(log) | ^~~~~~~~ rvm_logstatus.c:531:30: error: too many arguments to function ‘add_times’; expected 0, have 2 531 | status->tot_flush_time = add_times(&status->tot_flush_time, | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~ rvm_private.h:1648:16: note: declared here 1648 | struct timeval add_times(); /* [rvm_utils.c] */ | ^~~~~~~~~ rvm_utils.c:589:5: error: number of arguments doesn’t match prototype 589 | { | ^ rvm_private.h:1206:6: error: prototype declaration 1206 | void free_log(); /* [rvm_utils.c] */ | ^~~~~~~~ rvm_trans.c:929:16: error: too many arguments to function ‘move_list_entry’; expected 0, have 3 929 | (void) move_list_entry(NULL,&log->tid_list,&tid->links); | ^~~~~~~~~~~~~~~ rvm_private.h:415:5: note: in definition of macro ‘CRITICAL’ 415 | body; \ | ^~~~ rvm_private.h:1150:15: note: declared here 1150 | list_entry_t *move_list_entry(); /* [rvm_utils.c] */ | ^~~~~~~~~~~~~~~ rvm_trans.c: In function ‘rvm_abort_transaction’: rvm_logstatus.c: In function ‘clear_log_status’: rvm_logstatus.c:553:6: warning: old-style function definition [-Wold-style-definition] 553 | void clear_log_status(log) | ^~~~~~~~~~~~~~~~ rvm_trans.c:935:14: warning: old-style function definition [-Wold-style-definition] 935 | rvm_return_t rvm_abort_transaction(rvm_tid) | ^~~~~~~~~~~~~~~~~~~~~ rvm_logstatus.c:555:5: error: number of arguments doesn’t match prototype 555 | { | ^ rvm_private.h:1292:6: error: prototype declaration 1292 | void clear_log_status(); /* [rvm_logstatus.c] */ | ^~~~~~~~~~~~~~~~ rvm_logrecovr.c:1331:17: error: too many arguments to function ‘validate_rec_forward’; expected 0, have 2 1331 | if ((retval=validate_rec_forward(log,NO_SYNCH)) != RVM_SUCCESS) | ^~~~~~~~~~~~~~~~~~~~ ~~~ rvm_logrecovr.c:768:14: note: declared here 768 | rvm_return_t validate_rec_forward(log,synch) | ^~~~~~~~~~~~~~~~~~~~ rvm_utils.c:612:5: error: too many arguments to function ‘rw_lock_clear’; expected 0, have 1 612 | rw_lock_clear(&log->flush_lock); | ^~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ rvm_private.h:1576:6: note: declared here 1576 | void rw_lock_clear(); | ^~~~~~~~~~~~~ rvm_logstatus.c:575:5: error: too many arguments to function ‘copy_log_stats’; expected 0, have 1 575 | copy_log_stats(log); | ^~~~~~~~~~~~~~ ~~~ rvm_logstatus.c:477:6: note: declared here 477 | void copy_log_stats(log) | ^~~~~~~~~~~~~~ rvm_trans.c:948:14: error: too many arguments to function ‘move_list_entry’; expected 0, have 3 948 | move_list_entry(&log->tid_list,NULL,&tid->links)); | ^~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~ rvm_private.h:415:5: note: in definition of macro ‘CRITICAL’ 415 | body; \ | ^~~~ rvm_logstatus.c: In function ‘init_log_status’: rvm_private.h:1150:15: note: declared here 1150 | list_entry_t *move_list_entry(); /* [rvm_utils.c] */ | ^~~~~~~~~~~~~~~ rvm_utils.c:629:5: error: too many arguments to function ‘free_log_buf’; expected 0, have 1 629 | free_log_buf(log); /* kill recovery buffers */ | ^~~~~~~~~~~~ ~~~ rvm_logstatus.c:578:14: warning: old-style function definition [-Wold-style-definition] 578 | rvm_return_t init_log_status(log) | ^~~~~~~~~~~~~~~ rvm_private.h:1475:6: note: declared here 1475 | void free_log_buf(); /* [rvm_logrecovr.c] */ | ^~~~~~~~~~~~ rvm_utils.c: In function ‘make_log’: rvm_logstatus.c:580:5: error: number of arguments doesn’t match prototype 580 | { | ^ rvm_private.h:1296:14: error: prototype declaration 1296 | rvm_return_t init_log_status(); /* [rvm_logstatus.c] */ | ^~~~~~~~~~~~~~~ rvm_utils.c:634:8: warning: old-style function definition [-Wold-style-definition] 634 | log_t *make_log(log_dev_name,retval) | ^~~~~~~~ rvm_trans.c:950:5: error: too many arguments to function ‘rw_unlock’; expected 0, have 2 950 | rw_unlock(&tid->tid_lock,w); /* end tid_lock critical section */ | ^~~~~~~~~ ~~~~~~~~~~~~~~ rvm_utils.c:637:5: error: number of arguments doesn’t match prototype 637 | { | ^ rvm_private.h:1559:6: note: declared here 1559 | void rw_unlock(); | ^~~~~~~~~ rvm_private.h:1191:8: error: prototype declaration 1191 | log_t *make_log(); /* [rvm_utils.c] */ | ^~~~~~~~ rvm_logstatus.c:612:5: error: too many arguments to function ‘clear_log_status’; expected 0, have 1 612 | clear_log_status(log); | ^~~~~~~~~~~~~~~~ ~~~ rvm_utils.c:642:25: error: too many arguments to function ‘alloc_list_entry’; expected 0, have 1 642 | if ((log = (log_t *)alloc_list_entry(log_id)) != NULL) | ^~~~~~~~~~~~~~~~ ~~~~~~ rvm_logstatus.c:553:6: note: declared here 553 | void clear_log_status(log) | ^~~~~~~~~~~~~~~~ rvm_utils.c:239:15: note: declared here 239 | list_entry_t *alloc_list_entry(id) | ^~~~~~~~~~~~~~~~ rvm_logrecovr.c:1373:21: error: too many arguments to function ‘scan_forward’; expected 0, have 2 1373 | if ((retval=scan_forward(log,NO_SYNCH)) != RVM_SUCCESS) | ^~~~~~~~~~~~ ~~~ rvm_trans.c:960:5: error: too many arguments to function ‘free_tid’; expected 0, have 1 960 | free_tid(tid); /* free transaction descriptor */ | ^~~~~~~~ ~~~ rvm_private.h:1234:6: note: declared here 1234 | void free_tid(); /* [rvm_utils.c] */ | ^~~~~~~~ rvm_trans.c: In function ‘rvm_end_transaction’: rvm_logstatus.c:613:5: error: too many arguments to function ‘make_uname’; expected 0, have 1 613 | make_uname(&status->status_init); /* initialization timestamp */ | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~ rvm_private.h:1641:6: note: declared here 1641 | void make_uname(); | ^~~~~~~~~~ rvm_utils.c:645:22: error: too many arguments to function ‘dev_init’; expected 0, have 2 645 | if ((*retval=dev_init(&log->dev,log_dev_name)) != RVM_SUCCESS) | ^~~~~~~~ ~~~~~~~~~ rvm_utils.c:493:14: note: declared here 493 | rvm_return_t dev_init(dev,dev_str) | ^~~~~~~~ rvm_logrecovr.c:843:14: note: declared here 843 | rvm_return_t scan_forward(log,synch) | ^~~~~~~~~~~~ rvm_trans.c:964:14: warning: old-style function definition [-Wold-style-definition] 964 | rvm_return_t rvm_end_transaction(rvm_tid,mode) | ^~~~~~~~~~~~~~~~~~~ rvm_utils.c:677:9: error: too many arguments to function ‘init_rw_lock’; expected 0, have 1 677 | init_rw_lock(&log->flush_lock); | ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ rvm_logstatus.c:668:12: error: too many arguments to function ‘write_log_status’; expected 0, have 2 668 | return write_log_status(log,NULL); | ^~~~~~~~~~~~~~~~ ~~~ rvm_private.h:1304:14: note: declared here 1304 | rvm_return_t write_log_status(); /* [rvm_logstatus.c] */ | ^~~~~~~~~~~~~~~~ rvm_private.h:1564:6: note: declared here 1564 | void init_rw_lock(); | ^~~~~~~~~~~~ rvm_logstatus.c: In function ‘read_log_status’: rvm_logstatus.c:671:14: warning: old-style function definition [-Wold-style-definition] 671 | rvm_return_t read_log_status(log,status_buf) | ^~~~~~~~~~~~~~~ rvm_utils.c:685:9: error: too many arguments to function ‘init_list_header’; expected 0, have 2 685 | init_list_header(&log->tid_list,int_tid_id); | ^~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~ rvm_utils.c:88:6: note: declared here 88 | void init_list_header(whichlist,struct_id) | ^~~~~~~~~~~~~~~~ rvm_logstatus.c:674:5: error: number of arguments doesn’t match prototype 674 | { | ^ rvm_private.h:1299:14: error: prototype declaration 1299 | rvm_return_t read_log_status(); /* [rvm_logstatus.c] */ | ^~~~~~~~~~~~~~~ rvm_logrecovr.c:1378:18: error: too many arguments to function ‘rvm_chk_sigint’; expected 0, have 1 1378 | if ((*rvm_chk_sigint)(NULL)) goto err_exit; | ~^~~~~~~~~~~~~~~~ ~~~~ rvm_utils.c:687:9: error: too many arguments to function ‘init_list_header’; expected 0, have 2 687 | init_list_header(&log->flush_list,int_tid_id); | ^~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ rvm_utils.c:88:6: note: declared here 88 | void init_list_header(whichlist,struct_id) | ^~~~~~~~~~~~~~~~ rvm_trans.c:984:18: error: too many arguments to function ‘move_list_entry’; expected 0, have 3 984 | move_list_entry(&log->tid_list,NULL,&tid->links)); | ^~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~ rvm_private.h:415:5: note: in definition of macro ‘CRITICAL’ 415 | body; \ | ^~~~ rvm_trans.c:983:9: note: in expansion of macro ‘CRITICAL’ 983 | CRITICAL(log->tid_list_lock, /* unlink tid from log's tid_list*/ | ^~~~~~~~ rvm_private.h:1150:15: note: declared here 1150 | list_entry_t *move_list_entry(); /* [rvm_utils.c] */ | ^~~~~~~~~~~~~~~ rvm_logstatus.c:690:9: error: too many arguments to function ‘read_dev’; expected 0, have 4 690 | if (read_dev(&log->dev,status_offset, | ^~~~~~~~ ~~~~~~~~~ rvm_private.h:1523:6: note: declared here 1523 | long read_dev(); /* [rvm_io.c] */ | ^~~~~~~~ rvm_utils.c:689:9: error: too many arguments to function ‘init_list_header’; expected 0, have 2 689 | init_list_header(&log->special_list,log_special_id); | ^~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~ rvm_utils.c:88:6: note: declared here 88 | void init_list_header(whichlist,struct_id) | ^~~~~~~~~~~~~~~~ rvm_utils.c: In function ‘make_log_special’: rvm_logrecovr.c:1396:9: error: too many arguments to function ‘clear_log_status’; expected 0, have 1 1396 | clear_log_status(log); /* log empty */ | ^~~~~~~~~~~~~~~~ ~~~ rvm_private.h:1292:6: note: declared here 1292 | void clear_log_status(); /* [rvm_logstatus.c] */ | ^~~~~~~~~~~~~~~~ rvm_utils.c:703:16: warning: old-style function definition [-Wold-style-definition] 703 | log_special_t *make_log_special(special_id,length) | ^~~~~~~~~~~~~~~~ rvm_logstatus.c:697:27: error: too many arguments to function ‘chk_sum’; expected 0, have 2 697 | dev_status->chk_sum = chk_sum((char *)dev_status, | ^~~~~~~ ~~~~~~~~~~~~~~~~~~ rvm_private.h:1679:14: note: declared here 1679 | rvm_length_t chk_sum(); /* rvm_utils.c */ | ^~~~~~~ rvm_utils.c:706:5: error: number of arguments doesn’t match prototype 706 | { | ^ rvm_private.h:1210:16: error: prototype declaration 1210 | log_special_t *make_log_special(); /* [rvm_utils.c] */ | ^~~~~~~~~~~~~~~~ rvm_trans.c:994:5: error: too many arguments to function ‘rw_unlock’; expected 0, have 2 994 | rw_unlock(&tid->tid_lock,w); /* end tid_lock crit section */ | ^~~~~~~~~ ~~~~~~~~~~~~~~ rvm_private.h:1559:6: note: declared here 1559 | void rw_unlock(); | ^~~~~~~~~ rvm_logstatus.c: In function ‘write_log_status’: rvm_utils.c:710:35: error: too many arguments to function ‘alloc_list_entry’; expected 0, have 1 710 | if ((special=(log_special_t *)alloc_list_entry(log_special_id)) | ^~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~ rvm_utils.c:239:15: note: declared here 239 | list_entry_t *alloc_list_entry(id) | ^~~~~~~~~~~~~~~~ rvm_logrecovr.c:1222:21: warning: variable ‘old_ptr’ set but not used [-Wunused-but-set-variable] 1222 | long old_ptr; /* buffer ptr to last record found */ | ^~~~~~~ rvm_logstatus.c:724:14: warning: old-style function definition [-Wold-style-definition] 724 | rvm_return_t write_log_status(log,dev) | ^~~~~~~~~~~~~~~~ rvm_logrecovr.c: In function ‘enter_seg_dict’: rvm_trans.c:1000:9: error: too many arguments to function ‘free_tid’; expected 0, have 1 1000 | free_tid(tid); | ^~~~~~~~ ~~~ rvm_private.h:1234:6: note: declared here 1234 | void free_tid(); /* [rvm_utils.c] */ | ^~~~~~~~ rvm_utils.c: In function ‘free_log_special’: rvm_logstatus.c:727:5: error: number of arguments doesn’t match prototype 727 | { | ^ rvm_private.h:1304:14: error: prototype declaration 1304 | rvm_return_t write_log_status(); /* [rvm_logstatus.c] */ | ^~~~~~~~~~~~~~~~ rvm_utils.c:736:7: warning: old-style function definition [-Wold-style-definition] 736 | void free_log_special(special) | ^~~~~~~~~~~~~~~~ rvm_logrecovr.c:1417:14: warning: old-style function definition [-Wold-style-definition] 1417 | rvm_return_t enter_seg_dict(log,seg_code) | ^~~~~~~~~~~~~~ rvm_utils.c:738:5: error: number of arguments doesn’t match prototype 738 | { | ^ rvm_private.h:1215:6: error: prototype declaration 1215 | void free_log_special(); /* [rvm_utils.c] */ | ^~~~~~~~~~~~~~~~ rvm_logstatus.c:758:5: error: too many arguments to function ‘make_uname’; expected 0, have 1 758 | make_uname(&status->status_write); | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~ rvm_private.h:1641:6: note: declared here 1641 | void make_uname(); | ^~~~~~~~~~ rvm_utils.c: In function ‘make_range’: rvm_logrecovr.c:1420:5: error: number of arguments doesn’t match prototype 1420 | { | ^ rvm_private.h:1501:14: error: prototype declaration 1501 | rvm_return_t enter_seg_dict(); /* [rvm_logrecovr.c] */ | ^~~~~~~~~~~~~~ rvm_utils.c:762:29: error: too many arguments to function ‘alloc_list_entry’; expected 0, have 1 762 | if ((range = (range_t *)alloc_list_entry(range_id)) != NULL) | ^~~~~~~~~~~~~~~~ ~~~~~~~~ rvm_utils.c:239:15: note: declared here 239 | list_entry_t *alloc_list_entry(id) | ^~~~~~~~~~~~~~~~ rvm_logstatus.c:770:27: error: too many arguments to function ‘chk_sum’; expected 0, have 2 770 | dev_status->chk_sum = chk_sum((char *)dev_status, | ^~~~~~~ ~~~~~~~~~~~~~~~~~~ rvm_private.h:1679:14: note: declared here 1679 | rvm_length_t chk_sum(); /* rvm_utils.c */ | ^~~~~~~ rvm_utils.c: In function ‘free_range’: rvm_utils.c:777:6: warning: old-style function definition [-Wold-style-definition] 777 | void free_range(range) | ^~~~~~~~~~ rvm_logstatus.c:776:9: error: too many arguments to function ‘write_dev’; expected 0, have 5 776 | if (write_dev(dev,status_offset,dev_status, | ^~~~~~~~~ ~~~ rvm_private.h:1530:6: note: declared here 1530 | long write_dev(); /* [rvm_io.c] */ | ^~~~~~~~~ rvm_utils.c:779:5: error: number of arguments doesn’t match prototype 779 | { | ^ rvm_private.h:1226:6: error: prototype declaration 1226 | void free_range(); /* [rvm_utils.c] */ | ^~~~~~~~~~ rvm_logstatus.c: In function ‘chk_tail’: rvm_utils.c: In function ‘make_tid’: rvm_logrecovr.c:1445:9: error: too many arguments to function ‘init_tree_root’; expected 0, have 1 1445 | init_tree_root(&seg_dict->mod_tree); | ^~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~ rvm_logstatus.c:783:19: warning: old-style function definition [-Wold-style-definition] 783 | static rvm_bool_t chk_tail(log) | ^~~~~~~~ rvm_private.h:1568:6: note: declared here 1568 | void init_tree_root(); /* [rvm_utils.c] */ | ^~~~~~~~~~~~~~ rvm_utils.c:796:12: warning: old-style function definition [-Wold-style-definition] 796 | int_tid_t *make_tid(mode) | ^~~~~~~~ rvm_utils.c:798:5: error: number of arguments doesn’t match prototype 798 | { | ^ rvm_private.h:1230:12: error: prototype declaration 1230 | int_tid_t *make_tid(); /* [rvm_utils.c] */ | ^~~~~~~~ rvm_utils.c:801:24: error: too many arguments to function ‘alloc_list_entry’; expected 0, have 1 801 | tid = (int_tid_t *)alloc_list_entry(int_tid_id); | ^~~~~~~~~~~~~~~~ ~~~~~~~~~~ rvm_utils.c:239:15: note: declared here 239 | list_entry_t *alloc_list_entry(id) | ^~~~~~~~~~~~~~~~ rvm_logrecovr.c:1446:15: error: too many arguments to function ‘dev_init’; expected 0, have 2 1446 | (void)dev_init(&seg_dict->dev,NULL); | ^~~~~~~~ ~~~~~~~~~~~~~~ rvm_private.h:1218:14: note: declared here 1218 | rvm_return_t dev_init(); /* [rvm_utils.c] */ | ^~~~~~~~ rvm_logrecovr.c: In function ‘def_seg_dict’: rvm_utils.c:804:9: error: too many arguments to function ‘make_uname’; expected 0, have 1 804 | make_uname(&tid->uname); | ^~~~~~~~~~ ~~~~~~~~~~~ rvm_utils.c:326:6: note: declared here 326 | void make_uname(new_uname) | ^~~~~~~~~~ rvm_logrecovr.c:1451:14: warning: old-style function definition [-Wold-style-definition] 1451 | rvm_return_t def_seg_dict(log,rec_hdr) | ^~~~~~~~~~~~ rvm_utils.c:805:9: error: too many arguments to function ‘init_rw_lock’; expected 0, have 1 805 | init_rw_lock(&tid->tid_lock); | ^~~~~~~~~~~~ ~~~~~~~~~~~~~~ rvm_private.h:1564:6: note: declared here 1564 | void init_rw_lock(); | ^~~~~~~~~~~~ rvm_logrecovr.c:1455:5: error: number of arguments doesn’t match prototype 1455 | { | ^ rvm_private.h:1506:14: error: prototype declaration 1506 | rvm_return_t def_seg_dict(); /* [rvm_logrecovr.c] */ | ^~~~~~~~~~~~ rvm_logstatus.c: In function ‘update_log_tail’: rvm_utils.c:806:9: error: too many arguments to function ‘init_tree_root’; expected 0, have 1 806 | init_tree_root(&tid->range_tree); | ^~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ rvm_private.h:1568:6: note: declared here 1568 | void init_tree_root(); /* [rvm_utils.c] */ | ^~~~~~~~~~~~~~ rvm_logstatus.c:853:15: warning: old-style function definition [-Wold-style-definition] 853 | rvm_return_t update_log_tail(log,rec_hdr) | ^~~~~~~~~~~~~~~ rvm_utils.c: In function ‘free_tid’: rvm_utils.c:825:6: warning: old-style function definition [-Wold-style-definition] 825 | void free_tid(tid) | ^~~~~~~~ rvm_logrecovr.c:1467:17: error: too many arguments to function ‘enter_seg_dict’; expected 0, have 2 1467 | if ((retval=enter_seg_dict(log,log_seg->seg_code)) != RVM_SUCCESS) | ^~~~~~~~~~~~~~ ~~~ rvm_logstatus.c:856:5: error: number of arguments doesn’t match prototype 856 | { | ^ rvm_private.h:1309:14: error: prototype declaration 1309 | rvm_return_t update_log_tail(); /* [rvm_logstatus.c] */ | ^~~~~~~~~~~~~~~ rvm_utils.c:827:5: error: number of arguments doesn’t match prototype 827 | { | ^ rvm_private.h:1234:6: error: prototype declaration 1234 | void free_tid(); /* [rvm_utils.c] */ | ^~~~~~~~ rvm_logrecovr.c:1417:14: note: declared here 1417 | rvm_return_t enter_seg_dict(log,seg_code) | ^~~~~~~~~~~~~~ rvm_utils.c:831:5: error: too many arguments to function ‘rw_lock_clear’; expected 0, have 1 831 | rw_lock_clear(&tid->tid_lock); | ^~~~~~~~~~~~~ ~~~~~~~~~~~~~~ rvm_private.h:1576:6: note: declared here 1576 | void rw_lock_clear(); | ^~~~~~~~~~~~~ make[2]: *** [Makefile:600: librvmlwp_la-rvm_trans.lo] Error 1 rvm_logstatus.c:903:9: error: too many arguments to function ‘sync_dev’; expected 0, have 1 903 | if (sync_dev(&log->dev) < 0) /* sync file buffers before status write */ | ^~~~~~~~ ~~~~~~~~~ rvm_logrecovr.c: In function ‘cmp_partial_include’: rvm_private.h:1538:6: note: declared here 1538 | long sync_dev(); /* [rvm_io.c] */ | ^~~~~~~~ rvm_private.h:547:26: error: too many arguments to function ‘init_tree_generator’; expected 0, have 3 547 | (ptr) = (type *)init_tree_generator(&(tree),FORWARD,rvm_true); \ | ^~~~~~~~~~~~~~~~~~~ ~~~~~~~ rvm_utils.c:834:5: note: in expansion of macro ‘UNLINK_NODES_OF’ 834 | UNLINK_NODES_OF(tid->range_tree,range_t,range) | ^~~~~~~~~~~~~~~ rvm_private.h:1599:14: note: declared here 1599 | tree_node_t *init_tree_generator(); /* [rvm_utils.c] */ | ^~~~~~~~~~~~~~~~~~~ rvm_private.h:549:26: error: too many arguments to function ‘tree_successor’; expected 0, have 1 549 | (ptr) = (type *)tree_successor(&(tree)) \ | ^~~~~~~~~~~~~~ ~~~~~~~ rvm_utils.c:834:5: note: in expansion of macro ‘UNLINK_NODES_OF’ 834 | UNLINK_NODES_OF(tid->range_tree,range_t,range) | ^~~~~~~~~~~~~~~ rvm_private.h:1611:14: note: declared here 1611 | tree_node_t *tree_successor(); /* [rvm_utils.c] */ | ^~~~~~~~~~~~~~ rvm_logrecovr.c:1488:6: warning: old-style function definition [-Wold-style-definition] 1488 | long cmp_partial_include(node1,node2) | ^~~~~~~~~~~~~~~~~~~ rvm_logrecovr.c: In function ‘set_node_length’: rvm_logstatus.c:926:12: error: too many arguments to function ‘write_log_status’; expected 0, have 2 926 | return write_log_status(log,NULL); /* update disk status block */ | ^~~~~~~~~~~~~~~~ ~~~ rvm_utils.c:835:9: error: too many arguments to function ‘free_range’; expected 0, have 1 835 | free_range((range_t *)range); | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~ rvm_logstatus.c:724:14: note: declared here 724 | rvm_return_t write_log_status(log,dev) | ^~~~~~~~~~~~~~~~ rvm_logstatus.c: In function ‘log_tail_length’: rvm_logrecovr.c:1497:13: warning: old-style function definition [-Wold-style-definition] 1497 | static void set_node_length(node) | ^~~~~~~~~~~~~~~ rvm_utils.c:777:6: note: declared here 777 | void free_range(range) | ^~~~~~~~~~ rvm_logrecovr.c: In function ‘change_tree_insert’: rvm_logstatus.c:929:6: warning: old-style function definition [-Wold-style-definition] 929 | void log_tail_length(log,tail_length) | ^~~~~~~~~~~~~~~ rvm_logstatus.c:932:5: error: number of arguments doesn’t match prototype 932 | { | ^ rvm_private.h:1314:6: error: prototype declaration 1314 | void log_tail_length(); /* [rvm_logstatus.c] */ | ^~~~~~~~~~~~~~~ rvm_utils.c:836:5: error: too many arguments to function ‘clear_tree_root’; expected 0, have 1 836 | clear_tree_root(&tid->range_tree); | ^~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ rvm_private.h:1572:6: note: declared here 1572 | void clear_tree_root(); /* [rvm_utils.c] */ | ^~~~~~~~~~~~~~~ rvm_utils.c: In function ‘make_mem_region’: rvm_logrecovr.c:1507:15: warning: old-style function definition [-Wold-style-definition] 1507 | rvm_return_t change_tree_insert(seg_dict,node) | ^~~~~~~~~~~~~~~~~~ rvm_logstatus.c: At top level: rvm_utils.c:853:28: error: too many arguments to function ‘alloc_list_entry’; expected 0, have 1 853 | node = (mem_region_t *)alloc_list_entry(mem_region_id); | ^~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~ rvm_utils.c:239:15: note: declared here 239 | list_entry_t *alloc_list_entry(id) | ^~~~~~~~~~~~~~~~ rvm_utils.c: In function ‘free_mem_region’: rvm_logrecovr.c:1510:5: error: number of arguments doesn’t match prototype 1510 | { | ^ rvm_private.h:1462:14: error: prototype declaration 1462 | rvm_return_t change_tree_insert(); /* [rvm_logrecovr.c] */ | ^~~~~~~~~~~~~~~~~~ rvm_logstatus.c:960:6: error: conflicting types for ‘log_tail_sngl_w’; have ‘void(log_t *, rvm_offset_t *)’ 960 | void log_tail_sngl_w(log_t *log, rvm_offset_t *tail_length) | ^~~~~~~~~~~~~~~ rvm_private.h:1319:6: note: previous declaration of ‘log_tail_sngl_w’ with type ‘void(void)’ 1319 | void log_tail_sngl_w(); /* [rvm_logstatus.c] */ | ^~~~~~~~~~~~~~~ rvm_utils.c:862:6: warning: old-style function definition [-Wold-style-definition] 862 | void free_mem_region(node) | ^~~~~~~~~~~~~~~ rvm_utils.c:864:5: error: number of arguments doesn’t match prototype 864 | { | ^ rvm_private.h:1241:6: error: prototype declaration 1241 | void free_mem_region(); /* [rvm_utils.c] */ | ^~~~~~~~~~~~~~~ rvm_logstatus.c: In function ‘cur_log_length’: rvm_utils.c: In function ‘make_dev_region’: rvm_logstatus.c:981:6: warning: old-style function definition [-Wold-style-definition] 981 | void cur_log_length(log,length) | ^~~~~~~~~~~~~~ rvm_utils.c:877:28: error: too many arguments to function ‘alloc_list_entry’; expected 0, have 1 877 | node = (dev_region_t *)alloc_list_entry(dev_region_id); | ^~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~ rvm_utils.c:239:15: note: declared here 239 | list_entry_t *alloc_list_entry(id) | ^~~~~~~~~~~~~~~~ rvm_logrecovr.c:1537:9: error: too many arguments to function ‘tree_insert’; expected 0, have 3 1537 | if (tree_insert(&seg_dict->mod_tree,node,cmp_partial_include)) | ^~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~ rvm_logstatus.c:984:5: error: number of arguments doesn’t match prototype 984 | { | ^ rvm_private.h:1329:6: error: prototype declaration 1329 | void cur_log_length(); /* [rvm_logstatus.c] */ | ^~~~~~~~~~~~~~ rvm_private.h:1587:12: note: declared here 1587 | rvm_bool_t tree_insert(); /* [rvm_utils.c] */ | ^~~~~~~~~~~ rvm_utils.c: In function ‘free_dev_region’: rvm_logstatus.c: In function ‘cur_log_percent’: rvm_utils.c:887:6: warning: old-style function definition [-Wold-style-definition] 887 | void free_dev_region(node) | ^~~~~~~~~~~~~~~ rvm_logstatus.c:998:6: warning: old-style function definition [-Wold-style-definition] 998 | long cur_log_percent(log,space_needed) | ^~~~~~~~~~~~~~~ rvm_utils.c:889:5: error: number of arguments doesn’t match prototype 889 | { | ^ rvm_private.h:1248:6: error: prototype declaration 1248 | void free_dev_region(); /* [rvm_utils.c] */ | ^~~~~~~~~~~~~~~ rvm_utils.c: In function ‘free_export’: rvm_logstatus.c:1001:5: error: number of arguments doesn’t match prototype 1001 | { | ^ rvm_private.h:1324:6: error: prototype declaration 1324 | long cur_log_percent(); /* [rvm_logstatus.c] */ | ^~~~~~~~~~~~~~~ rvm_utils.c:910:13: warning: old-style function definition [-Wold-style-definition] 910 | static void free_export(cell,struct_id) | ^~~~~~~~~~~ rvm_utils.c: In function ‘rvm_malloc_region’: rvm_logstatus.c:1010:9: error: too many arguments to function ‘log_tail_length’; expected 0, have 2 1010 | log_tail_length(log,&temp); | ^~~~~~~~~~~~~~~ ~~~ rvm_private.h:415:5: note: in definition of macro ‘CRITICAL’ 415 | body; \ | ^~~~ rvm_utils.c:929:38: error: too many arguments to function ‘alloc_list_entry’; expected 0, have 1 929 | new_rvm_region = (rvm_region_t *)alloc_list_entry(region_rvm_id); | ^~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~ rvm_utils.c:239:15: note: declared here 239 | list_entry_t *alloc_list_entry(id) | ^~~~~~~~~~~~~~~~ rvm_utils.c: In function ‘rvm_free_region’: rvm_logstatus.c:929:6: note: declared here 929 | void log_tail_length(log,tail_length) | ^~~~~~~~~~~~~~~ rvm_logstatus.c: In function ‘rvm_create_log’: rvm_utils.c:938:6: warning: old-style function definition [-Wold-style-definition] 938 | void rvm_free_region(rvm_region) | ^~~~~~~~~~~~~~~ rvm_logrecovr.c:1600:25: error: too many arguments to function ‘change_tree_insert’; expected 0, have 2 1600 | if ((retval=change_tree_insert(seg_dict,split_node)) | ^~~~~~~~~~~~~~~~~~ ~~~~~~~~ rvm_logstatus.c:1032:14: warning: old-style function definition [-Wold-style-definition] 1032 | rvm_return_t rvm_create_log(rvm_options,log_len,mode) | ^~~~~~~~~~~~~~ rvm_utils.c:941:11: error: too many arguments to function ‘bad_region’; expected 0, have 1 941 | if ((!bad_region(rvm_region))&&(free_lists_inited)&& | ^~~~~~~~~~ ~~~~~~~~~~ rvm_logrecovr.c:1507:15: note: declared here 1507 | rvm_return_t change_tree_insert(seg_dict,node) | ^~~~~~~~~~~~~~~~~~ rvm_private.h:1629:14: note: declared here 1629 | rvm_return_t bad_region(); /* [rvm_map.c] */ | ^~~~~~~~~~ rvm_utils.c: In function ‘rvm_init_region’: rvm_logstatus.c:1060:9: error: too many arguments to function ‘find_log’; expected 0, have 1 1060 | if (find_log(rvm_options->log_dev) != NULL) | ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~ rvm_logstatus.c:143:8: note: declared here 143 | log_t *find_log(log_dev) | ^~~~~~~~ rvm_utils.c:945:7: warning: old-style function definition [-Wold-style-definition] 945 | void rvm_init_region(rvm_region) | ^~~~~~~~~~~~~~~ rvm_utils.c: In function ‘rvm_copy_region’: rvm_utils.c:952:15: warning: old-style function definition [-Wold-style-definition] 952 | rvm_region_t *rvm_copy_region(rvm_region) | ^~~~~~~~~~~~~~~ rvm_logstatus.c:1064:14: error: too many arguments to function ‘make_log’; expected 0, have 2 1064 | if ((log=make_log(rvm_options->log_dev,&retval)) == NULL) | ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~ rvm_private.h:1191:8: note: declared here 1191 | log_t *make_log(); /* [rvm_utils.c] */ | ^~~~~~~~ rvm_utils.c:957:9: error: too many arguments to function ‘bad_region’; expected 0, have 1 957 | if (bad_region(rvm_region)) return NULL; | ^~~~~~~~~~ ~~~~~~~~~~ rvm_logrecovr.c:1653:12: error: too many arguments to function ‘change_tree_insert’; expected 0, have 2 1653 | return change_tree_insert(seg_dict,node); | ^~~~~~~~~~~~~~~~~~ ~~~~~~~~ rvm_logstatus.c:1078:9: error: too many arguments to function ‘open_dev’; expected 0, have 3 1078 | if (open_dev(&log->dev,O_WRONLY,mode) == 0) /* don't allow create yet */ | ^~~~~~~~ ~~~~~~~~~ rvm_private.h:1513:6: note: declared here 1513 | long open_dev(); /* [rvm_io.c] */ | ^~~~~~~~ rvm_logrecovr.c:1507:15: note: declared here 1507 | rvm_return_t change_tree_insert(seg_dict,node) | ^~~~~~~~~~~~~~~~~~ rvm_private.h:1629:14: note: declared here 1629 | rvm_return_t bad_region(); /* [rvm_map.c] */ | ^~~~~~~~~~ rvm_logstatus.c:1088:9: error: too many arguments to function ‘open_dev’; expected 0, have 3 1088 | if (open_dev(&log->dev,O_WRONLY | O_CREAT,mode) != 0) | ^~~~~~~~ ~~~~~~~~~ rvm_private.h:1513:6: note: declared here 1513 | long open_dev(); /* [rvm_io.c] */ | ^~~~~~~~ rvm_utils.c:960:38: error: too many arguments to function ‘alloc_list_entry’; expected 0, have 1 960 | new_rvm_region = (rvm_region_t *)alloc_list_entry(region_rvm_id); | ^~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~ rvm_utils.c:239:15: note: declared here 239 | list_entry_t *alloc_list_entry(id) | ^~~~~~~~~~~~~~~~ rvm_utils.c: In function ‘rvm_malloc_statistics’: rvm_logrecovr.c:1656:5: error: too many arguments to function ‘free_dev_region’; expected 0, have 1 1656 | free_dev_region(node); | ^~~~~~~~~~~~~~~ ~~~~ rvm_private.h:1248:6: note: declared here 1248 | void free_dev_region(); /* [rvm_utils.c] */ | ^~~~~~~~~~~~~~~ rvm_logstatus.c:1096:9: error: too many arguments to function ‘write_dev’; expected 0, have 5 1096 | if (write_dev(&log->dev,&offset,end_mark, | ^~~~~~~~~ ~~~~~~~~~ rvm_private.h:1530:6: note: declared here 1530 | long write_dev(); /* [rvm_io.c] */ | ^~~~~~~~~ rvm_logrecovr.c: In function ‘do_nv’: rvm_utils.c:975:26: error: too many arguments to function ‘alloc_list_entry’; expected 0, have 1 975 | alloc_list_entry(statistics_rvm_id); | ^~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~ rvm_utils.c:239:15: note: declared here 239 | list_entry_t *alloc_list_entry(id) | ^~~~~~~~~~~~~~~~ rvm_utils.c: In function ‘rvm_free_statistics’: rvm_logstatus.c:1104:14: error: too many arguments to function ‘init_log_status’; expected 0, have 1 1104 | retval = init_log_status(log); | ^~~~~~~~~~~~~~~ ~~~ rvm_logrecovr.c:1661:21: warning: old-style function definition [-Wold-style-definition] 1661 | static rvm_return_t do_nv(log,nv) | ^~~~~ rvm_logstatus.c:578:14: note: declared here 578 | rvm_return_t init_log_status(log) | ^~~~~~~~~~~~~~~ rvm_utils.c:984:6: warning: old-style function definition [-Wold-style-definition] 984 | void rvm_free_statistics(rvm_statistics) | ^~~~~~~~~~~~~~~~~~~ rvm_utils.c: In function ‘rvm_init_statistics’: rvm_utils.c:991:6: warning: old-style function definition [-Wold-style-definition] 991 | void rvm_init_statistics(rvm_statistics) | ^~~~~~~~~~~~~~~~~~~ rvm_utils.c: In function ‘rvm_copy_statistics’: rvm_logstatus.c:1110:15: error: too many arguments to function ‘close_dev’; expected 0, have 1 1110 | (void)close_dev(&log->dev); | ^~~~~~~~~ ~~~~~~~~~ rvm_private.h:1519:6: note: declared here 1519 | long close_dev(); /* [rvm_io.c] */ | ^~~~~~~~~ rvm_utils.c:1001:19: warning: old-style function definition [-Wold-style-definition] 1001 | rvm_statistics_t *rvm_copy_statistics(rvm_statistics) | ^~~~~~~~~~~~~~~~~~~ rvm_logrecovr.c:1691:17: error: too many arguments to function ‘enter_seg_dict’; expected 0, have 2 1691 | if ((retval=enter_seg_dict(log,nv->seg_code)) != RVM_SUCCESS) | ^~~~~~~~~~~~~~ ~~~ rvm_logstatus.c:1121:5: error: too many arguments to function ‘free_log’; expected 0, have 1 1121 | free_log(log); | ^~~~~~~~ ~~~ rvm_private.h:1206:6: note: declared here 1206 | void free_log(); /* [rvm_utils.c] */ | ^~~~~~~~ rvm_utils.c:1010:29: error: too many arguments to function ‘alloc_list_entry’; expected 0, have 1 1010 | (rvm_statistics_t *)alloc_list_entry(statistics_rvm_id); | ^~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~ rvm_utils.c:239:15: note: declared here 239 | list_entry_t *alloc_list_entry(id) | ^~~~~~~~~~~~~~~~ rvm_utils.c: In function ‘rvm_malloc_options’: rvm_logrecovr.c:1417:14: note: declared here 1417 | rvm_return_t enter_seg_dict(log,seg_code) | ^~~~~~~~~~~~~~ rvm_utils.c:1027:9: error: too many arguments to function ‘alloc_list_entry’; expected 0, have 1 1027 | alloc_list_entry(options_rvm_id); | ^~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~ rvm_utils.c:239:15: note: declared here 239 | list_entry_t *alloc_list_entry(id) | ^~~~~~~~~~~~~~~~ rvm_utils.c: In function ‘rvm_free_options’: rvm_utils.c:1036:6: warning: old-style function definition [-Wold-style-definition] 1036 | void rvm_free_options(rvm_options) | ^~~~~~~~~~~~~~~~ rvm_utils.c: In function ‘rvm_init_options’: rvm_utils.c:1054:7: warning: old-style function definition [-Wold-style-definition] 1054 | void rvm_init_options(rvm_options) | ^~~~~~~~~~~~~~~~ rvm_utils.c: In function ‘rvm_copy_options’: rvm_utils.c:1071:16: warning: old-style function definition [-Wold-style-definition] 1071 | rvm_options_t *rvm_copy_options(rvm_options) | ^~~~~~~~~~~~~~~~ rvm_logrecovr.c:1731:17: error: too many arguments to function ‘change_tree_insert’; expected 0, have 2 1731 | if ((retval=change_tree_insert(seg_dict,node)) != RVM_SUCCESS) | ^~~~~~~~~~~~~~~~~~ ~~~~~~~~ rvm_utils.c:1080:9: error: too many arguments to function ‘alloc_list_entry’; expected 0, have 1 1080 | alloc_list_entry(options_rvm_id); | ^~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~ rvm_utils.c:239:15: note: declared here 239 | list_entry_t *alloc_list_entry(id) | ^~~~~~~~~~~~~~~~ rvm_logrecovr.c:1507:15: note: declared here 1507 | rvm_return_t change_tree_insert(seg_dict,node) | ^~~~~~~~~~~~~~~~~~ rvm_utils.c: In function ‘rvm_malloc_tid’: rvm_utils.c:1096:32: error: too many arguments to function ‘alloc_list_entry’; expected 0, have 1 1096 | new_rvm_tid = (rvm_tid_t *)alloc_list_entry(tid_rvm_id); | ^~~~~~~~~~~~~~~~ ~~~~~~~~~~ rvm_utils.c:239:15: note: declared here 239 | list_entry_t *alloc_list_entry(id) | ^~~~~~~~~~~~~~~~ rvm_utils.c: In function ‘rvm_free_tid’: rvm_utils.c:1105:6: warning: old-style function definition [-Wold-style-definition] 1105 | void rvm_free_tid(rvm_tid) | ^~~~~~~~~~~~ rvm_logrecovr.c:1740:21: error: too many arguments to function ‘scan_nv_reverse’; expected 0, have 2 1740 | if ((retval=scan_nv_reverse(log,SYNCH)) != RVM_SUCCESS) | ^~~~~~~~~~~~~~~ ~~~ rvm_logrecovr.c:712:14: note: declared here 712 | rvm_return_t scan_nv_reverse(log,synch) | ^~~~~~~~~~~~~~~ rvm_utils.c:1108:11: error: too many arguments to function ‘bad_tid’; expected 0, have 1 1108 | if ((!bad_tid(rvm_tid))&&(free_lists_inited)&& | ^~~~~~~ ~~~~~~~ rvm_private.h:1633:14: note: declared here 1633 | rvm_return_t bad_tid(); /* [rvm_trans.c] */ | ^~~~~~~ rvm_utils.c: In function ‘rvm_copy_tid’: rvm_logrecovr.c: In function ‘do_trans’: rvm_utils.c:1121:12: warning: old-style function definition [-Wold-style-definition] 1121 | rvm_tid_t *rvm_copy_tid(rvm_tid) | ^~~~~~~~~~~~ make[2]: *** [Makefile:607: librvmlwp_la-rvm_logstatus.lo] Error 1 rvm_logrecovr.c:1750:21: warning: old-style function definition [-Wold-style-definition] 1750 | static rvm_return_t do_trans(log,skip_trans) | ^~~~~~~~ rvm_utils.c:1126:9: error: too many arguments to function ‘bad_tid’; expected 0, have 1 1126 | if (bad_tid(rvm_tid)) return NULL; | ^~~~~~~ ~~~~~~~ rvm_private.h:1633:14: note: declared here 1633 | rvm_return_t bad_tid(); /* [rvm_trans.c] */ | ^~~~~~~ rvm_utils.c:1129:32: error: too many arguments to function ‘alloc_list_entry’; expected 0, have 1 1129 | new_rvm_tid = (rvm_tid_t *)alloc_list_entry(tid_rvm_id); | ^~~~~~~~~~~~~~~~ ~~~~~~~~~~ rvm_utils.c:239:15: note: declared here 239 | list_entry_t *alloc_list_entry(id) | ^~~~~~~~~~~~~~~~ rvm_logrecovr.c:1774:21: error: too many arguments to function ‘scan_nv_reverse’; expected 0, have 2 1774 | if ((retval=scan_nv_reverse(log,SYNCH)) != RVM_SUCCESS) | ^~~~~~~~~~~~~~~ ~~~ rvm_utils.c: In function ‘rvm_return’: rvm_logrecovr.c:712:14: note: declared here 712 | rvm_return_t scan_nv_reverse(log,synch) | ^~~~~~~~~~~~~~~ rvm_utils.c:1161:7: warning: old-style function definition [-Wold-style-definition] 1161 | char *rvm_return(code) | ^~~~~~~~~~ rvm_utils.c: In function ‘rvm_mode’: rvm_utils.c:1172:7: warning: old-style function definition [-Wold-style-definition] 1172 | char *rvm_mode(mode) | ^~~~~~~~ rvm_utils.c: In function ‘rvm_type’: rvm_utils.c:1181:7: warning: old-style function definition [-Wold-style-definition] 1181 | char *rvm_type(id) | ^~~~~~~~ rvm_utils.c: In function ‘zero_pad_word’: rvm_logrecovr.c: In function ‘chk_wrap’: rvm_utils.c:1193:14: warning: old-style function definition [-Wold-style-definition] 1193 | rvm_length_t zero_pad_word(word,addr,leading) | ^~~~~~~~~~~~~ rvm_utils.c:1197:5: error: number of arguments doesn’t match prototype 1197 | { | ^ rvm_logrecovr.c:1808:21: warning: old-style function definition [-Wold-style-definition] 1808 | static rvm_return_t chk_wrap(log,force_wrap_chk,skip_trans) | ^~~~~~~~ rvm_private.h:1684:14: error: prototype declaration 1684 | rvm_length_t zero_pad_word(); /* rvm_utils.c */ | ^~~~~~~~~~~~~ rvm_utils.c: In function ‘chk_sum’: rvm_utils.c:1218:14: warning: old-style function definition [-Wold-style-definition] 1218 | rvm_length_t chk_sum(nvaddr,len) | ^~~~~~~ rvm_utils.c:1221:5: error: number of arguments doesn’t match prototype 1221 | { | ^ rvm_private.h:1679:14: error: prototype declaration 1679 | rvm_length_t chk_sum(); /* rvm_utils.c */ | ^~~~~~~ rvm_logrecovr.c:1840:22: error: too many arguments to function ‘load_aux_buf’; expected 0, have 7 1840 | retval = load_aux_buf(log,&offset,sizeof(trans_hdr_t), | ^~~~~~~~~~~~ ~~~ rvm_logrecovr.c:404:14: note: declared here 404 | rvm_return_t load_aux_buf(log,log_offset,length,aux_ptr, | ^~~~~~~~~~~~ rvm_utils.c:1234:15: error: too many arguments to function ‘zero_pad_word’; expected 0, have 3 1234 | chk_sum = zero_pad_word(*base,nvaddr,rvm_true); | ^~~~~~~~~~~~~ ~~~~~ rvm_utils.c:1193:14: note: declared here 1193 | rvm_length_t zero_pad_word(word,addr,leading) | ^~~~~~~~~~~~~ rvm_utils.c:1236:20: error: too many arguments to function ‘zero_pad_word’; expected 0, have 3 1236 | chk_sum += zero_pad_word(base[length],&nvaddr[len-1],rvm_false); | ^~~~~~~~~~~~~ ~~~~~~~~~~~~ rvm_utils.c:1193:14: note: declared here 1193 | rvm_length_t zero_pad_word(word,addr,leading) | ^~~~~~~~~~~~~ rvm_logrecovr.c:1886:17: error: too many arguments to function ‘scan_reverse’; expected 0, have 2 1886 | if ((retval=scan_reverse(log,SYNCH)) != RVM_SUCCESS) | ^~~~~~~~~~~~ ~~~ rvm_utils.c: In function ‘src_aligned_bcopy’: rvm_logrecovr.c:1036:14: note: declared here 1036 | rvm_return_t scan_reverse(log,synch) | ^~~~~~~~~~~~ rvm_utils.c:1246:6: warning: old-style function definition [-Wold-style-definition] 1246 | void src_aligned_bcopy(src,dest,len) | ^~~~~~~~~~~~~~~~~ rvm_utils.c:1250:5: error: number of arguments doesn’t match prototype 1250 | { | ^ rvm_private.h:1690:6: error: prototype declaration 1690 | void src_aligned_bcopy(); /* rvm_utils.c */ | ^~~~~~~~~~~~~~~~~ rvm_utils.c: In function ‘dest_aligned_bcopy’: rvm_utils.c:1260:6: warning: old-style function definition [-Wold-style-definition] 1260 | void dest_aligned_bcopy(src,dest,len) | ^~~~~~~~~~~~~~~~~~ rvm_utils.c:1264:5: error: number of arguments doesn’t match prototype 1264 | { | ^ rvm_private.h:1696:6: error: prototype declaration 1696 | void dest_aligned_bcopy(); /* rvm_utils.c */ | ^~~~~~~~~~~~~~~~~~ rvm_utils.c: In function ‘init_rw_lock’: rvm_logrecovr.c:1899:17: error: too many arguments to function ‘scan_reverse’; expected 0, have 2 1899 | if ((retval=scan_reverse(log,SYNCH)) != RVM_SUCCESS) | ^~~~~~~~~~~~ ~~~ rvm_utils.c:1274:6: warning: old-style function definition [-Wold-style-definition] 1274 | void init_rw_lock(rwl) | ^~~~~~~~~~~~ rvm_logrecovr.c:1036:14: note: declared here 1036 | rvm_return_t scan_reverse(log,synch) | ^~~~~~~~~~~~ rvm_utils.c:1276:5: error: number of arguments doesn’t match prototype 1276 | { | ^ rvm_private.h:1564:6: error: prototype declaration 1564 | void init_rw_lock(); | ^~~~~~~~~~~~ rvm_utils.c:1279:5: error: too many arguments to function ‘init_list_header’; expected 0, have 2 1279 | init_list_header(&rwl->queue,rw_qentry_id); | ^~~~~~~~~~~~~~~~ ~~~~~~~~~~~ rvm_utils.c:88:6: note: declared here 88 | void init_list_header(whichlist,struct_id) | ^~~~~~~~~~~~~~~~ rvm_utils.c: In function ‘rw_lock_clear’: rvm_utils.c:1286:6: warning: old-style function definition [-Wold-style-definition] 1286 | void rw_lock_clear(rwl) | ^~~~~~~~~~~~~ rvm_logrecovr.c:1934:17: error: too many arguments to function ‘init_buffer’; expected 0, have 4 1934 | if ((retval=init_buffer(log,&end_offset,REVERSE,SYNCH)) | ^~~~~~~~~~~ ~~~ rvm_logrecovr.c:179:14: note: declared here 179 | rvm_return_t init_buffer(log,offset,direction,synch) | ^~~~~~~~~~~ rvm_utils.c:1288:5: error: number of arguments doesn’t match prototype 1288 | { | ^ rvm_private.h:1576:6: error: prototype declaration 1576 | void rw_lock_clear(); | ^~~~~~~~~~~~~ rvm_utils.c: In function ‘rw_lock’: rvm_logrecovr.c: In function ‘build_tree’: rvm_utils.c:1298:7: warning: old-style function definition [-Wold-style-definition] 1298 | void rw_lock(rwl,mode) | ^~~~~~~ rvm_logrecovr.c:1948:21: warning: old-style function definition [-Wold-style-definition] 1948 | static rvm_return_t build_tree(log) | ^~~~~~~~~~ rvm_utils.c:1301:5: error: number of arguments doesn’t match prototype 1301 | { | ^ rvm_private.h:1554:6: error: prototype declaration 1554 | void rw_lock(); | ^~~~~~~ rvm_utils.c: In function ‘rw_unlock’: rvm_utils.c:1348:7: warning: old-style function definition [-Wold-style-definition] 1348 | void rw_unlock(rwl,mode) | ^~~~~~~~~ rvm_utils.c:1351:5: error: number of arguments doesn’t match prototype 1351 | { | ^ rvm_private.h:1559:6: error: prototype declaration 1559 | void rw_unlock(); | ^~~~~~~~~ rvm_utils.c: In function ‘chk_traverse’: rvm_logrecovr.c:1968:5: error: too many arguments to function ‘reset_hdr_chks’; expected 0, have 1 1968 | reset_hdr_chks(log); | ^~~~~~~~~~~~~~ ~~~ rvm_logrecovr.c:557:6: note: declared here 557 | void reset_hdr_chks(log) | ^~~~~~~~~~~~~~ rvm_utils.c:1424:13: warning: old-style function definition [-Wold-style-definition] 1424 | static void chk_traverse(tree) | ^~~~~~~~~~~~ rvm_utils.c: In function ‘init_tree_root’: rvm_utils.c:1444:6: warning: old-style function definition [-Wold-style-definition] 1444 | void init_tree_root(root) | ^~~~~~~~~~~~~~ rvm_logrecovr.c:1970:5: error: too many arguments to function ‘clear_aux_buf’; expected 0, have 1 1970 | clear_aux_buf(log); | ^~~~~~~~~~~~~ ~~~ rvm_utils.c:1446:5: error: number of arguments doesn’t match prototype 1446 | { | ^ rvm_private.h:1568:6: error: prototype declaration 1568 | void init_tree_root(); /* [rvm_utils.c] */ | ^~~~~~~~~~~~~~ rvm_utils.c: In function ‘clear_tree_root’: rvm_logrecovr.c:512:6: note: declared here 512 | void clear_aux_buf(log) | ^~~~~~~~~~~~~ rvm_utils.c:1457:6: warning: old-style function definition [-Wold-style-definition] 1457 | void clear_tree_root(root) | ^~~~~~~~~~~~~~~ rvm_utils.c:1459:5: error: number of arguments doesn’t match prototype 1459 | { | ^ rvm_private.h:1572:6: error: prototype declaration 1572 | void clear_tree_root(); /* [rvm_utils.c] */ | ^~~~~~~~~~~~~~~ rvm_utils.c: In function ‘get_depth’: rvm_logrecovr.c:1973:18: error: too many arguments to function ‘init_buffer’; expected 0, have 4 1973 | retval = init_buffer(log,&status->log_start, FORWARD,SYNCH); | ^~~~~~~~~~~ ~~~ rvm_logrecovr.c:179:14: note: declared here 179 | rvm_return_t init_buffer(log,offset,direction,synch) | ^~~~~~~~~~~ rvm_utils.c:1470:12: warning: old-style function definition [-Wold-style-definition] 1470 | static int get_depth(node,n_nodes) | ^~~~~~~~~ rvm_utils.c: In function ‘tree_lookup’: rvm_logrecovr.c:1975:18: error: too many arguments to function ‘init_buffer’; expected 0, have 4 1975 | retval = init_buffer(log,&status->prev_log_tail, REVERSE,SYNCH); | ^~~~~~~~~~~ ~~~ rvm_logrecovr.c:179:14: note: declared here 179 | rvm_return_t init_buffer(log,offset,direction,synch) | ^~~~~~~~~~~ rvm_utils.c:1507:14: warning: old-style function definition [-Wold-style-definition] 1507 | tree_node_t *tree_lookup(tree,node,cmp) | ^~~~~~~~~~~ rvm_utils.c:1511:5: error: number of arguments doesn’t match prototype 1511 | { | ^ rvm_private.h:1581:14: error: prototype declaration 1581 | tree_node_t *tree_lookup(); /* [rvm_utils.c] */ | ^~~~~~~~~~~ rvm_logrecovr.c:1986:21: error: too many arguments to function ‘scan_reverse’; expected 0, have 2 1986 | if ((retval=scan_reverse(log,SYNCH)) != RVM_SUCCESS) | ^~~~~~~~~~~~ ~~~ rvm_utils.c:1521:18: error: too many arguments to function ‘cmp’; expected 0, have 2 1521 | switch ((*cmp)(node,cur)) | ~^~~~~ ~~~~ rvm_utils.c: In function ‘insert_rotate’: rvm_logrecovr.c:1036:14: note: declared here 1036 | rvm_return_t scan_reverse(log,synch) | ^~~~~~~~~~~~ rvm_utils.c:1538:13: warning: old-style function definition [-Wold-style-definition] 1538 | static void insert_rotate(tree,bal_pnt,bal_pnt_par,sub_root,new_bf) | ^~~~~~~~~~~~~ rvm_utils.c: In function ‘tree_insert’: rvm_utils.c:1627:12: warning: old-style function definition [-Wold-style-definition] 1627 | rvm_bool_t tree_insert(tree,node,cmp) | ^~~~~~~~~~~ rvm_logrecovr.c:1993:18: error: too many arguments to function ‘rvm_chk_sigint’; expected 0, have 1 1993 | if ((*rvm_chk_sigint)(NULL)) return RVM_SUCCESS; | ~^~~~~~~~~~~~~~~~ ~~~~ rvm_utils.c:1631:5: error: number of arguments doesn’t match prototype 1631 | { | ^ rvm_private.h:1587:12: error: prototype declaration 1587 | rvm_bool_t tree_insert(); /* [rvm_utils.c] */ | ^~~~~~~~~~~ rvm_utils.c:1668:22: error: too many arguments to function ‘cmp’; expected 0, have 2 1668 | switch (val=(*cmp)(node,cur)) | ~^~~~~ ~~~~ rvm_logrecovr.c:2023:29: error: too many arguments to function ‘def_seg_dict’; expected 0, have 2 2023 | if ((retval=def_seg_dict(log,(rec_hdr_t *) | ^~~~~~~~~~~~ ~~~ rvm_logrecovr.c:1451:14: note: declared here 1451 | rvm_return_t def_seg_dict(log,rec_hdr) | ^~~~~~~~~~~~ rvm_utils.c:1687:18: error: too many arguments to function ‘cmp’; expected 0, have 2 1687 | if ((new_bf=(*cmp)(node,last_unbal)) == 1) | ~^~~~~ ~~~~ rvm_logrecovr.c: In function ‘pre_scan’: rvm_logrecovr.c:2047:22: warning: old-style function definition [-Wold-style-definition] 2047 | static dev_region_t *pre_scan(log,tree) | ^~~~~~~~ rvm_utils.c:1697:23: error: too many arguments to function ‘cmp’; expected 0, have 2 1697 | if ((cur->bf=(*cmp)(node,cur)) == 1) | ~^~~~~ ~~~~ rvm_utils.c: In function ‘delete_rotate’: rvm_private.h:146:5: error: too many arguments to function ‘rvm_rnd_offset_to_sector’; expected 0, have 1 146 | rvm_rnd_offset_to_sector(&(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ rvm_logrecovr.c:2077:16: note: in expansion of macro ‘ROUND_OFFSET_TO_SECTOR_SIZE’ 2077 | temp = ROUND_OFFSET_TO_SECTOR_SIZE(temp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ rvm_private.h:1704:14: note: declared here 1704 | rvm_offset_t rvm_rnd_offset_to_sector(); /* [rvm_utils.c] */ | ^~~~~~~~~~~~~~~~~~~~~~~~ rvm_utils.c:1723:19: warning: old-style function definition [-Wold-style-definition] 1723 | static rvm_bool_t delete_rotate(tree,bal_pnt,bal_pnt_par,sub_root,new_bf) | ^~~~~~~~~~~~~ rvm_logrecovr.c: In function ‘disk_merge’: rvm_logrecovr.c:2093:21: warning: old-style function definition [-Wold-style-definition] 2093 | static rvm_return_t disk_merge(log,node,preload) | ^~~~~~~~~~ rvm_utils.c: In function ‘tree_delete’: rvm_utils.c:1827:12: warning: old-style function definition [-Wold-style-definition] 1827 | rvm_bool_t tree_delete(tree,node,cmp) | ^~~~~~~~~~~ rvm_utils.c:1831:5: error: number of arguments doesn’t match prototype 1831 | { | ^ rvm_private.h:1593:12: error: prototype declaration 1593 | rvm_bool_t tree_delete(); /* [rvm_utils.c] */ | ^~~~~~~~~~~ rvm_logrecovr.c:2131:25: error: too many arguments to function ‘load_aux_buf’; expected 0, have 7 2131 | if ((retval=load_aux_buf(log,&node->log_offset,rw_length, | ^~~~~~~~~~~~ ~~~ rvm_logrecovr.c:404:14: note: declared here 404 | rvm_return_t load_aux_buf(log,log_offset,length,aux_ptr, | ^~~~~~~~~~~~ rvm_utils.c:1849:18: error: too many arguments to function ‘cmp’; expected 0, have 2 1849 | switch ((*cmp)(node,cur)) | ~^~~~~ ~~~~ rvm_logrecovr.c:2156:32: error: too many arguments to function ‘read_dev’; expected 0, have 4 2156 | if ((rw_length=read_dev(log->cur_seg_dev,&end_offset, | ^~~~~~~~ ~~~~~~~~~~~~~~~~ rvm_private.h:1523:6: note: declared here 1523 | long read_dev(); /* [rvm_io.c] */ | ^~~~~~~~ rvm_utils.c: In function ‘tree_successor’: rvm_utils.c:2001:14: warning: old-style function definition [-Wold-style-definition] 2001 | tree_node_t *tree_successor(tree) | ^~~~~~~~~~~~~~ rvm_logrecovr.c:2206:24: error: too many arguments to function ‘write_dev’; expected 0, have 5 2206 | if ((rw_length=write_dev(log->cur_seg_dev,&log_buf->offset, | ^~~~~~~~~ ~~~~~~~~~~~~~~~~ rvm_private.h:1530:6: note: declared here 1530 | long write_dev(); /* [rvm_io.c] */ | ^~~~~~~~~ rvm_utils.c:2003:5: error: number of arguments doesn’t match prototype 2003 | { | ^ rvm_private.h:1611:14: error: prototype declaration 1611 | tree_node_t *tree_successor(); /* [rvm_utils.c] */ | ^~~~~~~~~~~~~~ rvm_logrecovr.c: In function ‘merge_node’: rvm_utils.c: In function ‘tree_predecessor’: rvm_logrecovr.c:2232:21: warning: old-style function definition [-Wold-style-definition] 2232 | static rvm_return_t merge_node(log,node,preload) | ^~~~~~~~~~ rvm_utils.c:2064:14: warning: old-style function definition [-Wold-style-definition] 2064 | tree_node_t *tree_predecessor(tree) | ^~~~~~~~~~~~~~~~ rvm_utils.c:2066:5: error: number of arguments doesn’t match prototype 2066 | { | ^ rvm_private.h:1616:14: error: prototype declaration 1616 | tree_node_t *tree_predecessor(); /* [rvm_utils.c] */ | ^~~~~~~~~~~~~~~~ rvm_logrecovr.c:2251:9: error: too many arguments to function ‘dest_aligned_bcopy’; expected 0, have 3 2251 | dest_aligned_bcopy(node->nv_ptr,&log_buf->buf[temp], | ^~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~ rvm_private.h:1696:6: note: declared here 1696 | void dest_aligned_bcopy(); /* rvm_utils.c */ | ^~~~~~~~~~~~~~~~~~ rvm_utils.c: In function ‘init_tree_generator’: rvm_logrecovr.c:2259:12: error: too many arguments to function ‘free_dev_region’; expected 0, have 1 2259 | (void) free_dev_region(node); | ^~~~~~~~~~~~~~~ ~~~~ rvm_private.h:1248:6: note: declared here 1248 | void free_dev_region(); /* [rvm_utils.c] */ | ^~~~~~~~~~~~~~~ rvm_logrecovr.c: In function ‘update_seg’: rvm_utils.c:2127:14: warning: old-style function definition [-Wold-style-definition] 2127 | tree_node_t *init_tree_generator(tree,direction,unlink) | ^~~~~~~~~~~~~~~~~~~ rvm_utils.c:2131:5: error: number of arguments doesn’t match prototype 2131 | { | ^ rvm_logrecovr.c:2273:21: warning: old-style function definition [-Wold-style-definition] 2273 | static rvm_return_t update_seg(log,seg_dict,seg_dev) | ^~~~~~~~~~ rvm_private.h:1599:14: error: prototype declaration 1599 | tree_node_t *init_tree_generator(); /* [rvm_utils.c] */ | ^~~~~~~~~~~~~~~~~~~ rvm_utils.c:2141:16: error: too many arguments to function ‘tree_successor’; expected 0, have 1 2141 | return tree_successor(tree); | ^~~~~~~~~~~~~~ ~~~~ rvm_logrecovr.c:2296:5: error: too many arguments to function ‘clear_aux_buf’; expected 0, have 1 2296 | clear_aux_buf(log); | ^~~~~~~~~~~~~ ~~~ rvm_logrecovr.c:512:6: note: declared here 512 | void clear_aux_buf(log) | ^~~~~~~~~~~~~ rvm_utils.c:2001:14: note: declared here 2001 | tree_node_t *tree_successor(tree) | ^~~~~~~~~~~~~~ rvm_private.h:146:5: error: too many arguments to function ‘rvm_rnd_offset_to_sector’; expected 0, have 1 146 | rvm_rnd_offset_to_sector(&(x)) | ^~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ rvm_logrecovr.c:2315:16: note: in expansion of macro ‘ROUND_OFFSET_TO_SECTOR_SIZE’ 2315 | temp = ROUND_OFFSET_TO_SECTOR_SIZE(temp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ rvm_private.h:1704:14: note: declared here 1704 | rvm_offset_t rvm_rnd_offset_to_sector(); /* [rvm_utils.c] */ | ^~~~~~~~~~~~~~~~~~~~~~~~ rvm_utils.c:2143:16: error: too many arguments to function ‘tree_predecessor’; expected 0, have 1 2143 | return tree_predecessor(tree); | ^~~~~~~~~~~~~~~~ ~~~~ rvm_utils.c:2064:14: note: declared here 2064 | tree_node_t *tree_predecessor(tree) | ^~~~~~~~~~~~~~~~ rvm_utils.c: In function ‘tree_iterate_insert’: rvm_logrecovr.c:2340:23: error: too many arguments to function ‘read_dev’; expected 0, have 4 2340 | if ((r_length=read_dev(seg_dev,&log_buf->offset, | ^~~~~~~~ ~~~~~~~ rvm_private.h:1523:6: note: declared here 1523 | long read_dev(); /* [rvm_io.c] */ | ^~~~~~~~ rvm_utils.c:2146:14: warning: old-style function definition [-Wold-style-definition] 2146 | tree_node_t *tree_iterate_insert(tree,node,cmp) | ^~~~~~~~~~~~~~~~~~~ rvm_private.h:547:26: error: too many arguments to function ‘init_tree_generator’; expected 0, have 3 547 | (ptr) = (type *)init_tree_generator(&(tree),FORWARD,rvm_true); \ | ^~~~~~~~~~~~~~~~~~~ ~~~~~~~ rvm_logrecovr.c:2353:9: note: in expansion of macro ‘UNLINK_NODES_OF’ 2353 | UNLINK_NODES_OF(seg_dict->mod_tree,dev_region_t,node) | ^~~~~~~~~~~~~~~ rvm_private.h:1599:14: note: declared here 1599 | tree_node_t *init_tree_generator(); /* [rvm_utils.c] */ | ^~~~~~~~~~~~~~~~~~~ rvm_utils.c:2150:5: error: number of arguments doesn’t match prototype 2150 | { | ^ rvm_private.h:1605:14: error: prototype declaration 1605 | tree_node_t *tree_iterate_insert(); /* [rvm_utils.c] */ | ^~~~~~~~~~~~~~~~~~~ rvm_private.h:549:26: error: too many arguments to function ‘tree_successor’; expected 0, have 1 549 | (ptr) = (type *)tree_successor(&(tree)) \ | ^~~~~~~~~~~~~~ ~~~~~~~ rvm_logrecovr.c:2353:9: note: in expansion of macro ‘UNLINK_NODES_OF’ 2353 | UNLINK_NODES_OF(seg_dict->mod_tree,dev_region_t,node) | ^~~~~~~~~~~~~~~ rvm_private.h:1611:14: note: declared here 1611 | tree_node_t *tree_successor(); /* [rvm_utils.c] */ | ^~~~~~~~~~~~~~ rvm_utils.c:2157:9: error: too many arguments to function ‘tree_insert’; expected 0, have 3 2157 | if (tree_insert(tree,node,cmp)) | ^~~~~~~~~~~ ~~~~ rvm_utils.c:1627:12: note: declared here 1627 | rvm_bool_t tree_insert(tree,node,cmp) | ^~~~~~~~~~~ rvm_logrecovr.c:2372:22: error: too many arguments to function ‘rvm_chk_sigint’; expected 0, have 1 2372 | if ((*rvm_chk_sigint)(NULL)) goto err_exit; | ~^~~~~~~~~~~~~~~~ ~~~~ rvm_utils.c:2165:18: error: too many arguments to function ‘cmp’; expected 0, have 2 2165 | switch ((*cmp)(cur,node)) | ~^~~~~ ~~~ rvm_utils.c: In function ‘enter_histogram’: rvm_logrecovr.c:2377:23: error: too many arguments to function ‘write_dev’; expected 0, have 5 2377 | if ((r_length=write_dev(seg_dev,&log_buf->offset,log_buf->buf, | ^~~~~~~~~ ~~~~~~~ rvm_private.h:1530:6: note: declared here 1530 | long write_dev(); /* [rvm_io.c] */ | ^~~~~~~~~ rvm_utils.c:2187:6: warning: old-style function definition [-Wold-style-definition] 2187 | void enter_histogram(val,histo,histo_def,length) | ^~~~~~~~~~~~~~~ rvm_logrecovr.c: In function ‘apply_mods’: rvm_utils.c:2192:5: error: number of arguments doesn’t match prototype 2192 | { | ^ rvm_private.h:1663:6: error: prototype declaration 1663 | void enter_histogram(); /* [rvm_utils] */ | ^~~~~~~~~~~~~~~ rvm_utils.c: In function ‘rvm_mk_offset’: rvm_logrecovr.c:2414:14: warning: old-style function definition [-Wold-style-definition] 2414 | rvm_return_t apply_mods(log) | ^~~~~~~~~~ rvm_utils.c:2210:14: warning: old-style function definition [-Wold-style-definition] 2210 | rvm_offset_t rvm_mk_offset(x,y) | ^~~~~~~~~~~~~ rvm_utils.c: In function ‘rvm_add_length_to_offset’: rvm_logrecovr.c:2416:5: error: number of arguments doesn’t match prototype 2416 | { | ^ rvm_private.h:1467:14: error: prototype declaration 1467 | rvm_return_t apply_mods(); /* [rvm_logrecovr.c] */ | ^~~~~~~~~~ rvm_utils.c:2223:14: warning: old-style function definition [-Wold-style-definition] 2223 | rvm_offset_t rvm_add_length_to_offset(offset,length) | ^~~~~~~~~~~~~~~~~~~~~~~~ rvm_utils.c: In function ‘rvm_sub_length_from_offset’: rvm_utils.c:2238:14: warning: old-style function definition [-Wold-style-definition] 2238 | rvm_offset_t rvm_sub_length_from_offset(offset,length) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ rvm_utils.c: In function ‘rvm_add_offsets’: rvm_logrecovr.c:2444:17: error: too many arguments to function ‘open_dev’; expected 0, have 3 2444 | if (open_dev(seg_dev,flags,0) < 0) | ^~~~~~~~ ~~~~~~~ rvm_private.h:1513:6: note: declared here 1513 | long open_dev(); /* [rvm_io.c] */ | ^~~~~~~~ rvm_utils.c:2252:14: warning: old-style function definition [-Wold-style-definition] 2252 | rvm_offset_t rvm_add_offsets(x,y) | ^~~~~~~~~~~~~~~ rvm_utils.c: In function ‘rvm_sub_offsets’: rvm_utils.c:2266:14: warning: old-style function definition [-Wold-style-definition] 2266 | rvm_offset_t rvm_sub_offsets(x,y) | ^~~~~~~~~~~~~~~ rvm_utils.c: In function ‘rvm_rnd_offset_up_to_page’: rvm_logrecovr.c:2449:17: error: too many arguments to function ‘close_dev’; expected 0, have 1 2449 | close_dev(seg_dev); | ^~~~~~~~~ ~~~~~~~ rvm_private.h:1519:6: note: declared here 1519 | long close_dev(); /* [rvm_io.c] */ | ^~~~~~~~~ rvm_utils.c:2281:14: warning: old-style function definition [-Wold-style-definition] 2281 | rvm_offset_t rvm_rnd_offset_up_to_page(x) | ^~~~~~~~~~~~~~~~~~~~~~~~~ rvm_utils.c: In function ‘rvm_rnd_offset_dn_to_page’: rvm_utils.c:2292:14: warning: old-style function definition [-Wold-style-definition] 2292 | rvm_offset_t rvm_rnd_offset_dn_to_page(x) | ^~~~~~~~~~~~~~~~~~~~~~~~~ rvm_utils.c: In function ‘rvm_rnd_offset_to_sector’: rvm_logrecovr.c:2472:17: error: too many arguments to function ‘close_dev’; expected 0, have 1 2472 | if (close_dev(seg_dev) < 0) | ^~~~~~~~~ ~~~~~~~ rvm_private.h:1519:6: note: declared here 1519 | long close_dev(); /* [rvm_io.c] */ | ^~~~~~~~~ rvm_logrecovr.c: In function ‘status_update’: rvm_utils.c:2315:14: warning: old-style function definition [-Wold-style-definition] 2315 | rvm_offset_t rvm_rnd_offset_to_sector(x) | ^~~~~~~~~~~~~~~~~~~~~~~~ rvm_logrecovr.c:2485:21: warning: old-style function definition [-Wold-style-definition] 2485 | static rvm_return_t status_update(log, new_1st_rec_num) | ^~~~~~~~~~~~~ rvm_utils.c:2317:5: error: number of arguments doesn’t match prototype 2317 | { | ^ rvm_private.h:1704:14: error: prototype declaration 1704 | rvm_offset_t rvm_rnd_offset_to_sector(); /* [rvm_utils.c] */ | ^~~~~~~~~~~~~~~~~~~~~~~~ rvm_logrecovr.c:2509:13: error: too many arguments to function ‘clear_log_status’; expected 0, have 1 2509 | clear_log_status(log); /* log empty */ | ^~~~~~~~~~~~~~~~ ~~~ rvm_private.h:415:5: note: in definition of macro ‘CRITICAL’ 415 | body; \ | ^~~~ rvm_private.h:1292:6: note: declared here 1292 | void clear_log_status(); /* [rvm_logstatus.c] */ | ^~~~~~~~~~~~~~~~ rvm_logrecovr.c:2520:20: error: too many arguments to function ‘sub_times’; expected 0, have 2 2520 | end_time = sub_times(&end_time,&trunc_start_time); | ^~~~~~~~~ ~~~~~~~~~ rvm_private.h:415:5: note: in definition of macro ‘CRITICAL’ 415 | body; \ | ^~~~ rvm_private.h:1653:16: note: declared here 1653 | struct timeval sub_times(); /* [rvm_utils.c] */ | ^~~~~~~~~ rvm_logrecovr.c:2522:13: error: too many arguments to function ‘add_times’; expected 0, have 2 2522 | add_times(&status->tot_truncation_time,&end_time); | ^~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rvm_private.h:415:5: note: in definition of macro ‘CRITICAL’ 415 | body; \ | ^~~~ rvm_private.h:1648:16: note: declared here 1648 | struct timeval add_times(); /* [rvm_utils.c] */ | ^~~~~~~~~ rvm_logrecovr.c:2523:40: error: too many arguments to function ‘round_time’; expected 0, have 1 2523 | status->last_truncation_time = round_time(&end_time); | ^~~~~~~~~~ ~~~~~~~~~ rvm_private.h:415:5: note: in definition of macro ‘CRITICAL’ 415 | body; \ | ^~~~ rvm_private.h:1658:6: note: declared here 1658 | long round_time(); /* [rvm_utils.c] */ | ^~~~~~~~~~ rvm_utils.c: At top level: rvm_logrecovr.c:2524:9: error: too many arguments to function ‘enter_histogram’; expected 0, have 4 2524 | enter_histogram(status->last_truncation_time, | ^~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rvm_private.h:415:5: note: in definition of macro ‘CRITICAL’ 415 | body; \ | ^~~~ rvm_utils.c:1470:12: warning: ‘get_depth’ defined but not used [-Wunused-function] 1470 | static int get_depth(node,n_nodes) | ^~~~~~~~~ rvm_private.h:1663:6: note: declared here 1663 | void enter_histogram(); /* [rvm_utils] */ | ^~~~~~~~~~~~~~~ rvm_logrecovr.c:2528:9: error: too many arguments to function ‘enter_histogram’; expected 0, have 4 2528 | enter_histogram(last_tree_build_time, | ^~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~ rvm_private.h:415:5: note: in definition of macro ‘CRITICAL’ 415 | body; \ | ^~~~ rvm_private.h:1663:6: note: declared here 1663 | void enter_histogram(); /* [rvm_utils] */ | ^~~~~~~~~~~~~~~ make[2]: *** [Makefile:628: librvmlwp_la-rvm_utils.lo] Error 1 rvm_logrecovr.c:2532:9: error: too many arguments to function ‘enter_histogram’; expected 0, have 4 2532 | enter_histogram(last_tree_apply_time, | ^~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~ rvm_private.h:415:5: note: in definition of macro ‘CRITICAL’ 415 | body; \ | ^~~~ rvm_private.h:1663:6: note: declared here 1663 | void enter_histogram(); /* [rvm_utils] */ | ^~~~~~~~~~~~~~~ rvm_logrecovr.c:2536:18: error: too many arguments to function ‘write_log_status’; expected 0, have 2 2536 | retval = write_log_status(log,NULL); | ^~~~~~~~~~~~~~~~ ~~~ rvm_private.h:415:5: note: in definition of macro ‘CRITICAL’ 415 | body; \ | ^~~~ rvm_private.h:1304:14: note: declared here 1304 | rvm_return_t write_log_status(); /* [rvm_logstatus.c] */ | ^~~~~~~~~~~~~~~~ rvm_logrecovr.c:2548:9: error: too many arguments to function ‘free_seg_dict_vec’; expected 0, have 1 2548 | free_seg_dict_vec(log); | ^~~~~~~~~~~~~~~~~ ~~~ rvm_private.h:1187:6: note: declared here 1187 | void free_seg_dict_vec(); /* [rvm_utils.c] */ | ^~~~~~~~~~~~~~~~~ rvm_logrecovr.c: In function ‘new_epoch’: rvm_logrecovr.c:2556:21: warning: old-style function definition [-Wold-style-definition] 2556 | static rvm_return_t new_epoch(log,count) | ^~~~~~~~~ rvm_logrecovr.c:2565:9: error: too many arguments to function ‘sync_dev’; expected 0, have 1 2565 | if (sync_dev(&log->dev) < 0) | ^~~~~~~~ ~~~~~~~~~ rvm_private.h:1538:6: note: declared here 1538 | long sync_dev(); /* [rvm_io.c] */ | ^~~~~~~~ rvm_logrecovr.c:2571:5: error: too many arguments to function ‘copy_log_stats’; expected 0, have 1 2571 | copy_log_stats(log); | ^~~~~~~~~~~~~~ ~~~ rvm_private.h:1288:6: note: declared here 1288 | void copy_log_stats(); /* [rvm_logstatus.c] */ | ^~~~~~~~~~~~~~ rvm_logrecovr.c:2580:5: error: too many arguments to function ‘make_uname’; expected 0, have 1 2580 | make_uname(&status->last_trunc); | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~ rvm_private.h:1641:6: note: declared here 1641 | void make_uname(); | ^~~~~~~~~~ rvm_logrecovr.c:2581:17: error: too many arguments to function ‘write_log_status’; expected 0, have 2 2581 | if ((retval=write_log_status(log,NULL)) != RVM_SUCCESS) | ^~~~~~~~~~~~~~~~ ~~~ rvm_private.h:1304:14: note: declared here 1304 | rvm_return_t write_log_status(); /* [rvm_logstatus.c] */ | ^~~~~~~~~~~~~~~~ rvm_logrecovr.c: In function ‘log_recover’: rvm_logrecovr.c:2592:14: warning: old-style function definition [-Wold-style-definition] 2592 | rvm_return_t log_recover(log,count,is_daemon,flag) | ^~~~~~~~~~~ rvm_logrecovr.c:2597:1: error: number of arguments doesn’t match prototype 2597 | { | ^ rvm_private.h:1451:14: error: prototype declaration 1451 | rvm_return_t log_recover(); /* [rvm_logrecovr.c] */ | ^~~~~~~~~~~ rvm_logrecovr.c:2632:29: error: too many arguments to function ‘locate_tail’; expected 0, have 1 2632 | if ((retval=locate_tail(log)) != RVM_SUCCESS) | ^~~~~~~~~~~ ~~~ rvm_private.h:415:5: note: in definition of macro ‘CRITICAL’ 415 | body; \ | ^~~~ rvm_logrecovr.c:2615:9: note: in expansion of macro ‘CRITICAL’ 2615 | CRITICAL(log->dev_lock, /* begin dev_lock crit sec */ | ^~~~~~~~ rvm_logrecovr.c:1213:14: note: declared here 1213 | rvm_return_t locate_tail(log) | ^~~~~~~~~~~ rvm_logrecovr.c:2639:22: error: too many arguments to function ‘rvm_chk_sigint’; expected 0, have 1 2639 | if ((*rvm_chk_sigint)(NULL)) goto err_exit1; | ~^~~~~~~~~~~~~~~~ rvm_private.h:415:5: note: in definition of macro ‘CRITICAL’ 415 | body; \ | ^~~~ rvm_logrecovr.c:2615:9: note: in expansion of macro ‘CRITICAL’ 2615 | CRITICAL(log->dev_lock, /* begin dev_lock crit sec */ | ^~~~~~~~ rvm_logrecovr.c:2671:18: error: too many arguments to function ‘rvm_chk_sigint’; expected 0, have 1 2671 | if ((*rvm_chk_sigint)(NULL)) goto err_exit; | ~^~~~~~~~~~~~~~~~ rvm_private.h:415:5: note: in definition of macro ‘CRITICAL’ 415 | body; \ | ^~~~ rvm_logrecovr.c:2689:24: error: too many arguments to function ‘sub_times’; expected 0, have 2 2689 | end_time = sub_times(&end_time,&tmp_time); | ^~~~~~~~~ ~~~~~~~~~ rvm_private.h:415:5: note: in definition of macro ‘CRITICAL’ 415 | body; \ | ^~~~ rvm_private.h:1653:16: note: declared here 1653 | struct timeval sub_times(); /* [rvm_utils.c] */ | ^~~~~~~~~ rvm_logrecovr.c:2690:36: error: too many arguments to function ‘round_time’; expected 0, have 1 2690 | last_tree_build_time = round_time(&end_time); | ^~~~~~~~~~ ~~~~~~~~~ rvm_private.h:415:5: note: in definition of macro ‘CRITICAL’ 415 | body; \ | ^~~~ rvm_private.h:1658:6: note: declared here 1658 | long round_time(); /* [rvm_utils.c] */ | ^~~~~~~~~~ rvm_logrecovr.c:2692:22: error: too many arguments to function ‘rvm_chk_sigint’; expected 0, have 1 2692 | if ((*rvm_chk_sigint)(NULL)) goto err_exit; | ~^~~~~~~~~~~~~~~~ rvm_private.h:415:5: note: in definition of macro ‘CRITICAL’ 415 | body; \ | ^~~~ rvm_logrecovr.c:2698:25: error: too many arguments to function ‘apply_mods’; expected 0, have 1 2698 | if ((retval=apply_mods(log)) != RVM_SUCCESS) /* phase 3 */ | ^~~~~~~~~~ ~~~ rvm_private.h:415:5: note: in definition of macro ‘CRITICAL’ 415 | body; \ | ^~~~ rvm_logrecovr.c:2414:14: note: declared here 2414 | rvm_return_t apply_mods(log) | ^~~~~~~~~~ rvm_logrecovr.c:2706:24: error: too many arguments to function ‘sub_times’; expected 0, have 2 2706 | end_time = sub_times(&end_time,&tmp_time); | ^~~~~~~~~ ~~~~~~~~~ rvm_private.h:415:5: note: in definition of macro ‘CRITICAL’ 415 | body; \ | ^~~~ rvm_private.h:1653:16: note: declared here 1653 | struct timeval sub_times(); /* [rvm_utils.c] */ | ^~~~~~~~~ rvm_logrecovr.c:2707:36: error: too many arguments to function ‘round_time’; expected 0, have 1 2707 | last_tree_apply_time = round_time(&end_time); | ^~~~~~~~~~ ~~~~~~~~~ rvm_private.h:415:5: note: in definition of macro ‘CRITICAL’ 415 | body; \ | ^~~~ rvm_private.h:1658:6: note: declared here 1658 | long round_time(); /* [rvm_utils.c] */ | ^~~~~~~~~~ rvm_logrecovr.c:2709:22: error: too many arguments to function ‘rvm_chk_sigint’; expected 0, have 1 2709 | if ((*rvm_chk_sigint)(NULL)) goto err_exit; | ~^~~~~~~~~~~~~~~~ rvm_private.h:415:5: note: in definition of macro ‘CRITICAL’ 415 | body; \ | ^~~~ rvm_logrecovr.c: In function ‘rvm_truncate’: rvm_logrecovr.c:2759:21: error: too many arguments to function ‘flush_log’; expected 0, have 2 2759 | if ((retval=flush_log(default_log, | ^~~~~~~~~ ~~~~~~~~~~~ rvm_private.h:1343:14: note: declared here 1343 | rvm_return_t flush_log(); /* [rvm_logflush.c] */ | ^~~~~~~~~ rvm_logrecovr.c:2764:18: error: too many arguments to function ‘log_recover’; expected 0, have 4 2764 | retval = log_recover(default_log, | ^~~~~~~~~~~ ~~~~~~~~~~~ rvm_logrecovr.c:2592:14: note: declared here 2592 | rvm_return_t log_recover(log,count,is_daemon,flag) | ^~~~~~~~~~~ rvm_logrecovr.c: In function ‘initiate_truncation’: rvm_logrecovr.c:2774:12: warning: old-style function definition [-Wold-style-definition] 2774 | rvm_bool_t initiate_truncation(log,threshold) | ^~~~~~~~~~~~~~~~~~~ rvm_logrecovr.c:2777:1: error: number of arguments doesn’t match prototype 2777 | { | ^ rvm_private.h:1441:12: error: prototype declaration 1441 | rvm_bool_t initiate_truncation(); /* [rvm_logrecovr.c] */ | ^~~~~~~~~~~~~~~~~~~ rvm_logrecovr.c: In function ‘wait_for_truncation’: rvm_logrecovr.c:2801:14: warning: old-style function definition [-Wold-style-definition] 2801 | rvm_return_t wait_for_truncation(log,time_stamp) | ^~~~~~~~~~~~~~~~~~~ rvm_logrecovr.c:2804:5: error: number of arguments doesn’t match prototype 2804 | { | ^ rvm_private.h:1446:14: error: prototype declaration 1446 | rvm_return_t wait_for_truncation(); /* [rvm_logrecovr.c] */ | ^~~~~~~~~~~~~~~~~~~ rvm_logrecovr.c:2850:18: error: too many arguments to function ‘log_recover’; expected 0, have 4 2850 | retval = log_recover(log,&log->status.tot_sync_truncation, | ^~~~~~~~~~~ ~~~ rvm_logrecovr.c:2592:14: note: declared here 2592 | rvm_return_t log_recover(log,count,is_daemon,flag) | ^~~~~~~~~~~ rvm_logrecovr.c: At top level: rvm_logrecovr.c:2856:6: error: conflicting types for ‘log_daemon’; have ‘void(void *)’ 2856 | void log_daemon(void *arg) | ^~~~~~~~~~ rvm_private.h:1458:6: note: previous declaration of ‘log_daemon’ with type ‘void(void)’ 1458 | void log_daemon(); /* [rvm_logrecovr.c] */ | ^~~~~~~~~~ rvm_logrecovr.c: In function ‘log_daemon’: rvm_logrecovr.c:2884:22: error: too many arguments to function ‘log_recover’; expected 0, have 4 2884 | retval = log_recover(log,&log->status.tot_async_truncation, | ^~~~~~~~~~~ ~~~ rvm_logrecovr.c:2592:14: note: declared here 2592 | rvm_return_t log_recover(log,count,is_daemon,flag) | ^~~~~~~~~~~ rvm_logrecovr.c:2861:21: warning: variable ‘retval’ set but not used [-Wunused-but-set-variable] 2861 | rvm_return_t retval; | ^~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/rvm-1.17-build/rvm-1.17/rvm' make[2]: *** [Makefile:621: librvmlwp_la-rvm_logrecovr.lo] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/rvm-1.17-build/rvm-1.17' make[1]: *** [Makefile:389: all-recursive] Error 1 make: *** [Makefile:284: all] Error 2 RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.gAeYCd (%build) Bad exit status from /var/tmp/rpm-tmp.gAeYCd (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M df370b2788c34cbf9117ddb9d90e7010 -D /var/lib/mock/f42-build-56890968-6546995/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.c_oir47g:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin \'--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"\' \'--setenv=PS1= \\s-\\v\\$ \' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c \'/usr/bin/rpmbuild -bb --noclean --target ppc64le --nodeps /builddir/build/SPECS/rvm.spec\'\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.13/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.13/site-packages/mockbuild/util.py", line 610, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M df370b2788c34cbf9117ddb9d90e7010 -D /var/lib/mock/f42-build-56890968-6546995/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.c_oir47g:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin '--setenv=PROMPT_COMMAND=printf "\033]0;\007"' '--setenv=PS1= \s-\v\$ ' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c '/usr/bin/rpmbuild -bb --noclean --target ppc64le --nodeps /builddir/build/SPECS/rvm.spec'