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 x86_64 --nodeps /builddir/build/SPECS/atop.spec'], chrootPath='/var/lib/mock/f42-build-56777424-6546092/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.wqt_upp2:/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.wqt_upp2:/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', 'de9f9e5df3c9465f8afade54c94fd451', '-D', '/var/lib/mock/f42-build-56777424-6546092/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.wqt_upp2:/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 x86_64 --nodeps /builddir/build/SPECS/atop.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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1722211200 Wrote: /builddir/build/SRPMS/atop-2.11.0-1.fc42.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/atop.spec'], chrootPath='/var/lib/mock/f42-build-56777424-6546092/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.wqt_upp2:/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.wqt_upp2:/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', '57f953098de945529e6b661b09998444', '-D', '/var/lib/mock/f42-build-56777424-6546092/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.wqt_upp2:/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 x86_64 --nodeps /builddir/build/SPECS/atop.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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1722211200 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.D7MYx0 + umask 022 + cd /builddir/build/BUILD/atop-2.11.0-build + test -d /builddir/build/BUILD/atop-2.11.0-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/atop-2.11.0-build + /usr/bin/rm -rf /builddir/build/BUILD/atop-2.11.0-build + /usr/bin/mkdir -p /builddir/build/BUILD/atop-2.11.0-build + /usr/bin/mkdir -p /builddir/build/BUILD/atop-2.11.0-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.apDZlq + umask 022 + cd /builddir/build/BUILD/atop-2.11.0-build + cd /builddir/build/BUILD/atop-2.11.0-build + rm -rf atop-2.11.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/atop-2.11.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd atop-2.11.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (atop-sysconfig.patch):' Patch #0 (atop-sysconfig.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p0 -b --suffix .sysconfig --fuzz=0 patching file atop.daily Hunk #1 succeeded at 10 (offset 3 lines). + sed -i 's|/etc/default/atop|/etc/sysconfig/atop|g' atop.service + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.qEsErQ + umask 022 + cd /builddir/build/BUILD/atop-2.11.0-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 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + 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 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + 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 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -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 atop-2.11.0 ++ pkg-config --cflags glib-2.0 + make -j48 'CFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I.' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I. -c -o atop.o atop.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I. -c -o version.o version.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I. -c -o various.o various.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I. -c -o deviate.o deviate.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I. -c -o procdbase.o procdbase.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I. -c -o acctproc.o acctproc.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I. -c -o photoproc.o photoproc.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I. -c -o photosyst.o photosyst.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I. -c -o cgroups.o cgroups.c atop.c: In function ‘twinprepare’: atop.c:1314:24: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1314 | (void) read(fdinotify, eventbuf, sizeof eventbuf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I. -c -o rawlog.o rawlog.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I. -c -o ifprop.o ifprop.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I. -c -o parseable.o parseable.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I. -c -o showgeneric.o showgeneric.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I. -c -o drawbar.o drawbar.c cgroups.c: In function ‘walkcgroup’: cgroups.c:379:9: warning: ignoring return value of ‘chdir’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 379 | chdir(".."); | ^~~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I. -c -o showlinux.o showlinux.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I. -c -o showsys.o showsys.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I. -c -o showprocs.o showprocs.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I. -c -o atopsar.o atopsar.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I. -c -o netatopif.o netatopif.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I. -c -o netatopbpfif.o netatopbpfif.c ifprop.c: In function ‘initifprop’: ifprop.c:334:9: warning: ‘strncpy’ output may be truncated copying 15 bytes from a string of length 30 [-Wstringop-truncation] 334 | strncpy((void *)&ifreq.ifr_ifrn.ifrn_name, p->name, | ^ ifprop.c:420:17: warning: ‘strncpy’ output may be truncated copying 15 bytes from a string of length 30 [-Wstringop-truncation] 420 | strncpy(iwreq.ifr_ifrn.ifrn_name, p->name, | ^ drawbar.c: In function ‘headergetch’: showgeneric.c: In function ‘text_samp’: showgeneric.c:1234:49: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1234 | read(fdinotify, eventbuf, sizeof eventbuf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drawbar.c:2272:33: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2272 | read(fdinotify, eventbuf, sizeof eventbuf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I. -c -o gpucom.o gpucom.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I. -c -o json.o json.c showprocs.c: In function ‘showprocline’: showprocs.c:500:38: error: too many arguments to function ‘curelem.pf->doactiveconvert’; expected 0, have 3 500 | printg("%s", curelem.pf->doactiveconvert(curstat, | ^~~~~~~ ~~~~~~~ In file included from showprocs.c:61: showlinux.h:105:17: note: declared here 105 | char *(*doactiveconvert)(); // pointer to conv function | ^~~~~~~~~~~~~~~ showprocs.c:505:38: error: too many arguments to function ‘curelem.pf->doexitconvert’; expected 0, have 3 505 | printg("%s", curelem.pf->doexitconvert(curstat, | ^~~~~~~ ~~~~~~~ showlinux.h:107:17: note: declared here 107 | char *(*doexitconvert)(); // pointer to conv function | ^~~~~~~~~~~~~ showprocs.c: At top level: showprocs.c:582:20: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 582 | { "TID", "TID", procprt_TID_ae, procprt_TID_ae, ' ', 5}; //DYNAMIC WIDTH! | ^~~~~~~~~~~~~~ showprocs.c:582:20: note: (near initialization for ‘procprt_TID.doactiveconvert’) showprocs.c:570:1: note: ‘procprt_TID_ae’ declared here 570 | procprt_TID_ae(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~ showprocs.c:582:36: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 582 | { "TID", "TID", procprt_TID_ae, procprt_TID_ae, ' ', 5}; //DYNAMIC WIDTH! | ^~~~~~~~~~~~~~ showprocs.c:582:36: note: (near initialization for ‘procprt_TID.doexitconvert’) showprocs.c:570:1: note: ‘procprt_TID_ae’ declared here 570 | procprt_TID_ae(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~ showprocs.c:606:20: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 606 | { "PID", "PID", procprt_PID_a, procprt_PID_e, ' ', 5}; //DYNAMIC WIDTH! | ^~~~~~~~~~~~~ showprocs.c:606:20: note: (near initialization for ‘procprt_PID.doactiveconvert’) showprocs.c:585:1: note: ‘procprt_PID_a’ declared here 585 | procprt_PID_a(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~ showprocs.c:606:35: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 606 | { "PID", "PID", procprt_PID_a, procprt_PID_e, ' ', 5}; //DYNAMIC WIDTH! | ^~~~~~~~~~~~~ showprocs.c:606:35: note: (near initialization for ‘procprt_PID.doexitconvert’) showprocs.c:594:1: note: ‘procprt_PID_e’ declared here 594 | procprt_PID_e(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~ showprocs.c:630:22: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 630 | { "PPID", "PPID", procprt_PPID_a, procprt_PPID_e, ' ', 5}; //DYNAMIC WIDTH! | ^~~~~~~~~~~~~~ showprocs.c:630:22: note: (near initialization for ‘procprt_PPID.doactiveconvert’) showprocs.c:609:1: note: ‘procprt_PPID_a’ declared here 609 | procprt_PPID_a(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~ showprocs.c:630:38: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 630 | { "PPID", "PPID", procprt_PPID_a, procprt_PPID_e, ' ', 5}; //DYNAMIC WIDTH! | ^~~~~~~~~~~~~~ showprocs.c:630:38: note: (near initialization for ‘procprt_PPID.doexitconvert’) showprocs.c:618:1: note: ‘procprt_PPID_e’ declared here 618 | procprt_PPID_e(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~ showprocs.c:651:22: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 651 | { "VPID", "VPID", procprt_VPID_a, procprt_VPID_e, ' ', 5}; //DYNAMIC WIDTH! | ^~~~~~~~~~~~~~ showprocs.c:651:22: note: (near initialization for ‘procprt_VPID.doactiveconvert’) showprocs.c:633:1: note: ‘procprt_VPID_a’ declared here 633 | procprt_VPID_a(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~ showprocs.c:651:38: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 651 | { "VPID", "VPID", procprt_VPID_a, procprt_VPID_e, ' ', 5}; //DYNAMIC WIDTH! | ^~~~~~~~~~~~~~ showprocs.c:651:38: note: (near initialization for ‘procprt_VPID.doexitconvert’) showprocs.c:642:1: note: ‘procprt_VPID_e’ declared here 642 | procprt_VPID_e(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~ showprocs.c:669:23: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 669 | { " CTID", "CTID", procprt_CTID_a, procprt_CTID_e, ' ', 5}; | ^~~~~~~~~~~~~~ showprocs.c:669:23: note: (near initialization for ‘procprt_CTID.doactiveconvert’) showprocs.c:654:1: note: ‘procprt_CTID_a’ declared here 654 | procprt_CTID_a(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~ showprocs.c:669:39: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 669 | { " CTID", "CTID", procprt_CTID_a, procprt_CTID_e, ' ', 5}; | ^~~~~~~~~~~~~~ showprocs.c:669:39: note: (near initialization for ‘procprt_CTID.doexitconvert’) showprocs.c:663:1: note: ‘procprt_CTID_e’ declared here 663 | procprt_CTID_e(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~ showprocs.c:698:32: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 698 | { "CID/POD ", "CID", procprt_CID_a, procprt_CID_e, ' ', 15}; | ^~~~~~~~~~~~~ showprocs.c:698:32: note: (near initialization for ‘procprt_CID.doactiveconvert’) showprocs.c:672:1: note: ‘procprt_CID_a’ declared here 672 | procprt_CID_a(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~ showprocs.c:698:47: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 698 | { "CID/POD ", "CID", procprt_CID_a, procprt_CID_e, ' ', 15}; | ^~~~~~~~~~~~~ showprocs.c:698:47: note: (near initialization for ‘procprt_CID.doexitconvert’) showprocs.c:685:1: note: ‘procprt_CID_e’ declared here 685 | procprt_CID_e(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~ showprocs.c:710:26: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 710 | { "SYSCPU", "SYSCPU", procprt_SYSCPU_ae, procprt_SYSCPU_ae, ' ', 6}; | ^~~~~~~~~~~~~~~~~ showprocs.c:710:26: note: (near initialization for ‘procprt_SYSCPU.doactiveconvert’) showprocs.c:701:1: note: ‘procprt_SYSCPU_ae’ declared here 701 | procprt_SYSCPU_ae(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~~~~ showprocs.c:710:45: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 710 | { "SYSCPU", "SYSCPU", procprt_SYSCPU_ae, procprt_SYSCPU_ae, ' ', 6}; | ^~~~~~~~~~~~~~~~~ showprocs.c:710:45: note: (near initialization for ‘procprt_SYSCPU.doexitconvert’) showprocs.c:701:1: note: ‘procprt_SYSCPU_ae’ declared here 701 | procprt_SYSCPU_ae(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~~~~ showprocs.c:722:26: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 722 | { "USRCPU", "USRCPU", procprt_USRCPU_ae, procprt_USRCPU_ae, ' ', 6}; | ^~~~~~~~~~~~~~~~~ showprocs.c:722:26: note: (near initialization for ‘procprt_USRCPU.doactiveconvert’) showprocs.c:713:1: note: ‘procprt_USRCPU_ae’ declared here 713 | procprt_USRCPU_ae(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~~~~ showprocs.c:722:45: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 722 | { "USRCPU", "USRCPU", procprt_USRCPU_ae, procprt_USRCPU_ae, ' ', 6}; | ^~~~~~~~~~~~~~~~~ showprocs.c:722:45: note: (near initialization for ‘procprt_USRCPU.doexitconvert’) showprocs.c:713:1: note: ‘procprt_USRCPU_ae’ declared here 713 | procprt_USRCPU_ae(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~~~~ showprocs.c:740:25: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 740 | { " VGROW", "VGROW", procprt_VGROW_a, procprt_VGROW_e, ' ', 6}; | ^~~~~~~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I. -c -o utsnames.o utsnames.c showprocs.c:740:25: note: (near initialization for ‘procprt_VGROW.doactiveconvert’) showprocs.c:725:1: note: ‘procprt_VGROW_a’ declared here 725 | procprt_VGROW_a(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~~ showprocs.c:740:42: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 740 | { " VGROW", "VGROW", procprt_VGROW_a, procprt_VGROW_e, ' ', 6}; | ^~~~~~~~~~~~~~~ showprocs.c:740:42: note: (near initialization for ‘procprt_VGROW.doexitconvert’) showprocs.c:734:1: note: ‘procprt_VGROW_e’ declared here 734 | procprt_VGROW_e(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~~ showprocs.c:758:25: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 758 | { " RGROW", "RGROW", procprt_RGROW_a, procprt_RGROW_e, ' ', 6}; | ^~~~~~~~~~~~~~~ showprocs.c:758:25: note: (near initialization for ‘procprt_RGROW.doactiveconvert’) showprocs.c:743:1: note: ‘procprt_RGROW_a’ declared here 743 | procprt_RGROW_a(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~~ showprocs.c:758:42: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 758 | { " RGROW", "RGROW", procprt_RGROW_a, procprt_RGROW_e, ' ', 6}; | ^~~~~~~~~~~~~~~ showprocs.c:758:42: note: (near initialization for ‘procprt_RGROW.doexitconvert’) showprocs.c:752:1: note: ‘procprt_RGROW_e’ declared here 752 | procprt_RGROW_e(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~~ showprocs.c:770:26: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 770 | { "MINFLT", "MINFLT", procprt_MINFLT_ae, procprt_MINFLT_ae, ' ', 6}; | ^~~~~~~~~~~~~~~~~ showprocs.c:770:26: note: (near initialization for ‘procprt_MINFLT.doactiveconvert’) showprocs.c:761:1: note: ‘procprt_MINFLT_ae’ declared here 761 | procprt_MINFLT_ae(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~~~~ showprocs.c:770:45: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 770 | { "MINFLT", "MINFLT", procprt_MINFLT_ae, procprt_MINFLT_ae, ' ', 6}; | ^~~~~~~~~~~~~~~~~ showprocs.c:770:45: note: (near initialization for ‘procprt_MINFLT.doexitconvert’) showprocs.c:761:1: note: ‘procprt_MINFLT_ae’ declared here 761 | procprt_MINFLT_ae(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~~~~ showprocs.c:782:26: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 782 | { "MAJFLT", "MAJFLT", procprt_MAJFLT_ae, procprt_MAJFLT_ae, ' ', 6}; | ^~~~~~~~~~~~~~~~~ showprocs.c:782:26: note: (near initialization for ‘procprt_MAJFLT.doactiveconvert’) showprocs.c:773:1: note: ‘procprt_MAJFLT_ae’ declared here 773 | procprt_MAJFLT_ae(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~~~~ showprocs.c:782:45: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 782 | { "MAJFLT", "MAJFLT", procprt_MAJFLT_ae, procprt_MAJFLT_ae, ' ', 6}; | ^~~~~~~~~~~~~~~~~ showprocs.c:782:45: note: (near initialization for ‘procprt_MAJFLT.doexitconvert’) showprocs.c:773:1: note: ‘procprt_MAJFLT_ae’ declared here 773 | procprt_MAJFLT_ae(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~~~~ showprocs.c:800:26: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 800 | { "VSTEXT", "VSTEXT", procprt_VSTEXT_a, procprt_VSTEXT_e, ' ', 6}; | ^~~~~~~~~~~~~~~~ showprocs.c:800:26: note: (near initialization for ‘procprt_VSTEXT.doactiveconvert’) showprocs.c:785:1: note: ‘procprt_VSTEXT_a’ declared here 785 | procprt_VSTEXT_a(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~~~ showprocs.c:800:44: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 800 | { "VSTEXT", "VSTEXT", procprt_VSTEXT_a, procprt_VSTEXT_e, ' ', 6}; | ^~~~~~~~~~~~~~~~ showprocs.c:800:44: note: (near initialization for ‘procprt_VSTEXT.doexitconvert’) showprocs.c:794:1: note: ‘procprt_VSTEXT_e’ declared here 794 | procprt_VSTEXT_e(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~~~ showprocs.c:818:25: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 818 | { " VSIZE", "VSIZE", procprt_VSIZE_a, procprt_VSIZE_e, ' ', 6}; | ^~~~~~~~~~~~~~~ showprocs.c:818:25: note: (near initialization for ‘procprt_VSIZE.doactiveconvert’) showprocs.c:803:1: note: ‘procprt_VSIZE_a’ declared here 803 | procprt_VSIZE_a(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~~ showprocs.c:818:42: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 818 | { " VSIZE", "VSIZE", procprt_VSIZE_a, procprt_VSIZE_e, ' ', 6}; | ^~~~~~~~~~~~~~~ showprocs.c:818:42: note: (near initialization for ‘procprt_VSIZE.doexitconvert’) showprocs.c:812:1: note: ‘procprt_VSIZE_e’ declared here 812 | procprt_VSIZE_e(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~~ showprocs.c:836:25: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 836 | { " RSIZE", "RSIZE", procprt_RSIZE_a, procprt_RSIZE_e, ' ', 6}; | ^~~~~~~~~~~~~~~ showprocs.c:836:25: note: (near initialization for ‘procprt_RSIZE.doactiveconvert’) showprocs.c:821:1: note: ‘procprt_RSIZE_a’ declared here 821 | procprt_RSIZE_a(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~~ showprocs.c:836:42: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 836 | { " RSIZE", "RSIZE", procprt_RSIZE_a, procprt_RSIZE_e, ' ', 6}; | ^~~~~~~~~~~~~~~ showprocs.c:836:42: note: (near initialization for ‘procprt_RSIZE.doexitconvert’) showprocs.c:830:1: note: ‘procprt_RSIZE_e’ declared here 830 | procprt_RSIZE_e(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~~ showprocs.c:857:25: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 857 | { " PSIZE", "PSIZE", procprt_PSIZE_a, procprt_PSIZE_e, ' ', 6}; | ^~~~~~~~~~~~~~~ showprocs.c:857:25: note: (near initialization for ‘procprt_PSIZE.doactiveconvert’) showprocs.c:839:1: note: ‘procprt_PSIZE_a’ declared here 839 | procprt_PSIZE_a(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~~ showprocs.c:857:42: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 857 | { " PSIZE", "PSIZE", procprt_PSIZE_a, procprt_PSIZE_e, ' ', 6}; | ^~~~~~~~~~~~~~~ showprocs.c:857:42: note: (near initialization for ‘procprt_PSIZE.doexitconvert’) showprocs.c:851:1: note: ‘procprt_PSIZE_e’ declared here 851 | procprt_PSIZE_e(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~~ showprocs.c:875:26: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 875 | { "VSLIBS", "VSLIBS", procprt_VSLIBS_a, procprt_VSLIBS_e, ' ', 6}; | ^~~~~~~~~~~~~~~~ showprocs.c:875:26: note: (near initialization for ‘procprt_VSLIBS.doactiveconvert’) showprocs.c:860:1: note: ‘procprt_VSLIBS_a’ declared here 860 | procprt_VSLIBS_a(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~~~ showprocs.c:875:44: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 875 | { "VSLIBS", "VSLIBS", procprt_VSLIBS_a, procprt_VSLIBS_e, ' ', 6}; | ^~~~~~~~~~~~~~~~ showprocs.c:875:44: note: (near initialization for ‘procprt_VSLIBS.doexitconvert’) showprocs.c:869:1: note: ‘procprt_VSLIBS_e’ declared here 869 | procprt_VSLIBS_e(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~~~ showprocs.c:893:25: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 893 | { " VDATA", "VDATA", procprt_VDATA_a, procprt_VDATA_e, ' ', 6}; | ^~~~~~~~~~~~~~~ showprocs.c:893:25: note: (near initialization for ‘procprt_VDATA.doactiveconvert’) showprocs.c:878:1: note: ‘procprt_VDATA_a’ declared here 878 | procprt_VDATA_a(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~~ showprocs.c:893:42: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 893 | { " VDATA", "VDATA", procprt_VDATA_a, procprt_VDATA_e, ' ', 6}; | ^~~~~~~~~~~~~~~ showprocs.c:893:42: note: (near initialization for ‘procprt_VDATA.doexitconvert’) showprocs.c:887:1: note: ‘procprt_VDATA_e’ declared here 887 | procprt_VDATA_e(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~~ showprocs.c:911:26: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 911 | { "VSTACK", "VSTACK", procprt_VSTACK_a, procprt_VSTACK_e, ' ', 6}; | ^~~~~~~~~~~~~~~~ showprocs.c:911:26: note: (near initialization for ‘procprt_VSTACK.doactiveconvert’) showprocs.c:896:1: note: ‘procprt_VSTACK_a’ declared here 896 | procprt_VSTACK_a(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~~~ showprocs.c:911:44: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 911 | { "VSTACK", "VSTACK", procprt_VSTACK_a, procprt_VSTACK_e, ' ', 6}; | ^~~~~~~~~~~~~~~~ showprocs.c:911:44: note: (near initialization for ‘procprt_VSTACK.doexitconvert’) showprocs.c:905:1: note: ‘procprt_VSTACK_e’ declared here 905 | procprt_VSTACK_e(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~~~ showprocs.c:929:26: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 929 | { "SWAPSZ", "SWAPSZ", procprt_SWAPSZ_a, procprt_SWAPSZ_e, ' ', 6}; | ^~~~~~~~~~~~~~~~ showprocs.c:929:26: note: (near initialization for ‘procprt_SWAPSZ.doactiveconvert’) showprocs.c:914:1: note: ‘procprt_SWAPSZ_a’ declared here 914 | procprt_SWAPSZ_a(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~~~ showprocs.c:929:44: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 929 | { "SWAPSZ", "SWAPSZ", procprt_SWAPSZ_a, procprt_SWAPSZ_e, ' ', 6}; | ^~~~~~~~~~~~~~~~ showprocs.c:929:44: note: (near initialization for ‘procprt_SWAPSZ.doexitconvert’) showprocs.c:923:1: note: ‘procprt_SWAPSZ_e’ declared here 923 | procprt_SWAPSZ_e(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~~~ showprocs.c:947:26: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 947 | { "LOCKSZ", "LOCKSZ", procprt_LOCKSZ_a, procprt_LOCKSZ_e, ' ', 6}; | ^~~~~~~~~~~~~~~~ showprocs.c:947:26: note: (near initialization for ‘procprt_LOCKSZ.doactiveconvert’) showprocs.c:932:1: note: ‘procprt_LOCKSZ_a’ declared here 932 | procprt_LOCKSZ_a(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~~~ showprocs.c:947:44: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 947 | { "LOCKSZ", "LOCKSZ", procprt_LOCKSZ_a, procprt_LOCKSZ_e, ' ', 6}; | ^~~~~~~~~~~~~~~~ showprocs.c:947:44: note: (near initialization for ‘procprt_LOCKSZ.doexitconvert’) showprocs.c:941:1: note: ‘procprt_LOCKSZ_e’ declared here 941 | procprt_LOCKSZ_e(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~~~ showprocs.c:970:31: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 970 | { "CMD ", "CMD", procprt_CMD_a, procprt_CMD_e, ' ', 14}; | ^~~~~~~~~~~~~ showprocs.c:970:31: note: (near initialization for ‘procprt_CMD.doactiveconvert’) showprocs.c:950:1: note: ‘procprt_CMD_a’ declared here 950 | procprt_CMD_a(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~ showprocs.c:970:46: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 970 | { "CMD ", "CMD", procprt_CMD_a, procprt_CMD_e, ' ', 14}; | ^~~~~~~~~~~~~ showprocs.c:970:46: note: (near initialization for ‘procprt_CMD.doexitconvert’) showprocs.c:959:1: note: ‘procprt_CMD_e’ declared here 959 | procprt_CMD_e(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~ showprocs.c:990:26: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 990 | { "RUID ", "RUID", procprt_RUID_ae, procprt_RUID_ae, ' ', 8}; | ^~~~~~~~~~~~~~~ showprocs.c:990:26: note: (near initialization for ‘procprt_RUID.doactiveconvert’) showprocs.c:973:1: note: ‘procprt_RUID_ae’ declared here 973 | procprt_RUID_ae(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~~ showprocs.c:990:43: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 990 | { "RUID ", "RUID", procprt_RUID_ae, procprt_RUID_ae, ' ', 8}; | ^~~~~~~~~~~~~~~ showprocs.c:990:43: note: (near initialization for ‘procprt_RUID.doexitconvert’) showprocs.c:973:1: note: ‘procprt_RUID_ae’ declared here 973 | procprt_RUID_ae(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~~ showprocs.c:1016:26: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 1016 | { "EUID ", "EUID", procprt_EUID_a, procprt_EUID_e, ' ', 8}; | ^~~~~~~~~~~~~~ showprocs.c:1016:26: note: (near initialization for ‘procprt_EUID.doactiveconvert’) gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I. -c -o atopacctd.o atopacctd.c showprocs.c:993:1: note: ‘procprt_EUID_a’ declared here 993 | procprt_EUID_a(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~ showprocs.c:1016:42: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 1016 | { "EUID ", "EUID", procprt_EUID_a, procprt_EUID_e, ' ', 8}; | ^~~~~~~~~~~~~~ showprocs.c:1016:42: note: (near initialization for ‘procprt_EUID.doexitconvert’) showprocs.c:1010:1: note: ‘procprt_EUID_e’ declared here 1010 | procprt_EUID_e(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~ showprocs.c:1042:26: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 1042 | { "SUID ", "SUID", procprt_SUID_a, procprt_SUID_e, ' ', 8}; | ^~~~~~~~~~~~~~ showprocs.c:1042:26: note: (near initialization for ‘procprt_SUID.doactiveconvert’) showprocs.c:1019:1: note: ‘procprt_SUID_a’ declared here 1019 | procprt_SUID_a(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~ showprocs.c:1042:42: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 1042 | { "SUID ", "SUID", procprt_SUID_a, procprt_SUID_e, ' ', 8}; | ^~~~~~~~~~~~~~ showprocs.c:1042:42: note: (near initialization for ‘procprt_SUID.doexitconvert’) showprocs.c:1036:1: note: ‘procprt_SUID_e’ declared here 1036 | procprt_SUID_e(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~ showprocs.c:1068:27: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 1068 | { "FSUID ", "FSUID", procprt_FSUID_a, procprt_FSUID_e, ' ', 8}; | ^~~~~~~~~~~~~~~ showprocs.c:1068:27: note: (near initialization for ‘procprt_FSUID.doactiveconvert’) showprocs.c:1045:1: note: ‘procprt_FSUID_a’ declared here 1045 | procprt_FSUID_a(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~~ showprocs.c:1068:44: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 1068 | { "FSUID ", "FSUID", procprt_FSUID_a, procprt_FSUID_e, ' ', 8}; | ^~~~~~~~~~~~~~~ showprocs.c:1068:44: note: (near initialization for ‘procprt_FSUID.doexitconvert’) showprocs.c:1062:1: note: ‘procprt_FSUID_e’ declared here 1062 | procprt_FSUID_e(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~~ showprocs.c:1093:26: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 1093 | { "RGID ", "RGID", procprt_RGID_ae, procprt_RGID_ae, ' ', 8}; | ^~~~~~~~~~~~~~~ showprocs.c:1093:26: note: (near initialization for ‘procprt_RGID.doactiveconvert’) showprocs.c:1071:1: note: ‘procprt_RGID_ae’ declared here 1071 | procprt_RGID_ae(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~~ showprocs.c:1093:43: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 1093 | { "RGID ", "RGID", procprt_RGID_ae, procprt_RGID_ae, ' ', 8}; | ^~~~~~~~~~~~~~~ showprocs.c:1093:43: note: (near initialization for ‘procprt_RGID.doexitconvert’) showprocs.c:1071:1: note: ‘procprt_RGID_ae’ declared here 1071 | procprt_RGID_ae(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~~ showprocs.c:1124:26: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 1124 | { "EGID ", "EGID", procprt_EGID_a, procprt_EGID_e, ' ', 8}; | ^~~~~~~~~~~~~~ showprocs.c:1124:26: note: (near initialization for ‘procprt_EGID.doactiveconvert’) showprocs.c:1096:1: note: ‘procprt_EGID_a’ declared here 1096 | procprt_EGID_a(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~ showprocs.c:1124:42: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 1124 | { "EGID ", "EGID", procprt_EGID_a, procprt_EGID_e, ' ', 8}; | ^~~~~~~~~~~~~~ showprocs.c:1124:42: note: (near initialization for ‘procprt_EGID.doexitconvert’) showprocs.c:1118:1: note: ‘procprt_EGID_e’ declared here 1118 | procprt_EGID_e(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~ showprocs.c:1155:26: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 1155 | { "SGID ", "SGID", procprt_SGID_a, procprt_SGID_e, ' ', 8}; | ^~~~~~~~~~~~~~ showprocs.c:1155:26: note: (near initialization for ‘procprt_SGID.doactiveconvert’) showprocs.c:1127:1: note: ‘procprt_SGID_a’ declared here 1127 | procprt_SGID_a(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~ showprocs.c:1155:42: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 1155 | { "SGID ", "SGID", procprt_SGID_a, procprt_SGID_e, ' ', 8}; | ^~~~~~~~~~~~~~ showprocs.c:1155:42: note: (near initialization for ‘procprt_SGID.doexitconvert’) showprocs.c:1149:1: note: ‘procprt_SGID_e’ declared here 1149 | procprt_SGID_e(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~ showprocs.c:1186:27: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 1186 | { "FSGID ", "FSGID", procprt_FSGID_a, procprt_FSGID_e, ' ', 8}; | ^~~~~~~~~~~~~~~ showprocs.c:1186:27: note: (near initialization for ‘procprt_FSGID.doactiveconvert’) showprocs.c:1158:1: note: ‘procprt_FSGID_a’ declared here 1158 | procprt_FSGID_a(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~~ showprocs.c:1186:44: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 1186 | { "FSGID ", "FSGID", procprt_FSGID_a, procprt_FSGID_e, ' ', 8}; | ^~~~~~~~~~~~~~~ showprocs.c:1186:44: note: (near initialization for ‘procprt_FSGID.doexitconvert’) showprocs.c:1180:1: note: ‘procprt_FSGID_e’ declared here 1180 | procprt_FSGID_e(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~~ showprocs.c:1198:30: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 1198 | { " STDATE ", "STDATE", procprt_STDATE_ae, procprt_STDATE_ae, ' ', 10}; | ^~~~~~~~~~~~~~~~~ showprocs.c:1198:30: note: (near initialization for ‘procprt_STDATE.doactiveconvert’) showprocs.c:1189:1: note: ‘procprt_STDATE_ae’ declared here 1189 | procprt_STDATE_ae(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~~~~ showprocs.c:1198:49: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 1198 | { " STDATE ", "STDATE", procprt_STDATE_ae, procprt_STDATE_ae, ' ', 10}; | ^~~~~~~~~~~~~~~~~ showprocs.c:1198:49: note: (near initialization for ‘procprt_STDATE.doexitconvert’) showprocs.c:1189:1: note: ‘procprt_STDATE_ae’ declared here 1189 | procprt_STDATE_ae(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~~~~ showprocs.c:1210:28: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 1210 | { " STTIME ", "STTIME", procprt_STTIME_ae, procprt_STTIME_ae, ' ', 8}; | ^~~~~~~~~~~~~~~~~ showprocs.c:1210:28: note: (near initialization for ‘procprt_STTIME.doactiveconvert’) showprocs.c:1201:1: note: ‘procprt_STTIME_ae’ declared here 1201 | procprt_STTIME_ae(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~~~~ showprocs.c:1210:47: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 1210 | { " STTIME ", "STTIME", procprt_STTIME_ae, procprt_STTIME_ae, ' ', 8}; | ^~~~~~~~~~~~~~~~~ showprocs.c:1210:47: note: (near initialization for ‘procprt_STTIME.doexitconvert’) showprocs.c:1201:1: note: ‘procprt_STTIME_ae’ declared here 1201 | procprt_STTIME_ae(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~~~~ showprocs.c:1233:30: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 1233 | { " ENDATE ", "ENDATE", procprt_ENDATE_a, procprt_ENDATE_e, ' ', 10}; | ^~~~~~~~~~~~~~~~ showprocs.c:1233:30: note: (near initialization for ‘procprt_ENDATE.doactiveconvert’) showprocs.c:1213:1: note: ‘procprt_ENDATE_a’ declared here 1213 | procprt_ENDATE_a(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~~~ showprocs.c:1233:48: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 1233 | { " ENDATE ", "ENDATE", procprt_ENDATE_a, procprt_ENDATE_e, ' ', 10}; | ^~~~~~~~~~~~~~~~ showprocs.c:1233:48: note: (near initialization for ‘procprt_ENDATE.doexitconvert’) showprocs.c:1223:1: note: ‘procprt_ENDATE_e’ declared here 1223 | procprt_ENDATE_e(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~~~ showprocs.c:1256:28: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 1256 | { " ENTIME ", "ENTIME", procprt_ENTIME_a, procprt_ENTIME_e, ' ', 8}; | ^~~~~~~~~~~~~~~~ showprocs.c:1256:28: note: (near initialization for ‘procprt_ENTIME.doactiveconvert’) showprocs.c:1236:1: note: ‘procprt_ENTIME_a’ declared here 1236 | procprt_ENTIME_a(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~~~ showprocs.c:1256:46: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 1256 | { " ENTIME ", "ENTIME", procprt_ENTIME_a, procprt_ENTIME_e, ' ', 8}; | ^~~~~~~~~~~~~~~~ showprocs.c:1256:46: note: (near initialization for ‘procprt_ENTIME.doexitconvert’) showprocs.c:1246:1: note: ‘procprt_ENTIME_e’ declared here 1246 | procprt_ENTIME_e(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~~~ showprocs.c:1274:21: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 1274 | { " THR", "THR", procprt_THR_a, procprt_THR_e, ' ', 4}; | ^~~~~~~~~~~~~ showprocs.c:1274:21: note: (near initialization for ‘procprt_THR.doactiveconvert’) showprocs.c:1259:1: note: ‘procprt_THR_a’ declared here 1259 | procprt_THR_a(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~ showprocs.c:1274:36: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 1274 | { " THR", "THR", procprt_THR_a, procprt_THR_e, ' ', 4}; | ^~~~~~~~~~~~~ showprocs.c:1274:36: note: (near initialization for ‘procprt_THR.doexitconvert’) showprocs.c:1268:1: note: ‘procprt_THR_e’ declared here 1268 | procprt_THR_e(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~ showprocs.c:1292:22: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 1292 | { "TRUN", "TRUN", procprt_TRUN_a, procprt_TRUN_e, ' ', 4}; | ^~~~~~~~~~~~~~ showprocs.c:1292:22: note: (near initialization for ‘procprt_TRUN.doactiveconvert’) showprocs.c:1277:1: note: ‘procprt_TRUN_a’ declared here 1277 | procprt_TRUN_a(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I. -c -o netlink.o netlink.c showprocs.c:1292:38: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 1292 | { "TRUN", "TRUN", procprt_TRUN_a, procprt_TRUN_e, ' ', 4}; | ^~~~~~~~~~~~~~ showprocs.c:1292:38: note: (near initialization for ‘procprt_TRUN.doexitconvert’) showprocs.c:1286:1: note: ‘procprt_TRUN_e’ declared here 1286 | procprt_TRUN_e(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~ showprocs.c:1310:24: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 1310 | { "TSLPI", "TSLPI", procprt_TSLPI_a, procprt_TSLPI_e, ' ', 5}; | ^~~~~~~~~~~~~~~ showprocs.c:1310:24: note: (near initialization for ‘procprt_TSLPI.doactiveconvert’) showprocs.c:1295:1: note: ‘procprt_TSLPI_a’ declared here 1295 | procprt_TSLPI_a(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~~ showprocs.c:1310:41: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 1310 | { "TSLPI", "TSLPI", procprt_TSLPI_a, procprt_TSLPI_e, ' ', 5}; | ^~~~~~~~~~~~~~~ showprocs.c:1310:41: note: (near initialization for ‘procprt_TSLPI.doexitconvert’) showprocs.c:1304:1: note: ‘procprt_TSLPI_e’ declared here 1304 | procprt_TSLPI_e(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~~ showprocs.c:1328:24: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 1328 | { "TSLPU", "TSLPU", procprt_TSLPU_a, procprt_TSLPU_e, ' ', 5}; | ^~~~~~~~~~~~~~~ showprocs.c:1328:24: note: (near initialization for ‘procprt_TSLPU.doactiveconvert’) showprocs.c:1313:1: note: ‘procprt_TSLPU_a’ declared here 1313 | procprt_TSLPU_a(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~~ showprocs.c:1328:41: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 1328 | { "TSLPU", "TSLPU", procprt_TSLPU_a, procprt_TSLPU_e, ' ', 5}; | ^~~~~~~~~~~~~~~ showprocs.c:1328:41: note: (near initialization for ‘procprt_TSLPU.doexitconvert’) showprocs.c:1322:1: note: ‘procprt_TSLPU_e’ declared here 1322 | procprt_TSLPU_e(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~~ showprocs.c:1346:24: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 1346 | { "TIDLE", "TIDLE", procprt_TIDLE_a, procprt_TIDLE_e, ' ', 5}; | ^~~~~~~~~~~~~~~ showprocs.c:1346:24: note: (near initialization for ‘procprt_TIDLE.doactiveconvert’) showprocs.c:1331:1: note: ‘procprt_TIDLE_a’ declared here 1331 | procprt_TIDLE_a(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~~ showprocs.c:1346:41: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 1346 | { "TIDLE", "TIDLE", procprt_TIDLE_a, procprt_TIDLE_e, ' ', 5}; | ^~~~~~~~~~~~~~~ showprocs.c:1346:41: note: (near initialization for ‘procprt_TIDLE.doexitconvert’) showprocs.c:1340:1: note: ‘procprt_TIDLE_e’ declared here 1340 | procprt_TIDLE_e(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~~ showprocs.c:1393:22: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 1393 | { "POLI", "POLI", procprt_POLI_a, procprt_POLI_e, ' ', 4}; | ^~~~~~~~~~~~~~ showprocs.c:1393:22: note: (near initialization for ‘procprt_POLI.doactiveconvert’) showprocs.c:1357:1: note: ‘procprt_POLI_a’ declared here 1357 | procprt_POLI_a(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~ showprocs.c:1393:38: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 1393 | { "POLI", "POLI", procprt_POLI_a, procprt_POLI_e, ' ', 4}; | ^~~~~~~~~~~~~~ showprocs.c:1393:38: note: (near initialization for ‘procprt_POLI.doexitconvert’) showprocs.c:1387:1: note: ‘procprt_POLI_e’ declared here 1387 | procprt_POLI_e(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~ showprocs.c:1411:22: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 1411 | { "NICE", "NICE", procprt_NICE_a, procprt_NICE_e, ' ', 4}; | ^~~~~~~~~~~~~~ showprocs.c:1411:22: note: (near initialization for ‘procprt_NICE.doactiveconvert’) showprocs.c:1396:1: note: ‘procprt_NICE_a’ declared here 1396 | procprt_NICE_a(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~ showprocs.c:1411:38: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 1411 | { "NICE", "NICE", procprt_NICE_a, procprt_NICE_e, ' ', 4}; | ^~~~~~~~~~~~~~ showprocs.c:1411:38: note: (near initialization for ‘procprt_NICE.doexitconvert’) showprocs.c:1405:1: note: ‘procprt_NICE_e’ declared here 1405 | procprt_NICE_e(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~ showprocs.c:1429:20: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 1429 | { "PRI", "PRI", procprt_PRI_a, procprt_PRI_e, ' ', 3}; | ^~~~~~~~~~~~~ showprocs.c:1429:20: note: (near initialization for ‘procprt_PRI.doactiveconvert’) showprocs.c:1414:1: note: ‘procprt_PRI_a’ declared here 1414 | procprt_PRI_a(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~ showprocs.c:1429:35: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 1429 | { "PRI", "PRI", procprt_PRI_a, procprt_PRI_e, ' ', 3}; | ^~~~~~~~~~~~~ showprocs.c:1429:35: note: (near initialization for ‘procprt_PRI.doexitconvert’) showprocs.c:1423:1: note: ‘procprt_PRI_e’ declared here 1423 | procprt_PRI_e(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~ showprocs.c:1447:22: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 1447 | { "RTPR", "RTPR", procprt_RTPR_a, procprt_RTPR_e, ' ', 4}; | ^~~~~~~~~~~~~~ showprocs.c:1447:22: note: (near initialization for ‘procprt_RTPR.doactiveconvert’) showprocs.c:1432:1: note: ‘procprt_RTPR_a’ declared here 1432 | procprt_RTPR_a(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~ showprocs.c:1447:38: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 1447 | { "RTPR", "RTPR", procprt_RTPR_a, procprt_RTPR_e, ' ', 4}; | ^~~~~~~~~~~~~~ showprocs.c:1447:38: note: (near initialization for ‘procprt_RTPR.doexitconvert’) showprocs.c:1441:1: note: ‘procprt_RTPR_e’ declared here 1441 | procprt_RTPR_e(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~ showprocs.c:1465:24: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 1465 | { "CPUNR", "CPUNR", procprt_CURCPU_a, procprt_CURCPU_e, ' ', 5}; | ^~~~~~~~~~~~~~~~ showprocs.c:1465:24: note: (near initialization for ‘procprt_CURCPU.doactiveconvert’) showprocs.c:1450:1: note: ‘procprt_CURCPU_a’ declared here 1450 | procprt_CURCPU_a(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~~~ showprocs.c:1465:42: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 1465 | { "CPUNR", "CPUNR", procprt_CURCPU_a, procprt_CURCPU_e, ' ', 5}; | ^~~~~~~~~~~~~~~~ showprocs.c:1465:42: note: (near initialization for ‘procprt_CURCPU.doexitconvert’) showprocs.c:1459:1: note: ‘procprt_CURCPU_e’ declared here 1459 | procprt_CURCPU_e(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~~~ showprocs.c:1509:18: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 1509 | { "ST", "ST", procprt_ST_a, procprt_ST_e, ' ', 2}; | ^~~~~~~~~~~~ showprocs.c:1509:18: note: (near initialization for ‘procprt_ST.doactiveconvert’) showprocs.c:1468:1: note: ‘procprt_ST_a’ declared here 1468 | procprt_ST_a(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~ showprocs.c:1509:32: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 1509 | { "ST", "ST", procprt_ST_a, procprt_ST_e, ' ', 2}; | ^~~~~~~~~~~~ showprocs.c:1509:32: note: (near initialization for ‘procprt_ST.doexitconvert’) showprocs.c:1483:1: note: ‘procprt_ST_e’ declared here 1483 | procprt_ST_e(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~ showprocs.c:1532:20: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 1532 | { "EXC", "EXC", procprt_EXC_a, procprt_EXC_e, ' ', 3}; | ^~~~~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I. -c -o atopconvert.o atopconvert.c showprocs.c:1532:20: note: (near initialization for ‘procprt_EXC.doactiveconvert’) showprocs.c:1512:1: note: ‘procprt_EXC_a’ declared here 1512 | procprt_EXC_a(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~ showprocs.c:1532:35: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 1532 | { "EXC", "EXC", procprt_EXC_a, procprt_EXC_e, ' ', 3}; | ^~~~~~~~~~~~~ showprocs.c:1532:35: note: (near initialization for ‘procprt_EXC.doexitconvert’) showprocs.c:1518:1: note: ‘procprt_EXC_e’ declared here 1518 | procprt_EXC_e(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~ showprocs.c:1551:16: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 1551 | { "S", "S", procprt_S_a, procprt_S_e, ' ', 1}; | ^~~~~~~~~~~ showprocs.c:1551:16: note: (near initialization for ‘procprt_S.doactiveconvert’) showprocs.c:1535:1: note: ‘procprt_S_a’ declared here 1535 | procprt_S_a(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~ showprocs.c:1551:29: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 1551 | { "S", "S", procprt_S_a, procprt_S_e, ' ', 1}; | ^~~~~~~~~~~ showprocs.c:1551:29: note: (near initialization for ‘procprt_S.doexitconvert’) showprocs.c:1544:1: note: ‘procprt_S_e’ declared here 1544 | procprt_S_e(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~ showprocs.c:1582:9: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 1582 | procprt_COMMAND_LINE_ae, procprt_COMMAND_LINE_ae, ' ', 0, 1}; | ^~~~~~~~~~~~~~~~~~~~~~~ showprocs.c:1582:9: note: (near initialization for ‘procprt_COMMAND_LINE.doactiveconvert’) showprocs.c:1555:1: note: ‘procprt_COMMAND_LINE_ae’ declared here 1555 | procprt_COMMAND_LINE_ae(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~~~~~~~~~~ showprocs.c:1582:34: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 1582 | procprt_COMMAND_LINE_ae, procprt_COMMAND_LINE_ae, ' ', 0, 1}; | ^~~~~~~~~~~~~~~~~~~~~~~ showprocs.c:1582:34: note: (near initialization for ‘procprt_COMMAND_LINE.doexitconvert’) showprocs.c:1555:1: note: ‘procprt_COMMAND_LINE_ae’ declared here 1555 | procprt_COMMAND_LINE_ae(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~~~~~~~~~~ showprocs.c:1594:26: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 1594 | { "NPROCS", "NPROCS", procprt_NPROCS_ae, procprt_NPROCS_ae, ' ', 6}; | ^~~~~~~~~~~~~~~~~ showprocs.c:1594:26: note: (near initialization for ‘procprt_NPROCS.doactiveconvert’) showprocs.c:1585:1: note: ‘procprt_NPROCS_ae’ declared here 1585 | procprt_NPROCS_ae(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~~~~ showprocs.c:1594:45: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 1594 | { "NPROCS", "NPROCS", procprt_NPROCS_ae, procprt_NPROCS_ae, ' ', 6}; | ^~~~~~~~~~~~~~~~~ showprocs.c:1594:45: note: (near initialization for ‘procprt_NPROCS.doexitconvert’) showprocs.c:1585:1: note: ‘procprt_NPROCS_ae’ declared here 1585 | procprt_NPROCS_ae(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~~~~ showprocs.c:1616:25: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 1616 | { " RDDSK", "RDDSK", procprt_RDDSK_a, procprt_RDDSK_e, ' ', 6}; | ^~~~~~~~~~~~~~~ showprocs.c:1616:25: note: (near initialization for ‘procprt_RDDSK.doactiveconvert’) showprocs.c:1597:1: note: ‘procprt_RDDSK_a’ declared here 1597 | procprt_RDDSK_a(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~~ showprocs.c:1616:42: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 1616 | { " RDDSK", "RDDSK", procprt_RDDSK_a, procprt_RDDSK_e, ' ', 6}; | ^~~~~~~~~~~~~~~ showprocs.c:1616:42: note: (near initialization for ‘procprt_RDDSK.doexitconvert’) showprocs.c:1610:1: note: ‘procprt_RDDSK_e’ declared here 1610 | procprt_RDDSK_e(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~~ showprocs.c:1638:25: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 1638 | { " WRDSK", "WRDSK", procprt_WRDSK_a, procprt_WRDSK_e, ' ', 6}; | ^~~~~~~~~~~~~~~ showprocs.c:1638:25: note: (near initialization for ‘procprt_WRDSK.doactiveconvert’) showprocs.c:1619:1: note: ‘procprt_WRDSK_a’ declared here 1619 | procprt_WRDSK_a(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~~ showprocs.c:1638:42: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 1638 | { " WRDSK", "WRDSK", procprt_WRDSK_a, procprt_WRDSK_e, ' ', 6}; | ^~~~~~~~~~~~~~~ showprocs.c:1638:42: note: (near initialization for ‘procprt_WRDSK.doexitconvert’) showprocs.c:1632:1: note: ‘procprt_WRDSK_e’ declared here 1632 | procprt_WRDSK_e(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~~ showprocs.c:1657:25: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 1657 | {" WRDSK", "CWRDSK", procprt_CWRDSK_a, procprt_WRDSK_e, ' ', 6}; | ^~~~~~~~~~~~~~~~ showprocs.c:1657:25: note: (near initialization for ‘procprt_CWRDSK.doactiveconvert’) showprocs.c:1641:1: note: ‘procprt_CWRDSK_a’ declared here 1641 | procprt_CWRDSK_a(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~~~ showprocs.c:1657:43: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 1657 | {" WRDSK", "CWRDSK", procprt_CWRDSK_a, procprt_WRDSK_e, ' ', 6}; | ^~~~~~~~~~~~~~~ showprocs.c:1657:43: note: (near initialization for ‘procprt_CWRDSK.doexitconvert’) showprocs.c:1632:1: note: ‘procprt_WRDSK_e’ declared here 1632 | procprt_WRDSK_e(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~~ showprocs.c:1679:25: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 1679 | {"WCANCL", "WCANCL", procprt_WCANCEL_a, procprt_WCANCEL_e, ' ', 6}; | ^~~~~~~~~~~~~~~~~ showprocs.c:1679:25: note: (near initialization for ‘procprt_WCANCEL.doactiveconvert’) showprocs.c:1660:1: note: ‘procprt_WCANCEL_a’ declared here 1660 | procprt_WCANCEL_a(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~~~~ showprocs.c:1679:44: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 1679 | {"WCANCL", "WCANCL", procprt_WCANCEL_a, procprt_WCANCEL_e, ' ', 6}; | ^~~~~~~~~~~~~~~~~ showprocs.c:1679:44: note: (near initialization for ‘procprt_WCANCEL.doexitconvert’) showprocs.c:1673:1: note: ‘procprt_WCANCEL_e’ declared here 1673 | procprt_WCANCEL_e(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~~~~ showprocs.c:1708:26: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 1708 | { "TCPRCV", "TCPRCV", procprt_TCPRCV_a, procprt_TCPRCV_e, ' ', 6}; | ^~~~~~~~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I. -c -o atopcat.o atopcat.c showprocs.c:1708:26: note: (near initialization for ‘procprt_TCPRCV.doactiveconvert’) showprocs.c:1682:1: note: ‘procprt_TCPRCV_a’ declared here 1682 | procprt_TCPRCV_a(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~~~ showprocs.c:1708:44: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 1708 | { "TCPRCV", "TCPRCV", procprt_TCPRCV_a, procprt_TCPRCV_e, ' ', 6}; | ^~~~~~~~~~~~~~~~ showprocs.c:1708:44: note: (near initialization for ‘procprt_TCPRCV.doexitconvert’) showprocs.c:1692:1: note: ‘procprt_TCPRCV_e’ declared here 1692 | procprt_TCPRCV_e(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~~~ showprocs.c:1740:28: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 1740 | { "TCPRASZ", "TCPRASZ", procprt_TCPRASZ_a, procprt_TCPRASZ_e, ' ', 7}; | ^~~~~~~~~~~~~~~~~ showprocs.c:1740:28: note: (near initialization for ‘procprt_TCPRASZ.doactiveconvert’) showprocs.c:1711:1: note: ‘procprt_TCPRASZ_a’ declared here 1711 | procprt_TCPRASZ_a(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~~~~ showprocs.c:1740:47: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 1740 | { "TCPRASZ", "TCPRASZ", procprt_TCPRASZ_a, procprt_TCPRASZ_e, ' ', 7}; | ^~~~~~~~~~~~~~~~~ showprocs.c:1740:47: note: (near initialization for ‘procprt_TCPRASZ.doexitconvert’) showprocs.c:1723:1: note: ‘procprt_TCPRASZ_e’ declared here 1723 | procprt_TCPRASZ_e(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~~~~ showprocs.c:1768:26: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 1768 | { "TCPSND", "TCPSND", procprt_TCPSND_a, procprt_TCPSND_e, ' ', 6}; | ^~~~~~~~~~~~~~~~ showprocs.c:1768:26: note: (near initialization for ‘procprt_TCPSND.doactiveconvert’) showprocs.c:1743:1: note: ‘procprt_TCPSND_a’ declared here 1743 | procprt_TCPSND_a(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~~~ showprocs.c:1768:44: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 1768 | { "TCPSND", "TCPSND", procprt_TCPSND_a, procprt_TCPSND_e, ' ', 6}; | ^~~~~~~~~~~~~~~~ showprocs.c:1768:44: note: (near initialization for ‘procprt_TCPSND.doexitconvert’) showprocs.c:1753:1: note: ‘procprt_TCPSND_e’ declared here 1753 | procprt_TCPSND_e(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~~~ showprocs.c:1800:28: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 1800 | { "TCPSASZ", "TCPSASZ", procprt_TCPSASZ_a, procprt_TCPSASZ_e, ' ', 7}; | ^~~~~~~~~~~~~~~~~ showprocs.c:1800:28: note: (near initialization for ‘procprt_TCPSASZ.doactiveconvert’) showprocs.c:1771:1: note: ‘procprt_TCPSASZ_a’ declared here 1771 | procprt_TCPSASZ_a(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~~~~ showprocs.c:1800:47: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 1800 | { "TCPSASZ", "TCPSASZ", procprt_TCPSASZ_a, procprt_TCPSASZ_e, ' ', 7}; | ^~~~~~~~~~~~~~~~~ showprocs.c:1800:47: note: (near initialization for ‘procprt_TCPSASZ.doexitconvert’) showprocs.c:1783:1: note: ‘procprt_TCPSASZ_e’ declared here 1783 | procprt_TCPSASZ_e(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~~~~ showprocs.c:1829:26: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 1829 | { "UDPRCV", "UDPRCV", procprt_UDPRCV_a, procprt_UDPRCV_e, ' ', 6}; | ^~~~~~~~~~~~~~~~ showprocs.c:1829:26: note: (near initialization for ‘procprt_UDPRCV.doactiveconvert’) showprocs.c:1803:1: note: ‘procprt_UDPRCV_a’ declared here 1803 | procprt_UDPRCV_a(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~~~ showprocs.c:1829:44: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 1829 | { "UDPRCV", "UDPRCV", procprt_UDPRCV_a, procprt_UDPRCV_e, ' ', 6}; | ^~~~~~~~~~~~~~~~ showprocs.c:1829:44: note: (near initialization for ‘procprt_UDPRCV.doexitconvert’) showprocs.c:1813:1: note: ‘procprt_UDPRCV_e’ declared here 1813 | procprt_UDPRCV_e(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~~~ showprocs.c:1862:28: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 1862 | { "UDPRASZ", "UDPRASZ", procprt_UDPRASZ_a, procprt_UDPRASZ_e, ' ', 7}; | ^~~~~~~~~~~~~~~~~ showprocs.c:1862:28: note: (near initialization for ‘procprt_UDPRASZ.doactiveconvert’) showprocs.c:1832:1: note: ‘procprt_UDPRASZ_a’ declared here 1832 | procprt_UDPRASZ_a(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~~~~ showprocs.c:1862:47: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 1862 | { "UDPRASZ", "UDPRASZ", procprt_UDPRASZ_a, procprt_UDPRASZ_e, ' ', 7}; | ^~~~~~~~~~~~~~~~~ showprocs.c:1862:47: note: (near initialization for ‘procprt_UDPRASZ.doexitconvert’) showprocs.c:1844:1: note: ‘procprt_UDPRASZ_e’ declared here 1844 | procprt_UDPRASZ_e(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~~~~ showprocs.c:1890:26: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 1890 | { "UDPSND", "UDPSND", procprt_UDPSND_a, procprt_UDPSND_e, ' ', 6}; | ^~~~~~~~~~~~~~~~ showprocs.c:1890:26: note: (near initialization for ‘procprt_UDPSND.doactiveconvert’) showprocs.c:1865:1: note: ‘procprt_UDPSND_a’ declared here 1865 | procprt_UDPSND_a(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~~~ showprocs.c:1890:44: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 1890 | { "UDPSND", "UDPSND", procprt_UDPSND_a, procprt_UDPSND_e, ' ', 6}; | ^~~~~~~~~~~~~~~~ showprocs.c:1890:44: note: (near initialization for ‘procprt_UDPSND.doexitconvert’) showprocs.c:1875:1: note: ‘procprt_UDPSND_e’ declared here 1875 | procprt_UDPSND_e(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I. -c -o atophide.o atophide.c showprocs.c:1923:28: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 1923 | { "UDPSASZ", "UDPSASZ", procprt_UDPSASZ_a, procprt_UDPSASZ_e, ' ', 7}; | ^~~~~~~~~~~~~~~~~ showprocs.c:1923:28: note: (near initialization for ‘procprt_UDPSASZ.doactiveconvert’) showprocs.c:1893:1: note: ‘procprt_UDPSASZ_a’ declared here 1893 | procprt_UDPSASZ_a(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~~~~ showprocs.c:1923:47: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 1923 | { "UDPSASZ", "UDPSASZ", procprt_UDPSASZ_a, procprt_UDPSASZ_e, ' ', 7}; | ^~~~~~~~~~~~~~~~~ showprocs.c:1923:47: note: (near initialization for ‘procprt_UDPSASZ.doexitconvert’) showprocs.c:1905:1: note: ‘procprt_UDPSASZ_e’ declared here 1905 | procprt_UDPSASZ_e(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~~~~ showprocs.c:1953:23: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 1953 | { " RNET", "RNET", procprt_RNET_a, procprt_RNET_e, ' ', 5}; | ^~~~~~~~~~~~~~ showprocs.c:1953:23: note: (near initialization for ‘procprt_RNET.doactiveconvert’) showprocs.c:1926:1: note: ‘procprt_RNET_a’ declared here 1926 | procprt_RNET_a(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~ showprocs.c:1953:39: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 1953 | { " RNET", "RNET", procprt_RNET_a, procprt_RNET_e, ' ', 5}; | ^~~~~~~~~~~~~~ showprocs.c:1953:39: note: (near initialization for ‘procprt_RNET.doexitconvert’) showprocs.c:1937:1: note: ‘procprt_RNET_e’ declared here 1937 | procprt_RNET_e(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~ showprocs.c:1981:23: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 1981 | { " SNET", "SNET", procprt_SNET_a, procprt_SNET_e, ' ', 5}; | ^~~~~~~~~~~~~~ showprocs.c:1981:23: note: (near initialization for ‘procprt_SNET.doactiveconvert’) showprocs.c:1956:1: note: ‘procprt_SNET_a’ declared here 1956 | procprt_SNET_a(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~ showprocs.c:1981:39: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 1981 | { " SNET", "SNET", procprt_SNET_a, procprt_SNET_e, ' ', 5}; | ^~~~~~~~~~~~~~ showprocs.c:1981:39: note: (near initialization for ‘procprt_SNET.doexitconvert’) showprocs.c:1966:1: note: ‘procprt_SNET_e’ declared here 1966 | procprt_SNET_e(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~ showprocs.c:2010:29: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 2010 | { " BANDWI", "BANDWI", procprt_BANDWI_a, procprt_BANDWI_e, ' ', 9}; | ^~~~~~~~~~~~~~~~ showprocs.c:2010:29: note: (near initialization for ‘procprt_BANDWI.doactiveconvert’) showprocs.c:1984:1: note: ‘procprt_BANDWI_a’ declared here 1984 | procprt_BANDWI_a(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~~~ showprocs.c:2010:47: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 2010 | { " BANDWI", "BANDWI", procprt_BANDWI_a, procprt_BANDWI_e, ' ', 9}; | ^~~~~~~~~~~~~~~~ showprocs.c:2010:47: note: (near initialization for ‘procprt_BANDWI.doexitconvert’) showprocs.c:1994:1: note: ‘procprt_BANDWI_e’ declared here 1994 | procprt_BANDWI_e(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~~~ showprocs.c:2039:29: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 2039 | { " BANDWO", "BANDWO", procprt_BANDWO_a, procprt_BANDWO_e, ' ', 9}; | ^~~~~~~~~~~~~~~~ showprocs.c:2039:29: note: (near initialization for ‘procprt_BANDWO.doactiveconvert’) showprocs.c:2013:1: note: ‘procprt_BANDWO_a’ declared here 2013 | procprt_BANDWO_a(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~~~ showprocs.c:2039:47: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 2039 | { " BANDWO", "BANDWO", procprt_BANDWO_a, procprt_BANDWO_e, ' ', 9}; | ^~~~~~~~~~~~~~~~ showprocs.c:2039:47: note: (near initialization for ‘procprt_BANDWO.doexitconvert’) showprocs.c:2023:1: note: ‘procprt_BANDWO_e’ declared here 2023 | procprt_BANDWO_e(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~~~ showprocs.c:2105:29: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 2105 | { " GPUNUMS", "GPULIST", procprt_GPULIST_ae, procprt_GPULIST_ae, ' ', 8}; | ^~~~~~~~~~~~~~~~~~ showprocs.c:2105:29: note: (near initialization for ‘procprt_GPULIST.doactiveconvert’) showprocs.c:2070:1: note: ‘procprt_GPULIST_ae’ declared here 2070 | procprt_GPULIST_ae(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~~~~~ showprocs.c:2105:49: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 2105 | { " GPUNUMS", "GPULIST", procprt_GPULIST_ae, procprt_GPULIST_ae, ' ', 8}; | ^~~~~~~~~~~~~~~~~~ showprocs.c:2105:49: note: (near initialization for ‘procprt_GPULIST.doexitconvert’) showprocs.c:2070:1: note: ‘procprt_GPULIST_ae’ declared here 2070 | procprt_GPULIST_ae(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~~~~~ showprocs.c:2120:26: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 2120 | { "MEMNOW", "GPUMEM", procprt_GPUMEMNOW_ae, procprt_GPUMEMNOW_ae, ' ', 6}; | ^~~~~~~~~~~~~~~~~~~~ showprocs.c:2120:26: note: (near initialization for ‘procprt_GPUMEMNOW.doactiveconvert’) showprocs.c:2108:1: note: ‘procprt_GPUMEMNOW_ae’ declared here 2108 | procprt_GPUMEMNOW_ae(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~~~~~~~ showprocs.c:2120:48: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 2120 | { "MEMNOW", "GPUMEM", procprt_GPUMEMNOW_ae, procprt_GPUMEMNOW_ae, ' ', 6}; | ^~~~~~~~~~~~~~~~~~~~ showprocs.c:2120:48: note: (near initialization for ‘procprt_GPUMEMNOW.doexitconvert’) showprocs.c:2108:1: note: ‘procprt_GPUMEMNOW_ae’ declared here 2108 | procprt_GPUMEMNOW_ae(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~~~~~~~ showprocs.c:2139:29: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 2139 | { "MEMAVG", "GPUMEMAVG", procprt_GPUMEMAVG_ae, procprt_GPUMEMAVG_ae, ' ', 6}; | ^~~~~~~~~~~~~~~~~~~~ showprocs.c:2139:29: note: (near initialization for ‘procprt_GPUMEMAVG.doactiveconvert’) showprocs.c:2123:1: note: ‘procprt_GPUMEMAVG_ae’ declared here 2123 | procprt_GPUMEMAVG_ae(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~~~~~~~ showprocs.c:2139:51: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 2139 | { "MEMAVG", "GPUMEMAVG", procprt_GPUMEMAVG_ae, procprt_GPUMEMAVG_ae, ' ', 6}; | ^~~~~~~~~~~~~~~~~~~~ showprocs.c:2139:51: note: (near initialization for ‘procprt_GPUMEMAVG.doexitconvert’) showprocs.c:2123:1: note: ‘procprt_GPUMEMAVG_ae’ declared here 2123 | procprt_GPUMEMAVG_ae(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~~~~~~~ showprocs.c:2157:31: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 2157 | { "GPUBUSY", "GPUGPUBUSY", procprt_GPUGPUBUSY_ae, procprt_GPUGPUBUSY_ae, ' ', 7}; | ^~~~~~~~~~~~~~~~~~~~~ showprocs.c:2157:31: note: (near initialization for ‘procprt_GPUGPUBUSY.doactiveconvert’) showprocs.c:2142:1: note: ‘procprt_GPUGPUBUSY_ae’ declared here 2142 | procprt_GPUGPUBUSY_ae(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~~~~~~~~ showprocs.c:2157:54: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 2157 | { "GPUBUSY", "GPUGPUBUSY", procprt_GPUGPUBUSY_ae, procprt_GPUGPUBUSY_ae, ' ', 7}; | ^~~~~~~~~~~~~~~~~~~~~ showprocs.c:2157:54: note: (near initialization for ‘procprt_GPUGPUBUSY.doexitconvert’) showprocs.c:2142:1: note: ‘procprt_GPUGPUBUSY_ae’ declared here 2142 | procprt_GPUGPUBUSY_ae(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~~~~~~~~ showprocs.c:2175:31: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 2175 | { "MEMBUSY", "GPUMEMBUSY", procprt_GPUMEMBUSY_ae, procprt_GPUMEMBUSY_ae, ' ', 7}; | ^~~~~~~~~~~~~~~~~~~~~ showprocs.c:2175:31: note: (near initialization for ‘procprt_GPUMEMBUSY.doactiveconvert’) showprocs.c:2160:1: note: ‘procprt_GPUMEMBUSY_ae’ declared here 2160 | procprt_GPUMEMBUSY_ae(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~~~~~~~~ showprocs.c:2175:54: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 2175 | { "MEMBUSY", "GPUMEMBUSY", procprt_GPUMEMBUSY_ae, procprt_GPUMEMBUSY_ae, ' ', 7}; | ^~~~~~~~~~~~~~~~~~~~~ showprocs.c:2175:54: note: (near initialization for ‘procprt_GPUMEMBUSY.doexitconvert’) showprocs.c:2160:1: note: ‘procprt_GPUMEMBUSY_ae’ declared here 2160 | procprt_GPUMEMBUSY_ae(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~~~~~~~~ showprocs.c:2200:34: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 2200 | { "WCHAN ", "WCHAN", procprt_WCHAN_a, procprt_WCHAN_e, ' ', 15}; | ^~~~~~~~~~~~~~~ showprocs.c:2200:34: note: (near initialization for ‘procprt_WCHAN.doactiveconvert’) showprocs.c:2178:1: note: ‘procprt_WCHAN_a’ declared here 2178 | procprt_WCHAN_a(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~~ showprocs.c:2200:51: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 2200 | { "WCHAN ", "WCHAN", procprt_WCHAN_a, procprt_WCHAN_e, ' ', 15}; | ^~~~~~~~~~~~~~~ showprocs.c:2200:51: note: (near initialization for ‘procprt_WCHAN.doexitconvert’) showprocs.c:2191:1: note: ‘procprt_WCHAN_e’ declared here 2191 | procprt_WCHAN_e(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~~ showprocs.c:2221:26: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 2221 | { "RDELAY", "RDELAY", procprt_RUNDELAY_a, procprt_RUNDELAY_e, ' ', 6}; | ^~~~~~~~~~~~~~~~~~ showprocs.c:2221:26: note: (near initialization for ‘procprt_RUNDELAY.doactiveconvert’) showprocs.c:2203:1: note: ‘procprt_RUNDELAY_a’ declared here 2203 | procprt_RUNDELAY_a(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~~~~~ showprocs.c:2221:46: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 2221 | { "RDELAY", "RDELAY", procprt_RUNDELAY_a, procprt_RUNDELAY_e, ' ', 6}; | ^~~~~~~~~~~~~~~~~~ showprocs.c:2221:46: note: (near initialization for ‘procprt_RUNDELAY.doexitconvert’) showprocs.c:2212:1: note: ‘procprt_RUNDELAY_e’ declared here 2212 | procprt_RUNDELAY_e(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~~~~~ showprocs.c:2242:26: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 2242 | { "BDELAY", "BDELAY", procprt_BLKDELAY_a, procprt_BLKDELAY_e, ' ', 6}; | ^~~~~~~~~~~~~~~~~~ showprocs.c:2242:26: note: (near initialization for ‘procprt_BLKDELAY.doactiveconvert’) showprocs.c:2224:1: note: ‘procprt_BLKDELAY_a’ declared here 2224 | procprt_BLKDELAY_a(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~~~~~ showprocs.c:2242:46: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 2242 | { "BDELAY", "BDELAY", procprt_BLKDELAY_a, procprt_BLKDELAY_e, ' ', 6}; | ^~~~~~~~~~~~~~~~~~ showprocs.c:2242:46: note: (near initialization for ‘procprt_BLKDELAY.doexitconvert’) showprocs.c:2233:1: note: ‘procprt_BLKDELAY_e’ declared here 2233 | procprt_BLKDELAY_e(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~~~~~ showprocs.c:2260:25: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 2260 | { " NVCSW", "NVCSW", procprt_NVCSW_a, procprt_NVCSW_e, ' ', 6}; | ^~~~~~~~~~~~~~~ showprocs.c:2260:25: note: (near initialization for ‘procprt_NVCSW.doactiveconvert’) showprocs.c:2245:1: note: ‘procprt_NVCSW_a’ declared here 2245 | procprt_NVCSW_a(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~~ showprocs.c:2260:42: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 2260 | { " NVCSW", "NVCSW", procprt_NVCSW_a, procprt_NVCSW_e, ' ', 6}; | ^~~~~~~~~~~~~~~ showprocs.c:2260:42: note: (near initialization for ‘procprt_NVCSW.doexitconvert’) showprocs.c:2254:1: note: ‘procprt_NVCSW_e’ declared here 2254 | procprt_NVCSW_e(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~~ showprocs.c:2278:26: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 2278 | { "NIVCSW", "NIVCSW", procprt_NIVCSW_a, procprt_NIVCSW_e, ' ', 6}; | ^~~~~~~~~~~~~~~~ showprocs.c:2278:26: note: (near initialization for ‘procprt_NIVCSW.doactiveconvert’) showprocs.c:2263:1: note: ‘procprt_NIVCSW_a’ declared here 2263 | procprt_NIVCSW_a(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~~~ showprocs.c:2278:44: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 2278 | { "NIVCSW", "NIVCSW", procprt_NIVCSW_a, procprt_NIVCSW_e, ' ', 6}; | ^~~~~~~~~~~~~~~~ showprocs.c:2278:44: note: (near initialization for ‘procprt_NIVCSW.doexitconvert’) showprocs.c:2272:1: note: ‘procprt_NIVCSW_e’ declared here 2272 | procprt_NIVCSW_e(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~~~ showprocs.c:2287:21: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 2287 | { 0, "SORTITEM", procprt_SORTITEM_ae, procprt_SORTITEM_ae, ' ', 4}; | ^~~~~~~~~~~~~~~~~~~ showprocs.c:2287:21: note: (near initialization for ‘procprt_SORTITEM.doactiveconvert’) showprocs.c:2281:1: note: ‘procprt_SORTITEM_ae’ declared here 2281 | procprt_SORTITEM_ae(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~~~~~~ showprocs.c:2287:42: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct tstat *, int, int)’ [-Wincompatible-pointer-types] 2287 | { 0, "SORTITEM", procprt_SORTITEM_ae, procprt_SORTITEM_ae, ' ', 4}; | ^~~~~~~~~~~~~~~~~~~ showprocs.c:2287:42: note: (near initialization for ‘procprt_SORTITEM.doexitconvert’) showprocs.c:2281:1: note: ‘procprt_SORTITEM_ae’ declared here 2281 | procprt_SORTITEM_ae(struct tstat *curstat, int avgval, int nsecs) | ^~~~~~~~~~~~~~~~~~~ showprocs.c: In function ‘showcgroupline’: showprocs.c:2418:23: error: too many arguments to function ‘curelem.pf->doactiveconvert’; expected 0, have 7 2418 | buf = curelem.pf->doactiveconvert(cgchain, tstat, | ^~~~~~~ ~~~~~~~ showlinux.h:105:17: note: declared here 105 | char *(*doactiveconvert)(); // pointer to conv function | ^~~~~~~~~~~~~~~ showprocs.c: At top level: showprocs.c:2549:9: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct cgchainer *, struct tstat *, int, int, count_t, int, int *)’ {aka ‘char * (*)(struct cgchainer *, struct tstat *, int, int, long long int, int, int *)’} [-Wincompatible-pointer-types] 2549 | cgroup_CGROUP_PATH, NULL, ' ', 26, 0}; | ^~~~~~~~~~~~~~~~~~ showprocs.c:2549:9: note: (near initialization for ‘cgroupprt_CGROUP_PATH.doactiveconvert’) showprocs.c:2467:1: note: ‘cgroup_CGROUP_PATH’ declared here 2467 | cgroup_CGROUP_PATH(struct cgchainer *cgchain, struct tstat *tstat, | ^~~~~~~~~~~~~~~~~~ showprocs.c:2566:29: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct cgchainer *, struct tstat *, int, int, count_t, int, int *)’ {aka ‘char * (*)(struct cgchainer *, struct tstat *, int, int, long long int, int, int *)’} [-Wincompatible-pointer-types] 2566 | { "NPROCS", "CGRNPROCS", cgroup_CGRNPROCS, NULL, ' ', 6}; | ^~~~~~~~~~~~~~~~ showprocs.c:2566:29: note: (near initialization for ‘cgroupprt_CGRNPROCS.doactiveconvert’) showprocs.c:2552:1: note: ‘cgroup_CGRNPROCS’ declared here 2552 | cgroup_CGRNPROCS(struct cgchainer *cgchain, struct tstat *tstat, | ^~~~~~~~~~~~~~~~ showprocs.c:2583:30: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct cgchainer *, struct tstat *, int, int, count_t, int, int *)’ {aka ‘char * (*)(struct cgchainer *, struct tstat *, int, int, long long int, int, int *)’} [-Wincompatible-pointer-types] 2583 | { "PBELOW", "CGRNPROCSB", cgroup_CGRNPROCSB, NULL, ' ', 6}; | ^~~~~~~~~~~~~~~~~ showprocs.c:2583:30: note: (near initialization for ‘cgroupprt_CGRNPROCSB.doactiveconvert’) showprocs.c:2569:1: note: ‘cgroup_CGRNPROCSB’ declared here 2569 | cgroup_CGRNPROCSB(struct cgchainer *cgchain, struct tstat *tstat, | ^~~~~~~~~~~~~~~~~ showprocs.c:2635:31: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct cgchainer *, struct tstat *, int, int, count_t, int, int *)’ {aka ‘char * (*)(struct cgchainer *, struct tstat *, int, int, long long int, int, int *)’} [-Wincompatible-pointer-types] 2635 | { "CPUBUSY", "CGRCPUBUSY", cgroup_CGRCPUBUSY, NULL, 'C', 7}; | ^~~~~~~~~~~~~~~~~ showprocs.c:2635:31: note: (near initialization for ‘cgroupprt_CGRCPUBUSY.doactiveconvert’) showprocs.c:2586:1: note: ‘cgroup_CGRCPUBUSY’ declared here 2586 | cgroup_CGRCPUBUSY(struct cgchainer *cgchain, struct tstat *tstat, | ^~~~~~~~~~~~~~~~~ showprocs.c:2665:28: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct cgchainer *, struct tstat *, int, int, count_t, int, int *)’ {aka ‘char * (*)(struct cgchainer *, struct tstat *, int, int, long long int, int, int *)’} [-Wincompatible-pointer-types] 2665 | { "CPUPS", "CGRCPUPSI", cgroup_CGRCPUPSI, NULL, ' ', 5}; | ^~~~~~~~~~~~~~~~ showprocs.c:2665:28: note: (near initialization for ‘cgroupprt_CGRCPUPSI.doactiveconvert’) showprocs.c:2638:1: note: ‘cgroup_CGRCPUPSI’ declared here 2638 | cgroup_CGRCPUPSI(struct cgchainer *cgchain, struct tstat *tstat, | ^~~~~~~~~~~~~~~~ showprocs.c:2708:29: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct cgchainer *, struct tstat *, int, int, count_t, int, int *)’ {aka ‘char * (*)(struct cgchainer *, struct tstat *, int, int, long long int, int, int *)’} [-Wincompatible-pointer-types] 2708 | { "CPUMAX", "CGRCPUMAX", cgroup_CGRCPUMAX, NULL, ' ', 6}; | ^~~~~~~~~~~~~~~~ showprocs.c:2708:29: note: (near initialization for ‘cgroupprt_CGRCPUMAX.doactiveconvert’) showprocs.c:2668:1: note: ‘cgroup_CGRCPUMAX’ declared here 2668 | cgroup_CGRCPUMAX(struct cgchainer *cgchain, struct tstat *tstat, | ^~~~~~~~~~~~~~~~ showprocs.c:2731:29: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct cgchainer *, struct tstat *, int, int, count_t, int, int *)’ {aka ‘char * (*)(struct cgchainer *, struct tstat *, int, int, long long int, int, int *)’} [-Wincompatible-pointer-types] 2731 | { "CPUWGT", "CGRCPUWGT", cgroup_CGRCPUWGT, NULL, ' ', 6}; | ^~~~~~~~~~~~~~~~ showprocs.c:2731:29: note: (near initialization for ‘cgroupprt_CGRCPUWGT.doactiveconvert’) showprocs.c:2711:1: note: ‘cgroup_CGRCPUWGT’ declared here 2711 | cgroup_CGRCPUWGT(struct cgchainer *cgchain, struct tstat *tstat, | ^~~~~~~~~~~~~~~~ showprocs.c:2776:29: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct cgchainer *, struct tstat *, int, int, count_t, int, int *)’ {aka ‘char * (*)(struct cgchainer *, struct tstat *, int, int, long long int, int, int *)’} [-Wincompatible-pointer-types] 2776 | { "MEMORY", "CGRMEMORY", cgroup_CGRMEMORY, NULL, 'M', 6}; | ^~~~~~~~~~~~~~~~ showprocs.c:2776:29: note: (near initialization for ‘cgroupprt_CGRMEMORY.doactiveconvert’) showprocs.c:2734:1: note: ‘cgroup_CGRMEMORY’ declared here 2734 | cgroup_CGRMEMORY(struct cgchainer *cgchain, struct tstat *tstat, | ^~~~~~~~~~~~~~~~ showprocs.c:2806:28: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct cgchainer *, struct tstat *, int, int, count_t, int, int *)’ {aka ‘char * (*)(struct cgchainer *, struct tstat *, int, int, long long int, int, int *)’} [-Wincompatible-pointer-types] 2806 | { "MEMPS", "CGRMEMPSI", cgroup_CGRMEMPSI, NULL, ' ', 5}; | ^~~~~~~~~~~~~~~~ showprocs.c:2806:28: note: (near initialization for ‘cgroupprt_CGRMEMPSI.doactiveconvert’) showprocs.c:2779:1: note: ‘cgroup_CGRMEMPSI’ declared here 2779 | cgroup_CGRMEMPSI(struct cgchainer *cgchain, struct tstat *tstat, | ^~~~~~~~~~~~~~~~ showprocs.c:2846:29: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct cgchainer *, struct tstat *, int, int, count_t, int, int *)’ {aka ‘char * (*)(struct cgchainer *, struct tstat *, int, int, long long int, int, int *)’} [-Wincompatible-pointer-types] 2846 | { "MEMMAX", "CGRMEMMAX", cgroup_CGRMEMMAX, NULL, ' ', 6}; | ^~~~~~~~~~~~~~~~ showprocs.c:2846:29: note: (near initialization for ‘cgroupprt_CGRMEMMAX.doactiveconvert’) showprocs.c:2809:1: note: ‘cgroup_CGRMEMMAX’ declared here 2809 | cgroup_CGRMEMMAX(struct cgchainer *cgchain, struct tstat *tstat, | ^~~~~~~~~~~~~~~~ showprocs.c:2871:29: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct cgchainer *, struct tstat *, int, int, count_t, int, int *)’ {aka ‘char * (*)(struct cgchainer *, struct tstat *, int, int, long long int, int, int *)’} [-Wincompatible-pointer-types] 2871 | { "SWPMAX", "CGRSWPMAX", cgroup_CGRSWPMAX, NULL, ' ', 6}; | ^~~~~~~~~~~~~~~~ showprocs.c:2871:29: note: (near initialization for ‘cgroupprt_CGRSWPMAX.doactiveconvert’) showprocs.c:2849:1: note: ‘cgroup_CGRSWPMAX’ declared here 2849 | cgroup_CGRSWPMAX(struct cgchainer *cgchain, struct tstat *tstat, | ^~~~~~~~~~~~~~~~ showprocs.c:2900:29: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct cgchainer *, struct tstat *, int, int, count_t, int, int *)’ {aka ‘char * (*)(struct cgchainer *, struct tstat *, int, int, long long int, int, int *)’} [-Wincompatible-pointer-types] 2900 | { "DISKIO", "CGRDISKIO", cgroup_CGRDISKIO, NULL, 'D', 6}; | ^~~~~~~~~~~~~~~~ showprocs.c:2900:29: note: (near initialization for ‘cgroupprt_CGRDISKIO.doactiveconvert’) showprocs.c:2874:1: note: ‘cgroup_CGRDISKIO’ declared here 2874 | cgroup_CGRDISKIO(struct cgchainer *cgchain, struct tstat *tstat, | ^~~~~~~~~~~~~~~~ showprocs.c:2930:28: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct cgchainer *, struct tstat *, int, int, count_t, int, int *)’ {aka ‘char * (*)(struct cgchainer *, struct tstat *, int, int, long long int, int, int *)’} [-Wincompatible-pointer-types] 2930 | { "DSKPS", "CGRDSKPSI", cgroup_CGRDSKPSI, NULL, ' ', 5}; | ^~~~~~~~~~~~~~~~ showprocs.c:2930:28: note: (near initialization for ‘cgroupprt_CGRDSKPSI.doactiveconvert’) showprocs.c:2903:1: note: ‘cgroup_CGRDSKPSI’ declared here 2903 | cgroup_CGRDSKPSI(struct cgchainer *cgchain, struct tstat *tstat, | ^~~~~~~~~~~~~~~~ showprocs.c:2953:28: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct cgchainer *, struct tstat *, int, int, count_t, int, int *)’ {aka ‘char * (*)(struct cgchainer *, struct tstat *, int, int, long long int, int, int *)’} [-Wincompatible-pointer-types] 2953 | { "IOWGT", "CGRDSKWGT", cgroup_CGRDSKWGT, NULL, ' ', 5}; | ^~~~~~~~~~~~~~~~ showprocs.c:2953:28: note: (near initialization for ‘cgroupprt_CGRDSKWGT.doactiveconvert’) showprocs.c:2933:1: note: ‘cgroup_CGRDSKWGT’ declared here 2933 | cgroup_CGRDSKWGT(struct cgchainer *cgchain, struct tstat *tstat, | ^~~~~~~~~~~~~~~~ showprocs.c:2970:23: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct cgchainer *, struct tstat *, int, int, count_t, int, int *)’ {aka ‘char * (*)(struct cgchainer *, struct tstat *, int, int, long long int, int, int *)’} [-Wincompatible-pointer-types] 2970 | { "PID", "CGRPID", cgroup_CGRPID, NULL, ' ', 5}; //DYNAMIC WIDTH! | ^~~~~~~~~~~~~ showprocs.c:2970:23: note: (near initialization for ‘cgroupprt_CGRPID.doactiveconvert’) showprocs.c:2956:1: note: ‘cgroup_CGRPID’ declared here 2956 | cgroup_CGRPID(struct cgchainer *cgchain, struct tstat *tstat, | ^~~~~~~~~~~~~ showprocs.c:2999:34: error: initialization of ‘char * (*)(void)’ from incompatible pointer type ‘char * (*)(struct cgchainer *, struct tstat *, int, int, count_t, int, int *)’ {aka ‘char * (*)(struct cgchainer *, struct tstat *, int, int, long long int, int, int *)’} [-Wincompatible-pointer-types] 2999 | { "CMD ", "CGRCMD", cgroup_CGRCMD, NULL, ' ', 14}; | ^~~~~~~~~~~~~ showprocs.c:2999:34: note: (near initialization for ‘cgroupprt_CGRCMD.doactiveconvert’) showprocs.c:2973:1: note: ‘cgroup_CGRCMD’ declared here 2973 | cgroup_CGRCMD(struct cgchainer *cgchain, struct tstat *tstat, | ^~~~~~~~~~~~~ make: *** [: showprocs.o] Error 1 make: *** Waiting for unfinished jobs.... cgroups.c: In function ‘mergecgrouplist’: cgroups.c:1192:9: warning: ‘cgroupsel_133’ may be used uninitialized [-Wmaybe-uninitialized] 1192 | ptrverify(cgroupsel, "Malloc for cglinesel structs failed (%d)\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1193 | ncgroups + nprocs); | ~~~~~~~~~~~~~~~~~~ In file included from cgroups.c:42: atop.h:207:17: note: by argument 1 of type ‘const void *’ to ‘ptrverify’ declared here 207 | void ptrverify(const void *, const char *, ...); | ^~~~~~~~~ error: Bad exit status from /var/tmp/rpm-tmp.qEsErQ (%build) Bad exit status from /var/tmp/rpm-tmp.qEsErQ (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M 57f953098de945529e6b661b09998444 -D /var/lib/mock/f42-build-56777424-6546092/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.wqt_upp2:/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 x86_64 --nodeps /builddir/build/SPECS/atop.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 57f953098de945529e6b661b09998444 -D /var/lib/mock/f42-build-56777424-6546092/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.wqt_upp2:/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 x86_64 --nodeps /builddir/build/SPECS/atop.spec'