>>> Building on exopi-2 under net/ytalk BDEPENDS = [devel/metaauto;devel/autoconf/2.13] DIST = [net/ytalk:ytalk-3.1.1.tar.gz] FULLPKGNAME = ytalk-3.1.1p4 (Junk lock obtained for exopi-2 at 1764961860.78) >>> Running depends in net/ytalk at 1764961860.84 last junk was in www/firefox-i18n/es-ES /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 1764961862.70 ===> 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.102.2 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 exopi-2 at 1764961863.82) distfiles size=83218 >>> Running build in net/ytalk at 1764961863.90 ===> net/ytalk ===> Checking files for ytalk-3.1.1p4 `/exopi-cvs/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 /exopi-obj/pobj/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 /exopi-obj/pobj/ytalk-3.1.1/ytalk-3.1.1 Running autoheader-2.13 in /exopi-obj/pobj/ytalk-3.1.1/ytalk-3.1.1 ===> Configuring for ytalk-3.1.1p4 Using /exopi-obj/pobj/ytalk-3.1.1/config.site (generated) loading site script /exopi-obj/pobj/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... /exopi-obj/pobj/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: warning: 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: warning: 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 */ | ^ 163 warnings generated. cc -I/usr/X11R6/include -DHAVE_CONFIG_H -DSYSTEM_YTALKRC=\"/etc/ytalkrc\" -O2 -pipe -c menu.c menu.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(filename); | ^ menu.c:110:14: 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] 110 | spew_term(output_user, fd, output_user->rows, output_user->cols); | ^ menu.c:97:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 97 | do_output(filename) | ^ menu.c:124:14: warning: passing arguments to 'show_mesg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 124 | if(show_mesg("Output Terminated", NULL) >= 0) | ^ menu.c:132:17: warning: passing arguments to 'show_text' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 132 | if(show_text("Output filename?", do_output) >= 0) | ^ menu.c:115:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | do_output_user(user) | ^ menu.c:142:11: warning: passing arguments to 'invite' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 142 | invite(name, 1); | ^ menu.c:139:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 139 | do_invite(name) | ^ menu.c:148:31: 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] 148 | while(wait_list) free_user(wait_list); | ^ menu.c:158:18: warning: passing arguments to 'show_text' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 158 | if(show_text("Add Which User?", do_invite) >= 0) | ^ menu.c:162:23: warning: passing arguments to 'show_user_menu' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 162 | if(show_user_menu("Delete Which User?", free_user, 0) >= 0) | ^ menu.c:175:13: warning: passing arguments to 'execute' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 175 | execute(NULL); | ^ menu.c:182:23: warning: passing arguments to 'show_user_menu' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 182 | if(show_user_menu("Output Which User?", do_output_user, 1) >= 0) | ^ menu.c:186: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] 186 | bail(0); | ^ menu.c:152:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 152 | main_menu_sel(key) | ^ menu.c:35: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] 35 | static void main_menu_sel(); | ^ menu.c:191:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 191 | option_menu_sel(key) | ^ menu.c:254:24: 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] 254 | user_menu[0].func(u); | ^ menu.c:237:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 237 | user_menu_sel(key) | ^ menu.c:280:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 280 | pad_str(from, len, to) | ^ menu.c:303: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] 303 | redraw_term(me, 0); | ^ menu.c:304:12: 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] 304 | flush_term(me); | ^ menu.c:352:16: warning: passing arguments to 'raw_term' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 352 | raw_term(me, text_ypos, text_xpos + text_pos, | ^ menu.c:363:16: warning: passing arguments to 'raw_term' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 363 | raw_term(me, text_ypos, text_xpos + text_pos, | ^ menu.c:374:16: warning: passing arguments to 'raw_term' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 374 | raw_term(me, text_ypos, text_xpos, | ^ menu.c:384:21: 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] 384 | text_menu[0].func(text_str); | ^ menu.c:398:11: warning: passing arguments to 'raw_term' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 398 | raw_term(me, text_ypos, text_xpos + text_pos, NULL, 0); | ^ menu.c:399:13: 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] 399 | flush_term(me); | ^ menu.c:413:20: 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 | mesg_menu[0].func(ic); | ^ menu.c:439:20: 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] 439 | menu_ptr[i].func(ic); | ^ menu.c:477:28: 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] 477 | buf = (ychar *)realloc_mem(buf, buflen + MENU_EXTRA); | ^ menu.c:482:15: warning: passing arguments to 'center' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 482 | x = center(me->t_cols, menu_long + MENU_EXTRA); | ^ menu.c:487:16: warning: passing arguments to 'center' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 487 | y = center(me->t_rows, menu_len + 2); | ^ menu.c:488:14: warning: passing arguments to 'raw_term' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 488 | raw_term(me, y++, x, "#####", menu_long + MENU_EXTRA); | ^ menu.c:520:16: warning: passing arguments to 'center' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 520 | temp = center(menu_long + 3, strlen(menu_ptr[i].item)); | ^ menu.c:541:10: warning: passing arguments to 'raw_term' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 541 | raw_term(me, y, x, buf, c - buf); | ^ menu.c:559:14: warning: passing arguments to 'raw_term' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 559 | raw_term(me, y, x, buf, c - buf); | ^ menu.c:560:14: warning: passing arguments to 'raw_term' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 560 | raw_term(me, y, x + 12, NULL, 0); | ^ menu.c:564:14: warning: passing arguments to 'raw_term' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 564 | raw_term(me, y, x, "#####", menu_long + MENU_EXTRA); | ^ menu.c:566:11: warning: passing arguments to 'raw_term' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 566 | raw_term(me, text_ypos, text_xpos + text_pos, NULL, 0); | ^ menu.c:568:11: warning: passing arguments to 'raw_term' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 568 | raw_term(me, y-1, x + menu_long + MENU_EXTRA - 2, NULL, 0); | ^ menu.c:570:11: warning: passing arguments to 'raw_term' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 570 | raw_term(me, y, me->t_cols / 2, NULL, 0); | ^ menu.c:573: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] 573 | flush_term(me); | ^ menu.c:587: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] 587 | show_error("show_menu: window too small"); | ^ menu.c:600: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] 600 | show_error("show_menu: invalid key"); | ^ menu.c:606: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] 606 | show_error("show_menu: menu too small"); | ^ menu.c:579:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 579 | show_menu(menu, len) | ^ In file included from menu.c:25: ./menu.h:36: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] 36 | extern int show_menu ( /* menuptr, len */ ); /* menu.c */ | ^ menu.c:630: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] 630 | show_error("show_text: window too small"); | ^ menu.c:624:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 624 | show_text(prompt, func) | ^ In file included from menu.c:25: ./menu.h:37: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] 37 | extern int show_text ( /* prompt, func */ ); /* menu.c */ | ^ menu.c:659:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 659 | show_mesg(mesg, func) | ^ In file included from menu.c:25: ./menu.h:38: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] 38 | extern int show_mesg (); /* menu.c */ | ^ menu.c:763:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 763 | show_user_menu(title, func, metoo) | ^ In file included from menu.c:25: ./menu.h:41: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] 41 | extern int show_user_menu ( /* title, func */ ); /* menu.c */ | ^ menu.c:864:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 864 | show_error_menu(str1, str2) | ^ In file included from menu.c:25: ./menu.h:42: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] 42 | extern int show_error_menu ( /* str1, str2 */ ); /* menu.c */ | ^ menu.c:889:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 889 | yes_no(prompt) | ^ In file included from menu.c:25: ./menu.h:43: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] 43 | extern int yes_no ( /* prompt */ ); /* menu.c */ | ^ menu.c:935: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] 935 | redraw_term(me, 0); | ^ 60 warnings generated. cc -I/usr/X11R6/include -DHAVE_CONFIG_H -DSYSTEM_YTALKRC=\"/etc/ytalkrc\" -O2 -pipe -c socket.c socket.c:73: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] 73 | show_error("init_dgram: socket() failed"); | ^ socket.c:74: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] 74 | bail(YTE_ERROR); | ^ socket.c:79: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] 79 | show_error("init_dgram: bind() failed"); | ^ socket.c:80: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] 80 | bail(YTE_ERROR); | ^ socket.c:83:49: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types] 83 | if(getsockname(fd, (struct sockaddr *)sock, &socklen) < 0) | ^~~~~~~~ /usr/include/sys/socket.h:577:52: note: passing argument to parameter here 577 | int getsockname(int, struct sockaddr *, socklen_t *); | ^ socket.c:86: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] 86 | show_error("init_dgram: getsockname() failed"); | ^ socket.c:87: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] 87 | bail(YTE_ERROR); | ^ socket.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 | init_dgram(sock) | ^ socket.c:107: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] 107 | show_error("init_daemon: too many daemons"); | ^ socket.c:108: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] 108 | bail(YTE_ERROR); | ^ socket.c:96:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 96 | init_daemon(name, port, mptr, mlen, rptr, rlen) | ^ socket.c:137:56: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types] 137 | if((fd = accept(autofd, (struct sockaddr *) &temp, &socklen)) == -1) | ^~~~~~~~ /usr/include/sys/socket.h:573:47: note: passing argument to parameter here 573 | int accept(int, struct sockaddr *, socklen_t *); | ^ socket.c:139: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] 139 | show_error("read_autoport: accept() failed"); | ^ socket.c:147: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] 147 | if(full_read(fd, &pack, V2_PACKLEN) < 0 || pack.code != V2_AUTO) | ^ socket.c:149: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] 149 | show_error("read_autoport: unknown auto-invite connection"); | ^ socket.c:157:11: 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] 157 | if(yes_no(estr) == 'n') | ^ socket.c:161:11: warning: passing arguments to 'invite' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 161 | invite(estr, 1); /* we should be expected */ | ^ socket.c:126:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 126 | read_autoport(fd) | ^ socket.c:176: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] 176 | show_error("init_autoport: socket() failed"); | ^ socket.c:184: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] 184 | show_error("init_autoport: bind() failed"); | ^ socket.c:188:58: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types] 188 | if(getsockname(autofd, (struct sockaddr *)&autosock, &socklen) < 0) | ^~~~~~~~ /usr/include/sys/socket.h:577:52: note: passing argument to parameter here 577 | int getsockname(int, struct sockaddr *, socklen_t *); | ^ socket.c:192: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] 192 | show_error("init_autoport: getsockname() failed"); | ^ socket.c:200: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] 200 | show_error("init_autoport: listen() failed"); | ^ socket.c:204: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] 204 | add_fd(autofd, read_autoport); | ^ socket.c:211:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 211 | place_my_address(sock, addr) | ^ socket.c:271: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] 271 | show_error(errstr); | ^ socket.c:291: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] 291 | show_error("sendit: flush select() failed"); | ^ socket.c:298: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] 298 | show_error("sendit: flush recv() failed"); | ^ socket.c:317: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] 317 | show_error("sendit: sendto() failed"); | ^ socket.c:326: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] 326 | show_error("sendit: first select() failed"); | ^ socket.c:336: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] 336 | show_error("sendit: recv() failed"); | ^ socket.c:348: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] 348 | show_error("sendit: second select() failed"); | ^ socket.c:236:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 236 | sendit(addr, d) | ^ socket.c:441: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] 441 | show_error("Warning: cannot write to new talk daemon"); | ^ socket.c:447: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] 447 | show_error("Warning: cannot write to old talk daemon"); | ^ socket.c:461: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] 461 | show_error("find_daemon: first select() failed"); | ^ socket.c:479:18: 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] 479 | show_error("find_daemon: recv() failed"); | ^ socket.c:490: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] 490 | show_error("find_daemon: second select() failed"); | ^ socket.c:493:25: 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] 493 | h = (hostinfo *)get_mem(sizeof(hostinfo)); | ^ socket.c:501:54: 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] 501 | sprintf(errstr, "No talk daemon on %s", host_name(addr)); | ^ socket.c:502:15: 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] 502 | show_error(errstr); | ^ socket.c:395:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 395 | find_daemon(addr) | ^ socket.c:507:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 507 | make_net_mask(addr) | ^ socket.c:628: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] 628 | show_error("send_dgram: unknown type"); | ^ socket.c:579:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 579 | send_dgram(user, type) | ^ In file included from socket.c:19: ./header.h:351: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] 351 | extern int send_dgram ( /* user, type */ ); /* socket.c */ | ^ socket.c:726:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 726 | send_auto(type) | ^ In file included from socket.c:19: ./header.h:352: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] 352 | extern int send_auto ( /* type */ ); /* socket.c */ | ^ socket.c:768: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] 768 | remove_fd(autofd); | ^ socket.c:787: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] 787 | show_error("newsock: socket() failed"); | ^ socket.c:793: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] 793 | show_error("newsock: bind() failed"); | ^ socket.c:797:56: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types] 797 | if(getsockname(fd, (struct sockaddr *)&user->sock, &socklen) < 0) | ^~~~~~~~ /usr/include/sys/socket.h:577:52: note: passing argument to parameter here 577 | int getsockname(int, struct sockaddr *, socklen_t *); | ^ socket.c:800: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] 800 | show_error("newsock: getsockname() failed"); | ^ socket.c:803:22: warning: incompatible pointer types passing 'struct sockaddr_in *' to parameter of type 'BSD42_SOCK *' (aka 'struct bsd42_sockaddr_in *') [-Wincompatible-pointer-types] 803 | place_my_address(&(user->sock), user->host_addr); | ^~~~~~~~~~~~~ socket.c:807: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] 807 | show_error("newsock: listen() failed"); | ^ socket.c:776:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 776 | newsock(user) | ^ In file included from socket.c:19: ./header.h:354: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] 354 | extern int newsock ( /* yuser */ ); /* socket.c */ | ^ socket.c:840: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] 840 | show_error("connect_to: socket() failed"); | ^ socket.c:851: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] 851 | show_error("connect_to: connect() failed"); | ^ socket.c:855:50: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types] 855 | if(getsockname(fd, (struct sockaddr *)&sock, &socklen) < 0) | ^~~~~~~~ /usr/include/sys/socket.h:577:52: note: passing argument to parameter here 577 | int getsockname(int, struct sockaddr *, socklen_t *); | ^ socket.c:858: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] 858 | show_error("connect_to: getsockname() failed"); | ^ socket.c:819:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 819 | connect_to(user) | ^ In file included from socket.c:19: ./header.h:355: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] 355 | extern int connect_to ( /* yuser */ ); /* socket.c */ | ^ socket.c:887: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] 887 | show_error(errstr); | ^ socket.c:892:37: warning: passing arguments to 'inet_addr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 892 | else if((addr = (ylong)inet_addr(hostname)) == (ylong)-1) | ^ socket.c:874:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 874 | get_host_addr(hostname) | ^ In file included from socket.c:19: ./header.h:356: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] 356 | extern ylong get_host_addr ( /* hostname */ ); /* socket.c */ | ^ socket.c:912:18: warning: passing arguments to 'inet_ntoa' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 912 | return inet_ntoa(tmp); | ^ socket.c:901:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 901 | host_name(addr) | ^ In file included from socket.c:19: ./header.h:357: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] 357 | extern char *host_name ( /* addr */ ); /* socket.c */ | ^ socket.c:940: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] 940 | show_error(errstr); | ^ socket.c:946: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] 946 | show_error(errstr); | ^ socket.c:952: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] 952 | show_error(errstr); | ^ socket.c:966:28: 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] 966 | new = (readdr *)get_mem(sizeof(readdr)); | ^ socket.c:930:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 930 | readdress_host(from_id, to_id, on_id) | ^ In file included from socket.c:19: ./header.h:358: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] 358 | extern void readdress_host ( /* from, to, on */ ); /* socket.c */ | ^ 76 warnings generated. cc -I/usr/X11R6/include -DHAVE_CONFIG_H -DSYSTEM_YTALKRC=\"/etc/ytalkrc\" -O2 -pipe -c rc.c rc.c:30:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 30 | get_word(p) | ^ rc.c:50:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 50 | set_option(opt, value) | ^ rc.c:151: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] 151 | show_error(fname); | ^ rc.c:154:18: 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] 154 | buf = get_mem(BUFSIZ); | ^ rc.c:175:20: warning: passing arguments to 'readdress_host' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 175 | readdress_host(arg1, arg2, arg3); | ^ rc.c:216:17: 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] 216 | a = get_mem(sizeof (struct alias)); | ^ rc.c:253: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] 253 | show_error(errstr); | ^ rc.c:139:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 139 | read_rcfile(fname) | ^ rc.c:263:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 263 | resolve_alias(uh) | ^ In file included from rc.c:19: ./header.h:361: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] 361 | extern char *resolve_alias ( /* uh */ ); /* rc.c */ | ^ 10 warnings generated. cc -I/usr/X11R6/include -DHAVE_CONFIG_H -DSYSTEM_YTALKRC=\"/etc/ytalkrc\" -O2 -pipe -c exec.c exec.c:93:18: 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 previous declaration [-Wdeprecated-non-prototype] 93 | extern char *ttyname(); | ^ /usr/include/unistd.h:374:7: note: conflicting prototype is here 374 | char *ttyname(int); | ^ exec.c:88:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | getpty(name) | ^ exec.c:184: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] 184 | show_error("command shell terminated"); | ^ exec.c:187:15: 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] 187 | show_input(me, buf, rc); | ^ exec.c:188:15: warning: passing arguments to 'send_users' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 188 | send_users(me, buf, rc); | ^ exec.c:174:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 174 | exec_input(fd) | ^ exec.c:192:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 192 | calculate_size(rows, cols) | ^ exec.c:225: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] 225 | show_error("alternate mode already running"); | ^ exec.c:230: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] 230 | msg_term(me, "cannot get pseudo terminal"); | ^ exec.c:281:20: warning: passing arguments to 'set_terminal_flags' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 281 | set_terminal_flags(fd); | ^ exec.c:282:19: warning: passing arguments to 'set_terminal_size' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 282 | set_terminal_size(fd, prows, pcols); | ^ exec.c:300: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] 300 | show_error("fork() failed"); | ^ exec.c:303:19: 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] 303 | set_win_region(me, prows, pcols); | ^ exec.c:307:15: warning: passing arguments to 'lock_flags' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 307 | lock_flags(FL_RAW | FL_SCROLL); | ^ exec.c:309: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] 309 | add_fd(fd, exec_input); | ^ exec.c:216:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 216 | execute(command) | ^ In file included from exec.c:19: ./header.h:363: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] 363 | extern void execute ( /* command */ ); /* exec.c */ | ^ exec.c:328: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] 328 | remove_fd(pfd); | ^ exec.c:333:19: 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] 333 | end_win_region(me); | ^ exec.c:352:20: 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] 352 | set_win_region(me, prows, pcols); | ^ exec.c:360:22: warning: passing arguments to 'set_terminal_size' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 360 | set_terminal_size(pfd, prows, pcols); | ^ exec.c:361:19: 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] 361 | set_win_region(me, prows, pcols); | ^ 22 warnings generated. cc -I/usr/X11R6/include -DHAVE_CONFIG_H -DSYSTEM_YTALKRC=\"/etc/ytalkrc\" -O2 -pipe -c cwin.c cwin.c:55: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] 55 | bail(YTE_SUCCESS); | ^ cwin.c:56: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] 56 | bail(YTE_ERROR); | ^ cwin.c:58:13: warning: passing arguments to 'my_input' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 58 | my_input(me, buf, rc); | ^ cwin.c:46:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 46 | curses_input(fd) | ^ cwin.c:70:26: 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] 70 | out = (ywin *)get_mem(sizeof(ywin) + len + 1); | ^ cwin.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 | new_ywin(user, title) | ^ cwin.c:88: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] 88 | show_error("make_win: newwin() failed"); | ^ cwin.c:89: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] 89 | bail(YTE_ERROR); | ^ cwin.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 | make_win(w, height, width, row, col) | ^ cwin.c:100:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 100 | draw_title(w) | ^ cwin.c:132:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 132 | win_size(wins) | ^ cwin.c:162: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] 162 | show_error("curses_redraw: window size too small"); | ^ cwin.c:163: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] 163 | bail(YTE_ERROR); | ^ cwin.c:176:16: 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] 176 | resize_win(w->user, wsize-1, COLS); | ^ cwin.c:181:16: 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] 181 | resize_win(w->user, LINES-row-2, COLS); | ^ cwin.c:243: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] 243 | add_fd(0, curses_input); /* set up user's input function */ | ^ cwin.c:264:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 264 | open_curses(user, title) | ^ In file included from cwin.c:28: ./cwin.h:21: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] 21 | extern int open_curses ( /* yuser, title */ ); | ^ cwin.c:323: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] 323 | show_error("close_curses: user not found"); | ^ cwin.c:303:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 303 | close_curses(user) | ^ In file included from cwin.c:28: ./cwin.h:22: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] 22 | extern void close_curses ( /* yuser */ ); | ^ cwin.c:333:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 333 | addch_curses(user, c) | ^ In file included from cwin.c:28: ./cwin.h:23:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 23 | extern void addch_curses ( /* yuser, char */ ); | ^ cwin.c:348:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 348 | move_curses(user, y, x) | ^ In file included from cwin.c:28: ./cwin.h:24: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] 24 | extern void move_curses ( /* yuser, y, x */ ); | ^ cwin.c:359:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 359 | clreol_curses(user) | ^ In file included from cwin.c:28: ./cwin.h:25: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] 25 | extern void clreol_curses ( /* yuser */ ); | ^ cwin.c:369:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 369 | clreos_curses(user) | ^ In file included from cwin.c:28: ./cwin.h:26: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] 26 | extern void clreos_curses ( /* yuser */ ); | ^ cwin.c:379:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 379 | scroll_curses(user) | ^ In file included from cwin.c:28: ./cwin.h:27: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] 27 | extern void scroll_curses ( /* yuser */ ); | ^ cwin.c:403:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 403 | flush_curses(user) | ^ In file included from cwin.c:28: ./cwin.h:28: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] 28 | extern void flush_curses ( /* yuser */ ); | ^ cwin.c:423: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] 423 | redraw_term(w->user, 0); | ^ 34 warnings generated. cc -I/usr/X11R6/include -DHAVE_CONFIG_H -DSYSTEM_YTALKRC=\"/etc/ytalkrc\" -O2 -pipe -c xwin.c xwin.c:49:49: 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] 49 | XTextProperty *tp = (XTextProperty *)get_mem(sizeof(XTextProperty)); | ^ xwin.c:46:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 46 | strToTP(s) | ^ xwin.c:55:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 55 | getOption(o) | ^ xwin.c:83: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] 83 | show_error(errstr); | ^ xwin.c:84: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] 84 | bail(YTE_ERROR); | ^ xwin.c:76:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 76 | load_font(name, font) | ^ xwin.c:89:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 89 | make_GC(gc, font, fgpixel, bgpixel, l_width, l_style, l_cap, l_join, gcfunc) | ^ xwin.c:122:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 122 | win_user(win) | ^ xwin.c:152:18: 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] 152 | redraw_term(user, 0); | ^ xwin.c:160:17: 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] 160 | resize_win(user, rows, cols); | ^ xwin.c:165:11: warning: passing arguments to 'my_input' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 165 | my_input(win_user(report.xkeymap.window), buf, n); | ^ xwin.c:172:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 172 | place_cursor(win, y, x) | ^ xwin.c:199: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] 199 | show_error("Cannot open X display"); | ^ xwin.c:200: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] 200 | bail(YTE_ERROR); | ^ xwin.c:251: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] 251 | add_fd(xfd, process_event); | ^ xwin.c:318:15: 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] 318 | resize_win(user, rows, cols); | ^ xwin.c:265:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 265 | open_xwin(user, title) | ^ xwin.c:323:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 323 | close_xwin(user) | ^ xwin.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 | addch_xwin(user, ch) | ^ xwin.c:349:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 349 | move_xwin(user, y, x) | ^ xwin.c:360:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 360 | clreol_xwin(user) | ^ xwin.c:371:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 371 | clreos_xwin(user) | ^ xwin.c:386:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 386 | scroll_xwin(user) | ^ xwin.c:402:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 402 | rev_scroll_xwin(user) | ^ xwin.c:418:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 418 | flush_xwin(user) | ^ 25 warnings generated. cc -O2 -pipe -o ytalk main.o term.o user.o fd.o comm.o menu.o socket.o rc.o exec.o cwin.o xwin.o -lncurses -lSM -lICE -L/usr/X11R6/lib -lX11 ld: warning: term.c(term.o:(init_term)): warning: sprintf() is often misused, please use snprintf() ld: warning: cwin.c(cwin.o:(open_curses)): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: rc.c(rc.o:(resolve_alias)): warning: strcat() is almost always misused, please use strlcat() >>> Running package in net/ytalk at 1764961870.80 ===> net/ytalk ===> Faking installation for ytalk-3.1.1p4 ./mkinstalldirs /exopi-obj/pobj/ytalk-3.1.1/fake-amd64/usr/local/bin /exopi-obj/pobj/ytalk-3.1.1/bin/install -c -s -m 755 ytalk /exopi-obj/pobj/ytalk-3.1.1/fake-amd64/usr/local/bin/ytalk ./mkinstalldirs /exopi-obj/pobj/ytalk-3.1.1/fake-amd64/usr/local/man/man1 /exopi-obj/pobj/ytalk-3.1.1/bin/install -c -m 644 ytalk.1 /exopi-obj/pobj/ytalk-3.1.1/fake-amd64/usr/local/man/man1/ytalk.1 /exopi-obj/pobj/ytalk-3.1.1/bin/install -d -m 755 /exopi-obj/pobj/ytalk-3.1.1/fake-amd64/usr/local/share/examples/ytalk /exopi-obj/pobj/ytalk-3.1.1/bin/install -c -m 644 /exopi-obj/pobj/ytalk-3.1.1/ytalk-3.1.1/ytalkrc /exopi-obj/pobj/ytalk-3.1.1/fake-amd64/usr/local/share/examples/ytalk/ytalkrc-sample ===> Building package for ytalk-3.1.1p4 Create /exopi-cvs/ports/packages/amd64/all/ytalk-3.1.1p4.tgz Creating package ytalk-3.1.1p4 reading plist| checking dependencies| checksumming| checksumming| | 0% checksumming|*** | 6% checksumming|******* | 11% checksumming|********** | 17% checksumming|************** | 22% checksumming|***************** | 28% checksumming|******************** | 33% checksumming|************************ | 39% checksumming|*************************** | 44% checksumming|******************************* | 50% checksumming|********************************** | 56% checksumming|************************************* | 61% checksumming|***************************************** | 67% checksumming|******************************************** | 72% checksumming|*********************************************** | 78% checksumming|*************************************************** | 83% checksumming|****************************************************** | 89% checksumming|********************************************************** | 94% checksumming|*************************************************************|100% archiving| archiving| | 0% archiving|******************************************************* | 86% archiving|****************************************************************|100% Link to /exopi-cvs/ports/packages/amd64/ftp/ytalk-3.1.1p4.tgz >>> Running clean in net/ytalk at 1764961872.33 ===> net/ytalk ===> Cleaning for ytalk-3.1.1p4 >>> Ended at 1764961872.54 max_stuck=1.74/depends=1.87/show-prepare-results=1.17/build=6.94/package=1.53/clean=0.26