D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 sh: line 4: [: -j8: integer expression expected Installing /home/pterjan/rpmbuild/SRPMS/cddbd-1.5.2-5.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.5F6jQK sh: line 4: [: -j8: integer expression expected Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.89oXxX + umask 022 + cd /home/pterjan/rpmbuild/BUILD/cddbd-1.5.2-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + rm -rf /home/pterjan/rpmbuild/BUILD/cddbd-1.5.2-build/BUILDROOT + cd /home/pterjan/rpmbuild/BUILD/cddbd-1.5.2-build + rm -rf cddbd-1.5.2 + /usr/lib/rpm/rpmuncompress -x -v /home/pterjan/rpmbuild/SOURCES/cddbd-1.5.2.tar.gz /usr/bin/gzip -dc '/home/pterjan/rpmbuild/SOURCES/cddbd-1.5.2.tar.gz' | /usr/bin/tar -xvvof - drwxr-xr-x freedb/freedb 0 2006-07-01 17:47 cddbd-1.5.2/ -r--r--r-- freedb/freedb 105725 2006-07-01 17:47 cddbd-1.5.2/db.c -r--r--r-- freedb/freedb 7131 2006-07-01 17:47 cddbd-1.5.2/crc.c -r--r--r-- freedb/freedb 4624 2006-07-01 17:47 cddbd-1.5.2/README -r--r--r-- freedb/freedb 74493 2006-07-01 17:47 cddbd-1.5.2/CDDBD_HOWTO -r-xr--r-- freedb/freedb 5161 2006-07-01 17:47 cddbd-1.5.2/config.sh -r--r--r-- freedb/freedb 1692 2006-07-01 17:47 cddbd-1.5.2/strutil.c -r--r--r-- freedb/freedb 4314 2006-07-01 17:47 cddbd-1.5.2/charset.c -r--r--r-- freedb/freedb 4110 2006-07-01 17:47 cddbd-1.5.2/submit.cgi.template -r--r--r-- freedb/freedb 24144 2006-07-01 17:47 cddbd-1.5.2/CDDBPROTO -r--r--r-- freedb/freedb 4541 2006-07-01 17:47 cddbd-1.5.2/makefile -r-xr--r-- freedb/freedb 18226 2006-07-01 17:47 cddbd-1.5.2/install.sh -r--r--r-- freedb/freedb 13812 2006-07-01 17:47 cddbd-1.5.2/encode.c -r--r--r-- freedb/freedb 10229 2006-07-01 17:47 cddbd-1.5.2/CHANGELOG -r--r--r-- freedb/freedb 6569 2006-07-01 17:47 cddbd-1.5.2/help.c -r--r--r-- freedb/freedb 18569 2006-07-01 17:47 cddbd-1.5.2/access.hdr -r--r--r-- freedb/freedb 39567 2006-07-01 17:47 cddbd-1.5.2/inet.c -r--r--r-- freedb/freedb 2445 2006-07-01 17:47 cddbd-1.5.2/list.h -r--r--r-- freedb/freedb 31309 2006-07-01 17:47 cddbd-1.5.2/mail.c -r--r--r-- freedb/freedb 19186 2006-07-01 17:47 cddbd-1.5.2/fuzzy.c -r--r--r-- freedb/freedb 2603 2006-07-01 17:47 cddbd-1.5.2/bit_array.c -r--r--r-- freedb/freedb 1272 2006-07-01 17:47 cddbd-1.5.2/bit_array.h -r--r--r-- freedb/freedb 9911 2006-07-01 17:47 cddbd-1.5.2/DBFORMAT -r--r--r-- freedb/freedb 5551 2006-07-01 17:47 cddbd-1.5.2/sites.hdr -r--r--r-- freedb/freedb 1202 2006-07-01 17:47 cddbd-1.5.2/patchlevel.h -r--r--r-- freedb/freedb 2353 2006-07-01 17:47 cddbd-1.5.2/utf8.h -r--r--r-- freedb/freedb 37871 2006-07-01 17:47 cddbd-1.5.2/xmit.c -r--r--r-- freedb/freedb 11836 2006-07-01 17:47 cddbd-1.5.2/cddbd.1 -r--r--r-- freedb/freedb 125535 2006-07-01 17:47 cddbd-1.5.2/cddbd.c -r--r--r-- freedb/freedb 31669 2006-07-01 17:47 cddbd-1.5.2/cddbd.h -r--r--r-- freedb/freedb 18009 2006-07-01 17:47 cddbd-1.5.2/COPYING -r--r--r-- freedb/freedb 1565 2006-07-01 17:47 cddbd-1.5.2/passwd.hdr -r--r--r-- freedb/freedb 2390 2006-07-01 17:47 cddbd-1.5.2/MANIFEST + STATUS=0 + '[' 0 -ne 0 ']' + cd cddbd-1.5.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'ACCESSFILE /usr/share/cddbd/access' + echo 'SECUSERS ' + echo '#define ACCESSFILE "/usr/share/cddbd/access"' + echo 'char *secure_users[] = {0};' + cat + RPM_EC=0 ++ jobs -p + exit 0 sh: line 4: [: -j8: integer expression expected Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.YBNxHM + umask 022 + cd /home/pterjan/rpmbuild/BUILD/cddbd-1.5.2-build + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd cddbd-1.5.2 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + make 'CFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -c cddbd.c cddbd.c:458:25: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(arg_t *)' {aka 'void (*)(struct arg *)'} [-Wincompatible-pointer-types] 458 | { "cddb", do_cddb, cddb_help, (CF_SUBCMD | CF_ASY) }, | ^~~~~~~ cddbd.c:458:25: note: (near initialization for 'cmd[0].func') cddbd.c:92:6: note: 'do_cddb' declared here 92 | void do_cddb(arg_t *); | ^~~~~~~ cddbd.c:459:25: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(arg_t *)' {aka 'void (*)(struct arg *)'} [-Wincompatible-pointer-types] 459 | { "get", do_get, get_help, (CF_ASY | CF_SECURE) }, | ^~~~~~ cddbd.c:459:25: note: (near initialization for 'cmd[1].func') cddbd.c:101:6: note: 'do_get' declared here 101 | void do_get(arg_t *); | ^~~~~~ cddbd.c:460:25: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(arg_t *)' {aka 'void (*)(struct arg *)'} [-Wincompatible-pointer-types] 460 | { "help", do_help, help_help, CF_ASY }, | ^~~~~~~ cddbd.c:460:25: note: (near initialization for 'cmd[2].func') cddbd.c:102:6: note: 'do_help' declared here 102 | void do_help(arg_t *); | ^~~~~~~ cddbd.c:461:25: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(arg_t *)' {aka 'void (*)(struct arg *)'} [-Wincompatible-pointer-types] 461 | { "log", do_log, log_help, CF_ASY }, | ^~~~~~ cddbd.c:461:25: note: (near initialization for 'cmd[3].func') cddbd.c:103:6: note: 'do_log' declared here 103 | void do_log(arg_t *); | ^~~~~~ cddbd.c:462:25: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(arg_t *)' {aka 'void (*)(struct arg *)'} [-Wincompatible-pointer-types] 462 | { "motd", do_motd, motd_help, CF_ASY }, | ^~~~~~~ cddbd.c:462:25: note: (near initialization for 'cmd[4].func') cddbd.c:104:6: note: 'do_motd' declared here 104 | void do_motd(arg_t *); | ^~~~~~~ cddbd.c:463:25: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(arg_t *)' {aka 'void (*)(struct arg *)'} [-Wincompatible-pointer-types] 463 | { "validate", do_validate, validate_help, CF_SECURE }, | ^~~~~~~~~~~ cddbd.c:463:25: note: (near initialization for 'cmd[5].func') cddbd.c:105:6: note: 'do_validate' declared here 105 | void do_validate(arg_t *); | ^~~~~~~~~~~ cddbd.c:464:25: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(arg_t *)' {aka 'void (*)(struct arg *)'} [-Wincompatible-pointer-types] 464 | { "proto", do_proto, proto_help, 0 }, | ^~~~~~~~ cddbd.c:464:25: note: (near initialization for 'cmd[6].func') cddbd.c:106:6: note: 'do_proto' declared here 106 | void do_proto(arg_t *); | ^~~~~~~~ cddbd.c:465:25: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(arg_t *)' {aka 'void (*)(struct arg *)'} [-Wincompatible-pointer-types] 465 | { "put", do_put, put_help, CF_SECURE }, | ^~~~~~ cddbd.c:465:25: note: (near initialization for 'cmd[7].func') cddbd.c:107:6: note: 'do_put' declared here 107 | void do_put(arg_t *); | ^~~~~~ cddbd.c:466:25: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(arg_t *)' {aka 'void (*)(struct arg *)'} [-Wincompatible-pointer-types] 466 | { "quit", do_quit, quit_help, 0 }, | ^~~~~~~ cddbd.c:466:25: note: (near initialization for 'cmd[8].func') cddbd.c:108:6: note: 'do_quit' declared here 108 | void do_quit(arg_t *); | ^~~~~~~ cddbd.c:467:25: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(arg_t *)' {aka 'void (*)(struct arg *)'} [-Wincompatible-pointer-types] 467 | { "sites", do_sites, sites_help, CF_ASY }, | ^~~~~~~~ cddbd.c:467:25: note: (near initialization for 'cmd[9].func') cddbd.c:109:6: note: 'do_sites' declared here 109 | void do_sites(arg_t *); | ^~~~~~~~ cddbd.c:468:25: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(arg_t *)' {aka 'void (*)(struct arg *)'} [-Wincompatible-pointer-types] 468 | { "stat", do_stat, stat_help, CF_ASY }, | ^~~~~~~ cddbd.c:468:25: note: (near initialization for 'cmd[10].func') cddbd.c:110:6: note: 'do_stat' declared here 110 | void do_stat(arg_t *); | ^~~~~~~ cddbd.c:469:25: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(arg_t *)' {aka 'void (*)(struct arg *)'} [-Wincompatible-pointer-types] 469 | { "update", do_update, update_help, CF_SECURE }, | ^~~~~~~~~ cddbd.c:469:25: note: (near initialization for 'cmd[11].func') cddbd.c:111:6: note: 'do_update' declared here 111 | void do_update(arg_t *); | ^~~~~~~~~ cddbd.c:470:25: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(arg_t *)' {aka 'void (*)(struct arg *)'} [-Wincompatible-pointer-types] 470 | { "ver", do_ver, ver_help, CF_ASY }, | ^~~~~~ cddbd.c:470:25: note: (near initialization for 'cmd[12].func') cddbd.c:112:6: note: 'do_ver' declared here 112 | void do_ver(arg_t *); | ^~~~~~ cddbd.c:471:25: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(arg_t *)' {aka 'void (*)(struct arg *)'} [-Wincompatible-pointer-types] 471 | { "whom", do_whom, whom_help, CF_ASY }, | ^~~~~~~ cddbd.c:471:25: note: (near initialization for 'cmd[13].func') cddbd.c:113:6: note: 'do_whom' declared here 113 | void do_whom(arg_t *); | ^~~~~~~ cddbd.c:472:25: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(arg_t *)' {aka 'void (*)(struct arg *)'} [-Wincompatible-pointer-types] 472 | { "discid", do_discid, discid_help, CF_ASY }, | ^~~~~~~~~ cddbd.c:472:25: note: (near initialization for 'cmd[14].func') cddbd.c:95:6: note: 'do_discid' declared here 95 | void do_discid(arg_t *); | ^~~~~~~~~ cddbd.c:477:20: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(arg_t *)' {aka 'void (*)(struct arg *)'} [-Wincompatible-pointer-types] 477 | { "hello", do_cddb_hello, hello_help, 0 }, | ^~~~~~~~~~~~~ cddbd.c:477:20: note: (near initialization for 'cddb_cmd[0].func') cddbd.c:93:6: note: 'do_cddb_hello' declared here 93 | void do_cddb_hello(arg_t *); | ^~~~~~~~~~~~~ cddbd.c:478:20: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(arg_t *)' {aka 'void (*)(struct arg *)'} [-Wincompatible-pointer-types] 478 | { "query", do_cddb_query, query_help, (CF_HELLO | CF_ACCESS | CF_ASY) }, | ^~~~~~~~~~~~~ cddbd.c:478:20: note: (near initialization for 'cddb_cmd[1].func') cddbd.c:94:6: note: 'do_cddb_query' declared here 94 | void do_cddb_query(arg_t *); | ^~~~~~~~~~~~~ cddbd.c:479:20: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(arg_t *)' {aka 'void (*)(struct arg *)'} [-Wincompatible-pointer-types] 479 | { "read", do_cddb_read, read_help, (CF_HELLO | CF_ACCESS | CF_ASY) }, | ^~~~~~~~~~~~ cddbd.c:479:20: note: (near initialization for 'cddb_cmd[2].func') cddbd.c:97:6: note: 'do_cddb_read' declared here 97 | void do_cddb_read(arg_t *); | ^~~~~~~~~~~~ cddbd.c:481:20: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(arg_t *)' {aka 'void (*)(struct arg *)'} [-Wincompatible-pointer-types] 481 | { "write", do_cddb_write, write_help, (CF_HELLO | CF_ACCESS | CF_SECURE)}, | ^~~~~~~~~~~~~ cddbd.c:481:20: note: (near initialization for 'cddb_cmd[3].func') cddbd.c:100:6: note: 'do_cddb_write' declared here 100 | void do_cddb_write(arg_t *); | ^~~~~~~~~~~~~ cddbd.c:482:20: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(arg_t *)' {aka 'void (*)(struct arg *)'} [-Wincompatible-pointer-types] 482 | { "lscat", do_cddb_lscat, lscat_help, (CF_HELLO | CF_ACCESS | CF_ASY)}, | ^~~~~~~~~~~~~ cddbd.c:482:20: note: (near initialization for 'cddb_cmd[4].func') cddbd.c:96:6: note: 'do_cddb_lscat' declared here 96 | void do_cddb_lscat(arg_t *); | ^~~~~~~~~~~~~ cddbd.c:483:21: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(arg_t *)' {aka 'void (*)(struct arg *)'} [-Wincompatible-pointer-types] 483 | { "unlink", do_cddb_unlink, unlink_help, (CF_HELLO | CF_ACCESS | CF_SECURE)}, | ^~~~~~~~~~~~~~ cddbd.c:483:21: note: (near initialization for 'cddb_cmd[5].func') cddbd.c:99:6: note: 'do_cddb_unlink' declared here 99 | void do_cddb_unlink(arg_t *); | ^~~~~~~~~~~~~~ cddbd.c: In function 'cddbd_setuid': cddbd.c:952:25: error: too many arguments to function 'cddbd_log'; expected 0, have 4 952 | cddbd_log(LOG_ERR, | ^~~~~~~~~ In file included from cddbd.c:46: cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c:965:25: error: too many arguments to function 'cddbd_log'; expected 0, have 4 965 | cddbd_log(LOG_ERR, | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c: In function 'cddbd_cddbp_cmd': cddbd.c:1017:25: error: too many arguments to function 'cddbd_log'; expected 0, have 3 1017 | cddbd_log(LOG_INPUT, "Input: \"%s\"", args.buf); | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c:1053:42: error: too many arguments to function 'c->func'; expected 0, have 1 1053 | (*(c->func))(&args); | ~^~~~~~~~~~~ ~~~~~ cddbd.h:461:19: note: declared here 461 | void (*func)(); /* Command function. */ | ^~~~ cddbd.c: In function 'sighand': cddbd.c:1110:9: error: too many arguments to function 'cddbd_log'; expected 0, have 3 1110 | cddbd_log(LOG_ERR, "Received signal %d.", sig); | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c: In function '_quit': cddbd.c:1162:17: error: too many arguments to function 'cddbd_log'; expected 0, have 3 1162 | cddbd_log(LOG_INFO, "Standalone daemon exiting, status: %d", | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c:1170:17: error: too many arguments to function 'cddbd_log'; expected 0, have 4 1170 | cddbd_log(LOG_HELLO, "Connect [%s]: %s, no handshake.", | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c:1182:17: error: too many arguments to function 'cddbd_log'; expected 0, have 3 1182 | cddbd_log(LOG_INFO, "Quitting, status %d.", status); | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c: In function 'cddbd_check_nus': cddbd.c:1330:17: error: too many arguments to function 'cddbd_log'; expected 0, have 4 1330 | cddbd_log(LOG_INFO, | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c:1341:9: error: too many arguments to function 'cddbd_snprintf'; expected 0, have 6 1341 | cddbd_snprintf(lockfile, sizeof(lockfile), "%s/%s.%05d", | ^~~~~~~~~~~~~~ ~~~~~~~~ cddbd.h:872:6: note: declared here 872 | void cddbd_snprintf(); | ^~~~~~~~~~~~~~ cddbd.c:1345:17: error: too many arguments to function 'cddbd_log'; expected 0, have 4 1345 | cddbd_log(LOG_ERR, "Can't create lock file: %s (%d).", | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c: In function 'cddbd_nus': cddbd.c:1378:17: error: too many arguments to function 'cddbd_log'; expected 0, have 4 1378 | cddbd_log(LOG_ERR, "Can't open lock dir: %s (%d).", | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c:1395:25: error: too many arguments to function 'cddbd_snprintf'; expected 0, have 5 1395 | cddbd_snprintf(lock, sizeof(lock), "%s/%s", | ^~~~~~~~~~~~~~ ~~~~ cddbd.h:872:6: note: declared here 872 | void cddbd_snprintf(); | ^~~~~~~~~~~~~~ cddbd.c: In function 'cddbd_check_access': cddbd.c:1470:25: error: too many arguments to function 'cddbd_log'; expected 0, have 3 1470 | cddbd_log(LOG_ERR, | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c:1511:25: error: too many arguments to function 'cddbd_log'; expected 0, have 2 1511 | cddbd_log(LOG_ERR, "Can't allocate list entry."); | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c:1529:17: error: too many arguments to function 'cddbd_log'; expected 0, have 5 1529 | cddbd_log(LOG_ERR, "Max concurrent hangs (%d) > max users (%d)." | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c:1536:17: error: too many arguments to function 'cddbd_log'; expected 0, have 3 1536 | cddbd_log(LOG_ERR, "No work directory specified in %s.", | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c:1543:17: error: too many arguments to function 'cddbd_log'; expected 0, have 3 1543 | cddbd_log(LOG_ERR, "No CDDB directory specified in %s.", | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c:1549:17: error: too many arguments to function 'cddbd_log'; expected 0, have 2 1549 | cddbd_log(LOG_ERR, "Log file low water mark is not lower than" | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c: In function 'cddbd_read_access': cddbd.c:1588:25: error: too many arguments to function 'cddbd_log'; expected 0, have 4 1588 | cddbd_log(LOG_ERR, "Can't open access file: %s (%d).", | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c:1608:25: error: too many arguments to function 'cddbd_log'; expected 0, have 4 1608 | cddbd_log(LOG_ERR, | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c:1627:33: error: too many arguments to function 'cddbd_log'; expected 0, have 2 1627 | cddbd_log(LOG_ERR, errstr); | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c:1640:41: error: too many arguments to function 'cddbd_log'; expected 0, have 2 1640 | cddbd_log(LOG_ERR, "Malloc failed."); | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c:1645:41: error: too many arguments to function 'cddbd_log'; expected 0, have 2 1645 | cddbd_log(LOG_ERR, | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c:1655:41: error: too many arguments to function 'cddbd_log'; expected 0, have 2 1655 | cddbd_log(LOG_ERR, "Malloc failed."); | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c:1713:49: error: too many arguments to function 'cddbd_log'; expected 0, have 2 1713 | cddbd_log(LOG_ERR, | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c:1731:33: error: too many arguments to function 'cddbd_log'; expected 0, have 2 1731 | cddbd_log(LOG_ERR, errstr); | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c:1744:41: error: too many arguments to function 'cddbd_log'; expected 0, have 2 1744 | cddbd_log(LOG_ERR, "Malloc failed."); | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c:1750:41: error: too many arguments to function 'cddbd_log'; expected 0, have 2 1750 | cddbd_log(LOG_ERR, | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c:1774:41: error: too many arguments to function 'cddbd_log'; expected 0, have 2 1774 | cddbd_log(LOG_ERR, "Malloc failed."); | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c:1783:41: error: too many arguments to function 'cddbd_log'; expected 0, have 4 1783 | cddbd_log(LOG_ERR, | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c:1796:25: error: too many arguments to function 'cddbd_snprintf'; expected 0, have 4 1796 | cddbd_snprintf(buf, sizeof(buf), "%s_time:", tp->name); | ^~~~~~~~~~~~~~ ~~~ cddbd.h:872:6: note: declared here 872 | void cddbd_snprintf(); | ^~~~~~~~~~~~~~ cddbd.c:1807:41: error: too many arguments to function 'cddbd_log'; expected 0, have 4 1807 | cddbd_log(LOG_ERR, | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c: In function 'cddbd_parse_iface': cddbd.c:1980:17: error: too many arguments to function 'cddbd_snprintf'; expected 0, have 5 1980 | cddbd_snprintf(errstr, CDDBBUFSIZ, | ^~~~~~~~~~~~~~ ~~~~~~ cddbd.h:872:6: note: declared here 872 | void cddbd_snprintf(); | ^~~~~~~~~~~~~~ cddbd.c:2003:25: error: too many arguments to function 'cddbd_snprintf'; expected 0, have 6 2003 | cddbd_snprintf(errstr, CDDBBUFSIZ, | ^~~~~~~~~~~~~~ ~~~~~~ cddbd.h:872:6: note: declared here 872 | void cddbd_snprintf(); | ^~~~~~~~~~~~~~ cddbd.c: In function 'cddbd_parse_access': cddbd.c:2045:25: error: too many arguments to function 'cddbd_log'; expected 0, have 5 2045 | cddbd_log(LOG_ERR, | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c:2057:25: error: too many arguments to function 'cddbd_log'; expected 0, have 5 2057 | cddbd_log(LOG_ERR, | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c:2071:25: error: too many arguments to function 'cddbd_log'; expected 0, have 5 2071 | cddbd_log(LOG_ERR, | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c:2114:25: error: too many arguments to function 'cddbd_log'; expected 0, have 6 2114 | cddbd_log(LOG_ERR, | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c:2122:25: error: too many arguments to function 'cddbd_log'; expected 0, have 6 2122 | cddbd_log(LOG_ERR, | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c:2146:25: error: too many arguments to function 'cddbd_log'; expected 0, have 5 2146 | cddbd_log(LOG_ERR, | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c:2171:25: error: too many arguments to function 'cddbd_log'; expected 0, have 5 2171 | cddbd_log(LOG_ERR, | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c:2191:25: error: too many arguments to function 'cddbd_log'; expected 0, have 6 2191 | cddbd_log(LOG_ERR, | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c:2202:17: error: too many arguments to function 'cddbd_log'; expected 0, have 3 2202 | cddbd_log(LOG_ERR, "Internal error: bad access type: %d.", | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c: In function 'cddbd_access_err': cddbd.c:2215:9: error: too many arguments to function 'cddbd_log'; expected 0, have 4 2215 | cddbd_log(LOG_ERR, "Syntax error, line %d in %s.", line, accessfile); | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c: In function 'cddbd_db_init': cddbd.c:2241:17: error: too many arguments to function 'cddbd_log'; expected 0, have 4 2241 | cddbd_log(LOG_ERR, "Can't open database directory: %s (%d).", | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c:2252:17: error: too many arguments to function 'cddbd_snprintf'; expected 0, have 5 2252 | cddbd_snprintf(buf, sizeof(buf), "%s/%s", cddbdir, dp->d_name); | ^~~~~~~~~~~~~~ ~~~ cddbd.h:872:6: note: declared here 872 | void cddbd_snprintf(); | ^~~~~~~~~~~~~~ cddbd.c:2268:25: error: too many arguments to function 'cddbd_log'; expected 0, have 2 2268 | cddbd_log(LOG_ERR, "Malloc failed."); | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c:2279:17: error: too many arguments to function 'cddbd_log'; expected 0, have 2 2279 | cddbd_log(LOG_ERR, "Database is empty."); | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c: In function 'cddbd_input_to': cddbd.c:2369:9: error: too many arguments to function 'cddbd_log'; expected 0, have 2 2369 | cddbd_log(LOG_INFO, "Input timeout."); | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c: In function 'cddbd_access_to': cddbd.c:2382:9: error: too many arguments to function 'cddbd_log'; expected 0, have 2 2382 | cddbd_log(LOG_INFO, "Access timeout."); | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c: In function 'cddbd_connect_to': cddbd.c:2395:9: error: too many arguments to function 'cddbd_log'; expected 0, have 2 2395 | cddbd_log(LOG_INFO, "Connect timeout."); | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c: In function 'do_get': cddbd.c:2534:17: error: too many arguments to function 'cddbd_log'; expected 0, have 3 2534 | cddbd_log(LOG_ERR, "Work directory does not exist: %s.", | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c:2541:17: error: too many arguments to function 'cddbd_log'; expected 0, have 3 2541 | cddbd_log(LOG_ERR, "%s is not a directory.", workdir); | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c:2546:9: error: too many arguments to function 'cddbd_snprintf'; expected 0, have 5 2546 | cddbd_snprintf(path, sizeof(path), "%s/%s", workdir, file); | ^~~~~~~~~~~~~~ ~~~~ cddbd.h:872:6: note: declared here 872 | void cddbd_snprintf(); | ^~~~~~~~~~~~~~ cddbd.c:2566:25: error: too many arguments to function 'cddbd_log'; expected 0, have 3 2566 | cddbd_log(LOG_INFO, "Can't open %s for reading.", path); | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c:2571:17: error: too many arguments to function 'cddbd_log'; expected 0, have 4 2571 | cddbd_log(LOG_INFO | LOG_GET, "File downloaded from %s: %s.", | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c: In function 'do_put': cddbd.c:2617:17: error: too many arguments to function 'cddbd_log'; expected 0, have 3 2617 | cddbd_log(LOG_ERR, "Work directory does not exist: %s.", | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c:2624:17: error: too many arguments to function 'cddbd_log'; expected 0, have 3 2624 | cddbd_log(LOG_ERR, "%s is not a directory.", workdir); | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c:2629:9: error: too many arguments to function 'cddbd_snprintf'; expected 0, have 5 2629 | cddbd_snprintf(path, sizeof(path), "%s/%s", workdir, file); | ^~~~~~~~~~~~~~ ~~~~ cddbd.h:872:6: note: declared here 872 | void cddbd_snprintf(); | ^~~~~~~~~~~~~~ cddbd.c:2637:17: error: too many arguments to function 'cddbd_log'; expected 0, have 3 2637 | cddbd_log(LOG_INFO, "Attempt to write disallowed file %s.", | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c:2645:25: error: too many arguments to function 'cddbd_log'; expected 0, have 3 2645 | cddbd_log(LOG_INFO, "Attempt to write non-file %s.", | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c:2652:25: error: too many arguments to function 'cddbd_log'; expected 0, have 3 2652 | cddbd_log(LOG_INFO, | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c:2663:17: error: too many arguments to function 'cddbd_log'; expected 0, have 3 2663 | cddbd_log(LOG_INFO, "Can't open %s for writing.", tpath); | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c:2688:25: error: too many arguments to function 'cddbd_log'; expected 0, have 3 2688 | cddbd_log(LOG_INFO, "File put too large: %s.", path); | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c:2699:25: error: too many arguments to function 'cddbd_log'; expected 0, have 3 2699 | cddbd_log(LOG_INFO, "Can't write %s.", tpath); | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c:2712:17: error: too many arguments to function 'cddbd_log'; expected 0, have 3 2712 | cddbd_log(LOG_INFO, "File put too large: %s.", path); | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c:2722:17: error: too many arguments to function 'cddbd_log'; expected 0, have 4 2722 | cddbd_log(LOG_ERR, "Can't unlink %s (%d).", path, errno); | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c:2732:17: error: too many arguments to function 'cddbd_log'; expected 0, have 5 2732 | cddbd_log(LOG_ERR, "Can't link %s to %s (%d).", | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c: In function 'do_cddb_unlink': cddbd.c:2871:9: error: too many arguments to function 'cddbd_snprintf'; expected 0, have 6 2871 | cddbd_snprintf(file, sizeof(file), "%s/%s/%08x", cddbdir, category, | ^~~~~~~~~~~~~~ ~~~~ cddbd.h:872:6: note: declared here 872 | void cddbd_snprintf(); | ^~~~~~~~~~~~~~ cddbd.c:2875:17: error: too many arguments to function 'cddbd_log'; expected 0, have 3 2875 | cddbd_log(LOG_INFO, "Unlink: %s has been deleted.", file); | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c:2879:25: error: too many arguments to function 'cddbd_log'; expected 0, have 3 2879 | cddbd_log(LOG_ERR, "Unlink: Failed to delete %s.", file); | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c: In function 'do_cddb_query': cddbd.c:2998:17: error: too many arguments to function 'cddbd_log'; expected 0, have 2 2998 | cddbd_log(LOG_ERR | LOG_QUERY, "Can't malloc match list."); | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c:3006:17: error: too many arguments to function 'cddbd_snprintf'; expected 0, have 6 3006 | cddbd_snprintf(buf, sizeof(buf), "%s/%s/%08x", | ^~~~~~~~~~~~~~ ~~~ cddbd.h:872:6: note: declared here 872 | void cddbd_snprintf(); | ^~~~~~~~~~~~~~ cddbd.c:3019:25: error: too many arguments to function 'cddbd_log'; expected 0, have 4 3019 | cddbd_log(LOG_ERR, "Failed to read DB entry %s: %s", | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c:3040:25: error: too many arguments to function 'cddbd_log'; expected 0, have 2 3040 | cddbd_log(LOG_ERR | LOG_QUERY, "Can't allocate memory for match list."); | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c:3050:25: error: too many arguments to function 'cddbd_log'; expected 0, have 2 3050 | cddbd_log(LOG_ERR | LOG_QUERY, "Can't allocate memory for match dtitle."); | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c:3055:25: error: too many arguments to function 'cddbd_log'; expected 0, have 2 3055 | cddbd_log(LOG_ERR | LOG_QUERY, "Can't add to match list."); | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c:3071:17: error: too many arguments to function 'cddbd_log'; expected 0, have 4 3071 | cddbd_log(LOG_ACCESS | LOG_QUERY, | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c:3084:17: error: too many arguments to function 'cddbd_log'; expected 0, have 4 3084 | cddbd_log(LOG_ACCESS | LOG_QUERY, | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c:3094:17: error: too many arguments to function 'cddbd_log'; expected 0, have 3 3094 | cddbd_log(LOG_INFO | LOG_COLLIS, | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c: In function 'do_cddb_read': cddbd.c:3143:9: error: too many arguments to function 'cddbd_snprintf'; expected 0, have 6 3143 | cddbd_snprintf(file, sizeof(file), "%s/%s/%08x", cddbdir, category, | ^~~~~~~~~~~~~~ ~~~~ cddbd.h:872:6: note: declared here 872 | void cddbd_snprintf(); | ^~~~~~~~~~~~~~ cddbd.c:3153:17: error: too many arguments to function 'cddbd_log'; expected 0, have 4 3153 | cddbd_log(LOG_INFO, "Read: %s %08x failed", category, discid); | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c:3162:17: error: too many arguments to function 'cddbd_log'; expected 0, have 4 3162 | cddbd_log(LOG_ERR, "Failed to read DB entry %s: %s", | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c:3178:25: error: too many arguments to function 'cddbd_log'; expected 0, have 2 3178 | cddbd_log(LOG_ERR, "Memory error during read."); | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c:3200:9: error: too many arguments to function 'cddbd_log'; expected 0, have 6 3200 | cddbd_log(LOG_ACCESS | LOG_READ, readstr, category, discid, cksum, buf); | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c: In function 'do_cddb_write': cddbd.c:3243:25: error: too many arguments to function 'cddbd_log'; expected 0, have 3 3243 | cddbd_log(LOG_ERR, "Failed to create post dir %s.", | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c:3252:17: error: too many arguments to function 'cddbd_log'; expected 0, have 3 3252 | cddbd_log(LOG_ERR, "%s is not a directory.", postdir); | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c:3283:25: error: too many arguments to function 'cddbd_log'; expected 0, have 3 3283 | cddbd_log(LOG_ERR, "Failed to write DB entry: %s.", | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c:3297:9: error: too many arguments to function 'cddbd_snprintf'; expected 0, have 5 3297 | cddbd_snprintf(pdir, sizeof(pdir), "%s/%s", postdir, category); | ^~~~~~~~~~~~~~ ~~~~ cddbd.h:872:6: note: declared here 872 | void cddbd_snprintf(); | ^~~~~~~~~~~~~~ cddbd.c:3304:17: error: too many arguments to function 'cddbd_log'; expected 0, have 6 3304 | cddbd_log(LOG_INFO | LOG_WRITE, | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c:3312:17: error: too many arguments to function 'cddbd_log'; expected 0, have 3 3312 | cddbd_log(LOG_ERR, "Failed to write DB entry: %s.", buf); | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c:3317:17: error: too many arguments to function 'cddbd_log'; expected 0, have 3 3317 | cddbd_log(LOG_ERR, "Failed to write DB entry: %s.", buf); | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c: In function '_do_validate': cddbd.c:3463:17: error: too many arguments to function 'cddbd_log'; expected 0, have 3 3463 | cddbd_log(LOG_INFO | LOG_PASSWD, | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c:3474:9: error: too many arguments to function 'cddbd_log'; expected 0, have 3 3474 | cddbd_log(LOG_INFO | LOG_PASSWD, | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c: In function 'do_update': cddbd.c:3520:17: error: too many arguments to function 'cddbd_log'; expected 0, have 3 3520 | cddbd_log(LOG_ERR, "Can't fork child for update (%d).", errno); | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c: In function 'do_sites': cddbd.c:3684:9: error: too many arguments to function 'cddbd_log'; expected 0, have 3 3684 | cddbd_log(LOG_INFO | LOG_SITES, "Site list downloaded from %s.", rhost); | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c: In function '_do_cddb_hello': cddbd.c:3728:17: error: too many arguments to function 'cddbd_log'; expected 0, have 8 3728 | cddbd_log(LOG_INFO | LOG_REJECT, rejectstr, | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c:3738:17: error: too many arguments to function 'cddbd_log'; expected 0, have 8 3738 | cddbd_log(LOG_INFO | LOG_REJECT, rejectstr, | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c:3750:17: error: too many arguments to function 'cddbd_log'; expected 0, have 2 3750 | cddbd_log(LOG_ERR | LOG_INTERN, | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c:3763:9: error: too many arguments to function 'cddbd_log'; expected 0, have 8 3763 | cddbd_log(LOG_HELLO, hellostr, iface_map[interface].if_name, username, | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c:3766:9: error: too many arguments to function 'cddbd_snprintf'; expected 0, have 6 3766 | cddbd_snprintf(buf, sizeof(buf), "%s %s %s", username, hostname, rhost); | ^~~~~~~~~~~~~~ ~~~ cddbd.h:872:6: note: declared here 872 | void cddbd_snprintf(); | ^~~~~~~~~~~~~~ cddbd.c: In function 'do_motd': cddbd.c:3798:17: error: too many arguments to function 'cddbd_log'; expected 0, have 4 3798 | cddbd_log(LOG_ERR, "Can't open motd file: %s (%d).", | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c: In function 'do_log': cddbd.c:3994:17: error: too many arguments to function 'cddbd_log'; expected 0, have 3 3994 | cddbd_log(LOG_INFO | LOG_GET, "Log downloaded from %s.", rhost); | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c:4004:33: error: too many arguments to function 'cddbd_log'; expected 0, have 2 4004 | cddbd_log(LOG_ERR, "Can't allocate list head.\n"); | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c:4111:33: error: too many arguments to function 'cddbd_snprintf'; expected 0, have 5 4111 | cddbd_snprintf(buf, sizeof(buf), "%s%s", user, | ^~~~~~~~~~~~~~ ~~~ cddbd.h:872:6: note: declared here 872 | void cddbd_snprintf(); | ^~~~~~~~~~~~~~ cddbd.c: In function 'count_log': cddbd.c:4289:25: error: too many arguments to function 'cddbd_log'; expected 0, have 2 4289 | cddbd_log(LOG_ERR, "Can't allocate memory for list."); | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c:4298:25: error: too many arguments to function 'cddbd_log'; expected 0, have 2 4298 | cddbd_log(LOG_ERR, "Can't allocate memory for list."); | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c:4303:25: error: too many arguments to function 'cddbd_log'; expected 0, have 2 4303 | cddbd_log(LOG_ERR, "Can't allocate memory for list."); | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c:4313:25: error: too many arguments to function 'cddbd_log'; expected 0, have 2 4313 | cddbd_log(LOG_ERR, "Can't allocate memory for list."); | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c: In function 'sort_log': cddbd.c:4336:17: error: too many arguments to function 'cddbd_log'; expected 0, have 2 4336 | cddbd_log(LOG_ERR, "Can't allocate memory for list."); | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c: In function 'do_cddb': cddbd.c:4392:18: error: too many arguments to function 'c->func'; expected 0, have 1 4392 | (*(c->func))(args); | ~^~~~~~~~~~~ ~~~~ cddbd.h:461:19: note: declared here 461 | void (*func)(); /* Command function. */ | ^~~~ cddbd.c: In function 'make_time': cddbd.c:4420:9: error: too many arguments to function 'cddbd_snprintf'; expected 0, have 10 4420 | cddbd_snprintf(buf, sizeof(buf), "%s %s %02d %02d:%02d:%02d %d", | ^~~~~~~~~~~~~~ ~~~ cddbd.h:872:6: note: declared here 872 | void cddbd_snprintf(); | ^~~~~~~~~~~~~~ cddbd.c: In function 'make_time2': cddbd.c:4438:9: error: too many arguments to function 'cddbd_snprintf'; expected 0, have 9 4438 | cddbd_snprintf(buf, sizeof(buf), "%02d/%02d/%04d %02d:%02d:%02d", | ^~~~~~~~~~~~~~ ~~~ cddbd.h:872:6: note: declared here 872 | void cddbd_snprintf(); | ^~~~~~~~~~~~~~ cddbd.c: In function 'cvt_date': cddbd.c:4650:9: error: too many arguments to function 'cddbd_snprintf'; expected 0, have 9 4650 | cddbd_snprintf(buf, CDDBBUFSIZ, "%04d%04d%04d%04d%04d%04d", | ^~~~~~~~~~~~~~ ~~~ cddbd.h:872:6: note: declared here 872 | void cddbd_snprintf(); | ^~~~~~~~~~~~~~ cddbd.c:4665:17: error: too many arguments to function 'cddbd_snprintf'; expected 0, have 4 4665 | cddbd_snprintf(tmp, sizeof(tmp), "%04d", d[i]); | ^~~~~~~~~~~~~~ ~~~ cddbd.h:872:6: note: declared here 872 | void cddbd_snprintf(); | ^~~~~~~~~~~~~~ cddbd.c: In function 'cvt_time': cddbd.c:4681:9: error: too many arguments to function 'cddbd_snprintf'; expected 0, have 9 4681 | cddbd_snprintf(buf, CDDBBUFSIZ, "%04d%04d%04d%04d%04d%04d", | ^~~~~~~~~~~~~~ ~~~ cddbd.h:872:6: note: declared here 872 | void cddbd_snprintf(); | ^~~~~~~~~~~~~~ cddbd.c: In function 'cddbd_lock_free': cddbd.c:4708:25: error: too many arguments to function 'cddbd_log'; expected 0, have 3 4708 | cddbd_log(LOG_ERR | LOG_LOCK, | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c: In function 'cddbd_lock_alloc': cddbd.c:4730:25: error: too many arguments to function 'cddbd_log'; expected 0, have 2 4730 | cddbd_log(LOG_ERR | LOG_LOCK, | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c:4737:17: error: too many arguments to function 'cddbd_log'; expected 0, have 3 4737 | cddbd_log(LOG_ERR | LOG_LOCK, "Lock name %s too long.", | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c:4743:17: error: too many arguments to function 'cddbd_log'; expected 0, have 3 4743 | cddbd_log(LOG_ERR | LOG_LOCK, "Can't allocate %s lock memory.", | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c:4752:17: error: too many arguments to function 'cddbd_log'; expected 0, have 3 4752 | cddbd_log(LOG_ERR | LOG_LOCK, "Can't allocate %s lock.", | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c: In function 'cddbd_lock': cddbd.c:4794:9: error: too many arguments to function 'cddbd_snprintf'; expected 0, have 6 4794 | cddbd_snprintf(myname, sizeof(myname), "%s/%s.%05d", workdirs[WD_LOCK], | ^~~~~~~~~~~~~~ ~~~~~~ cddbd.h:872:6: note: declared here 872 | void cddbd_snprintf(); | ^~~~~~~~~~~~~~ cddbd.c:4802:25: error: too many arguments to function 'cddbd_log'; expected 0, have 4 4802 | cddbd_log(LOG_ERR | LOG_LOCK, | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c:4811:25: error: too many arguments to function 'cddbd_log'; expected 0, have 4 4811 | cddbd_log(LOG_ERR | LOG_LOCK, | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c:4830:41: error: too many arguments to function 'cddbd_snprintf'; expected 0, have 5 4830 | cddbd_snprintf(hisname, sizeof(hisname), | ^~~~~~~~~~~~~~ ~~~~~~~ cddbd.h:872:6: note: declared here 872 | void cddbd_snprintf(); | ^~~~~~~~~~~~~~ cddbd.c:4861:17: error: too many arguments to function 'cddbd_log'; expected 0, have 3 4861 | cddbd_log(LOG_ERR | LOG_LOCK, "Failed to acquire lock: %s", | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c: In function 'cddbd_unlock': cddbd.c:4879:9: error: too many arguments to function 'cddbd_snprintf'; expected 0, have 6 4879 | cddbd_snprintf(myname, sizeof(myname), "%s/%s.%05d", workdirs[WD_LOCK], | ^~~~~~~~~~~~~~ ~~~~~~ cddbd.h:872:6: note: declared here 872 | void cddbd_snprintf(); | ^~~~~~~~~~~~~~ cddbd.c: In function 'cddbd_fix_file': cddbd.c:4970:17: error: too many arguments to function 'cddbd_log'; expected 0, have 4 4970 | cddbd_log(LOG_ERR, "Can't stat: %s (%d).", file, errno); | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c:4977:17: error: too many arguments to function 'cddbd_log'; expected 0, have 6 4977 | cddbd_log(LOG_ERR, "Can't change permissions on: %s (%d). " | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c:4984:17: error: too many arguments to function 'cddbd_log'; expected 0, have 8 4984 | cddbd_log(LOG_ERR, "Can't change owner/group on: %s (%d). " | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c: In function 'cddbd_hang': cddbd.c:5006:17: error: too many arguments to function 'cddbd_log'; expected 0, have 2 5006 | cddbd_log(LOG_INFO, "Hanging client."); | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c:5008:17: error: too many arguments to function 'cddbd_log'; expected 0, have 2 5008 | cddbd_log(LOG_INFO, "Too many users to hang client."); | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c: In function 'cddbd_mk_workdirs': cddbd.c:5152:25: error: too many arguments to function 'cddbd_log'; expected 0, have 2 5152 | cddbd_log(LOG_ERR, "Can't allocate workdir memory."); | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c:5156:17: error: too many arguments to function 'cddbd_snprintf'; expected 0, have 5 5156 | cddbd_snprintf(workdirs[i], len, "%s/%s", workdir, | ^~~~~~~~~~~~~~ ~~~~~~~~~~~ cddbd.h:872:6: note: declared here 872 | void cddbd_snprintf(); | ^~~~~~~~~~~~~~ cddbd.c:5161:33: error: too many arguments to function 'cddbd_log'; expected 0, have 4 5161 | cddbd_log(LOG_ERR | LOG_LOCK, | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c:5171:25: error: too many arguments to function 'cddbd_log'; expected 0, have 3 5171 | cddbd_log(LOG_ERR | LOG_LOCK, "%s is not a directory.", | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c: In function 'cddbd_mk_servfiles': cddbd.c:5224:25: error: too many arguments to function 'cddbd_log'; expected 0, have 2 5224 | cddbd_log(LOG_ERR, "Can't allocate servfile memory."); | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c:5228:17: error: too many arguments to function 'cddbd_snprintf'; expected 0, have 5 5228 | cddbd_snprintf(servfile[i], len, "%s/%s", p, servfile_name[i]); | ^~~~~~~~~~~~~~ ~~~~~~~~~~~ cddbd.h:872:6: note: declared here 872 | void cddbd_snprintf(); | ^~~~~~~~~~~~~~ cddbd.c: In function 'cddbd_mktemp': cddbd.c:5244:17: error: too many arguments to function 'cddbd_snprintf'; expected 0, have 7 5244 | cddbd_snprintf(file, sizeof(file), "%s/%s%d.%d", | ^~~~~~~~~~~~~~ ~~~~ cddbd.h:872:6: note: declared here 872 | void cddbd_snprintf(); | ^~~~~~~~~~~~~~ cddbd.c:5249:25: error: too many arguments to function 'cddbd_log'; expected 0, have 2 5249 | cddbd_log(LOG_ERR, | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c:5268:9: error: too many arguments to function 'cddbd_log'; expected 0, have 2 5268 | cddbd_log(LOG_ERR, "Couldn't make temp file."); | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c: In function 'cddbd_freetemp': cddbd.c:5281:17: error: too many arguments to function 'cddbd_log'; expected 0, have 4 5281 | cddbd_log(LOG_ERR, "Couldn't unlink %s (%d).", file, errno); | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c: In function 'cddbd_cleantemp': cddbd.c:5303:17: error: too many arguments to function 'cddbd_log'; expected 0, have 4 5303 | cddbd_log(LOG_ERR, "Can't open tmp dir: %s (%d).", | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c:5320:25: error: too many arguments to function 'cddbd_snprintf'; expected 0, have 5 5320 | cddbd_snprintf(file, sizeof(file), "%s/%s", | ^~~~~~~~~~~~~~ ~~~~ cddbd.h:872:6: note: declared here 872 | void cddbd_snprintf(); | ^~~~~~~~~~~~~~ cddbd.c: In function 'trunc_log': cddbd.c:5343:17: error: too many arguments to function 'cddbd_log'; expected 0, have 3 5343 | cddbd_log(LOG_ERR, "Can't stat logfile: %s (%d).", | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c:5352:17: error: too many arguments to function 'cddbd_log'; expected 0, have 4 5352 | cddbd_log(LOG_ERR, "Can't open logfile %s for reading (%d).", | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c:5358:17: error: too many arguments to function 'cddbd_log'; expected 0, have 4 5358 | cddbd_log(LOG_ERR, "Can't truncate log file: %s. " | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c:5367:17: error: too many arguments to function 'cddbd_log'; expected 0, have 4 5367 | cddbd_log(LOG_ERR, "Can't open temp logfile %s for " | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c:5385:25: error: too many arguments to function 'cddbd_log'; expected 0, have 4 5385 | cddbd_log(LOG_ERR, "Can't write temp logfile: %s (%d).", | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c:5400:17: error: too many arguments to function 'cddbd_log'; expected 0, have 4 5400 | cddbd_log(LOG_ERR, "Can't unlink %s (%d).", servfile[SF_LOG], | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c:5404:17: error: too many arguments to function 'cddbd_log'; expected 0, have 5 5404 | cddbd_log(LOG_ERR, "Can't link %s to %s (%d).", | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c: In function 'ck_host_perms': cddbd.c:5580:17: error: too many arguments to function 'cddbd_log'; expected 0, have 4 5580 | cddbd_log(LOG_INFO | LOG_REJECT, hrejectstr, | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c:5588:17: error: too many arguments to function 'cddbd_log'; expected 0, have 4 5588 | cddbd_log(LOG_INFO | LOG_REJECT, hrejectstr, | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c:5601:17: error: too many arguments to function 'cddbd_log'; expected 0, have 4 5601 | cddbd_log(LOG_ERR | LOG_INTERN, | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c: In function 'modify_perms': cddbd.c:5623:25: error: too many arguments to function 'cddbd_log'; expected 0, have 2 5623 | cddbd_log(LOG_ERR, | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c:5632:25: error: too many arguments to function 'cddbd_log'; expected 0, have 2 5632 | cddbd_log(LOG_ERR, "No dup directory - discarding dups."); | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c: In function 'match_rev': cddbd.c:5709:17: error: too many arguments to function 'cddbd_log'; expected 0, have 3 5709 | cddbd_log(LOG_ERR, "Illegal match compare type: %d", comp); | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c: In function 'cddbd_cgi_cmd': cddbd.c:5886:25: error: too many arguments to function 'cddbd_log'; expected 0, have 4 5886 | cddbd_log(LOG_ERR, | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c:5905:25: error: too many arguments to function 'cddbd_log'; expected 0, have 4 5905 | cddbd_log(LOG_ERR, | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c:5915:25: error: too many arguments to function 'cddbd_log'; expected 0, have 3 5915 | cddbd_log(LOG_ERR, "Can't read CGI POST data (%d).", | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c:5926:17: error: too many arguments to function 'cddbd_log'; expected 0, have 4 5926 | cddbd_log(LOG_ERR, | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c: In function 'cddbd_async_command': cddbd.c:6018:9: error: too many arguments to function 'cddbd_log'; expected 0, have 3 6018 | cddbd_log(LOG_INPUT, "Input: \"%s\"", q[ASY_COMMAND].buf); | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c:6066:26: error: too many arguments to function 'c->func'; expected 0, have 1 6066 | (*(c->func))(&q[ASY_COMMAND]); | ~^~~~~~~~~~~ ~~~~~~~~~~~~~~~ cddbd.h:461:19: note: declared here 461 | void (*func)(); /* Command function. */ | ^~~~ cddbd.c: In function 'cddbd_safenv': cddbd.c:6085:17: error: too many arguments to function 'cddbd_log'; expected 0, have 3 6085 | cddbd_log(LOG_ERR, "CGI environment error: no %s.", env); | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c: In function 'cddbd_elapse': cddbd.c:6138:17: error: too many arguments to function 'cddbd_log'; expected 0, have 3 6138 | cddbd_log(LOG_ERR, "Can't get time of day (%d).\n", errno); | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c: At top level: cddbd.c:6180:1: error: conflicting types for 'cddbd_snprintf'; have 'void(char *, int, char *, void *, void *, void *, void *, void *, void *, void *, void *, void *, void *)' 6180 | cddbd_snprintf(char *buf, int size, char *fmt, void *a0, void *a1, void *a2, | ^~~~~~~~~~~~~~ cddbd.h:872:6: note: previous declaration of 'cddbd_snprintf' with type 'void(void)' 872 | void cddbd_snprintf(); | ^~~~~~~~~~~~~~ cddbd.c: In function 'cddbd_snprintf': cddbd.c:6213:41: error: too many arguments to function 'cddbd_log'; expected 0, have 3 6213 | cddbd_log(LOG_ERR, | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c:6247:17: error: too many arguments to function 'cddbd_log'; expected 0, have 3 6247 | cddbd_log(LOG_ERR, "Buf overflow in snprintf: \"%s\"", buf); | ^~~~~~~~~ cddbd.h:865:6: note: declared here 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c: At top level: cddbd.c:6274:1: error: conflicting types for 'cddbd_log'; have 'void(unsigned int, char *, void *, void *, void *, void *, void *, void *)' 6274 | cddbd_log(unsigned int flags, char *fmt, void *a1, void *a2, void *a3, | ^~~~~~~~~ cddbd.h:865:6: note: previous declaration of 'cddbd_log' with type 'void(void)' 865 | void cddbd_log(); | ^~~~~~~~~ cddbd.c: In function 'cddbd_link': cddbd.c:4892:9: warning: ignoring return value of 'link' declared with attribute 'warn_unused_result' [-Wunused-result] 4892 | link(old, new); | ^~~~~~~~~~~~~~ cddbd.c: At top level: cddbd.c:24:20: warning: '_cddbd_c_ident_' defined but not used [-Wunused-const-variable=] 24 | static char *const _cddbd_c_ident_ = "@(#)$Id: cddbd.c,v 1.41.2.9 2006/04/18 22:10:25 joerg78 Exp $"; | ^~~~~~~~~~~~~~~ make: *** [makefile:71: cddbd.o] Error 1 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.YBNxHM (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.YBNxHM (%build) I: [iurt_root_command] ERROR: chroot