* Package: sys-apps/tcp-wrappers-7.6.31:0 * Repository: gentoo * Maintainer: base-system@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux split-usr userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking tcp_wrappers_7.6.tar.gz to /var/tmp/portage/sys-apps/tcp-wrappers-7.6.31/work >>> Unpacking tcp-wrappers_7.6.q-31.debian.tar.xz to /var/tmp/portage/sys-apps/tcp-wrappers-7.6.31/work >>> Source unpacked in /var/tmp/portage/sys-apps/tcp-wrappers-7.6.31/work >>> Preparing source in /var/tmp/portage/sys-apps/tcp-wrappers-7.6.31/work/tcp_wrappers_7.6 ... * Applying 00_man_quoting.diff ... [ ok ] * Applying 00_man_typos ... [ ok ] * Applying 01_man_portability ... [ ok ] * Applying 05_wildcard_matching ... [ ok ] * Applying 06_fix_gethostbyname ... [ ok ] * Applying 10_usagi-ipv6 ... [ ok ] * Applying 11_tcpd_blacklist ... [ ok ] * Applying 11_usagi_fix ... [ ok ] * Applying 12_makefile_config ... [ ok ] * Applying 13_shlib_weaksym ... [ ok ] * Applying 14_cidr_support ... [ ok ] * Applying 15_match_clarify ... [ ok ] * Applying musl_support ... [ ok ] * Applying aclexec ... [ ok ] * Applying expand_remote_port ... [ ok ] * Applying catch-sigchld ... [ ok ] * Applying fix_warnings ... [ ok ] * Applying have_strerror ... [ ok ] * Applying man_fromhost ... [ ok ] * Applying more_man_pages ... [ ok ] * Applying match_port ... [ ok ] * Applying restore_sigalarm ... [ ok ] * Applying rfc931.diff ... [ ok ] * Applying safe_finger ... [ ok ] * Applying sig_fix ... [ ok ] * Applying siglongjmp ... [ ok ] * Applying size_t ... [ ok ] * Applying tcpdchk_libwrapped ... [ ok ] * Applying fix_static ... [ ok ] * Applying fix_parsing_long_lines ... [ ok ] * Applying initgroups ... [ ok ] * Applying ignore_missing_inetdconf ... [ ok ] * Applying fix_warnings2 ... [ ok ] * Applying tcp-wrappers-7.6-redhat-bug11881.patch ... [ ok ] * Applying tcp-wrappers-7.6.28-no-external-malloc.patch ... [ ok ] * Will copy sources from /var/tmp/portage/sys-apps/tcp-wrappers-7.6.31/work/tcp_wrappers_7.6 * abi_x86_64.amd64: copying to /var/tmp/portage/sys-apps/tcp-wrappers-7.6.31/work/tcp_wrappers_7.6-abi_x86_64.amd64 >>> Source prepared. >>> Configuring source in /var/tmp/portage/sys-apps/tcp-wrappers-7.6.31/work/tcp_wrappers_7.6 ... * abi_x86_64.amd64: running multilib-minimal_abi_src_configure make -j4 REAL_DAEMON_DIR=/usr/sbin TLI= VSYSLOG= PARANOID= BUGS= AUTH=-DALWAYS_RFC931 AUX_OBJ=weak_symbols.o DOT=-DAPPEND_DOT HOSTNAME=-DALWAYS_HOSTNAME NETGROUP= STYLE=-DPROCESS_OPTIONS LIBS= LIB= AR=x86_64-pc-linux-gnu-ar ARFLAGS=rc CC=clang RANLIB=x86_64-pc-linux-gnu-ranlib 'COPTS=-pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DHAVE_WEAKSYMS -DHAVE_STRERROR -DSYS_ERRLIST_DEFINED' 'LDFLAGS=-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0' config-check >>> Source configured. >>> Compiling source in /var/tmp/portage/sys-apps/tcp-wrappers-7.6.31/work/tcp_wrappers_7.6 ... * abi_x86_64.amd64: running multilib-minimal_abi_src_compile make -j4 REAL_DAEMON_DIR=/usr/sbin TLI= VSYSLOG= PARANOID= BUGS= AUTH=-DALWAYS_RFC931 AUX_OBJ=weak_symbols.o DOT=-DAPPEND_DOT HOSTNAME=-DALWAYS_HOSTNAME NETGROUP= STYLE=-DPROCESS_OPTIONS LIBS= LIB= AR=x86_64-pc-linux-gnu-ar ARFLAGS=rc CC=clang RANLIB=x86_64-pc-linux-gnu-ranlib 'COPTS=-pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DHAVE_WEAKSYMS -DHAVE_STRERROR -DSYS_ERRLIST_DEFINED -DHAVE_WEAKSYMS -DHAVE_STRERROR -DSYS_ERRLIST_DEFINED' 'LDFLAGS=-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0' all clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DHAVE_WEAKSYMS -DHAVE_STRERROR -DSYS_ERRLIST_DEFINED -DHAVE_WEAKSYMS -DHAVE_STRERROR -DSYS_ERRLIST_DEFINED -DFACILITY=LOG_DAEMON -DHOSTS_ACCESS -DALWAYS_RFC931 -DDAEMON_UMASK=022 -DREAL_DAEMON_DIR=\"/usr/sbin\" -DPROCESS_OPTIONS -DKILL_IP_OPTIONS -DSEVERITY=LOG_INFO -DRFC931_TIMEOUT=10 -DHOSTS_DENY=\"/etc/hosts.deny\" -DHOSTS_ALLOW=\"/etc/hosts.allow\" -DAPPEND_DOT -DALWAYS_HOSTNAME -o tcpd.o -c tcpd.c clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DHAVE_WEAKSYMS -DHAVE_STRERROR -DSYS_ERRLIST_DEFINED -DHAVE_WEAKSYMS -DHAVE_STRERROR -DSYS_ERRLIST_DEFINED -DFACILITY=LOG_DAEMON -DHOSTS_ACCESS -DALWAYS_RFC931 -DDAEMON_UMASK=022 -DREAL_DAEMON_DIR=\"/usr/sbin\" -DPROCESS_OPTIONS -DKILL_IP_OPTIONS -DSEVERITY=LOG_INFO -DRFC931_TIMEOUT=10 -DHOSTS_DENY=\"/etc/hosts.deny\" -DHOSTS_ALLOW=\"/etc/hosts.allow\" -DAPPEND_DOT -DALWAYS_HOSTNAME -fpic -c hosts_access.c -o shared/hosts_access.o clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DHAVE_WEAKSYMS -DHAVE_STRERROR -DSYS_ERRLIST_DEFINED -DHAVE_WEAKSYMS -DHAVE_STRERROR -DSYS_ERRLIST_DEFINED -DFACILITY=LOG_DAEMON -DHOSTS_ACCESS -DALWAYS_RFC931 -DDAEMON_UMASK=022 -DREAL_DAEMON_DIR=\"/usr/sbin\" -DPROCESS_OPTIONS -DKILL_IP_OPTIONS -DSEVERITY=LOG_INFO -DRFC931_TIMEOUT=10 -DHOSTS_DENY=\"/etc/hosts.deny\" -DHOSTS_ALLOW=\"/etc/hosts.allow\" -DAPPEND_DOT -DALWAYS_HOSTNAME -fpic -c options.c -o shared/options.o clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DHAVE_WEAKSYMS -DHAVE_STRERROR -DSYS_ERRLIST_DEFINED -DHAVE_WEAKSYMS -DHAVE_STRERROR -DSYS_ERRLIST_DEFINED -DFACILITY=LOG_DAEMON -DHOSTS_ACCESS -DALWAYS_RFC931 -DDAEMON_UMASK=022 -DREAL_DAEMON_DIR=\"/usr/sbin\" -DPROCESS_OPTIONS -DKILL_IP_OPTIONS -DSEVERITY=LOG_INFO -DRFC931_TIMEOUT=10 -DHOSTS_DENY=\"/etc/hosts.deny\" -DHOSTS_ALLOW=\"/etc/hosts.allow\" -DAPPEND_DOT -DALWAYS_HOSTNAME -fpic -c shell_cmd.c -o shared/shell_cmd.o tcpd.c:47:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int main(argc, argv) ^ hosts_access.c:47:14: 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 previous declaration [-Wdeprecated-non-prototype] extern char *fgets(); ^ /usr/include/stdio.h:592:14: note: conflicting prototype is here extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ^ hosts_access.c:114:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int hosts_access(request) ^ hosts_access.c:139:20: warning: passing arguments to 'table_match' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (table_match(hosts_allow_table, request) == YES) ^ hosts_access.c:141:20: warning: passing arguments to 'table_match' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (table_match(hosts_deny_table, request) == NO) ^ hosts_access.c:183:24: warning: passing arguments to 'list_match' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] match = list_match(sv_list, request, server_match) ^ hosts_access.c:184:16: warning: passing arguments to 'list_match' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] && list_match(cl_list, request, client_match); ^ hosts_access.c:148:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int table_match(table, request) ^ hosts_access.c:233:14: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (match_fn(tok, request)) { /* YES: look for exceptions */ ^ hosts_access.c:216:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int list_match(list, request, match_fn) ^ hosts_access.c:254:22: warning: passing arguments to 'string_match' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return (string_match(tok, eval_daemon(request))); ^ hosts_access.c:284:16: warning: passing arguments to 'host_match' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] && host_match(host, request->server)); ^ hosts_access.c:274:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int server_match(tok, request) ^ hosts_access.c:297:20: warning: passing arguments to 'host_match' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return (host_match(tok, request->client)); ^ hosts_access.c:299:20: warning: passing arguments to 'host_match' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return (host_match(host, request->client) ^ hosts_access.c:300:18: warning: passing arguments to 'string_match' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] && string_match(tok, eval_user(request))); ^ hosts_access.c:290:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int client_match(tok, request) ^ hosts_access.c:308:8: warning: declaration of 'struct hosts_info' will not be visible outside of this function [-Wvisibility] struct hosts_info *host; ^ hosts_access.c:315:59: warning: passing arguments to 'host_match' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] while (fscanf(fp, "%s", tok) == 1 && !(match = host_match(tok, host))) ^ hosts_access.c:306:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int hostfile_match(path, host) ^ hosts_access.c:352:30: warning: incompatible pointer types passing 'struct host_info *' to parameter of type 'struct hosts_info *' [-Wincompatible-pointer-types] return (hostfile_match(tok, host)); ^~~~ hosts_access.c:360:22: warning: passing arguments to 'masked_match' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return (masked_match(tok, mask, eval_hostaddr(host))); ^ hosts_access.c:362:22: warning: passing arguments to 'string_match' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return (string_match(tok, eval_hostaddr(host)) ^ hosts_access.c:363:41: warning: passing arguments to 'string_match' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] || (NOT_INADDR(tok) && string_match(tok, eval_hostname(host)))); ^ hosts_access.c:326:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int host_match(tok, host) ^ hosts_access.c:384:34: warning: passing arguments to 'match_pattern_ylo' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return (match_pattern_ylo(string,tok)); ^ hosts_access.c:369:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int string_match(tok, string) ^ hosts_access.c:448:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int masked_match(net_tok, mask_tok, string) ^ hosts_access.c:102: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] static int match_pattern_ylo(); ^ hosts_access.c:560:12: note: conflicting prototype is here static int match_pattern_ylo(const char *s, const char *pattern) ^ 1 warning generated. options.c:137:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void process_options(options, request) ^ options.c:148:30: warning: passing arguments to 'get_field' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] for (curr_opt = get_field(options); curr_opt; curr_opt = next_opt) { ^ options.c:149:22: warning: passing arguments to 'get_field' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] next_opt = get_field((char *) 0); ^ options.c:155:24: warning: passing arguments to 'chop_string' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] curr_opt = chop_string(curr_opt); ^ options.c:192:25: warning: passing arguments to 'chop_string' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] value = chop_string(percent_x(bf, sizeof(bf), value, request)); ^ options.c:195:16: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (*(op->func)) (value, request); ^ options.c:203:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void allow_option(value, request) ^ options.c:214:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void deny_option(value, request) ^ options.c:223:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void banners_option(value, request) ^ options.c:260:19: 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 previous declaration [-Wdeprecated-non-prototype] struct group *getgrnam(); ^ /usr/include/grp.h:107:22: note: conflicting prototype is here extern struct group *getgrnam (const char *__name); ^ options.c:255:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void group_option(value, request) ^ options.c:283:20: 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 previous declaration [-Wdeprecated-non-prototype] struct passwd *getpwnam(); ^ /usr/include/pwd.h:116:23: note: conflicting prototype is here extern struct passwd *getpwnam (const char *__name) __nonnull ((1)); ^ options.c:278:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void user_option(value, request) ^ options.c:311:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void umask_option(value, request) ^ options.c:327:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void spawn_option(value, request) ^ options.c:387:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void linger_option(value, request) ^ options.c:409:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void keepalive_option(value, request) ^ options.c:424:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void nice_option(value, request) ^ options.c:439:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void twist_option(value, request) ^ options.c:477:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void rfc931_option(value, request) ^ options.c:504:27: warning: passing arguments to 'chop_string' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (setenv(chop_string(value), chop_string(var_value), 1)) ^ options.c:504:47: warning: passing arguments to 'chop_string' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (setenv(chop_string(value), chop_string(var_value), 1)) ^ options.c:496:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void setenv_option(value, request) ^ options.c:603:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int severity_map(table, name) ^ options.c:614:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ options.c:620:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void severity_option(value, request) ^ options.c:659:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (ch = *src) { ~~~^~~~~~ clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DHAVE_WEAKSYMS -DHAVE_STRERROR -DSYS_ERRLIST_DEFINED -DHAVE_WEAKSYMS -DHAVE_STRERROR -DSYS_ERRLIST_DEFINED -DFACILITY=LOG_DAEMON -DHOSTS_ACCESS -DALWAYS_RFC931 -DDAEMON_UMASK=022 -DREAL_DAEMON_DIR=\"/usr/sbin\" -DPROCESS_OPTIONS -DKILL_IP_OPTIONS -DSEVERITY=LOG_INFO -DRFC931_TIMEOUT=10 -DHOSTS_DENY=\"/etc/hosts.deny\" -DHOSTS_ALLOW=\"/etc/hosts.allow\" -DAPPEND_DOT -DALWAYS_HOSTNAME -fpic -c rfc931.c -o shared/rfc931.o options.c:659:15: note: place parentheses around the assignment to silence this warning while (ch = *src) { ^ ( ) options.c:659:15: note: use '==' to turn this assignment into an equality comparison while (ch = *src) { ^ == options.c:633:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static char *get_field(string) ^ options.c:676:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static char *chop_string(string) ^ shell_cmd.c:53:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void shell_cmd(command) ^ shell_cmd.c:88:10: warning: passing arguments to 'do_child' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] do_child(command); ^ shell_cmd.c:110:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void do_child(command) ^ 28 warnings generated. 3 warnings generated. rfc931.c:41:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static FILE *fsocket(domain, type, protocol) ^ rfc931.c:63:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void timeout(sig) ^ rfc931.c:71:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void rfc931(rmt_sin, our_sin, dest) ^ rfc931.c:227:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (cp = strchr(user, '\r')) ~~~^~~~~~~~~~~~~~~~~~~~ rfc931.c:227:14: note: place parentheses around the assignment to silence this warning if (cp = strchr(user, '\r')) ^ ( ) rfc931.c:227:14: note: use '==' to turn this assignment into an equality comparison if (cp = strchr(user, '\r')) ^ == clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DHAVE_WEAKSYMS -DHAVE_STRERROR -DSYS_ERRLIST_DEFINED -DHAVE_WEAKSYMS -DHAVE_STRERROR -DSYS_ERRLIST_DEFINED -DFACILITY=LOG_DAEMON -DHOSTS_ACCESS -DALWAYS_RFC931 -DDAEMON_UMASK=022 -DREAL_DAEMON_DIR=\"/usr/sbin\" -DPROCESS_OPTIONS -DKILL_IP_OPTIONS -DSEVERITY=LOG_INFO -DRFC931_TIMEOUT=10 -DHOSTS_DENY=\"/etc/hosts.deny\" -DHOSTS_ALLOW=\"/etc/hosts.allow\" -DAPPEND_DOT -DALWAYS_HOSTNAME -fpic -c eval.c -o shared/eval.o clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DHAVE_WEAKSYMS -DHAVE_STRERROR -DSYS_ERRLIST_DEFINED -DHAVE_WEAKSYMS -DHAVE_STRERROR -DSYS_ERRLIST_DEFINED -DFACILITY=LOG_DAEMON -DHOSTS_ACCESS -DALWAYS_RFC931 -DDAEMON_UMASK=022 -DREAL_DAEMON_DIR=\"/usr/sbin\" -DPROCESS_OPTIONS -DKILL_IP_OPTIONS -DSEVERITY=LOG_INFO -DRFC931_TIMEOUT=10 -DHOSTS_DENY=\"/etc/hosts.deny\" -DHOSTS_ALLOW=\"/etc/hosts.allow\" -DAPPEND_DOT -DALWAYS_HOSTNAME -fpic -c hosts_ctl.c -o shared/hosts_ctl.o 4 warnings generated. clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DHAVE_WEAKSYMS -DHAVE_STRERROR -DSYS_ERRLIST_DEFINED -DHAVE_WEAKSYMS -DHAVE_STRERROR -DSYS_ERRLIST_DEFINED -DFACILITY=LOG_DAEMON -DHOSTS_ACCESS -DALWAYS_RFC931 -DDAEMON_UMASK=022 -DREAL_DAEMON_DIR=\"/usr/sbin\" -DPROCESS_OPTIONS -DKILL_IP_OPTIONS -DSEVERITY=LOG_INFO -DRFC931_TIMEOUT=10 -DHOSTS_DENY=\"/etc/hosts.deny\" -DHOSTS_ALLOW=\"/etc/hosts.allow\" -DAPPEND_DOT -DALWAYS_HOSTNAME -fpic -c refuse.c -o shared/refuse.o eval.c:45:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *eval_user(request) ^ eval.c:58:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *eval_hostaddr(host) ^ eval.c:71:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *eval_hostname(host) ^ eval.c:84:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *eval_hostinfo(host) ^ eval.c:102:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *eval_port(saddr) ^ eval.c:125:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *eval_client(request) ^ eval.c:145:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *eval_server(request) ^ 29 warnings generated. hosts_ctl.c:24:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int hosts_ctl(daemon, name, addr, user) ^ clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DHAVE_WEAKSYMS -DHAVE_STRERROR -DSYS_ERRLIST_DEFINED -DHAVE_WEAKSYMS -DHAVE_STRERROR -DSYS_ERRLIST_DEFINED -DFACILITY=LOG_DAEMON -DHOSTS_ACCESS -DALWAYS_RFC931 -DDAEMON_UMASK=022 -DREAL_DAEMON_DIR=\"/usr/sbin\" -DPROCESS_OPTIONS -DKILL_IP_OPTIONS -DSEVERITY=LOG_INFO -DRFC931_TIMEOUT=10 -DHOSTS_DENY=\"/etc/hosts.deny\" -DHOSTS_ALLOW=\"/etc/hosts.allow\" -DAPPEND_DOT -DALWAYS_HOSTNAME -fpic -c percent_x.c -o shared/percent_x.o 1 warning generated. 7 warnings generated. clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DHAVE_WEAKSYMS -DHAVE_STRERROR -DSYS_ERRLIST_DEFINED -DHAVE_WEAKSYMS -DHAVE_STRERROR -DSYS_ERRLIST_DEFINED -DFACILITY=LOG_DAEMON -DHOSTS_ACCESS -DALWAYS_RFC931 -DDAEMON_UMASK=022 -DREAL_DAEMON_DIR=\"/usr/sbin\" -DPROCESS_OPTIONS -DKILL_IP_OPTIONS -DSEVERITY=LOG_INFO -DRFC931_TIMEOUT=10 -DHOSTS_DENY=\"/etc/hosts.deny\" -DHOSTS_ALLOW=\"/etc/hosts.allow\" -DAPPEND_DOT -DALWAYS_HOSTNAME -fpic -c clean_exit.c -o shared/clean_exit.o refuse.c:25:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void refuse(request) ^ clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DHAVE_WEAKSYMS -DHAVE_STRERROR -DSYS_ERRLIST_DEFINED -DHAVE_WEAKSYMS -DHAVE_STRERROR -DSYS_ERRLIST_DEFINED -DFACILITY=LOG_DAEMON -DHOSTS_ACCESS -DALWAYS_RFC931 -DDAEMON_UMASK=022 -DREAL_DAEMON_DIR=\"/usr/sbin\" -DPROCESS_OPTIONS -DKILL_IP_OPTIONS -DSEVERITY=LOG_INFO -DRFC931_TIMEOUT=10 -DHOSTS_DENY=\"/etc/hosts.deny\" -DHOSTS_ALLOW=\"/etc/hosts.allow\" -DAPPEND_DOT -DALWAYS_HOSTNAME -fpic -c weak_symbols.c -o shared/weak_symbols.o 1 warning generated. clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DHAVE_WEAKSYMS -DHAVE_STRERROR -DSYS_ERRLIST_DEFINED -DHAVE_WEAKSYMS -DHAVE_STRERROR -DSYS_ERRLIST_DEFINED -DFACILITY=LOG_DAEMON -DHOSTS_ACCESS -DALWAYS_RFC931 -DDAEMON_UMASK=022 -DREAL_DAEMON_DIR=\"/usr/sbin\" -DPROCESS_OPTIONS -DKILL_IP_OPTIONS -DSEVERITY=LOG_INFO -DRFC931_TIMEOUT=10 -DHOSTS_DENY=\"/etc/hosts.deny\" -DHOSTS_ALLOW=\"/etc/hosts.allow\" -DAPPEND_DOT -DALWAYS_HOSTNAME -fpic -c fromhost.c -o shared/fromhost.o percent_x.c:32:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *percent_x(result, result_len, string, request) ^ clean_exit.c:24:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void clean_exit(request) ^ clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DHAVE_WEAKSYMS -DHAVE_STRERROR -DSYS_ERRLIST_DEFINED -DHAVE_WEAKSYMS -DHAVE_STRERROR -DSYS_ERRLIST_DEFINED -DFACILITY=LOG_DAEMON -DHOSTS_ACCESS -DALWAYS_RFC931 -DDAEMON_UMASK=022 -DREAL_DAEMON_DIR=\"/usr/sbin\" -DPROCESS_OPTIONS -DKILL_IP_OPTIONS -DSEVERITY=LOG_INFO -DRFC931_TIMEOUT=10 -DHOSTS_DENY=\"/etc/hosts.deny\" -DHOSTS_ALLOW=\"/etc/hosts.allow\" -DAPPEND_DOT -DALWAYS_HOSTNAME -fpic -c fix_options.c -o shared/fix_options.o 1 warning generated. 1 warning generated. clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DHAVE_WEAKSYMS -DHAVE_STRERROR -DSYS_ERRLIST_DEFINED -DHAVE_WEAKSYMS -DHAVE_STRERROR -DSYS_ERRLIST_DEFINED -DFACILITY=LOG_DAEMON -DHOSTS_ACCESS -DALWAYS_RFC931 -DDAEMON_UMASK=022 -DREAL_DAEMON_DIR=\"/usr/sbin\" -DPROCESS_OPTIONS -DKILL_IP_OPTIONS -DSEVERITY=LOG_INFO -DRFC931_TIMEOUT=10 -DHOSTS_DENY=\"/etc/hosts.deny\" -DHOSTS_ALLOW=\"/etc/hosts.allow\" -DAPPEND_DOT -DALWAYS_HOSTNAME -fpic -c socket.c -o shared/socket.o clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DHAVE_WEAKSYMS -DHAVE_STRERROR -DSYS_ERRLIST_DEFINED -DHAVE_WEAKSYMS -DHAVE_STRERROR -DSYS_ERRLIST_DEFINED -DFACILITY=LOG_DAEMON -DHOSTS_ACCESS -DALWAYS_RFC931 -DDAEMON_UMASK=022 -DREAL_DAEMON_DIR=\"/usr/sbin\" -DPROCESS_OPTIONS -DKILL_IP_OPTIONS -DSEVERITY=LOG_INFO -DRFC931_TIMEOUT=10 -DHOSTS_DENY=\"/etc/hosts.deny\" -DHOSTS_ALLOW=\"/etc/hosts.allow\" -DAPPEND_DOT -DALWAYS_HOSTNAME -fpic -c tli.c -o shared/tli.o clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DHAVE_WEAKSYMS -DHAVE_STRERROR -DSYS_ERRLIST_DEFINED -DHAVE_WEAKSYMS -DHAVE_STRERROR -DSYS_ERRLIST_DEFINED -DFACILITY=LOG_DAEMON -DHOSTS_ACCESS -DALWAYS_RFC931 -DDAEMON_UMASK=022 -DREAL_DAEMON_DIR=\"/usr/sbin\" -DPROCESS_OPTIONS -DKILL_IP_OPTIONS -DSEVERITY=LOG_INFO -DRFC931_TIMEOUT=10 -DHOSTS_DENY=\"/etc/hosts.deny\" -DHOSTS_ALLOW=\"/etc/hosts.allow\" -DAPPEND_DOT -DALWAYS_HOSTNAME -fpic -c workarounds.c -o shared/workarounds.o clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DHAVE_WEAKSYMS -DHAVE_STRERROR -DSYS_ERRLIST_DEFINED -DHAVE_WEAKSYMS -DHAVE_STRERROR -DSYS_ERRLIST_DEFINED -DFACILITY=LOG_DAEMON -DHOSTS_ACCESS -DALWAYS_RFC931 -DDAEMON_UMASK=022 -DREAL_DAEMON_DIR=\"/usr/sbin\" -DPROCESS_OPTIONS -DKILL_IP_OPTIONS -DSEVERITY=LOG_INFO -DRFC931_TIMEOUT=10 -DHOSTS_DENY=\"/etc/hosts.deny\" -DHOSTS_ALLOW=\"/etc/hosts.allow\" -DAPPEND_DOT -DALWAYS_HOSTNAME -fpic -c update.c -o shared/update.o socket.c:60:24: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static struct hostent *gethostbyname_dot(name) ^ socket.c:88:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void sock_host(request) ^ socket.c:156:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void sock_hostaddr(host) ^ socket.c:177:32: warning: passing arguments to 'inet_ntoa' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] STRN_CPY(host->addr, inet_ntoa(sin->sin_addr), sizeof(host->addr)); ^ socket.c:183:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void sock_hostname(host) ^ socket.c:415:18: warning: passing arguments to 'inet_ntoa' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] inet_ntoa(sin->sin_addr), STRING_LENGTH, hp->h_name); ^ socket.c:424:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void sock_sink(fd) ^ fix_options.c:35:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void fix_options(request) ^ 1 warning generated. 7 warnings generated. clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DHAVE_WEAKSYMS -DHAVE_STRERROR -DSYS_ERRLIST_DEFINED -DHAVE_WEAKSYMS -DHAVE_STRERROR -DSYS_ERRLIST_DEFINED -DFACILITY=LOG_DAEMON -DHOSTS_ACCESS -DALWAYS_RFC931 -DDAEMON_UMASK=022 -DREAL_DAEMON_DIR=\"/usr/sbin\" -DPROCESS_OPTIONS -DKILL_IP_OPTIONS -DSEVERITY=LOG_INFO -DRFC931_TIMEOUT=10 -DHOSTS_DENY=\"/etc/hosts.deny\" -DHOSTS_ALLOW=\"/etc/hosts.allow\" -DAPPEND_DOT -DALWAYS_HOSTNAME -fpic -c misc.c -o shared/misc.o clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DHAVE_WEAKSYMS -DHAVE_STRERROR -DSYS_ERRLIST_DEFINED -DHAVE_WEAKSYMS -DHAVE_STRERROR -DSYS_ERRLIST_DEFINED -DFACILITY=LOG_DAEMON -DHOSTS_ACCESS -DALWAYS_RFC931 -DDAEMON_UMASK=022 -DREAL_DAEMON_DIR=\"/usr/sbin\" -DPROCESS_OPTIONS -DKILL_IP_OPTIONS -DSEVERITY=LOG_INFO -DRFC931_TIMEOUT=10 -DHOSTS_DENY=\"/etc/hosts.deny\" -DHOSTS_ALLOW=\"/etc/hosts.allow\" -DAPPEND_DOT -DALWAYS_HOSTNAME -fpic -c diag.c -o shared/diag.o clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DHAVE_WEAKSYMS -DHAVE_STRERROR -DSYS_ERRLIST_DEFINED -DHAVE_WEAKSYMS -DHAVE_STRERROR -DSYS_ERRLIST_DEFINED -DFACILITY=LOG_DAEMON -DHOSTS_ACCESS -DALWAYS_RFC931 -DDAEMON_UMASK=022 -DREAL_DAEMON_DIR=\"/usr/sbin\" -DPROCESS_OPTIONS -DKILL_IP_OPTIONS -DSEVERITY=LOG_INFO -DRFC931_TIMEOUT=10 -DHOSTS_DENY=\"/etc/hosts.deny\" -DHOSTS_ALLOW=\"/etc/hosts.allow\" -DAPPEND_DOT -DALWAYS_HOSTNAME -fpic -c percent_m.c -o shared/percent_m.o update.c:34:29: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static struct request_info *request_fill(request, ap) ^ percent_m.c:30:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (*bp = *cp) ~~~~^~~~~ percent_m.c:30:16: note: place parentheses around the assignment to silence this warning while (*bp = *cp) ^ ( ) percent_m.c:30:16: note: use '==' to turn this assignment into an equality comparison while (*bp = *cp) ^ == percent_m.c:23:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *percent_m(obuf, ibuf) ^ In file included from percent_m.c:21: ./mystdarg.h:19:14: 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 char *percent_m(); ^ 1 warning generated. diag.c:32:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void tcpd_diag(severity, tag, format, ap) ^ clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DHAVE_WEAKSYMS -DHAVE_STRERROR -DSYS_ERRLIST_DEFINED -DHAVE_WEAKSYMS -DHAVE_STRERROR -DSYS_ERRLIST_DEFINED -DFACILITY=LOG_DAEMON -DHOSTS_ACCESS -DALWAYS_RFC931 -DDAEMON_UMASK=022 -DREAL_DAEMON_DIR=\"/usr/sbin\" -DPROCESS_OPTIONS -DKILL_IP_OPTIONS -DSEVERITY=LOG_INFO -DRFC931_TIMEOUT=10 -DHOSTS_DENY=\"/etc/hosts.deny\" -DHOSTS_ALLOW=\"/etc/hosts.allow\" -DAPPEND_DOT -DALWAYS_HOSTNAME -fpic -c myvsyslog.c -o shared/myvsyslog.o 3 warnings generated. 1 warning generated. clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DHAVE_WEAKSYMS -DHAVE_STRERROR -DSYS_ERRLIST_DEFINED -DHAVE_WEAKSYMS -DHAVE_STRERROR -DSYS_ERRLIST_DEFINED -DFACILITY=LOG_DAEMON -DHOSTS_ACCESS -DALWAYS_RFC931 -DDAEMON_UMASK=022 -DREAL_DAEMON_DIR=\"/usr/sbin\" -DPROCESS_OPTIONS -DKILL_IP_OPTIONS -DSEVERITY=LOG_INFO -DRFC931_TIMEOUT=10 -DHOSTS_DENY=\"/etc/hosts.deny\" -DHOSTS_ALLOW=\"/etc/hosts.allow\" -DAPPEND_DOT -DALWAYS_HOSTNAME -o tcpdmatch.o -c tcpdmatch.c clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DHAVE_WEAKSYMS -DHAVE_STRERROR -DSYS_ERRLIST_DEFINED -DHAVE_WEAKSYMS -DHAVE_STRERROR -DSYS_ERRLIST_DEFINED -DFACILITY=LOG_DAEMON -DHOSTS_ACCESS -DALWAYS_RFC931 -DDAEMON_UMASK=022 -DREAL_DAEMON_DIR=\"/usr/sbin\" -DPROCESS_OPTIONS -DKILL_IP_OPTIONS -DSEVERITY=LOG_INFO -DRFC931_TIMEOUT=10 -DHOSTS_DENY=\"/etc/hosts.deny\" -DHOSTS_ALLOW=\"/etc/hosts.allow\" -DAPPEND_DOT -DALWAYS_HOSTNAME -o fakelog.o -c fakelog.c misc.c:21:14: 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 previous declaration [-Wdeprecated-non-prototype] extern char *fgets(); ^ /usr/include/stdio.h:592:14: note: conflicting prototype is here extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ^ misc.c:29:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *xgets(ptr, len, fp) ^ misc.c:58:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *split_at(string, delimiter) ^ misc.c:93:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unsigned long dot_quad_addr(str) ^ misc.c:116:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unsigned long cidr_mask_addr(str) ^ fakelog.c:20:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void openlog(name, logopt, facility) ^ fakelog.c:37:22: warning: passing arguments to 'percent_m' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vprintf(percent_m(buf, fmt), ap); ^ fakelog.c:30:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void vsyslog(severity, fmt, ap) ^ 5 warnings generated. clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DHAVE_WEAKSYMS -DHAVE_STRERROR -DSYS_ERRLIST_DEFINED -DHAVE_WEAKSYMS -DHAVE_STRERROR -DSYS_ERRLIST_DEFINED -DFACILITY=LOG_DAEMON -DHOSTS_ACCESS -DALWAYS_RFC931 -DDAEMON_UMASK=022 -DREAL_DAEMON_DIR=\"/usr/sbin\" -DPROCESS_OPTIONS -DKILL_IP_OPTIONS -DSEVERITY=LOG_INFO -DRFC931_TIMEOUT=10 -DHOSTS_DENY=\"/etc/hosts.deny\" -DHOSTS_ALLOW=\"/etc/hosts.allow\" -DAPPEND_DOT -DALWAYS_HOSTNAME -o inetcf.o -c inetcf.c tcpdmatch.c:103:11: warning: passing arguments to 'usage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] usage(myname); ^ tcpdmatch.c:108:7: warning: passing arguments to 'usage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] usage(myname); ^ tcpdmatch.c:113:19: warning: passing arguments to 'check_path' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (check_path(REAL_DAEMON_DIR, &st) < 0) { ^ 3 warnings generated. tcpdmatch.c:150:22: warning: passing arguments to 'inet_cfg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] inetcf = inet_cfg(inetcf); ^ tcpdmatch.c:151:13: warning: passing arguments to 'inet_set' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] inet_set("portmap", WR_NOT); ^ tcpdmatch.c:152:13: warning: passing arguments to 'inet_set' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] inet_set("rpcbind", WR_NOT); ^ tcpdmatch.c:153:21: warning: passing arguments to 'inet_get' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] switch (inet_get(daemon)) { ^ tcpdmatch.c:165:22: warning: passing arguments to 'check_path' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) check_path(hosts_allow_table, &st); ^ tcpdmatch.c:166:22: warning: passing arguments to 'check_path' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) check_path(hosts_deny_table, &st); ^ tcpdmatch.c:183:26: warning: passing arguments to 'find_inet_addr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((hp = find_inet_addr(server)) == 0) ^ tcpdmatch.c:217:2: error: call to undeclared library function 'free' with type 'void (void *)'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] free((char *) hp); ^ tcpdmatch.c:217:2: note: include the header or explicitly provide a declaration for 'free' tcpdmatch.c:229:11: warning: passing arguments to 'tcpdmatch' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tcpdmatch(&request); ^ tcpdmatch.c:251:11: warning: passing arguments to 'tcpdmatch' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tcpdmatch(&request); ^ tcpdmatch.c:263:29: warning: passing arguments to 'find_inet_addr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((hp = find_inet_addr(client)) == 0) ^ tcpdmatch.c:309:11: warning: passing arguments to 'tcpdmatch' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tcpdmatch(&request); ^ clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DHAVE_WEAKSYMS -DHAVE_STRERROR -DSYS_ERRLIST_DEFINED -DHAVE_WEAKSYMS -DHAVE_STRERROR -DSYS_ERRLIST_DEFINED -DFACILITY=LOG_DAEMON -DHOSTS_ACCESS -DALWAYS_RFC931 -DDAEMON_UMASK=022 -DREAL_DAEMON_DIR=\"/usr/sbin\" -DPROCESS_OPTIONS -DKILL_IP_OPTIONS -DSEVERITY=LOG_INFO -DRFC931_TIMEOUT=10 -DHOSTS_DENY=\"/etc/hosts.deny\" -DHOSTS_ALLOW=\"/etc/hosts.allow\" -DAPPEND_DOT -DALWAYS_HOSTNAME -o scaffold.o -c scaffold.c tcpdmatch.c:57:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int main(argc, argv) ^ tcpdmatch.c:320:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void usage(myname) ^ tcpdmatch.c:332:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void expand(text, pattern, request) ^ tcpdmatch.c:345:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void tcpdmatch(request) ^ 18 warnings and 1 error generated. make: *** [Makefile:692: tcpdmatch.o] Error 1 make: *** Waiting for unfinished jobs.... inetcf.c:20: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 previous declaration [-Wdeprecated-non-prototype] extern void exit(); ^ inetcf.c:88:31: warning: passing arguments to 'percent_m' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fprintf(stderr, percent_m(buf, "open %s: %m\n"), conf); ^ inetcf.c:98:12: warning: passing arguments to 'check_path' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] check_path(conf, &st); ^ inetcf.c:157:10: warning: passing arguments to 'inet_chk' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] inet_chk(protocol, path, arg0, arg1); ^ inetcf.c:63:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *inet_cfg(conf) ^ In file included from inetcf.c:23: ./inetcf.h:7:14: 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 char *inet_cfg(); /* read inetd.conf file */ ^ inetcf.c:175:39: warning: passing arguments to 'base_name' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *base_name_path = base_name(path); ^ inetcf.c:176:57: warning: passing arguments to 'base_name' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *tcpd_proc_name = (arg0[0] == '/' ? base_name(arg0) : arg0); ^ inetcf.c:182:19: warning: passing arguments to 'check_path' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (check_path(path, &st) < 0) { ^ inetcf.c:192:10: warning: passing arguments to 'inet_set' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] inet_set(arg0, WR_YES); ^ inetcf.c:222:56: warning: passing arguments to 'base_name' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (arg0[0] == '/' && STR_EQ(tcpd_proc_name, base_name(arg1))) ^ inetcf.c:231:20: warning: passing arguments to 'check_path' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (check_path(arg0, &st) < 0) { ^ inetcf.c:238:20: warning: passing arguments to 'check_path' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (check_path(daemon, &st) < 0) { ^ inetcf.c:256:23: warning: passing arguments to 'check_path' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] } else if (check_path(daemon, &st) >= 0) { ^ inetcf.c:272:13: warning: passing arguments to 'inet_set' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] inet_set(tcpd_proc_name, wrap_status); ^ inetcf.c:166:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void inet_chk(protocol, path, arg0, arg1) ^ inetcf.c:277:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void inet_set(name, type) ^ In file included from inetcf.c:23: ./inetcf.h:8: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 inet_set(); /* remember internet service */ ^ inetcf.c:296:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int inet_get(name) ^ In file included from inetcf.c:23: ./inetcf.h:9: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 inet_get(); /* look up internet service */ ^ inetcf.c:313:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static char *base_name(path) ^ scaffold.c:44:24: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static struct hostent *dup_hostent(hp) ^ scaffold.c:116:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] struct hostent *find_inet_addr(host) ^ In file included from scaffold.c:32: ./scaffold.h:10:24: 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 struct hostent *find_inet_addr(); ^ scaffold.c:162:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int check_dns(host) ^ In file included from scaffold.c:32: ./scaffold.h:12: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 check_dns(); ^ scaffold.c:216:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void shell_cmd(command) ^ scaffold.c:227:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void clean_exit(request) ^ scaffold.c:237:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void rfc931(rmt_sin, our_sin, dest) ^ scaffold.c:252:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int check_path(path, st) ^ In file included from scaffold.c:32: ./scaffold.h:13: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 check_path(); ^ 21 warnings generated. 10 warnings generated. * ERROR: sys-apps/tcp-wrappers-7.6.31::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=sys-apps/tcp-wrappers-7.6.31::gentoo'`, * the complete build log and the output of `emerge -pqv '=sys-apps/tcp-wrappers-7.6.31::gentoo'`. * The complete build log is located at '/var/log/portage/sys-apps:tcp-wrappers-7.6.31:20221004-003813.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-apps/tcp-wrappers-7.6.31/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-apps/tcp-wrappers-7.6.31/temp/environment'. * Working directory: '/var/tmp/portage/sys-apps/tcp-wrappers-7.6.31/work/tcp_wrappers_7.6-abi_x86_64.amd64' * S: '/var/tmp/portage/sys-apps/tcp-wrappers-7.6.31/work/tcp_wrappers_7.6'