>>> Building on amd64-2 under net/ytalk BDEPENDS = [devel/autoconf/2.13;devel/metaauto] DIST = [net/ytalk:ytalk-3.1.1.tar.gz] FULLPKGNAME = ytalk-3.1.1p4 (Junk lock obtained for amd64-2 at 1779821806.47) >>> Running depends in net/ytalk at 1779821806.49 last junk was in devel/p5-MooseX-Types-Path-Class /usr/sbin/pkg_add -aI -Drepair autoconf-2.13p4 was: /usr/sbin/pkg_add -aI -Drepair autoconf-2.13p4 metaauto-1.0p4 /usr/sbin/pkg_add -aI -Drepair autoconf-2.13p4 >>> Running show-prepare-results in net/ytalk at 1779821808.57 ===> net/ytalk ===> Building from scratch ytalk-3.1.1p4 ===> ytalk-3.1.1p4 depends on: metaauto-* -> metaauto-1.0p4 ===> ytalk-3.1.1p4 depends on: autoconf-2.13 -> autoconf-2.13p4 ===> Verifying specs: c curses ICE SM X11 xcb ===> found c.103.0 curses.16.0 ICE.12.0 SM.9.0 X11.19.0 xcb.4.1 autoconf-2.13p4 metaauto-1.0p4 (Junk lock released for amd64-2 at 1779821809.45) Woken up devel/lua-cjson distfiles size=83218 >>> Running build in net/ytalk at 1779821809.49 ===> net/ytalk ===> Checking files for ytalk-3.1.1p4 `/usr/ports/distfiles/ytalk-3.1.1.tar.gz' is up to date. >> (SHA256) all files: OK ===> Extracting for ytalk-3.1.1p4 ===> Patching for ytalk-3.1.1p4 ===> Applying OpenBSD patch patch-configure_in Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- configure.in.orig Fri Dec 7 22:49:58 2012 |+++ configure.in Fri Dec 7 22:52:31 2012 -------------------------- Patching file configure.in using Plan A... Hunk #1 succeeded at 71. done ===> Applying OpenBSD patch patch-exec_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- exec.c.orig Fri Dec 7 22:54:16 2012 |+++ exec.c Fri Dec 7 22:57:00 2012 -------------------------- Patching file exec.c using Plan A... Hunk #1 succeeded at 100. done ===> Compiler link: clang -> /usr/bin/clang ===> Compiler link: clang++ -> /usr/bin/clang++ ===> Compiler link: cc -> /usr/bin/cc ===> Compiler link: c++ -> /usr/bin/c++ ===> Generating configure for ytalk-3.1.1p4 >>> Can't find autoconf 2.13 signature in /usr/obj/ports/ytalk-3.1.1/ytalk-3.1.1/configure: echo "configure generated by autoconf version 2.12" echo "$CONFIG_STATUS generated by autoconf version 2.12" Running autoconf-2.13 in /usr/obj/ports/ytalk-3.1.1/ytalk-3.1.1 Running autoheader-2.13 in /usr/obj/ports/ytalk-3.1.1/ytalk-3.1.1 ===> Configuring for ytalk-3.1.1p4 Using /usr/obj/ports/ytalk-3.1.1/config.site (generated) loading site script /usr/obj/ports/ytalk-3.1.1/config.site creating cache ./config.cache checking for gcc... cc checking whether the C compiler (cc -O2 -pipe ) works... yes checking whether the C compiler (cc -O2 -pipe ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether cc accepts -g... (cached) yes checking how to run the C preprocessor... cc -E checking for a BSD compatible install... /usr/obj/ports/ytalk-3.1.1/bin/install -c checking for initscr in -lncurses... yes checking for ncurses.h... yes checking for tcgetattr... (cached) yes checking for termios.h... (cached) yes checking for X... (cached) libraries /usr/X11R6/lib, headers /usr/X11R6/include checking for dnet_ntoa in -ldnet... no checking for dnet_ntoa in -ldnet_stub... no checking for gethostbyname... (cached) yes checking for connect... (cached) yes checking for remove... (cached) yes checking for shmat... (cached) yes checking for IceConnectionNumber in -lICE... (cached) yes checking for socket... (cached) yes checking for gethostbyname... (cached) yes checking for fcntl.h... (cached) yes checking for sys/ioctl.h... (cached) yes checking for sys/time.h... (cached) yes checking for stropts.h... no checking for unistd.h... (cached) yes checking for iovec.h... no checking for sys/uio.h... (cached) yes checking whether time.h and sys/time.h may both be included... (cached) yes checking return type of signal handlers... (cached) void checking for ANSI C header files... (cached) yes checking for size_t... (cached) yes checking for gethostname... (cached) yes checking for select... (cached) yes checking whether cc needs -traditional... no checking for putenv... (cached) yes checking for strerror... (cached) yes checking for ttyname... (cached) yes checking for posix_openpt... (cached) yes checking for ptsname... (cached) yes checking for grantpt... (cached) yes checking for unlockpt... (cached) yes checking for setsid... (cached) yes checking for tcflush... (cached) yes checking for sigprocmask... (cached) yes updating cache ./config.cache creating ./config.status creating Makefile creating config.h ===> Building for ytalk-3.1.1p4 cc -I/usr/X11R6/include -DHAVE_CONFIG_H -DSYSTEM_YTALKRC=\"/etc/ytalkrc\" -O2 -pipe -c main.c main.c:29:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 29 | bail(n) | ^ In file included from main.c:19: ./header.h:283:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 283 | extern void bail ( /* int */ ); /* main.c */ | ^ main.c:59:20: warning: passing arguments to 'show_error_menu' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 59 | if(show_error_menu(str, syserr) < 0) | ^ main.c:44:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 44 | show_error(str) | ^ In file included from main.c:19: ./header.h:287:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 287 | extern void show_error ( /* str */ ); /* main.c */ | ^ main.c:78:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 78 | get_mem(n) | ^ In file included from main.c:19: ./header.h:284:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 284 | extern yaddr get_mem ( /* int */ ); /* main.c */ | ^ main.c:93:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 93 | str_copy(str) | ^ In file included from main.c:19: ./header.h:285:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 285 | extern char *str_copy ( /* string */ ); /* main.c */ | ^ main.c:110:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 110 | realloc_mem(p, n) | ^ In file included from main.c:19: ./header.h:286:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 286 | extern yaddr realloc_mem ( /* pointer, int */ ); /* main.c */ | ^ main.c:128:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 128 | got_sig(n) | ^ main.c:223:14: warning: passing arguments to 'init_user' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 223 | init_user(vhost); | ^ main.c:234:8: warning: passing arguments to 'invite' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 234 | invite(*argv, 1); | ^ main.c:236:9: warning: passing arguments to 'execute' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 236 | execute(NULL); | ^ main.c:238:10: warning: passing arguments to 'msg_term' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 238 | msg_term(me, "Waiting for connection..."); | ^ main.c:138:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 138 | main(argc, argv) | ^ 17 warnings generated. cc -I/usr/X11R6/include -DHAVE_CONFIG_H -DSYSTEM_YTALKRC=\"/etc/ytalkrc\" -O2 -pipe -c term.c term.c:106:12: warning: passing arguments to 'show_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 106 | show_error("tcgetattr failed"); | ^ term.c:107:6: warning: passing arguments to 'bail' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 107 | bail(YTE_INIT); | ^ term.c:183:17: warning: passing arguments to 'open_term' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 183 | if(open_term(me, tmpstr) < 0) | ^ term.c:186:12: warning: passing arguments to 'show_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 186 | show_error("init_term: open_term() failed"); | ^ term.c:187:6: warning: passing arguments to 'bail' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 187 | bail(0); | ^ term.c:194:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 194 | set_terminal_size(fd, rows, cols) | ^ In file included from term.c:19: ./header.h:290:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 290 | extern void set_terminal_size ( /* fd, rows, cols */ ); /* term.c */ | ^ term.c:220:12: warning: passing arguments to 'show_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 220 | show_error("tcsetattr failed"); | ^ term.c:209:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 209 | set_terminal_flags(fd) | ^ In file included from term.c:19: ./header.h:291:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 291 | extern void set_terminal_flags ( /* fd */ ); /* term.c */ | ^ term.c:256:18: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 256 | if(_open_term(user, title) != 0) | ^ term.c:260:12: warning: passing arguments to 'resize_win' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 260 | resize_win(user, 24, 80); | ^ term.c:252:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 252 | open_term(user, title) | ^ In file included from term.c:19: ./header.h:294:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 294 | extern int open_term ( /* yuser, title */ ); /* term.c */ | ^ term.c:274:13: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 274 | _close_term(user); | ^ term.c:267:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 267 | close_term(user) | ^ In file included from term.c:19: ./header.h:295:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 295 | extern void close_term ( /* yuser */ ); /* term.c */ | ^ term.c:293:13: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 293 | _addch_term(user, c); | ^ term.c:300:13: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 300 | _move_term(user, user->y, user->x); | ^ term.c:287:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 287 | addch_term(user, c) | ^ In file included from term.c:19: ./header.h:296:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 296 | extern void addch_term ( /* yuser, ch */ ); /* term.c */ | ^ term.c:321:15: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 321 | _move_term(user, y, x); | ^ term.c:308:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 308 | move_term(user, y, x) | ^ In file included from term.c:19: ./header.h:297:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 297 | extern void move_term ( /* yuser, y, x */ ); /* term.c */ | ^ term.c:341:17: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 341 | _addch_term(user, ' '); | ^ term.c:347:14: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 347 | _clreol_term(user); | ^ term.c:329:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 329 | clreol_term(user) | ^ In file included from term.c:19: ./header.h:298:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 298 | extern void clreol_term ( /* yuser */ ); /* term.c */ | ^ term.c:378:14: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 378 | _clreos_term(user); | ^ term.c:357:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 357 | clreos_term(user) | ^ In file included from term.c:19: ./header.h:299:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 299 | extern void clreos_term ( /* yuser */ ); /* term.c */ | ^ term.c:413:18: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 413 | _scroll_term(user); | ^ term.c:415:17: warning: passing arguments to 'redraw_term' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 415 | redraw_term(user, 0); | ^ term.c:393:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 393 | scroll_term(user) | ^ In file included from term.c:19: ./header.h:300:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 300 | extern void scroll_term ( /* yuser */ ); /* term.c */ | ^ term.c:450:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 450 | _rev_scroll_term(user); | ^ term.c:452:17: warning: passing arguments to 'redraw_term' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 452 | redraw_term(user, 0); | ^ term.c:430:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 430 | rev_scroll_term(user) | ^ In file included from term.c:19: ./header.h:301:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 301 | extern void rev_scroll_term ( /* yuser */ ); /* term.c */ | ^ term.c:470:16: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 470 | _flush_term(user); | ^ term.c:467:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 467 | flush_term(user) | ^ In file included from term.c:19: ./header.h:302:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 302 | extern void flush_term ( /* yuser */ ); /* term.c */ | ^ term.c:476:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 476 | rub_term(user) | ^ In file included from term.c:19: ./header.h:303:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 303 | extern void rub_term ( /* yuser */ ); /* term.c */ | ^ term.c:499:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 499 | word_term(user) | ^ In file included from term.c:19: ./header.h:304:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 304 | extern int word_term ( /* yuser */ ); /* term.c */ | ^ term.c:519:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 519 | kill_term(user) | ^ In file included from term.c:19: ./header.h:305:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 305 | extern void kill_term ( /* yuser */ ); /* term.c */ | ^ term.c:532:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 532 | tab_term(user) | ^ In file included from term.c:19: ./header.h:306:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 306 | extern void tab_term ( /* yuser */ ); /* term.c */ | ^ term.c:541:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 541 | newline_term(user) | ^ In file included from term.c:19: ./header.h:307:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 307 | extern void newline_term ( /* yuser */ ); /* term.c */ | ^ term.c:624:13: warning: passing arguments to 'redraw_term' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 624 | redraw_term(user, user->y); | ^ term.c:584:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 584 | add_line_term(user, num) | ^ In file included from term.c:19: ./header.h:308:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 308 | extern void add_line_term ( /* yuser, num */ ); /* term.c */ | ^ term.c:671:13: warning: passing arguments to 'redraw_term' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 671 | redraw_term(user, user->y); | ^ term.c:631:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 631 | del_line_term(user, num) | ^ In file included from term.c:19: ./header.h:309:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 309 | extern void del_line_term ( /* yuser, num */ ); /* term.c */ | ^ term.c:676:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 676 | copy_text(fr, to, count) | ^ term.c:723:13: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 723 | _addch_term(user, ' '); | ^ term.c:726:13: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 726 | _addch_term(user, *(c++)); | ^ term.c:727:15: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 727 | _move_term(user, user->y, user->x); | ^ term.c:697:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 697 | add_char_term(user, num) | ^ In file included from term.c:19: ./header.h:310:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 310 | extern void add_char_term ( /* yuser, num */ ); /* term.c */ | ^ term.c:757:13: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 757 | _addch_term(user, *(c++)); | ^ term.c:761:13: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 761 | _addch_term(user, ' '); | ^ term.c:763:15: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 763 | _move_term(user, user->y, user->x); | ^ term.c:733:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 733 | del_char_term(user, num) | ^ In file included from term.c:19: ./header.h:311:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 311 | extern void del_char_term ( /* yuser, num */ ); /* term.c */ | ^ term.c:778:12: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 778 | _move_term(user, y, 0); | ^ term.c:779:14: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 779 | _clreol_term(user); | ^ term.c:793:19: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 793 | _addch_term(user, ' '); | ^ term.c:797:14: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 797 | _move_term(user, y, x); | ^ term.c:801:14: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 801 | _addch_term(user, *c); | ^ term.c:811:12: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 811 | _move_term(user, user->y, user->x); | ^ term.c:769:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 769 | redraw_term(user, y) | ^ In file included from term.c:19: ./header.h:312:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 312 | extern void redraw_term ( /* yuser, start_row */ ); /* term.c */ | ^ term.c:818:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 818 | first_interesting_row(user, height, width) | ^ term.c:869:31: warning: passing arguments to 'get_mem' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 869 | newscr = (ychar **)get_mem(height * sizeof(ychar *)); | ^ term.c:916:41: warning: passing arguments to 'realloc_mem' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 916 | user->scr[i] = (ychar *)realloc_mem(user->scr[i], width); | ^ term.c:922:37: warning: passing arguments to 'get_mem' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 922 | c = user->scr[i] = (ychar *)get_mem(width); | ^ term.c:934:15: warning: passing arguments to 'send_winch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 934 | send_winch(user); | ^ term.c:854:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 854 | resize_win(user, height, width) | ^ In file included from term.c:19: ./header.h:313:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 313 | extern void resize_win ( /* yuser, h, w */ ); /* term.c */ | ^ term.c:942:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 942 | draw_box(user, height, width, c) | ^ term.c:979:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 979 | set_win_region(user, height, width) | ^ In file included from term.c:19: ./header.h:314:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 314 | extern void set_win_region ( /* yuser, h, w */ ); /* term.c */ | ^ term.c:1032:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1032 | end_win_region(user) | ^ In file included from term.c:19: ./header.h:315:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 315 | extern void end_win_region ( /* yuser */ ); /* term.c */ | ^ term.c:1053:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1053 | set_scroll_region(user, top, bottom) | ^ In file included from term.c:19: ./header.h:316:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 316 | extern void set_scroll_region( /* yuser, top, bottom */ ); /* term.c */ | ^ term.c:1080:15: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1080 | _move_term(user, y, 0); | ^ term.c:1081:16: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1081 | _addch_term(user, '['); | ^ term.c:1083:13: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1083 | _addch_term(user, *(str++)); | ^ term.c:1084:16: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1084 | _addch_term(user, ']'); | ^ term.c:1085:17: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1085 | _clreol_term(user); | ^ term.c:1086:15: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1086 | _move_term(user, user->y, user->x); | ^ term.c:1087:16: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1087 | _flush_term(user); | ^ term.c:1072:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1072 | msg_term(user, str) | ^ In file included from term.c:19: ./header.h:317:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 317 | extern void msg_term ( /* yuser, str */ ); /* term.c */ | ^ term.c:1093:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1093 | spew_term(user, fd, rows, cols) | ^ In file included from term.c:19: ./header.h:318:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 318 | extern void spew_term ( /* yuser, fd, rows, cols */ ); /* term.c */ | ^ term.c:1172:15: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1172 | _move_term(user, y, x); | ^ term.c:1180:13: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1180 | _addch_term(user, *c); | ^ term.c:1160:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1160 | raw_term(user, y, x, str, len) | ^ term.c:1185:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1185 | center(width, n) | ^ In file included from term.c:19: ./header.h:319:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 319 | extern int center ( /* width, n */ ); /* term.c */ | ^ 107 warnings generated. cc -I/usr/X11R6/include -DHAVE_CONFIG_H -DSYSTEM_YTALKRC=\"/etc/ytalkrc\" -O2 -pipe -c user.c user.c:41:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 41 | user_name(uid) | ^ user.c:68:27: warning: passing arguments to 'get_mem' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 68 | user->full_name = get_mem(50); | ^ user.c:62:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 62 | generate_full_name(user) | ^ In file included from user.c:19: ./header.h:329:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 329 | extern void generate_full_name ( /* yuser */ ); /* user.c */ | ^ user.c:91:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 91 | assign_key(user) | ^ user.c:148:12: warning: passing arguments to 'show_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 148 | show_error("Who are you?"); | ^ user.c:149:6: warning: passing arguments to 'bail' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 149 | bail(YTE_ERROR); | ^ user.c:163:16: warning: passing arguments to 'show_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 163 | show_error("init_user: gethostname() failed"); | ^ user.c:164:10: warning: passing arguments to 'bail' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 164 | bail(YTE_ERROR); | ^ user.c:171:33: warning: passing arguments to 'get_host_addr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 171 | ylong adr = get_host_addr(my_host); | ^ user.c:174:25: warning: passing arguments to 'host_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 174 | char *name = host_name(adr); | ^ user.c:185:22: warning: passing arguments to 'new_user' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 185 | if((me = new_user(my_name, my_host, NULL)) == NULL) | ^ user.c:186:6: warning: passing arguments to 'bail' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 186 | bail(YTE_ERROR); | ^ user.c:123:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 123 | init_user(vhost) | ^ In file included from user.c:19: ./header.h:325:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 325 | extern void init_user (); /* user.c */ | ^ user.c:212:34: warning: passing arguments to 'get_host_addr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 212 | else if((addr = get_host_addr(hostname)) == (ylong)-1) | ^ user.c:215:12: warning: passing arguments to 'show_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 215 | show_error(errstr); | ^ user.c:221:27: warning: passing arguments to 'get_mem' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 221 | out = (yuser *)get_mem(sizeof(yuser)); | ^ user.c:223:30: warning: passing arguments to 'str_copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 223 | out->user_name = str_copy(name); | ^ user.c:224:30: warning: passing arguments to 'str_copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 224 | out->host_name = str_copy(hostname); | ^ user.c:226:32: warning: passing arguments to 'str_copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 226 | out->host_fqdn = str_copy(hostname); | ^ user.c:228:42: warning: passing arguments to 'host_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 228 | out->host_fqdn = str_copy(host_name(addr)); | ^ user.c:228:32: warning: passing arguments to 'str_copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 228 | out->host_fqdn = str_copy(host_name(addr)); | ^ user.c:231:26: warning: passing arguments to 'str_copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 231 | out->tty_name = str_copy(tty); | ^ user.c:233:26: warning: passing arguments to 'str_copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 233 | out->tty_name = str_copy(""); | ^ user.c:199:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 199 | new_user(name, hostname, tty) | ^ In file included from user.c:19: ./header.h:326:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 326 | extern yuser *new_user ( /* name, host, tty */ ); /* user.c */ | ^ user.c:301:17: warning: passing arguments to 'bail' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 301 | bail(0); | ^ user.c:303:15: warning: passing arguments to 'close_term' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 303 | close_term(user); | ^ user.c:314:11: warning: passing arguments to 'remove_fd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 314 | remove_fd(user->fd); | ^ user.c:322:10: warning: passing arguments to 'msg_term' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 322 | msg_term(me, "Waiting for connection..."); | ^ user.c:258:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 258 | free_user(user) | ^ In file included from user.c:19: ./header.h:327:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 327 | extern void free_user ( /* yuser */ ); /* user.c */ | ^ user.c:331:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 331 | find_user(name, host_addr, pid) | ^ In file included from user.c:19: ./header.h:328:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 328 | extern yuser *find_user ( /* name, host_addr, pid */ ); /* user.c */ | ^ 35 warnings generated. cc -I/usr/X11R6/include -DHAVE_CONFIG_H -DSYSTEM_YTALKRC=\"/etc/ytalkrc\" -O2 -pipe -c fd.c fd.c:70:12: warning: passing arguments to 'show_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 70 | show_error("add_fd: descriptor out of range"); | ^ fd.c:64:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 64 | add_fd(fd, user_func) | ^ In file included from fd.c:19: ./header.h:332:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 332 | extern void add_fd ( /* fd, func */ ); /* fd.c */ | ^ fd.c:87:12: warning: passing arguments to 'show_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 87 | show_error("remove_fd: descriptor out of range"); | ^ fd.c:82:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 82 | remove_fd(fd) | ^ In file included from fd.c:19: ./header.h:333:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 333 | extern void remove_fd ( /* fd */ ); /* fd.c */ | ^ fd.c:99:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 99 | full_read(fd, buf, len) | ^ In file included from fd.c:19: ./header.h:334:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 334 | extern int full_read ( /* fd, buf, len */ ); /* fd.c */ | ^ fd.c:171:10: warning: passing arguments to 'bail' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 171 | bail(0); | ^ fd.c:183:13: warning: passing arguments to 'show_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 183 | show_error("main_loop: select failed"); | ^ fd.c:206:19: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 206 | tag[fd].func(fd); | ^ fd.c:272:13: warning: passing arguments to 'show_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 272 | show_error("input_loop: select failed"); | ^ fd.c:288:19: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 288 | tag[fd].func(fd); | ^ 13 warnings generated. cc -I/usr/X11R6/include -DHAVE_CONFIG_H -DSYSTEM_YTALKRC=\"/etc/ytalkrc\" -O2 -pipe -c comm.c comm.c:69:35: warning: passing arguments to 'realloc_mem' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | user->dbuf = (ychar *)realloc_mem(user->dbuf, user->dbuf_size); | ^ comm.c:61:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 61 | drain_user(user, len, func) | ^ comm.c:91:12: warning: passing arguments to 'show_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 91 | show_error("send_oob: packet too large"); | ^ comm.c:109:14: warning: passing arguments to 'show_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 109 | show_error("send_oob: write failed"); | ^ comm.c:79:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 79 | send_oob(fd, ptr, len) | ^ comm.c:117:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 117 | send_import(to, from) | ^ comm.c:141:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 141 | send_accept(to, from) | ^ comm.c:182:34: warning: passing arguments to 'get_host_addr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 182 | if((host_addr = get_host_addr(host)) == (ylong)-1) | ^ comm.c:186:12: warning: passing arguments to 'show_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 186 | show_error(errstr); | ^ comm.c:187:12: warning: passing arguments to 'show_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 187 | show_error("port from ytalk V2.? failed"); | ^ comm.c:196:18: warning: passing arguments to 'find_user' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 196 | if(find_user(name, host_addr, (ylong)-1) != NULL) | ^ comm.c:201:12: warning: passing arguments to 'yes_no' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 201 | if(yes_no(estr) == 'n') | ^ comm.c:208:12: warning: passing arguments to 'invite' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 208 | invite(estr, 0); | ^ comm.c:221:23: warning: passing arguments to 'find_user' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 221 | if((u = find_user(name, host_addr, (ylong)-1)) == NULL) | ^ comm.c:227:12: warning: passing arguments to 'invite' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 227 | invite(estr, 1); /* we should be expected */ | ^ comm.c:165:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 165 | v2_process(user, pack) | ^ comm.c:249:34: warning: passing arguments to 'get_host_addr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 249 | if((host_addr = get_host_addr(host)) == (ylong)-1) | ^ comm.c:260:18: warning: passing arguments to 'find_user' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 260 | if(find_user(name, host_addr, pid) != NULL) | ^ comm.c:265:12: warning: passing arguments to 'yes_no' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 265 | if(yes_no(estr) == 'n') | ^ comm.c:272:17: warning: passing arguments to 'invite' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 272 | u2 = invite(estr, 0); | ^ comm.c:293:23: warning: passing arguments to 'find_user' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 293 | if((u = find_user(name, host_addr, pid)) == NULL) | ^ comm.c:299:12: warning: passing arguments to 'invite' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 299 | invite(estr, 1); /* we should be expected */ | ^ comm.c:235:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 235 | v3_process_pack(user, pack) | ^ comm.c:309:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 309 | v3_process_flags(user, pack) | ^ comm.c:346:17: warning: passing arguments to 'set_win_region' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 346 | set_win_region(user, (int)(pack->rows), (int)(pack->cols)); | ^ comm.c:348:17: warning: passing arguments to 'end_win_region' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 348 | end_win_region(user); | ^ comm.c:327:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 327 | v3_process_winch(user, pack) | ^ comm.c:358:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 358 | v3_process(user, ptr) | ^ comm.c:406:11: warning: passing arguments to 'remove_fd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 406 | remove_fd(fd); | ^ comm.c:407:12: warning: passing arguments to 'show_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 407 | show_error("read_user: unknown contact"); | ^ comm.c:413:16: warning: passing arguments to 'show_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 413 | show_error("read_user: read() failed"); | ^ comm.c:414:11: warning: passing arguments to 'free_user' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 414 | free_user(user); | ^ comm.c:435:14: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 435 | user->dfunc(user, user->dbuf); | ^ comm.c:511:14: warning: passing arguments to 'show_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 511 | show_error("write to user output file failed"); | ^ comm.c:515:13: warning: passing arguments to 'show_input' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 515 | show_input(user, buf, p - buf); | ^ comm.c:390:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 390 | read_user(fd) | ^ comm.c:532:11: warning: passing arguments to 'remove_fd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 532 | remove_fd(fd); | ^ comm.c:533:12: warning: passing arguments to 'show_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 533 | show_error("ytalk_user: unknown contact"); | ^ comm.c:536:17: warning: passing arguments to 'full_read' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 536 | if(full_read(user->fd, &parm, sizeof(y_parm)) < 0) | ^ comm.c:538:11: warning: passing arguments to 'free_user' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 538 | free_user(user); | ^ comm.c:539:12: warning: passing arguments to 'show_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 539 | show_error("ytalk_user: bad ytalk contact"); | ^ comm.c:550:15: warning: passing arguments to 'spew_term' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 550 | spew_term(me, fd, me->t_rows, parm.cols); | ^ comm.c:563:15: warning: passing arguments to 'free_user' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 563 | free_user(user); | ^ comm.c:564:16: warning: passing arguments to 'show_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 564 | show_error("ytalk_user: unsupported ytalk protocol"); | ^ comm.c:569:11: warning: passing arguments to 'add_fd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 569 | add_fd(fd, read_user); | ^ comm.c:596:15: warning: passing arguments to 'spew_term' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 596 | spew_term(me, fd, me->rows, me->cols); | ^ comm.c:599:15: warning: passing arguments to 'spew_term' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 599 | spew_term(me, fd, parm.rows, parm.cols); | ^ comm.c:524:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 524 | ytalk_user(fd) | ^ comm.c:627:11: warning: passing arguments to 'remove_fd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 627 | remove_fd(fd); | ^ comm.c:628:12: warning: passing arguments to 'show_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 628 | show_error("connect_user: unknown contact"); | ^ comm.c:631:17: warning: passing arguments to 'full_read' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 631 | if(full_read(fd, user->edit, 3) < 0) | ^ comm.c:633:11: warning: passing arguments to 'free_user' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 633 | free_user(user); | ^ comm.c:634:12: warning: passing arguments to 'show_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 634 | show_error("connect_user: bad read"); | ^ comm.c:637:17: warning: passing arguments to 'open_term' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 637 | if(open_term(user, user->full_name) < 0) | ^ comm.c:639:11: warning: passing arguments to 'free_user' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 639 | free_user(user); | ^ comm.c:640:12: warning: passing arguments to 'show_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 640 | show_error("connect_user: open_term() failed"); | ^ comm.c:660:8: warning: passing arguments to 'add_fd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 660 | add_fd(fd, ytalk_user); | ^ comm.c:678:11: warning: passing arguments to 'spew_term' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 678 | spew_term(me, fd, me->t_rows, me->t_cols); | ^ comm.c:680:8: warning: passing arguments to 'add_fd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 680 | add_fd(fd, read_user); | ^ comm.c:620:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 620 | connect_user(fd) | ^ comm.c:697:14: warning: passing arguments to 'remove_fd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 697 | remove_fd(fd); | ^ comm.c:700:12: warning: passing arguments to 'show_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 700 | show_error("contact_user: unknown contact"); | ^ comm.c:703:21: warning: passing arguments to 'send_dgram' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 703 | (void)send_dgram(user, DELETE_INVITE); | ^ comm.c:705:59: error: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types] 705 | if((n = accept(fd, (struct sockaddr *) &(user->sock), &socklen)) < 0) | ^~~~~~~~ /usr/include/sys/socket.h:573:47: note: passing argument to parameter here 573 | int accept(int, struct sockaddr *, socklen_t *); | ^ comm.c:707:11: warning: passing arguments to 'free_user' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 707 | free_user(user); | ^ comm.c:709:16: warning: passing arguments to 'show_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 709 | show_error("connect_user: accept() failed"); | ^ comm.c:719:50: error: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types] 719 | if (getpeername(n, (struct sockaddr *)&peer, &socklen) >= 0) | ^~~~~~~~ /usr/include/sys/socket.h:576:52: note: passing argument to parameter here 576 | int getpeername(int, struct sockaddr *, socklen_t *); | ^ comm.c:728:21: warning: passing arguments to 'host_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 728 | hname = host_name(user->host_addr); | ^ comm.c:729:30: warning: passing arguments to 'str_copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 729 | user->host_name = str_copy(hname); | ^ comm.c:730:30: warning: passing arguments to 'str_copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 730 | user->host_fqdn = str_copy(hname); | ^ comm.c:731:22: warning: passing arguments to 'generate_full_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 731 | generate_full_name(user); | ^ comm.c:732:14: warning: passing arguments to 'show_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 732 | show_error("Connection from unexpected host!"); | ^ comm.c:738:11: warning: passing arguments to 'add_fd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 738 | add_fd(user->fd, connect_user); | ^ comm.c:688:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 688 | contact_user(fd) | ^ comm.c:758:14: warning: passing arguments to 'move_term' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 758 | move_term(user, user->y, x - i); | ^ comm.c:759:16: warning: passing arguments to 'clreol_term' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 759 | clreol_term(user); | ^ comm.c:760:17: warning: passing arguments to 'newline_term' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 760 | newline_term(user); | ^ comm.c:762:12: warning: passing arguments to 'addch_term' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 762 | addch_term(user, temp[i]); | ^ comm.c:745:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 745 | word_wrap(user) | ^ comm.c:776:27: warning: passing arguments to 'send_dgram' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 776 | while((rc = send_dgram(user, AUTO_LOOK_UP)) == 0) | ^ comm.c:780:21: warning: passing arguments to 'connect_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 780 | if((fd = connect_to(NULL)) < 0) | ^ comm.c:786:19: warning: passing arguments to 'send_dgram' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 786 | (void)send_dgram(user, AUTO_DELETE); | ^ comm.c:808:24: warning: passing arguments to 'send_dgram' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 808 | if((rc = send_dgram(user, ANNOUNCE)) == 0) | ^ comm.c:770:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 770 | announce(user) | ^ comm.c:833:25: warning: passing arguments to 'resolve_alias' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 833 | name = resolve_alias(name); | ^ comm.c:834:23: warning: passing arguments to 'str_copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 834 | hisname = str_copy(name); | ^ comm.c:850:20: warning: passing arguments to 'new_user' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 850 | user = new_user(hisname, hishost, histty); | ^ comm.c:900:27: warning: passing arguments to 'send_dgram' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 900 | while((rc = send_dgram(user, LOOK_UP)) == 0) | ^ comm.c:903:21: warning: passing arguments to 'connect_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 903 | if((rc = connect_to(user)) < 0) | ^ comm.c:909:19: warning: passing arguments to 'send_dgram' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 909 | (void)send_dgram(user, DELETE); | ^ comm.c:912:15: warning: passing arguments to 'free_user' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 912 | free_user(user); | ^ comm.c:916:8: warning: passing arguments to 'add_fd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 916 | add_fd(user->fd, connect_user); | ^ comm.c:934:10: warning: passing arguments to 'msg_term' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 934 | msg_term(me, errstr); | ^ comm.c:936:15: warning: passing arguments to 'newsock' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 936 | if(newsock(user) != 0) | ^ comm.c:938:11: warning: passing arguments to 'free_user' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 938 | free_user(user); | ^ comm.c:941:21: warning: passing arguments to 'send_dgram' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 941 | (void)send_dgram(user, LEAVE_INVITE); | ^ comm.c:945:18: warning: passing arguments to 'send_dgram' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 945 | (void)send_dgram(user, DELETE_INVITE); | ^ comm.c:950:12: warning: passing arguments to 'show_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 950 | show_error(errstr); | ^ comm.c:951:11: warning: passing arguments to 'free_user' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 951 | free_user(user); | ^ comm.c:954:11: warning: passing arguments to 'add_fd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 954 | add_fd(user->fd, contact_user); | ^ comm.c:821:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 821 | invite(name, send_announce) | ^ In file included from comm.c:19: ./header.h:338:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 338 | extern yuser *invite ( /* username, announce */ ); /* comm.c */ | ^ comm.c:974:14: warning: passing arguments to 'send_auto' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 974 | if(send_auto(LEAVE_INVITE) != 0) | ^ comm.c:976:16: warning: passing arguments to 'show_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 976 | show_error("house_clean: send_auto() failed"); | ^ comm.c:986:22: warning: passing arguments to 'send_dgram' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 986 | (void)send_dgram(u, LEAVE_INVITE); | ^ comm.c:995:18: warning: passing arguments to 'yes_no' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 995 | answer = yes_no(estr); | ^ comm.c:1002:19: warning: passing arguments to 'send_dgram' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1002 | (void)send_dgram(u, DELETE_INVITE); | ^ comm.c:1007:13: warning: passing arguments to 'show_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1007 | show_error(errstr); | ^ comm.c:1008:12: warning: passing arguments to 'free_user' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1008 | free_user(u); | ^ comm.c:1015:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1015 | send_winch(user) | ^ In file included from comm.c:19: ./header.h:340:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 340 | extern void send_winch ( /* yuser */ ); /* comm.c */ | ^ comm.c:1085:30: warning: passing arguments to 'realloc_mem' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1085 | o_buf = (ychar *)realloc_mem(o_buf, o_len); | ^ comm.c:1070:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1070 | send_users(user, buf, len) | ^ In file included from comm.c:19: ./header.h:343:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 343 | extern void send_users ( /* buf, len */ ); /* comm.c */ | ^ comm.c:1151:16: warning: passing arguments to 'move_term' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1151 | move_term(user, user->sy, user->sx); | ^ comm.c:1158:21: warning: passing arguments to 'add_char_term' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1158 | add_char_term(user, 1); | ^ comm.c:1160:21: warning: passing arguments to 'add_char_term' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1160 | add_char_term(user, user->av[0]); | ^ comm.c:1166:13: warning: passing arguments to 'move_term' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1166 | move_term(user, user->y - 1, user->x); | ^ comm.c:1168:13: warning: passing arguments to 'move_term' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1168 | move_term(user, 0, user->x); | ^ comm.c:1170:13: warning: passing arguments to 'move_term' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1170 | move_term(user, user->y - user->av[0], user->x); | ^ comm.c:1175:13: warning: passing arguments to 'move_term' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1175 | move_term(user, user->y + 1, user->x); | ^ comm.c:1177:13: warning: passing arguments to 'move_term' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1177 | move_term(user, user->y + user->av[0], user->x); | ^ comm.c:1182:13: warning: passing arguments to 'move_term' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1182 | move_term(user, user->y, user->x + 1); | ^ comm.c:1184:13: warning: passing arguments to 'move_term' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1184 | move_term(user, user->y, user->x + user->av[0]); | ^ comm.c:1189:13: warning: passing arguments to 'move_term' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1189 | move_term(user, user->y, user->x - 1); | ^ comm.c:1191:13: warning: passing arguments to 'move_term' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1191 | move_term(user, user->y, 0); | ^ comm.c:1193:13: warning: passing arguments to 'move_term' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1193 | move_term(user, user->y, user->x - user->av[0]); | ^ comm.c:1201:16: warning: passing arguments to 'move_term' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1201 | move_term(user, user->av[0], user->av[1]); | ^ comm.c:1205:18: warning: passing arguments to 'clreos_term' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1205 | clreos_term(user); | ^ comm.c:1209:18: warning: passing arguments to 'clreol_term' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1209 | clreol_term(user); | ^ comm.c:1216:21: warning: passing arguments to 'add_line_term' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1216 | add_line_term(user, 1); | ^ comm.c:1218:21: warning: passing arguments to 'add_line_term' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1218 | add_line_term(user, user->av[0]); | ^ comm.c:1226:21: warning: passing arguments to 'del_line_term' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1226 | del_line_term(user, 1); | ^ comm.c:1228:21: warning: passing arguments to 'del_line_term' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1228 | del_line_term(user, user->av[0]); | ^ comm.c:1231:19: warning: passing arguments to 'rev_scroll_term' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1231 | rev_scroll_term(user); | ^ comm.c:1238:21: warning: passing arguments to 'del_char_term' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1238 | del_char_term(user, 1); | ^ comm.c:1240:21: warning: passing arguments to 'del_char_term' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1240 | del_char_term(user, user->av[0]); | ^ comm.c:1245:18: warning: passing arguments to 'scroll_term' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1245 | scroll_term(user); | ^ comm.c:1253:24: warning: passing arguments to 'set_scroll_region' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1253 | set_scroll_region(user, user->av[0], user->av[1]); | ^ comm.c:1254:16: warning: passing arguments to 'move_term' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1254 | move_term(user, 0, 0); | ^ comm.c:1276:16: warning: passing arguments to 'newline_term' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1276 | newline_term(user); | ^ comm.c:1278:14: warning: passing arguments to 'addch_term' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1278 | addch_term(user, *buf); | ^ comm.c:1281:14: warning: passing arguments to 'addch_term' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1281 | addch_term(user, *buf); | ^ comm.c:1282:16: warning: passing arguments to 'newline_term' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1282 | newline_term(user); | ^ comm.c:1287:17: warning: passing arguments to 'addch_term' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1287 | addch_term(user, *buf); | ^ comm.c:1288:19: warning: passing arguments to 'newline_term' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1288 | newline_term(user); | ^ comm.c:1292:13: warning: passing arguments to 'addch_term' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1292 | addch_term(user, *buf); | ^ comm.c:1295:14: warning: passing arguments to 'rub_term' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1295 | rub_term(user); | ^ comm.c:1297:21: warning: passing arguments to 'word_term' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1297 | (void)word_term(user); | ^ comm.c:1299:15: warning: passing arguments to 'kill_term' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1299 | kill_term(user); | ^ comm.c:1309:13: warning: passing arguments to 'move_term' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1309 | move_term(user, user->y, user->x - 1); | ^ comm.c:1312:15: warning: passing arguments to 'tab_term' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1312 | tab_term(user); | ^ comm.c:1315:19: warning: passing arguments to 'newline_term' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1315 | newline_term(user); | ^ comm.c:1319:13: warning: passing arguments to 'move_term' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1319 | move_term(user, user->y, 0); | ^ comm.c:1321:16: warning: passing arguments to 'newline_term' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1321 | newline_term(user); | ^ comm.c:1338:15: warning: passing arguments to 'flush_term' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1338 | flush_term(user); | ^ comm.c:1115:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1115 | show_input(user, buf, len) | ^ In file included from comm.c:19: ./header.h:344:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 344 | extern void show_input ( /* user, buf, len */ ); /* comm.c */ | ^ comm.c:1402:8: warning: passing arguments to 'bail' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1402 | bail(0); | ^ comm.c:1344:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1344 | my_input(user, buf, len) | ^ In file included from comm.c:19: ./header.h:345:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 345 | extern void my_input ( /* buf, len */ ); /* comm.c */ | ^ comm.c:1444:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1444 | lock_flags(flags) | ^ In file included from comm.c:19: ./header.h:346:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 346 | extern void lock_flags ( /* flags */ ); /* comm.c */ | ^ 161 warnings and 2 errors generated. *** Error 1 in /usr/obj/ports/ytalk-3.1.1/ytalk-3.1.1 (Makefile:53 'comm.o') *** Error 2 in net/ytalk (/usr/ports/infrastructure/mk/bsd.port.mk:3079 '/usr/obj/ports/ytalk-3.1.1/.build_done': @cd /usr/obj/ports/ytalk-3...) *** Error 2 in net/ytalk (/usr/ports/infrastructure/mk/bsd.port.mk:2722 'build': @lock=ytalk-3.1.1p4; export _LOCKS_HELD=" ytalk-3.1.1p4"; ...) ===> Exiting net/ytalk with an error *** Error 1 in /usr/ports (infrastructure/mk/bsd.port.subdir.mk:144 'build': @: ${echo_msg:=echo}; : ${target:=build}; for i in ; do eval...) >>> Ended at 1779821815.06 max_stuck=0.00/depends=2.07/show-prepare-results=0.92/build=5.60 Error: job failed with 512 on amd64-2 at 1779821815