>>> 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 1713951428.88) >>> Running depends in net/ytalk at 1713951428.91 last junk was in math/ecm /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 1713951431.42 ===> 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.100.0 curses.15.0 ICE.11.0 SM.9.0 X11.18.0 xcb.4.1 autoconf-2.13p4 metaauto-1.0p4 (Junk lock released for exopi-2 at 1713951432.92) distfiles size=83218 >>> Running build in net/ytalk at 1713951432.96 ===> net/ytalk ===> Checking files for ytalk-3.1.1p4 `/exopi-cvs/ports/distfiles/ytalk-3.1.1.tar.gz' is up to date. >> (SHA256) ytalk-3.1.1.tar.gz: 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (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] if((n = accept(fd, (struct sockaddr *) &(user->sock), &socklen)) < 0) ^~~~~~~~ /usr/include/sys/socket.h:566:47: note: passing argument to parameter here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] if (getpeername(n, (struct sockaddr *)&peer, &socklen) >= 0) ^~~~~~~~ /usr/include/sys/socket.h:569:52: note: passing argument to parameter here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (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 C2x [-Wdeprecated-non-prototype] (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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] if(getsockname(fd, (struct sockaddr *)sock, &socklen) < 0) ^~~~~~~~ /usr/include/sys/socket.h:570:52: note: passing argument to parameter here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] if((fd = accept(autofd, (struct sockaddr *) &temp, &socklen)) == -1) ^~~~~~~~ /usr/include/sys/socket.h:566:47: note: passing argument to parameter here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] if(getsockname(autofd, (struct sockaddr *)&autosock, &socklen) < 0) ^~~~~~~~ /usr/include/sys/socket.h:570:52: note: passing argument to parameter here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] if(getsockname(fd, (struct sockaddr *)&user->sock, &socklen) < 0) ^~~~~~~~ /usr/include/sys/socket.h:570:52: note: passing argument to parameter here 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 C2x [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] if(getsockname(fd, (struct sockaddr *)&sock, &socklen) < 0) ^~~~~~~~ /usr/include/sys/socket.h:570:52: note: passing argument to parameter here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern char *ttyname(); ^ /usr/include/unistd.h:371:7: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 user.c(user.o:(new_user)): warning: sprintf() is often misused, please use snprintf() exec.c(exec.o:(execute)): warning: strcpy() is almost always misused, please use strlcpy() rc.c(rc.o:(resolve_alias)): warning: strcat() is almost always misused, please use strlcat() >>> Running package in net/ytalk at 1713951446.60 ===> 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 1713951449.36 ===> net/ytalk ===> Cleaning for ytalk-3.1.1p4 >>> Ended at 1713951449.76 max_stuck=1.71/depends=2.51/show-prepare-results=1.53/build=13.63/package=2.77/clean=0.43