* Package: net-misc/rwhoisd-1.5.9.6-r2:0 * Repository: gentoo * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking rwhoisd-1.5.9.6.tar.gz to /var/tmp/portage/net-misc/rwhoisd-1.5.9.6-r2/work >>> Source unpacked in /var/tmp/portage/net-misc/rwhoisd-1.5.9.6-r2/work >>> Preparing source in /var/tmp/portage/net-misc/rwhoisd-1.5.9.6-r2/work/rwhoisd-1.5.9.6/rwhoisd ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-misc/rwhoisd-1.5.9.6-r2/work/rwhoisd-1.5.9.6/rwhoisd ... ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 checking for x86_64-pc-linux-gnu-gcc... clang checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether clang accepts -g... yes checking for clang option to accept ANSI C... none needed checking how to run the C preprocessor... clang -E checking for egrep... grep -E checking whether clang needs -traditional... no checking for a BSD-compatible install... /usr/lib/portage/python3.10/ebuild-helpers/xattr/install -c checking whether make sets $(MAKE)... yes checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib checking for flex... flex checking for yywrap in -lfl... yes checking lex output file root... lex.yy checking whether yytext is a pointer... yes checking for bison... bison -y checking for crypt in -lcrypt... yes checking for gethostbyname in -lnsl... yes checking for res_search in -lresolv... yes checking for connect in -lsocket... no checking for connect in -linet... no checking for hosts_access in -lwrap... no checking for hosts_access in -lwrap (again)... no checking for ANSI C header files... no checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking sys/file.h usability... yes checking sys/file.h presence... yes checking for sys/file.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking sys/wait.h usability... yes checking sys/wait.h presence... yes checking for sys/wait.h... yes checking crypt.h usability... yes checking crypt.h presence... yes checking for crypt.h... yes checking for mode_t... yes checking for size_t... yes checking whether time.h and sys/time.h may both be included... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for an ANSI C-conforming const... yes checking for off_t... yes checking for off_t... (cached) yes checking size of off_t... 8 checking for uint8_t... yes checking for uint32_t... yes checking for uchar_t... no checking return type of signal handlers... void checking for vprintf... yes checking for _doprnt... no checking whether closedir returns void... no checking for function prototypes... yes checking whether setvbuf arguments are reversed... no checking for getcwd... yes checking for gethostname... yes checking for socket... yes checking for strftime... yes checking for uname... yes checking for flock... yes checking for lockf... yes checking for setsid... yes checking for crypt... yes checking for memset... yes checking for memcpy... yes checking for usleep... yes checking for wait3... yes checking for getaddrinfo... yes checking for vsnprintf... yes checking for strerror... yes checking whether to enable largefile suport... no checking whether to enable IPv6... Linux IPv6 checking for GNU libc 2.1... yes checking for getipnodebyname... no checking for sockaddr_storage... yes configure: creating ./config.status config.status: creating Makefile config.status: creating common/Makefile config.status: creating mkdb/Makefile config.status: creating server/Makefile config.status: creating regexp/Makefile config.status: creating tools/Makefile config.status: creating tools/tcpd_wrapper/Makefile config.status: creating tools/rwhois_indexer/Makefile config.status: creating tools/rwhois_deleter/Makefile config.status: creating tools/rwhois_repack/Makefile config.status: creating sample.data/Makefile config.status: creating config.h >>> Source configured. '/var/tmp/portage/net-misc/rwhoisd-1.5.9.6-r2/temp/clang14.log' -> '/var/tmp/clang/net-misc/rwhoisd-1.5.9.6-r2/clang14.log' '/var/tmp/portage/net-misc/rwhoisd-1.5.9.6-r2/temp/clang15.log' -> '/var/tmp/clang/net-misc/rwhoisd-1.5.9.6-r2/clang15.log' >>> Compiling source in /var/tmp/portage/net-misc/rwhoisd-1.5.9.6-r2/work/rwhoisd-1.5.9.6/rwhoisd ... make -j4 -C common make: Entering directory '/var/tmp/portage/net-misc/rwhoisd-1.5.9.6-r2/work/rwhoisd-1.5.9.6/rwhoisd/common' clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -I.. -I./../regexp -DHAVE_CONFIG_H -c attributes.c clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -I.. -I./../regexp -DHAVE_CONFIG_H -c auth_area.c clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -I.. -I./../regexp -DHAVE_CONFIG_H -c client_msgs.c clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -I.. -I./../regexp -DHAVE_CONFIG_H -c compat.c attributes.c:54:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] create_attribute(name, desc, format, index, type, is_hierarchical, ^ attributes.c:54:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] attributes.c:104:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] add_attribute_alias(alias_array, num_aliases, alias) ^ attributes.c:104:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] attributes.c:141:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] write_attribute_defs(fp, attr) ^ attributes.c:141:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] attributes.c:181:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] count_attribute_entries(attr_list, attr_name) ^ attributes.c:181:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] attributes.c:223:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] verify_attribute_defs(aa, class, attr) ^ attributes.c:223:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] attributes.c:301:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] translate_index_type(itype) ^ attributes.c:328:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] translate_attr_type(type) ^ attributes.c:348:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] read_attributes(class, attr_ref_list) ^ attributes.c:495:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] add_attribute(attr, class, attr_ref_list) ^ attributes.c:579:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] add_global_attribute(attr, class, attr_ref_list, global_id) ^ attributes.c:662:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] add_base_schema(class, attr_ref_list) ^ attributes.c:858:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] find_attribute_by_name(class, name) ^ attributes.c:900:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] find_attribute_by_id(class, id) ^ attributes.c:933:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] find_attribute_by_global_id(class, global_id) ^ attributes.c:966:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] find_global_attr_by_name(attr_ref_list, name) ^ attributes.c:1005:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] find_global_attr_by_id(attr_ref_list, id) ^ attributes.c:1037:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] show_attribute_type(type) ^ attributes.c:1055:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] show_index_type(index) ^ attributes.c:1077:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] display_attribute(attr) ^ attributes.c:1110:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] display_attribute_list(list) ^ attributes.c:1131:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] destroy_attr_data(attr) ^ attributes.c:1174:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] destroy_attr_ref_data(attr_ref) ^ attributes.c:1211:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] write_class_attributes(file, suffix, class, paths_list) ^ attributes.c:1296:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] create_attribute_def(attr, class, aa) ^ attributes.c:1346:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] is_base_attr(attr) ^ attributes.c:1384:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] verify_attribute_list(aa, class) ^ attributes.c:1427:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] examin_attribute_name(name) ^ attributes.c:1440:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] examin_attribute_format(fmt) ^ attributes.c:1451:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] add_new_attribute_alias(aa, class, attr, alias) ^ client_msgs.c:86:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_out_fp(fp) ^ client_msgs.c:112:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] print_error(err_no, str) ^ auth_area.c:84:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] check_soa(aa) ^ auth_area.c:84:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] auth_area.c:172:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] same_auth_area(aa, bb) ^ auth_area.c:172:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] auth_area.c:192:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] write_new_soa_file(file, suffix, aa, paths_list) ^ auth_area.c:192:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] auth_area.c:233:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] write_server_list(fp, type, serv_list) ^ auth_area.c:233:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] auth_area.c:265:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] write_guardian_list(fp, guard_list) ^ auth_area.c:265:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] auth_area.c:294:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] write_auth_area(suffix, aa, paths_list) ^ auth_area.c:294:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] auth_area.c:378:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] get_server_hostaddr(serv) ^ auth_area.c:378:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] auth_area.c:389:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] count_server_entries(servlst, serv) ^ auth_area.c:389:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] auth_area.c:430:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] verify_server_data(server, aa_name) ^ auth_area.c:430:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] auth_area.c:461:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] verify_server_list(aa, list_type) ^ auth_area.c:461:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] auth_area.c:539:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] count_guardian_entries(guard_list, guard_str) ^ auth_area.c:539:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] auth_area.c:576:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] verify_guardian_list(aa) ^ auth_area.c:576:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] auth_area.c:620:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] verify_auth_area(aa) ^ auth_area.c:620:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] auth_area.c:761:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] add_auth_area_guardian(aa, id_str) ^ auth_area.c:784:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] translate_auth_area_type(val) ^ auth_area.c:798:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] translate_auth_area_type_str(val) ^ auth_area.c:815:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] is_valid_hostname ( name) ^ auth_area.c:831:25: warning: passing arguments to 'regcomp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] host1_prog = regcomp(DOMAIN_NAME_REGEXP); ^ auth_area.c:835:25: warning: passing arguments to 'regcomp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] host2_prog = regcomp(IP_ADDR_REGEXP); ^ auth_area.c:838:20: warning: passing arguments to 'regexec' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] status1 = regexec(host1_prog, name); ^ auth_area.c:841:22: warning: passing arguments to 'regexec' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] status2 = regexec(host2_prog, name); ^ auth_area.c:899:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] is_valid_port(port) ^ auth_area.c:922:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] is_duplicate_aa(aa, aa_list) ^ auth_area.c:954:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] read_auth_areas(file) ^ 2 warnings generated. auth_area.c:1156:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] add_auth_area(aa) ^ auth_area.c:1259:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] check_aa_syntax (aa_name, directory) ^ auth_area.c:1282:19: warning: passing arguments to 'regcomp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prog = regcomp(AUTH_AREA_REGEXP); ^ auth_area.c:1285:15: warning: passing arguments to 'regexec' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!regexec(prog, aa_name)) ^ auth_area.c:1359:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] read_soa_file(aa) ^ auth_area.c:1455:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] write_soa_file(aa) ^ clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -I.. -I./../regexp -DHAVE_CONFIG_H -c directive_conf.c auth_area.c:1497:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] destroy_soa_in_auth_area(aa) ^ auth_area.c:1526:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] add_server(srv_list_ptr, val) ^ auth_area.c:1648:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] display_auth_area(aa) ^ auth_area.c:1698:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] destroy_server_data(server) ^ auth_area.c:1726:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] destroy_auth_area_data(aa) ^ auth_area.c:1793:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] find_auth_area_by_name(name) ^ auth_area.c:1820:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] find_truly_global_attr_by_name(name) ^ auth_area.c:1866:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] check_root_referral(file) ^ auth_area.c:1888:26: warning: passing arguments to 'regcomp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] old_ref_exp = regcomp(OLD_REF_REGEXP); ^ auth_area.c:1889:22: warning: passing arguments to 'regcomp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] url_exp = regcomp(URL_REGEXP); ^ auth_area.c:1919:16: warning: passing arguments to 'regexec' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (regexec(old_ref_exp, line)) ^ auth_area.c:1925:21: warning: passing arguments to 'regexec' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] else if (regexec(url_exp, line)) ^ auth_area.c:1972:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] is_country_code(p) ^ auth_area.c:1980:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] get_default_aa_directory(aa) ^ auth_area.c:1997:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] get_aa_schema_directory(aa) ^ auth_area.c:2025:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] write_all_auth_areas(file, suffix, paths_list) ^ auth_area.c:2111:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] create_auth_area(aa) ^ auth_area.c:2273:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] delete_auth_area(name) ^ auth_area.c:2295:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] examin_email_address(addr) ^ auth_area.c:2305:24: warning: passing arguments to 'regcomp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] email_exp = regcomp(EMAIL_REGEXP); ^ auth_area.c:2307:15: warning: passing arguments to 'regexec' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!regexec(email_exp, addr)) ^ auth_area.c:2320:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] examin_aa_xfer_arg(path) ^ auth_area.c:2329:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] examin_aa_data_dir(path) ^ auth_area.c:2344:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] examin_aa_schema_file(path) ^ auth_area.c:2359:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] examin_aa_soa_file(path) ^ auth_area.c:2374:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] examin_aa_hostmaster_str(contact) ^ auth_area.c:2388:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] examin_serial_num(num) ^ auth_area.c:2401:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] examin_guardian_item(guard_str) ^ auth_area.c:2414:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] examin_hostname(name) ^ auth_area.c:2435:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] examin_port_str(portstr) ^ auth_area.c:2448:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] examin_primary_server_str(server) ^ auth_area.c:2486:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] examin_server_str(server) ^ auth_area.c:2537:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] verify_all_auth_area_paths(paths_list) ^ auth_area.c:2583:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] verify_aa_parse_progs(paths_list) ^ compat.c:64:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sys_file_lock(fd, op) ^ 1 warning generated. clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -I.. -I./../regexp -DHAVE_CONFIG_H -c dir_security.c directive_conf.c:32:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] destroy_directive_data(data) ^ directive_conf.c:32:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] directive_conf.c:63:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] verify_directive(dir) ^ directive_conf.c:63:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] directive_conf.c:102:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] is_extended_directive(name) ^ directive_conf.c:102:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] directive_conf.c:212:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] read_directive_file(file) ^ directive_conf.c:281:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] read_extended_directive_file(file) ^ directive_conf.c:382:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] find_directive(name) ^ directive_conf.c:412:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] add_directive(name, len, description, func, program, disabled_flag) ^ directive_conf.c:495:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] find_cap(directive) ^ directive_conf.c:568:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] write_directive_file(file, suffix, paths_list) ^ directive_conf.c:632:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] write_extended_directive_file(file, suffix, paths_list) ^ directive_conf.c:671:40: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat] fprintf(fp, "command-len: %u\n", strlen(&(dir->name[2]))); ~~ ^~~~~~~~~~~~~~~~~~~~~~~ %lu directive_conf.c:690:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] examin_xdirective_program(path) ^ 34 warnings generated. dir_security.c:30:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] count_dir_security_entries(wrap_list, wrapper) ^ dir_security.c:30:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dir_security.c:62:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] verify_dir_security(wrap_item, wrap_type) ^ dir_security.c:62:1: warning: a function definition without a prototype is deprecated in all versions of C and is clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -I.. -I./../regexp -DHAVE_CONFIG_H -c dl_list.c not supported in C2x [-Wdeprecated-non-prototype] dir_security.c:83:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] create_dir_security(wrap_list, wrap_type) ^ dir_security.c:83:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dir_security.c:104:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] examin_tcp_wrapper(wrapper) ^ dir_security.c:115:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] read_dir_security_file(file, wrap_list, wrap_type) ^ dir_security.c:184:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] write_dir_security_file(file, suffix, wrap_list, wrap_type, paths_list) ^ dir_security.c:226:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] verify_dir_security_list(wrap_list, wrap_type) ^ dir_security.c:259:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] destroy_dir_security_list(wrap_list) ^ dir_security.c:269:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] def_dir_allow_security_list(wrap_list) ^ dir_security.c:286:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] def_dir_deny_security_list(wrap_list) ^ dir_security.c:304:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] add_dir_security(wrap_list, wrap_str, wrap_type) ^ dir_security.c:341:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] find_dir_security(wrap_list, wrap_str) ^ dir_security.c:364:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] del_dir_security(wrap_list, wrap_str, wrap_type) ^ dir_security.c:393:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] destroy_dir_security_data(dir_wrap) ^ 17 warnings generated. clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -I.. -I./../regexp -DHAVE_CONFIG_H -c fileutils.c dl_list.c:18:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] create_new_node(data) ^ dl_list.c:33:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dl_list_default(list, destroy_head_flag, destroy_data) ^ dl_list.c:51:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dl_list_value(list) ^ dl_list.c:61:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dl_list_next_value(list, n) ^ dl_list.c:82:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dl_list_prev_value(list, n) ^ dl_list.c:103:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dl_list_empty(list) ^ dl_list.c:120:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dl_list_first(list) ^ dl_list.c:132:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dl_list_last(list) ^ dl_list.c:146:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dl_list_next(list) ^ dl_list.c:161:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dl_list_prev(list) ^ dl_list.c:176:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dl_list_insert(list, data) ^ dl_list.c:211:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dl_list_insert_before(list, data) ^ dl_list.c:247:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dl_list_append(list, data) ^ dl_list.c:271:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dl_list_prepend(list, data) ^ dl_list.c:294:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dl_list_append_list(list1, list2) ^ dl_list.c:322:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dl_list_get_pos(list) ^ dl_list.c:330:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dl_list_put_pos(list, pos) ^ dl_list.c:341:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dl_list_exchange_pos(list, pos) ^ dl_list.c:355:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dl_list_delete(list) ^ dl_list.c:398:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dl_list_destroy(list) ^ dl_list.c:431:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] simple_destroy_data(data) ^ dl_list.c:441:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] null_destroy_data(data) ^ 22 warnings generated. fileutils.c:39:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] get_path_status(path, mode) ^ fileutils.c:59:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] generate_dot_lock_name(filename, lockname) ^ fileutils.c:96:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] generate_uniq_dot_lock_name(filename, lockname) ^ fileutils.c:127:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] file_exists(file) ^ fileutils.c:139:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] directory_exists(dir) ^ fileutils.c:151:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] is_rel_path(path) ^ clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -I.. -I./../regexp -DHAVE_CONFIG_H -c ip_network.c fileutils.c:188:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] get_path_mod_time(path) ^ fileutils.c:208:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] split_path(path, dir, file) ^ fileutils.c:251:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] path_full_to_rel(full_path, root_dir) ^ fileutils.c:285:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] path_rel_to_full(new_path, new_path_len, rel_path, root_dir) ^ fileutils.c:319:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] canonicalize_path(new_path, new_path_len, path, root_dir, chrooted, ^ fileutils.c:397:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] create_filename(fname, template, spool_directory) ^ fileutils.c:414:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] create_db_filename(fname, template, spool_directory, postfix) ^ fileutils.c:432:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] get_file_lock(filename, mode, block) ^ fileutils.c:484:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] release_file_lock(filename, fp) ^ fileutils.c:510:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] get_dot_lock(filename, block) ^ fileutils.c:587:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] release_dot_lock(filename) ^ fileutils.c:607:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dot_lock_exists(filename) ^ fileutils.c:623:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] get_placeholder_lock(filename, block, lock_fd) ^ fileutils.c:682:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] release_placeholder_lock(filename, lock_fd) ^ fileutils.c:699:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] placeholder_lock_exists(filename) ^ fileutils.c:733:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] get_path_mtime(path) ^ fileutils.c:752:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] file_cmpr(file1, file2) ^ fileutils.c:824:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] timestamp_cmpr(stamp1, stamp2) ^ fileutils.c:835:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] increment_timestamp(stamp) ^ fileutils.c:858:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] get_updated_timestamp(orig_stamp) ^ fileutils.c:887:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] examin_directory_writable(path) ^ fileutils.c:922:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] examin_timestamp(stamp) ^ fileutils.c:935:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] examin_file_name(value) ^ fileutils.c:948:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] examin_directory_name(value) ^ fileutils.c:961:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] examin_executable_name(value) ^ fileutils.c:977:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dup_config_path_name(paths_list, path, var_name) ^ 15 warnings generated. fileutils.c:1012:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] split_path_into_list(path) ^ fileutils.c:1012:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fileutils.c:1034:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] join_list_into_path(path_list, abs_path) ^ fileutils.c:1034:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fileutils.c:1068:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] reduce_path_list(path_list) ^ fileutils.c:1068:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fileutils.c:1099:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] get_reduced_path(path) ^ fileutils.c:1099:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fileutils.c:1135:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] path_under_root_dir(path, rootdir) ^ fileutils.c:1166:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] in_config_path_list(paths_list, path, var_name) ^ fileutils.c:1198:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] make_path_dirs(path, mode, paths_list) ^ fileutils.c:1198:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fileutils.c:1252:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] open_file_to_write(filename, blk_time, paths_list) ^ fileutils.c:1280:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] make_config_dir(dirname, mode, paths_list) ^ clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -I.. -I./../regexp -DHAVE_CONFIG_H -c log.c 77 warnings generated. clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -I.. -I./../regexp -DHAVE_CONFIG_H -c main_config.c ip_network.c:19:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] clean_ipv4_addr( str ) ^ ip_network.c:53:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] addrstring_to_ni( addstr, ni ) ^ ip_network.c:96:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mask_addr_to_len( ni, len ) ^ ip_network.c:126:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] compare_addr(a, b) ^ ip_network.c:152:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] is_network_valid_for_searching(value) ^ ip_network.c:159:23: warning: passing arguments to 'regcomp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] net_prog = regcomp(NETWORK_REGEXP); ^ ip_network.c:162:14: warning: passing arguments to 'regexec' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (regexec(net_prog, value)) ^ ip_network.c:173:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] is_network_valid_for_index(line) ^ ip_network.c:181:30: warning: passing arguments to 'regcomp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] strict_net_prog = regcomp(NETWORK_REGEXP); ^ ip_network.c:184:14: warning: passing arguments to 'regexec' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (regexec(strict_net_prog, line)) ^ ip_network.c:196:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] is_cidr_network(value) ^ ip_network.c:203:23: warning: passing arguments to 'regcomp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] net_prog = regcomp(STRICT_CIDR_NET_REGEXP); ^ ip_network.c:206:14: warning: passing arguments to 'regexec' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (regexec(net_prog, value)) ^ ip_network.c:220:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] determine_network_len_from_policy(addr) ^ ip_network.c:257:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] determine_network_len_from_octets(addr) ^ ip_network.c:278:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] get_network_prefix_and_len( str, ni ) ^ ip_network.c:333:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] write_network( str, ni ) ^ ip_network.c:349:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ni_to_addrstring(ni, str, str_len) ^ ip_network.c:392:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] natop( ni ) ^ log.c:69:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_log_context(file, line_num, section) ^ log.c:111:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] inc_log_context_line_num(inc) ^ log.c:206:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] get_client_hostname(sock) ^ log.c:228:51: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] if (getpeername(sock, (struct sockaddr *)&name, &namelen) != 0) ^~~~~~~~ /usr/include/sys/socket.h:131:26: note: passing argument to parameter '__len' here socklen_t *__restrict __len) __THROW; ^ log.c:293:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] section_to_name(section) ^ log.c:351:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] level_to_name(local_level) ^ log.c:378:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] local_to_syslog(local_level) ^ log.c:408:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] get_log_filename(level) ^ log.c:483:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] examin_error_string(err_num) ^ 9 warnings generated19 warnings generated. . clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -I.. -I./../regexp -DHAVE_CONFIG_H -c misc.c clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -I.. -I./../regexp -DHAVE_CONFIG_H -c procutils.c 46 warnings generated. main_config.c:40:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] canonicalize_conf_path(path, path_len, is_file, null_allowed) ^ main_config.c:109:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] read_main_config_file(config_file, chrooted) ^ main_config.c:481:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported inprocutils.c:23:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] initialize_environment_list(envptr, env_size) ^ procutils.c:37:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] add_env_value(env, env_size, var, value) ^ procutils.c:73:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] free_environment_list(env) ^ procutils.c:89:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] run_program(program, param) ^ C2x [-Wdeprecated-non-prototype] display_server_config_data(file) ^ procutils.c:187:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] run_env_program(argv, envargv) ^ main_config.c:639:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_root_dir(dir) ^ main_config.c:689:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_bin_path(path) ^ main_config.c:703:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_notify_log(log) ^ main_config.c:717:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_log_default(file) ^ main_config.c:731:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_log_facility(facility) ^ main_config.c:830:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_log_emerg(log) ^ main_config.c:843:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_log_alert(log) ^ main_config.c:856:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_log_crit(log) ^ main_config.c:870:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_log_err(log) ^ main_config.c:884:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_log_warn(log) ^ main_config.c:898:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_log_notice(log) ^ main_config.c:911:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_log_info(log) ^ main_config.c:924:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_log_debug(log) ^ main_config.c:938:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_directive_file(file) ^ main_config.c:952:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_x_directive_file(file) ^ main_config.c:966:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_auth_area_file(file) ^ main_config.c:980:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_register_log(log) ^ main_config.c:994:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_register_spool(spool) ^ main_config.c:1008:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_punt_file(file) ^ main_config.c:1022:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_security_allow(file) ^ main_config.c:1036:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_security_deny(file) ^ main_config.c:1050:1: warning: a function definition without a prototype is deprecated inclang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -I.. -I./../regexp -DHAVE_CONFIG_H -c punt_ref.c all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_local_hostname(name) ^ main_config.c:1064:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_process_userid(id) ^ main_config.c:1078:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_chrooted(val) ^ main_config.c:1086:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_chrooted_str(str) ^ main_config.c:1101:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_use_syslog(str) ^ main_config.c:1118:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_default_deadman_time(sec) ^ main_config.c:1132:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_max_hits_ceiling(hits) ^ main_config.c:1146:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_max_hits_default(hits) ^ main_config.c:1160:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_port(p) ^ misc.c:22:1: warning: a function definition without a prototype main_config.cis deprecated in :1174all: versions of C 1and :is warning: not asupported functionin C2xdefinition [-Wdeprecated-non-prototype]without a prototype is deprecated in all readline(fp, buffer, size) ^ versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_root_server(val) ^ main_config.c:1182:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_root_server_str(str) ^ main_config.c:1196:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_server_type(type) ^ misc.c:47:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] new_record(line) ^ main_config.c:1204:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_server_type_str(str) ^ misc.c:68:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] parse_line(line, tag, datum) ^ main_config.c:1235:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_background(val) ^ main_config.c:1249:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_verbosity(val) ^ misc.c:114:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] main_config.c:1263:1delimstr(mainbuf, delim, cpbuf, cnt) ^: warning: a misc.c:166:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] get_word(cp, buf) ^ misc.c:198:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] paste(line, cut_start, cut_end, rpl) ^ misc.c:222:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] on_off(b) ^ misc.c:241:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] true_false(b) ^ misc.c:257:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] true_false_str(b) ^ misc.c:269:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] get_tuple(tag1, tag2, data, line) ^ misc.c:289:1: warning: a function definition without a prototype is deprecated in all versions of C and is function definition withoutnot supported in a prototypeC2x [-Wdeprecated-non-prototype] is deprecated insplit_arg_list(list, argcptr, argvptr) ^ all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_pid_file(file) ^ main_config.c:1277:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_server_contact(contact) ^ main_config.c:1295:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_hit_limit(limit) ^ misc.c:387:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] split_list(list, sep, max_fields, argcptr, argvptr) ^ main_config.c:1309:1: warning: amisc.c:389 function:9: warning: definition without a promoted type 'int'prototype of K&R function is parameterdeprecated in is notall versions compatible with the parameter type 'char' declared in a previous prototype [-Wknr-promoted-parameter] char sep; ^ ./misc.h:40:40: note: previous declaration is here int split_list PROTO((char *list, char sep, int max_fields, ^ misc.c:456:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] free_arg_list(argv) ^ misc.c:477:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] xmalloc(bytes) ^ misc.c:498:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] xcalloc(nelem, size) ^ misc.c:524:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] xrealloc(ptr, bytes) ^ misc.c:550:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] xstrdup (str) ^ misc.c:567:of C and is not 1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] xmemdup(buf, bytes) ^ misc.c:586:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regncpy(result, prog, item, len) ^ supported in C2x [-Wdeprecated-non-prototype] set_holdconnect(val) ^ main_config.c:1333:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_forward(val) ^ main_config.c:1361:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_display(mode) ^ main_config.c:1376:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_query_allow_wild(val) ^ main_config.c:1390:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_query_allow_substr(val) ^ main_config.c:1410:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_max_children(val) ^ main_config.c:1426:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_skip_referral_search(val) ^ main_config.c:1441:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_listen_queue_length(val) ^ main_config.c:1456:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_child_priority(val) ^ main_config.c:1465:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] get_server_type_str(serv_type) ^ main_config.c:1483:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] get_log_facility_str(facility_val) ^ main_config.c:1554:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] write_main_config_file(file, suffix, rwconf, paths_list) ^ main_config.c:1737:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] examin_userid(uid) ^ main_config.c:1749:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] examin_rwlog_file(file) ^ main_config.c:1763:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] examin_rwconf_file(file) ^ main_config.c:1777:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] examin_rwconf_dir(dir) ^ main_config.c:1791:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] examin_rwexe_file(file) ^ main_config.c:1805:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] examin_server_contact(contact) ^ 5 warnings generated. main_config.c:2057:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] verify_main_config_paths(paths_list) ^ main_config.c:2096:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] verify_non_admin_paths(paths_list) ^ clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -I.. -I./../regexp -DHAVE_CONFIG_H -c read_config.c punt_ref.c:30:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] create_punt_ref(ref_list) ^ punt_ref.c:30:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] punt_ref.c:48:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] verify_punt_ref(referral) ^ punt_ref.c:48:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] punt_ref.c:67:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] count_punt_ref_entries(ref_list, punt) ^ punt_ref.c:67:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] punt_ref.c:105:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] examin_punt_ref(punt_str) ^ punt_ref.c:116:26: warning: passing arguments to 'regcomp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] old_ref_exp = regcomp(ADMIN_PUNTREF_REGEXP); ^ punt_ref.c:120:22: warning: passing arguments to 'regcomp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] url_exp = regcomp(ADMIN_PUNTURL_REGEXP); ^ punt_ref.c:123:14: warning: passing arguments to 'regexec' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (regexec(old_ref_exp, punt_str) && regexec(url_exp, punt_str)) ^ punt_ref.c:123:48: warning: passing arguments to 'regexec' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (regexec(old_ref_exp, punt_str) && regexec(url_exp, punt_str)) ^ punt_ref.c:134:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] read_punt_file (file, ref_list) ^ punt_ref.c:197:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] write_punt_file(file, suffix, ref_list, paths_list) ^ punt_ref.c:240:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] verify_punt_ref_list(ref_list) ^ punt_ref.c:278:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] def_init_punt_ref(ref_list) ^ punt_ref.c:297:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] destroy_punt_ref_data(referral) ^ punt_ref.c:315:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] destroy_punt_ref_list(ref_list) ^ punt_ref.c:326:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] add_punt_ref(ref_list, punt_str) ^ punt_ref.c:368:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] find_punt_ref(ref_list, punt) ^ punt_ref.c:395:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] del_punt_ref(ref_list, punt) ^ 20 warnings generated. clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -I.. -I./../regexp -DHAVE_CONFIG_H -c rw_log.c read_config.c:37:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] read_all_config_files(config_file, chrooted) ^ clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -I.. -I./../regexp -DHAVE_CONFIG_H -c schema.c read_config.c:96:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] read_rwhois_config_files(config_file, rwconf, chrooted) ^ 20 warnings generated. read_config.c:169:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] write_all_config_files(config_file, suffix, rwconf) ^ read_config.c:296:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] verify_all_config(rwconf) ^ clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -I.. -I./../regexp -DHAVE_CONFIG_H -c strutil.c read_config.c:364:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] destroy_all_config(rwconf) ^ read_config.c:388:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] def_init_all_config(rwconf) ^ read_config.c:470:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] moveto_new_configuration(suffix, paths_list) ^ read_config.c:470:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] read_config.c:565:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] remove_tmp_config(suffix, paths_list) ^ read_config.c:565:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] schema.c:42:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] add_class_alias(alias_array, num_aliases, alias) ^ 10 warnings generated. schema.c:42:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] schema.c:80:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] verify_class(aa, class) ^ schema.c:80:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] schema.c:171:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] count_class_entries(class_list, class_name) ^ schema.c:171:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] schema.c:214:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] append_class( class, aa ) ^ schema.c:214:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] schema.c:248:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] read_schema(aa) ^ schema.c:438:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] add_class(schema, class, aa) ^ schema.c:506:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] add_global_class(class, aa) ^ schema.c:591:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] get_class_list(schema) ^ schema.c:599:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] get_schema_attribute_ref_list(schema) ^ schema.c:607:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] find_class_by_name(schema, name) ^ clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -I.. -I./../regexp -DHAVE_CONFIG_H -c validate_rec.c schema.c:651:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] find_class_by_id(schema, id) ^ schema.c:685:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] display_class(class) ^ schema.c:703:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] display_schema(schema) ^ schema.c:727:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] find_global_class_by_name(name) ^ schema.c:767:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] destroy_class_data(class) ^ schema.c:826:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] destroy_schema_data(schema) ^ schema.c:843:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] destroy_class_ref_data( class_ref ) ^ schema.c:886:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] write_schema_file(file, suffix, aa, paths_list) ^ schema.c:980:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] examin_schema_version(version) ^ schema.c:993:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] examin_class_name(name) ^ schema.c:1005:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] examin_class_db_dir(path) ^ schema.c:1021:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] examin_class_attr_file(path) ^ schema.c:1037:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] examin_class_parse_prog(path) ^ schema.c:1070:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] verify_schema(aa) ^ schema.c:1106:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] create_class(class, aa) ^ schema.c:1232:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] update_schema_version(class) ^ schema.c:1252:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] add_new_class_alias(aa, class, alias) ^ strutil.c:24:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] stripchar(str, ch) ^ strutil.cschema.c:1276:1: warning: a function definition without a prototype is deprecated: in all26 versions of C and is not supported in C2x [-Wdeprecated-non-prototype] :8: warning: promoted type verify_all_class_paths(paths_list, aa)'int' ^of K&R function parameter is not compatible with the parameter type 'char' declared in a previous prototype [-Wknr-promoted-parameter] char ch; ^ ./strutil.h:19:40: note: previous declaration is here char *stripchar PROTO((char *str, char ch)); ^ strutil.cschema.c:1321:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] verify_class_parse_progs(paths_list, aa) ^ :54:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] strip_trailing(str, ch) ^ strutil.c:56:8: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'char' declared in a previous prototype [-Wknr-promoted-parameter] char ch; ^ ./strutil.h:21:45: note: previous declaration is here char *strip_trailing PROTO((char *str, char ch)); ^ strutil.c:79:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] strip_leading(str, ch) ^ strutil.c:81:8: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'char' declared in a previous prototype [-Wknr-promoted-parameter] char ch; ^ ./strutil.h:23:44: note: previous declaration is here char *strip_leading PROTO((char *str, char ch)); ^ strutil.c:109:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] strip_control(str) ^ strutil.c:137:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rtrim(str) ^ strutil.c:157:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ltrim(str) ^ strutil.c:188:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] trim(str) ^ strutil.c:205:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] strrev(str) ^ strutil.c:228:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] skip_whitespace(str) ^ strutil.c:243:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] count_char(str, c) ^ strutil.c:245:9: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'char' declared in a previous prototype [-Wknr-promoted-parameter] char c; ^ ./strutil.h:37:40: note: previous declaration is here int count_char PROTO((char *str, char c)); ^ strutil.c:264:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] count_spaces(str) ^ strutil.c:286:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] strSTR(str1, str2) /* by Jeff Odum 09/91 */ ^ strutil.c:323:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] strupr(a) ^ strutil.c:341:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] compact_whitespace(str) ^ strutil.c:381:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] is_no_whitespace_str( str ) ^ strutil.c:398:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] is_number_str( str ) ^ strutil.c:415:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] is_id_char( value ) ^ strutil.c:416:8: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'char' declared in a previous prototype [-Wknr-promoted-parameter] char value; ^ strutil.c:15:35: note: previous declaration is here static int is_id_char PROTO((char value)); ^ strutil.c:415:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] is_id_char( value ) ^ strutil.c:425:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] is_id_str( value ) ^ 62 warnings generated. validate_rec.c:40:19: warning: passing arguments to 'regcomp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prog = regcomp(datum); ^ validate_rec.c:46:21: warning: passing arguments to 'regexec' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] status = regexec(prog, strupr(value)); ^ validate_rec.c:27:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] validate_format(format_str, value) ^ validate_rec.c:58:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] encode_validate_flag(quiet_mode_flag, protocol_error_flag, find_all_flag) ^ validate_rec.c:84:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] decode_validate_flag(validate_flag, quiet_mode_flag, protocol_error_flag, ^ validate_rec.c:131:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] find_record_attr_by_id(record, id) ^ validate_rec.c:159:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] count_record_attr_by_id(record, id) ^ validate_rec.c:199:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] check_required(record, validate_flag) ^ validate_rec.c:266:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] check_repeated(record, validate_flag) ^ validate_rec.c:330:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] check_formats(record, validate_flag) ^ validate_rec.c:395:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] check_record(record, validate_flag) ^ 24 warnings generated. 11 warnings generated. 33 warnings generated. ar cru librwcommon.a attributes.o auth_area.o client_msgs.o compat.o directive_conf.o dir_security.o dl_list.o fileutils.o ip_network.o log.o main_config.o misc.o procutils.o punt_ref.o read_config.o rw_log.o schema.o strutil.o validate_rec.o x86_64-pc-linux-gnu-ranlib librwcommon.a make: Leaving directory '/var/tmp/portage/net-misc/rwhoisd-1.5.9.6-r2/work/rwhoisd-1.5.9.6/rwhoisd/common' make -j4 -C regexp make: Entering directory '/var/tmp/portage/net-misc/rwhoisd-1.5.9.6-r2/work/rwhoisd-1.5.9.6/rwhoisd/regexp' clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -I. -DHAVE_CONFIG_H -c regerror.c clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -I. -DHAVE_CONFIG_H -c regexp.c clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -I. -DHAVE_CONFIG_H -c regsub.c regexp.c:237:13: warning: passing arguments to 'regc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regc(MAGIC); ^ regexp.c:238:16: warning: passing arguments to 'reg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (reg(0, &flags) == NULL) ^ regexp.c:254:13: warning: passing arguments to 'regc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regc(MAGIC); ^ regexp.c:255:16: warning: passing arguments to 'reg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (reg(0, &flags) == NULL) ^ regexp.c:264:23: warning: passing arguments to 'regnext' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (OP(regnext(scan)) == END) { /* Only one top-level choice. */ ^ regexp.c:284:60: warning: passing arguments to 'regnext' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] for (; scan != NULL; scan = regnext(scan)) ^ regexp.c:218:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regcomp(exp) ^ In file included from regexp.c:54: ./regexp.h:21:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern regexp *regcomp(); ^ regerror.c:4:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regerror(s) ^ regexp.c:325:30: warning: passing arguments to 'regnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ret = regnode(OPEN+parno); ^ regexp.c:330:23: warning: passing arguments to 'regbranch' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] br = regbranch(&flags); ^ regexp.c:334:24: warning: passing arguments to 'regtail' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regtail(ret, br); /* OPEN -> first. */ ^ regexp.c:342:31: warning: passing arguments to 'regbranch' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] br = regbranch(&flags); ^ regexp.c:345:24: warning: passing arguments to 'regtail' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regtail(ret, br); /* BRANCH -> BRANCH. */ ^ regexp.c:352:24: warning: passing arguments to 'regnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ender = regnode((paren) ? CLOSE+parno : END); ^ regexp.c:353:16: warning: passing arguments to 'regtail' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regtail(ret, ender); ^ regexp.c:356:48: warning: passing arguments to 'regnext' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] for (br = ret; br != NULL; br = regnext(br)) ^ regexp.c:357:26: warning: passing arguments to 'regoptail' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regoptail(br, ender); ^ regexp.c:307:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] reg(paren, flagp) ^ regexp.c:389:22: warning: passing arguments to 'regnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ret = regnode(BRANCH); ^ regexp.c:393:34: warning: passing arguments to 'regpiece' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] latest = regpiece(&flags); ^ regexp.c:400:32: warning: passing arguments to 'regtail' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regtail(chain, latest); ^ regexp.c:404:31: warning: passing arguments to 'regnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) regnode(NOTHING); ^ regexp.c:379:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regbranch(flagp) ^ regexp.c:427:22: warning: passing arguments to 'regatom' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ret = regatom(&flags); ^ regexp.c:442:26: warning: passing arguments to 'reginsert' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] reginsert(STAR, ret); ^ regexp.c:445:26: warning: passing arguments to 'reginsert' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] reginsert(BRANCH, ret); /* Either x */ ^ regexp.c:446:39: warning: passing arguments to 'regnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regoptail(ret, regnode(BACK)); /* and loop */ ^ regexp.c:446:26: warning: passing arguments to 'regoptail' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regoptail(ret, regnode(BACK)); /* and loop */ ^ regexp.c:447:26: warning: passing arguments to 'regoptail' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regoptail(ret, ret); /* back */ ^ regexp.c:448:37: warning: passing arguments to 'regnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regtail(ret, regnode(BRANCH)); /* or */ ^ regexp.c:448:24: warning: passing arguments to 'regtail' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regtail(ret, regnode(BRANCH)); /* or */ ^ regexp.c:449:37: warning: passing arguments to 'regnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regtail(ret, regnode(NOTHING)); /* null. */ ^ regexp.c:449:24: warning: passing arguments to 'regtail' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regtail(ret, regnode(NOTHING)); /* null. */ ^ regexp.c:451:26: warning: passing arguments to 'reginsert' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] reginsert(PLUS, ret); ^ regexp.c:454:31: warning: passing arguments to 'regnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] next = regnode(BRANCH); /* Either */ ^ regexp.c:455:24: warning: passing arguments to 'regtail' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regtail(ret, next); ^ regexp.c:456:32: warning: passing arguments to 'regnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regtail(regnode(BACK), ret); /* loop back */ ^ regexp.c:456:24: warning: passing arguments to 'regtail' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regtail(regnode(BACK), ret); /* loop back */ ^ regexp.c:457:38: warning: passing arguments to 'regnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regtail(next, regnode(BRANCH)); /* or */ ^ regexp.c:457:24: warning: passing arguments to 'regtail' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regtail(next, regnode(BRANCH)); /* or */ ^ regexp.c:458:37: warning: passing arguments to 'regnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regtail(ret, regnode(NOTHING)); /* null. */ ^ regexp.c:458:24: warning: passing arguments to 'regtail' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regtail(ret, regnode(NOTHING)); /* null. */ ^ regexp.c:461:26: warning: passing arguments to 'reginsert' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] reginsert(BRANCH, ret); /* Either x */ ^ regexp.c:462:37: warning: passing arguments to 'regnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regtail(ret, regnode(BRANCH)); /* or */ ^ regexp.c:462:24: warning: passing arguments to 'regtail' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regtail(ret, regnode(BRANCH)); /* or */ ^ regexp.c:463:31: warning: passing arguments to 'regnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] next = regnode(NOTHING); /* null. */ ^ regexp.c:464:24: warning: passing arguments to 'regtail' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regtail(ret, next); ^ regexp.c:465:26: warning: passing arguments to 'regoptail' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regoptail(ret, next); ^ regexp.c:419:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regpiece(flagp) ^ regexp.c:494:30: warning: passing arguments to 'regnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ret = regnode(BOL); ^ regexp.c:497:30: warning: passing arguments to 'regnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ret = regnode(EOL); ^ regexp.c:500:30: warning: passing arguments to 'regnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ret = regnode(ANY); ^ regexp.c:508:46: warning: passing arguments to 'regnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ret = regnode(ANYBUT); ^ regexp.c:511:46: warning: passing arguments to 'regnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ret = regnode(ANYOF); ^ regexp.c:513:37: warning: passing arguments to 'regc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regc(*regparse++); ^ regexp.c:518:53: warning: passing arguments to 'regc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regc('-'); ^ regexp.c:525:61: warning: passing arguments to 'regc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regc(class); ^ regexp.c:529:45: warning: passing arguments to 'regc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regc(*regparse++); ^ regexp.c:531:29: warning: passing arguments to 'regc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regc('\0'); ^ regexp.c:561:38: warning: passing arguments to 'regnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ret = regnode(WORDA); ^ regexp.c:564:38: warning: passing arguments to 'regnode' without a prototype is deprecated in all versions of C and is not supported1 warning generated. in C2x [-Wdeprecated-non-prototype] ret = regnode(WORDZ); ^ regexp.c:603:38: warning: passing arguments to 'regnode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ret = regnode(EXACTLY); ^ regexp.c:609:45: warning: passing arguments to 'regc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regc(ch); /* Add cur to string */ ^ regexp.c:618:45: warning: passing arguments to 'regc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regc(ch); /* dump cur char */ ^ regexp.c:629:45: warning: passing arguments to 'regc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regc(ch); /* Cur char OK */ ^ regexp.c:646:29: warning: passing arguments to 'regc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regc('\0'); ^ regexp.c:483:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regatom(flagp) ^ regexp.c:661:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regnode(op) ^ regexp.c:686:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regc(b) ^ regexp.c:701:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] reginsert(op, opnd) ^ regexp.c:744:31: warning: passing arguments to 'regnext' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] temp = regnext(scan); ^ regexp.c:730:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regtail(p, val) ^ regexp.c:762:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regoptail(p, val) ^ regexp.c:837:30: warning: passing arguments to 'regtry' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return(regtry(prog, string)); ^ regexp.c:844:35: warning: passing arguments to 'regtry' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (regtry(prog, s)) ^ regexp.c:851:35: warning: passing arguments to 'regtry' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (regtry(prog, s)) ^ regexp.c:801:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regexec(prog, string) ^ In file included from regexp.c:54: ./regexp.h:22:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern int regexec(); ^ regsub.c:35:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]regexp.c :881:21: warning: passingregsub(prog, source, dest) ^ In file included from regsub.c:22: ./regexp.h:23:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void regsub(); ^ arguments to 'regmatch' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (regmatch(prog->program + 1)) { ^ regexp.c:863:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regtry(prog, string) ^ regexp.c:917:31: warning: passing arguments to 'regnext' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] next = regnext(scan); ^ regexp.c:1043:63: warning: passing arguments to 'regnext' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] scan = regnext(scan); ^ regexp.c:1066:47: warning: passing arguments to 'regrepeat' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] no = regrepeat(OPERAND(scan)); ^ regexp.c:900:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regmatch(prog) ^ regexp.c:1103:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regrepeat(p) ^ regexp.c:1151:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] regnext(p) ^ 2 warnings generated. 86 warnings generated. ar cru libregexp.a regerror.o regexp.o regsub.o x86_64-pc-linux-gnu-ranlib libregexp.a make: Leaving directory '/var/tmp/portage/net-misc/rwhoisd-1.5.9.6-r2/work/rwhoisd-1.5.9.6/rwhoisd/regexp' make -j4 -C mkdb make: Entering directory '/var/tmp/portage/net-misc/rwhoisd-1.5.9.6-r2/work/rwhoisd-1.5.9.6/rwhoisd/mkdb' clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -I. -I.. -I./../common -I./../regexp -DHAVE_CONFIG_H -c anon_record.c clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -I. -I.. -I./../common -I./../regexp -DHAVE_CONFIG_H -c delete.c clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -I. -I.. -I./../common -I./../regexp -DHAVE_CONFIG_H -c fileinfo.c clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -I. -I.. -I./../common -I./../regexp -DHAVE_CONFIG_H -c index.c delete.c:31:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mkdb_delete_record_list (record_list) ^ delete.c:75:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mkdb_delete_record(file_list, hit_item, changed_fi_list) ^ delete.c:95:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mkdb_delete_index_entry(fi_list, index_file_index, data_file_index, offset, ^ delete.c:95:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] delete.c:166:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mkdb_delete_data_entry(fi_list, hit_item, changed_fi_list) ^ delete.c:166:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 6 warnings generated. index.c:39:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] write_index_line(fp, item) ^ index.c:64:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] exact_index(line) ^ index.c:80:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cidr_index(line) ^ index.c:108:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] strip_non_soundex(str) ^ clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -I. -I.. -I./../common -I./../regexp -DHAVE_CONFIG_H -c index_file.c index.c:139:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] soundex_index(value) ^ index.c:191:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] soundex_index_to_var(result, value) ^ index.c:211:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] is_soundexable(str) ^ index.c:240:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sort_index_files(files) ^ index.c:286:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] index_record(rec, auth_area, files, status) ^ index.c:484:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] index_data_file(class, auth_area, data_file, files, validate_flag, status) ^ index.c:557:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] decode_index_line(line, item) ^ index.c:590:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] encode_index_line(line, item) ^ index.c:600:37: warning: format specifies type 'long long' but the argument has type 'off_t' (aka 'long') [-Wformat] sprintf(line, "%lld:%d:%d:%d:%s", item->offset, item->data_file_no, ~~~~ ^~~~~~~~~~~~ %ld index.c:612:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] index_files(class, auth_area, index_file_list, data_file_list, validate_flag, ^ index.c:749:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] index_files_by_name(class_name, auth_area_name, base_dir, ^ index.c:832:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] index_files_by_suffix(class_name, auth_area_name, suffix, validate_flag) ^ index.c:906:1: anon_record.c:21:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] get_anon_av_pair(line, validate_flag, status) ^ warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] destroy_index_item(item) ^ anon_record.c:62:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mkdb_read_anon_record(data_file_no, validate_flag, status, fp) ^ anon_record.c:153:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] find_anon_attr_in_rec(anon_rec, attr_name) ^ anon_record.c:184:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] find_anon_auth_area_in_rec(anon_rec) ^ anon_record.c:217:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] find_anon_class_in_rec(anon_rec) ^ anon_record.c:252:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] find_anon_updated_in_rec(anon_rec) ^ anon_record.c:286:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] destroy_anon_record_data(rec) ^ anon_record.c:299:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] destroy_anon_av_pair_data(av) ^ fileinfo.c:77:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] select_type(ftype) ^ fileinfo.c:77:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fileinfo.c:105:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] select_str_from_type(type) ^ fileinfo.c:105:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fileinfo.c:124:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] read_file_struct(fp) ^ fileinfo.c:124:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fileinfo.c:203:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] write_file_struct(fp, fi, not_last) ^ fileinfo.c:218:43: warning: format specifies type 'long long' but the argument has type 'off_t' (aka 'long') [-Wformat] fprintf(fp, "%s:%lld\n", MKDB_SIZE_TAG, fi->size); ~~~~ ^~~~~~~~ %ld fileinfo.c:203:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] write_file_struct(fp, fi, not_last) ^ fileinfo.c:236:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] read_file_list(index_file, file_list) ^ fileinfo.c:236:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fileinfo.c:300:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] write_file_list(filename, file_list) ^ fileinfo.c:300:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fileinfo.c:334:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] next_file_no(file_list) ^ fileinfo.c:334:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fileinfo.c:357:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] generate_file_name(tmp_filename, base_filename, full_file_list) ^ fileinfo.c:357:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fileinfo.c:413:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] get_master_index_file(class, auth_area, instance_type, index_file) ^ fileinfo.c:413:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fileinfo.c:443:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] add_file_struct(file, file_list, lock_mode) ^ fileinfo.c:443:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fileinfo.c:526:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] delete_file_no(file_no, file_list) ^ fileinfo.c:526:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fileinfo.c:552:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lock_unlock_file_no(file_no, lock, file_list) ^ fileinfo.c:552:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fileinfo.c:580:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] update_file_no(update_file, file_list) ^ fileinfo.c:580:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fileinfo.c:607:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] add_file_list(file_list, full_file_list, lock_mode) ^ fileinfo.c:607:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fileinfo.c:633:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] delete_file_list(file_list, full_file_list) ^ fileinfo.c:633:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fileinfo.c:664:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mod_file_list(file_list, full_file_list) ^ fileinfo.c:664:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fileinfo.c:691:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lock_unlock_file_list(file_list, full_file_list, lock) ^ fileinfo.c:691:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fileinfo.c:720:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] install_write_file_list(class, auth_area) ^ fileinfo.c:720:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fileinfo.c:777:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] is_area_indexed(class, auth_area) ^ fileinfo.c:822:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mkdb_file_type_equals(type1, type2) ^ fileinfo.c:854:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] copy_file_struct(fi) ^ fileinfo.c:884:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] copy_file_list(target_file_list, source_file_list) ^ fileinfo.c:916:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] get_dir(class_name, auth_area_name, dir) ^ fileinfo.c:970:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] get_file_list(class, auth_area, file_list) ^ fileinfo.c:1004:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] get_file(class_name, auth_area_name, file_list) ^ fileinfo.c:1079:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] filter_file_list(result_list, type, master_list) ^ fileinfo.c:1118:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unlink_master_file_list(class, auth_area) ^ fileinfo.c:1153:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] add_single_file(class, auth_area, file_name, type, num_recs) ^ fileinfo.c:1197:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] modify_file_list(class, auth_area, add_list, delete_list, ^ 8 warnings generated. fileinfo.c:1299:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unlink_file_list(file_list) ^ fileinfo.c:1332:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] find_file_by_id(list, id, type) ^ fileinfo.c:1360:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] find_file_by_name(list, name, type) ^ fileinfo.c:1386:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] records_in_auth_area(auth_area) ^ fileinfo.c:1425:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] build_base_file_struct(file_name, type, num_recs) ^ fileinfo.c:1452:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] build_tmp_base_file_struct(tmp_filename, base_template, type, num_recs) ^ fileinfo.c:1486:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] build_file_list_by_names(file_list, type, base_dir, num_names, names) ^ fileinfo.c:1521:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] build_file_list_by_suffix(file_list, type, base_dir, suffix) ^ fileinfo.c:1575:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] destroy_file_struct_data(data) ^ clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -I. -I.. -I./../common -I./../regexp -DHAVE_CONFIG_H -c metaphon.c index_file.c:21:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mkdb_ft_2_ft_templ(mkdb_type) ^ index_file.c:38:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] translate_type_to_str(mkdb_type) ^ index_file.c:55:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] generate_index_file_tmpname(type, prefix) ^ index_file.c:77:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] create_index_fp(type, class, auth_area, base_dir, base_name) ^ index_file.c:110:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] does_index_type_exist(type, index_file_list) ^ index_file.c:140:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] generate_index_file_basename(type, spool_directory, prefix) ^ index_file.c:163:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] convert_file_type(attr_index) ^ index_file.c:180:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] find_index_file_by_type(files, type) ^ index_file.c:215:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] build_index_list(class, auth_area, index_file_list, base_dir, base_name) ^ 17 warnings generated. index_file.c:301:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unlink_index_tmp_files(index_file_list) ^ index_file.c:332:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] destroy_index_fp_data(data) ^ clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -I. -I.. -I./../common -I./../regexp -DHAVE_CONFIG_H -c records.c 11 warnings generated. records.c:24:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] encode_av_pair(class, av, line) ^ records.c:41:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] translate_anon_av_pair(anon_av, class, auth_area, validate_flag, status) ^ records.c:106:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mkdb_translate_anon_record(anon, class, auth_area, validate_flag) ^ records.c:175:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mkdb_read_record(class, auth_area, data_file_no, validate_flag, status, fp) ^ records.c:237:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mkdb_read_next_record(class, auth_area, data_file_no, validate_flag, ^ records.c:271:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mkdb_write_record(record, fp) ^ records.c:294:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] find_attr_in_record_by_name(record, attr_name) ^ records.c:326:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] find_attr_in_record_by_id(record, id) ^ records.c:359:1: warning: clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -I. -I.. -I./../common -I./../regexp -DHAVE_CONFIG_H -c search.c a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] append_attribute_to_record(record, class, attrib_name, value) ^ records.c:381:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] delete_attribute_from_record(record, attrib_name) ^ records.c:409:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] copy_av_pair(av) ^ records.c:432:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] copy_record(rec) ^ records.c:466:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] destroy_record_data(rec) ^ records.c:482:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] destroy_av_pair_data(av) ^ clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -I. -I.. -I./../common -I./../regexp -DHAVE_CONFIG_H -c search_prim.c 14 warnings generated. clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -I. -I.. -I./../common -I./../regexp -DHAVE_CONFIG_H -c y.tab.c 57 warnings generated. search.c:33:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rebuild_query(auth_area, query) ^ search.c:106:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] search_exact_index_file(class, auth_area, file, data_fi_list, ^ search.c:147:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] search_soundex_index_file(class, auth_area, file, data_fi_list, ^ search.c:185:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] search_cidr_index_file(class, auth_area, file, data_fi_list, ^ search.c:258:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] search_index_file(class, auth_area, index_fi_list, data_fi_list, query_tree, ^ search.c:335:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] search_class(query_tree, auth_area, class, record_list, max_hits) ^ search.c:411:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] search_auth_area(auth_area, class_name, query, record_list, max_hits) ^ search.c:484:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] search(query, record_list, max_hits, ret_code) ^ search.c:594:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] check_query_complexity(query) ^ clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -I. -I.. -I./../common -I./../regexp -DHAVE_CONFIG_H -c lex.yy.c search_prim.c:27:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] open_fp(file) ^ search_prim.c:44:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] close_fp(file) ^ search_prim.c:60:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] check_hit_list_for_hit(class, auth_area, record_list, index_item) ^ search_prim.c:92:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] validate_search_cond(class, auth_area, query_item, index_item) ^ search_prim.c:117:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] validate_and_list(record, query_list) ^ search_prim.c:163:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fill_out_record(class, auth_area, index_item, data_fi_list, status) ^ search_prim.c:204:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_hit_count(value) ^ search_prim.c:227:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] binary_search(file, query_item) ^ search_prim.c:331:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] full_scan(class, auth_area, file, data_fi_list, query_item, record_list, ^ search_prim.c:495:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] scan_for_bol(fp, low, offset, high) ^ search_prim.c:650:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] search_compare(query_item, index_value) ^ 9 warnings generated. /usr/local/share/bison.simple:327:4: error: call to undeclared function 'yyerror'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] yyerror("parser stack overflow"); ^ /usr/local/share/bison.simple:387:16: error: call to undeclared function 'yylex'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] yychar = YYLEX; ^ /usr/local/share/bison.simple:93:16: note: expanded from macro 'YYLEX' #define YYLEX yylex() ^ /usr/local/share/bison.simple:598:2: error: call to undeclared function 'yyerror'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] yyerror("parse error"); ^ ./parse.y:86:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_query(class_name, auth_area_name) ^ ./parse.y:86:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ./parse.y:104:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_query_term(attribute_name, value, op) ^ ./parse.y:104:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ./parse.y:157:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] add_term(term) ^ ./parse.y:157:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ./parse.y:204:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] display_query_term(term) ^ ./parse.y:204:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ./parse.y:252:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] parse_query(line, result) ^ ./parse.y:273:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] yyerror(s) ^ ./parse.y:282:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] destroy_query_term(qt) ^ ./parse.y:303:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] destroy_query(q) ^ 12 warnings and 3 errors generated. make: *** [Makefile:60: y.tab.o] Error 1 make: *** Waiting for unfinished jobs.... 11 warnings generated. parse.l:75:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_lexstring(s) ^ parse.l:105:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] parse_yyinput(buf, max_size) ^ parse.l:105:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 3 warnings generated. make: Leaving directory '/var/tmp/portage/net-misc/rwhoisd-1.5.9.6-r2/work/rwhoisd-1.5.9.6/rwhoisd/mkdb' * ERROR: net-misc/rwhoisd-1.5.9.6-r2::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-misc/rwhoisd-1.5.9.6-r2::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-misc/rwhoisd-1.5.9.6-r2::gentoo'`. * The complete build log is located at '/var/log/portage/net-misc:rwhoisd-1.5.9.6-r2:20220917-170021.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-misc/rwhoisd-1.5.9.6-r2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-misc/rwhoisd-1.5.9.6-r2/temp/environment'. * Working directory: '/var/tmp/portage/net-misc/rwhoisd-1.5.9.6-r2/work/rwhoisd-1.5.9.6/rwhoisd' * S: '/var/tmp/portage/net-misc/rwhoisd-1.5.9.6-r2/work/rwhoisd-1.5.9.6/rwhoisd'