=> "/opt/pkg/bin/bmake" ["-C", "/Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/net/llnlxdir", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for llnlxdir-2.1.2nb4 --- account.o --- --- aconnect.o --- --- account.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c account.c --- aconnect.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c aconnect.c In file included from aconnect.c:61: ./str.h:61:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 61 | char *strtok(); | ^ ./str.h:62:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 62 | char *strchr(); | ^ ./str.h:63:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 63 | char *strrchr(); | ^ ./str.h:64:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 64 | char *strstr(); | ^ aconnect.c:160:7: warning: call to undeclared function 'start_op'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 160 | if (!start_op(False)) | ^ aconnect.c:164:2: warning: call to undeclared function 'raise_okflag'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 164 | raise_okflag(); | ^ aconnect.c:166:24: warning: passing arguments to 'create_aconnect_dialog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 166 | create_aconnect_dialog(dirwin); | ^ aconnect.c:171:2: warning: call to undeclared function 'traverse_to_widget'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 171 | traverse_to_widget(aconnect.w_hostName); | ^ aconnect.c:152:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 152 | cb_connect_to_anonymous(widget, client_data, call_data) | ^ aconnect.c:212:2: warning: call to undeclared function 'add_wm_delete_window_cb'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 212 | add_wm_delete_window_cb(aconnect.w_dialog, cb_aconnect_cancel, NULL, False); | ^ aconnect.c:179:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 179 | create_aconnect_dialog(dirwin) | ^ aconnect.c:140:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 140 | void create_aconnect_dialog(); | ^ aconnect.c:363:5: warning: call to undeclared function 'retrieve_hostuser_history'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 363 | retrieve_hostuser_history(&list, sort_caches); | ^ aconnect.c:366:5: warning: call to undeclared function 'reset_list'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 366 | reset_list(aconnect.w_hostList); | ^ aconnect.c:368:7: warning: call to undeclared function 'parse_hostuser'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 368 | if (parse_hostuser(list->entries[i], &host_part, &user_part) == 0) { | ^ aconnect.c:379:5: warning: call to undeclared function 'release_array_list'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 379 | release_array_list(list); | ^ --- account.o --- account.c:102:5: warning: call to undeclared function 'add_wm_delete_window_cb'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] --- aconnect.o --- aconnect.c:437:24: warning: passing arguments to 'cstring_to_text' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- account.o --- 102 | add_wm_delete_window_cb(w_accountDialog, cb_account_cancel, NULL, False); | ^ account.c:78:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- aconnect.o --- 437 | text = cstring_to_text(selected_items[0]); | ^ aconnect.c:438:6: warning: call to undeclared function 'parse_hostuser'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] --- account.o --- 78 | create_account_dialog(dirwin) | ^ --- aconnect.o --- 438 | if (parse_hostuser(text, &host_part, &user_part) < 0) | ^ aconnect.c:439:3: warning: call to undeclared function 'fatal_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 439 | fatal_error("Trouble in cb_aconnect_single_selection()"); | ^ aconnect.c:408:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 408 | cb_aconnect_single_selection(widget, client_data, call_data) | ^ aconnect.c:134:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 134 | void cb_aconnect_single_selection(); | ^ aconnect.c:458:5: warning: call to undeclared function 'help_dialog'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] --- account.o --- account.c:111:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- aconnect.o --- 458 | help_dialog(widget, True, "Connect to Anonymous", aconnect_help); | ^ --- account.o --- 111 | cb_account_ok(widget, client_data, call_data) --- aconnect.o --- aconnect.c:453:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- account.o --- | ^ account.c:69:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] --- aconnect.o --- 453 | cb_aconnect_help(widget, client_data, call_data) | ^ --- account.o --- 69 | void cb_account_ok(); --- aconnect.o --- aconnect.c:137:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] --- account.o --- | ^ --- aconnect.o --- 137 | void cb_aconnect_help(); | ^ --- account.o --- account.c:125:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 125 | cb_account_cancel(widget, client_data, call_data) | ^ account.c:70:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 70 | void cb_account_cancel(); --- aconnect.o --- aconnect.c:479:3: warning: call to undeclared function 'fatal_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] --- account.o --- | ^ --- aconnect.o --- 479 | fatal_error("Programming bug in cb_aconnect_def_action()"); | ^ aconnect.c:483:22: warning: passing arguments to 'cb_aconnect_connect' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- account.o --- account.c:158:5: warning: call to undeclared function 'use_normal_cursor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 158 | use_normal_cursor(); | ^ --- aconnect.o --- 483 | cb_aconnect_connect(widget, client_data, call_data); | ^ --- account.o --- account.c:159:5: warning: call to undeclared function 'traverse_to_widget'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 159 | traverse_to_widget(w_account); | ^ --- aconnect.o --- aconnect.c:470:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- account.o --- account.c:162:5: warning: call to undeclared function 'restore_prev_cursor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] --- aconnect.o --- 470 | cb_aconnect_def_action(widget, client_data, call_data) | ^ --- account.o --- 162 | restore_prev_cursor(); | ^ --- aconnect.o --- aconnect.c:138:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] --- account.o --- account.c:143:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- aconnect.o --- 138 | void cb_aconnect_def_action(); | ^ --- account.o --- 143 | get_account(dirwin) | ^ --- aconnect.o --- aconnect.c:526:9: warning: call to undeclared function 'warn'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 526 | warn("Unable to log onto FTP server. No user name.", | ^ aconnect.c:530:3: warning: call to undeclared function 'traverse_to_widget'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 530 | traverse_to_widget(aconnect.w_userName); | ^ aconnect.c:535:13: warning: call to undeclared function 'parse_hostname'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 535 | switch (parse_hostname(hostname, &host_part, &port_part)) { | ^ aconnect.c:540:9: warning: call to undeclared function 'warn'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 540 | warn("Unable to log onto FTP server. No host name.", | ^ aconnect.c:544:3: warning: call to undeclared function 'traverse_to_widget'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 544 | traverse_to_widget(aconnect.w_hostName); | ^ aconnect.c:565:2: warning: call to undeclared function 'add_to_history'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 565 | add_to_history(USER, hostname, username); | ^ aconnect.c:573:4: warning: call to undeclared library function 'sprintf' with type 'int (char *restrict, const char *restrict, ...)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 573 | sprintf(msg, "%s is already connected to %s.", username, hostname); | ^ aconnect.c:573:4: note: include the header or explicitly provide a declaration for 'sprintf' aconnect.c:574:4: warning: call to undeclared function 'info_dialog'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 574 | info_dialog(msg, dirwin->w_shell); | ^ aconnect.c:580:4: warning: call to undeclared function 'end_op'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 580 | end_op(); | ^ aconnect.c:587:14: warning: call to undeclared function 'get_host'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 587 | if ((host = get_host()) == -1) { | ^ aconnect.c:591:3: warning: call to undeclared function 'warn'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 591 | warn("Maximum number of hosts exceeded.", dirwin->w_shell); | ^ aconnect.c:592:3: warning: call to undeclared function 'end_op'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 592 | end_op(); | ^ aconnect.c:597:2: warning: call to undeclared function 'show_stop_button'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 597 | show_stop_button(dirwin); | ^ aconnect.c:605:42: warning: passing arguments to 'encrypt_password' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 605 | hinfo[host].password = encrypt_password(password); | ^ aconnect.c:613:14: warning: call to undeclared function 'do_connect'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 613 | retval = do_connect(host, dirwin); | ^ aconnect.c:618:3: warning: call to undeclared function 'record_abort'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 618 | record_abort("Anonymously Connect to Remote Host"); | ^ aconnect.c:620:3: warning: call to undeclared function 'release_host'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 620 | release_host(host); | ^ aconnect.c:621:3: warning: call to undeclared function 'hide_stop_button'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 621 | hide_stop_button(); | ^ aconnect.c:622:3: warning: call to undeclared function 'end_op'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 622 | end_op(); | ^ aconnect.c:629:16: warning: call to undeclared function 'starting_dir'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 629 | if ((retval = starting_dir(host, &wd)) == -6) { | ^ aconnect.c:630:3: warning: call to undeclared function 'record_abort'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 630 | record_abort("Anonymously Connect to Remote Host"); | ^ aconnect.c:631:3: warning: call to undeclared function 'release_host'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 631 | release_host(host); | ^ aconnect.c:632:3: warning: call to undeclared function 'hide_stop_button'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 632 | hide_stop_button(); | ^ aconnect.c:633:3: warning: call to undeclared function 'end_op'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 633 | end_op(); | ^ aconnect.c:637:11: warning: call to undeclared function 'display_dir'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 637 | retval = display_dir(host, dirwin, wd, False, False, dirwin->cache_mode, | ^ aconnect.c:642:3: warning: call to undeclared function 'record_abort'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 642 | record_abort("Anonymously Connect to Remote Host"); | ^ aconnect.c:643:3: warning: call to undeclared function 'release_host'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 643 | release_host(host); | ^ aconnect.c:645:3: warning: call to undeclared function 'hide_stop_button'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 645 | hide_stop_button(); | ^ aconnect.c:646:3: warning: call to undeclared function 'end_op'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 646 | end_op(); | ^ aconnect.c:650:3: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 650 | close(hinfo[host].ctrl_fd); | ^ aconnect.c:657:2: warning: call to undeclared function 'record_and_alert'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 657 | record_and_alert(msg, dirwin->w_shell); | ^ aconnect.c:659:2: warning: call to undeclared function 'release_host'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 659 | release_host(host); | ^ aconnect.c:660:2: warning: call to undeclared function 'hide_stop_button'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 660 | hide_stop_button(); | ^ aconnect.c:661:2: warning: call to undeclared function 'end_op'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 661 | end_op(); | ^ aconnect.c:493:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 493 | cb_aconnect_connect(widget, client_data, call_data) | ^ aconnect.c:135:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 135 | void cb_aconnect_connect(); | ^ aconnect.c:680:2: warning: call to undeclared function 'end_op'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 680 | end_op(); | ^ aconnect.c:670:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 670 | cb_aconnect_cancel(widget, client_data, call_data) | ^ aconnect.c:136:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 136 | void cb_aconnect_cancel(); | ^ --- account.o --- 10 warnings generated. --- arconnect.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c arconnect.c --- aconnect.o --- 67 warnings generated. --- buttons.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c buttons.c --- arconnect.o --- In file included from arconnect.c:61: ./str.h:61:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 61 | char *strtok(); | ^ ./str.h:62:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 62 | char *strchr(); | ^ ./str.h:63:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 63 | char *strrchr(); | ^ ./str.h:64:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 64 | char *strstr(); | ^ arconnect.c:85:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 85 | do_connect(host, dirwin) | ^ | int arconnect.c:107:2: warning: call to undeclared function 'use_busy_cursor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 107 | use_busy_cursor(); | ^ arconnect.c:122:4: warning: call to undeclared function 'cvt_to_lower'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 122 | cvt_to_lower(temp); | ^ arconnect.c:145:12: warning: call to undeclared function 'ftp_open'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 145 | retval = ftp_open(host, hinfo[host].proxy_host, hinfo[host].proxy_port); | ^ arconnect.c:149:7: warning: call to undeclared function 'parse_hostname'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 149 | if (parse_hostname(hinfo[host].hostname, &host_part, &port_part)) | ^ arconnect.c:150:4: warning: call to undeclared function 'fatal_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 150 | fatal_error("Bug in do_connect()"); | ^ arconnect.c:151:12: warning: call to undeclared function 'ftp_open'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 151 | retval = ftp_open(host, host_part, port_part); | ^ arconnect.c:155:3: warning: call to undeclared function 'restore_prev_cursor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 155 | restore_prev_cursor(); | ^ arconnect.c:158:3: warning: call to undeclared function 'restore_prev_cursor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 158 | restore_prev_cursor(); | ^ arconnect.c:166:3: warning: call to undeclared library function 'sprintf' with type 'int (char *restrict, const char *restrict, ...)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 166 | sprintf(uname, "%s@%s", hinfo[host].username, hinfo[host].hostname); | ^ arconnect.c:166:3: note: include the header or explicitly provide a declaration for 'sprintf' arconnect.c:169:11: warning: call to undeclared function 'ftp_user'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 169 | retval = ftp_user(host, uname); | ^ arconnect.c:189:3: warning: call to undeclared function 'restore_prev_cursor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 189 | restore_prev_cursor(); | ^ arconnect.c:190:3: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 190 | close(hinfo[host].ctrl_fd); | ^ arconnect.c:218:30: warning: passing arguments to 'decrypt_password' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 218 | passwrd = decrypt_password(hinfo[host].password); | ^ arconnect.c:220:4: warning: call to undeclared function 'hide_stop_button'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 220 | hide_stop_button(); | ^ arconnect.c:221:26: warning: passing arguments to 'get_password' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 221 | passwrd = get_password(dirwin); | ^ arconnect.c:222:4: warning: call to undeclared function 'show_stop_button'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 222 | show_stop_button(dirwin); | ^ arconnect.c:224:5: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 224 | close(hinfo[host].ctrl_fd); | ^ arconnect.c:225:5: warning: call to undeclared function 'restore_prev_cursor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 225 | restore_prev_cursor(); | ^ arconnect.c:229:11: warning: call to undeclared function 'ftp_password'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 229 | switch (ftp_password(host, passwrd)) { | ^ arconnect.c:235:4: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 235 | close(hinfo[host].ctrl_fd); | ^ arconnect.c:236:4: warning: call to undeclared function 'restore_prev_cursor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 236 | restore_prev_cursor(); | ^ arconnect.c:255:3: warning: call to undeclared function 'hide_stop_button'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 255 | hide_stop_button(); | ^ arconnect.c:256:21: warning: passing arguments to 'get_account' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 256 | acct = get_account(dirwin); | ^ arconnect.c:257:3: warning: call to undeclared function 'show_stop_button'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 257 | show_stop_button(dirwin); | ^ arconnect.c:259:4: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 259 | close(hinfo[host].ctrl_fd); | ^ arconnect.c:260:4: warning: call to undeclared function 'restore_prev_cursor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 260 | restore_prev_cursor(); | ^ arconnect.c:268:16: warning: call to undeclared function 'ftp_account'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 268 | if ((retval = ftp_account(host, acct)) < 0) { | ^ arconnect.c:270:3: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 270 | close(hinfo[host].ctrl_fd); | ^ arconnect.c:271:3: warning: call to undeclared function 'restore_prev_cursor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 271 | restore_prev_cursor(); | ^ arconnect.c:283:6: warning: call to undeclared function 'ftp_system'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 283 | if (ftp_system(host, False) == -6) { | ^ arconnect.c:284:3: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 284 | close(hinfo[host].ctrl_fd); | ^ arconnect.c:285:3: warning: call to undeclared function 'restore_prev_cursor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 285 | restore_prev_cursor(); | ^ arconnect.c:290:3: warning: call to undeclared function 'write_log'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 290 | write_log("*** System is "); | ^ arconnect.c:291:24: warning: passing arguments to 'system_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 291 | write_log(system_name(hinfo[host].system)); | ^ arconnect.c:294:24: warning: passing arguments to 'server_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 294 | write_log(server_name(hinfo[host].server)); | ^ arconnect.c:300:14: warning: call to undeclared function 'set_hpss_wait'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 300 | (retval = set_hpss_wait(host)) < 0) { | ^ arconnect.c:301:3: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 301 | close(hinfo[host].ctrl_fd); | ^ arconnect.c:302:3: warning: call to undeclared function 'restore_prev_cursor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 302 | restore_prev_cursor(); | ^ arconnect.c:307:4: warning: call to undeclared function 'record_warning'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 307 | record_warning("Unable to set HPSS wait mode."); | ^ arconnect.c:313:16: warning: call to undeclared function 'remote_pwd'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 313 | if ((retval = remote_pwd(host, &homedir)) < 0) { | ^ arconnect.c:314:3: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 314 | close(hinfo[host].ctrl_fd); | ^ arconnect.c:315:3: warning: call to undeclared function 'restore_prev_cursor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 315 | restore_prev_cursor(); | ^ arconnect.c:320:4: warning: call to undeclared function 'record_warning'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 320 | record_warning("Unable to get home directory."); | ^ arconnect.c:330:42: warning: passing arguments to 'encrypt_password' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 330 | hinfo[host].password = encrypt_password(passwrd); | ^ arconnect.c:337:2: warning: call to undeclared function 'restore_prev_cursor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 337 | restore_prev_cursor(); | ^ arconnect.c:85:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | do_connect(host, dirwin) | ^ arconnect.c:355:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 355 | parse_hostname(hostname, host_part, port_part) | ^ | int arconnect.c:355:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] arconnect.c:409:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 409 | parse_hostuser(hostuser, host_part, user_part) | ^ | int --- buttons.o --- buttons.c:140:21: warning: call to undeclared function 'button_index'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 140 | int tabular_indx = button_index("tabularButton"); | ^ --- arconnect.o --- arconnect.c:409:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- buttons.o --- buttons.c:147:14: warning: passing arguments to 'draw_button' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 147 | draw_button(dirwin->w_tabularButton, | ^ buttons.c:150:14: warning: passing arguments to 'draw_button' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 150 | draw_button(dirwin->w_tabularButton, | ^ buttons.c:153:14: warning: passing arguments to 'draw_button' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 153 | draw_button(dirwin->w_iconicButton, | ^ buttons.c:156:14: warning: passing arguments to 'draw_button' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 156 | draw_button(dirwin->w_iconicButton, | ^ buttons.c:159:14: warning: passing arguments to 'draw_button' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 159 | draw_button(dirwin->w_treeButton, | ^ buttons.c:162:14: warning: passing arguments to 'draw_button' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 162 | draw_button(dirwin->w_treeButton, | ^ buttons.c:165:14: warning: passing arguments to 'draw_button' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 165 | draw_button(dirwin->w_fullInfoButton, | ^ buttons.c:168:14: warning: passing arguments to 'draw_button' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 168 | draw_button(dirwin->w_fullInfoButton, | ^ buttons.c:176:15: warning: passing arguments to 'draw_button' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 176 | draw_button(dirwin->w_tabularButton, | ^ buttons.c:179:15: warning: passing arguments to 'draw_button' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 179 | draw_button(dirwin->w_tabularButton, | ^ buttons.c:184:15: warning: passing arguments to 'draw_button' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 184 | draw_button(dirwin->w_iconicButton, | ^ buttons.c:187:15: warning: passing arguments to 'draw_button' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 187 | draw_button(dirwin->w_iconicButton, | ^ buttons.c:192:15: warning: passing arguments to 'draw_button' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 192 | draw_button(dirwin->w_treeButton, | ^ buttons.c:195:15: warning: passing arguments to 'draw_button' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 195 | draw_button(dirwin->w_treeButton, | ^ buttons.c:200:15: warning: passing arguments to 'draw_button' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 200 | draw_button(dirwin->w_fullInfoButton, | ^ buttons.c:203:15: warning: passing arguments to 'draw_button' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 203 | draw_button(dirwin->w_fullInfoButton, | ^ buttons.c:137:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 137 | update_layout_mode_buttons(dirwin) | ^ buttons.c:215:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 215 | draw_button(widget, pixmap) | ^ buttons.c:79:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 79 | void draw_button(); | ^ buttons.c:263:3: warning: call to undeclared function 'fatal_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 263 | fatal_error("Programming bug in create_button()"); | ^ buttons.c:280:3: warning: call to undeclared function 'create_button_pixmaps'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 280 | create_button_pixmaps( | ^ buttons.c:301:16: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] 301 | XmNuserData, (XtPointer)indx, | ^~~~~~~~~~~~~~~ buttons.c:248:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 248 | create_button(name, dirwin, w_parent) | ^ buttons.c:313:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 313 | cb_layout_button_expose(widget, client_data, call_data) | ^ buttons.c:73:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 73 | void cb_layout_button_expose(); | ^ buttons.c:342:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 342 | button_index(name) | ^ | int buttons.c:353:3: warning: call to undeclared function 'fatal_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 353 | fatal_error("Programming bug in button_index()"); | ^ buttons.c:342:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 342 | button_index(name) | ^ buttons.c:363:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 363 | cb_button_arm(widget, client_data, call_data) | ^ buttons.c:78:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 78 | void cb_button_arm(); | ^ buttons.c:381:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 381 | cb_normal_button_expose(widget, client_data, call_data) | ^ buttons.c:74:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 74 | void cb_normal_button_expose(); | ^ buttons.c:402:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 402 | cb_tunneling_button_expose(widget, client_data, call_data) | ^ buttons.c:75:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 75 | void cb_tunneling_button_expose(); | ^ buttons.c:431:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 431 | cb_cache_button_expose(widget, client_data, call_data) | ^ buttons.c:77:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 77 | void cb_cache_button_expose(); | ^ buttons.c:460:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 460 | cb_dotfiles_button_expose(widget, client_data, call_data) | ^ buttons.c:76:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 76 | void cb_dotfiles_button_expose(); | ^ --- arconnect.o --- 55 warnings generated. --- buttons.o --- 39 warnings generated. --- cache.o --- --- cmds.o --- --- cache.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c cache.c --- cmds.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c cmds.c --- cache.o --- cache.c:115:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | insert_at_cache_head(ptr) | ^ cache.c:134:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 134 | make_room_in_cache(len) | ^ | int cache.c:146:19: warning: passing arguments to 'free_cache_entry' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 146 | free_cache_entry(tail); | ^ cache.c:151:3: warning: call to undeclared function 'fatal_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 151 | fatal_error("Bug in make_room_in_cache()"); | ^ cache.c:134:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 134 | make_room_in_cache(len) | ^ cache.c:171:23: warning: passing arguments to 'report_cache_deletion' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 171 | report_cache_deletion(ptr); | ^ cache.c:163:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 163 | free_cache_entry(ptr) | ^ cache.c:102:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 102 | void free_cache_entry(); | ^ cache.c:206:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 206 | find_dirlist_in_cache(host, path, layout, dotfiles) | ^ cache.c:248:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 248 | find_path_in_cache(host, path, type) | ^ cache.c:284:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 284 | find_truepath_in_cache(host, path) | ^ cache.c:318:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 318 | add_dirlist_to_cache(host, path, layout, dotfiles, dlist) | ^ cache.c:399:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 399 | add_truepath_to_cache(host, path, true_path) | ^ cache.c:459:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 459 | fetch_dirlist_from_cache(host, path, layout, dotfiles, dlist) | ^ | int cache.c:459:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] cache.c:513:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 513 | fetch_truepath_from_cache(host, path, true_path) | ^ | int cache.c:513:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] cache.c:553:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 553 | report_cache_use(dirwin, used_cache) | ^ cache.c:573:3: warning: call to undeclared library function 'sprintf' with type 'int (char *restrict, const char *restrict, ...)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 573 | sprintf(msg, "*** Entry added to cache. Cache len = %ld\n", cache_len); | ^ cache.c:573:3: note: include the header or explicitly provide a declaration for 'sprintf' cache.c:574:3: warning: call to undeclared function 'write_log'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 574 | write_log(msg); | ^ cache.c:593:4: warning: call to undeclared function 'write_log'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 593 | write_log(msg); | ^ cache.c:614:4: warning: call to undeclared function 'write_log'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 614 | write_log(msg); | ^ cache.c:583:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 583 | report_cache_deletion(ptr) | ^ cache.c:104:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 104 | void report_cache_deletion(); | ^ cache.c:630:3: warning: call to undeclared function 'write_log'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 630 | write_log("*** True path cache hit\n"); | ^ cache.c:641:3: warning: call to undeclared function 'write_log'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 641 | write_log("*** Directory list cache hit\n"); | ^ cache.c:664:3: warning: call to undeclared function 'fatal_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 664 | fatal_error("Bug in check_max_cache_len()"); | ^ cache.c:674:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 674 | remove_dirlist_from_cache(host, path, layout, dotfiles) | ^ cache.c:700:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 700 | flush_cache_directory(host, path) | ^ --- cmds.o --- In file included from cmds.c:68: ./str.h:61:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 61 | char *strtok(); | ^ ./str.h:62:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 62 | char *strchr(); | ^ ./str.h:63:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 63 | char *strrchr(); | ^ ./str.h:64:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 64 | char *strstr(); | ^ cmds.c:87:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 87 | ftp_open(host, hostname, port) | ^ | int cmds.c:103:9: warning: call to undeclared function 'inet_addr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 103 | temp = inet_addr(hostname); | ^ cmds.c:118:3: warning: call to undeclared function 'write_log'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 118 | write_log(msg); | ^ cmds.c:123:3: warning: call to undeclared function 'report_perror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 123 | report_perror("Opening socket stream"); | ^ cmds.c:130:3: warning: call to undeclared function 'report_perror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 130 | report_perror("Making socket stream nonblocking"); | ^ cmds.c:131:3: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 131 | close(ctrl_fd); | ^ cmds.c:138:3: warning: call to undeclared function 'write_log'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 138 | write_log("*** Will try to connect to remote\n"); | ^ cmds.c:139:6: warning: call to undeclared function 'iconnect'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 139 | if (iconnect(ctrl_fd, (struct sockaddr *)&remote,(int)sizeof(remote)) < 0) { | ^ cmds.c:141:4: warning: call to undeclared function 'report_perror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 141 | report_perror("Connecting socket stream"); | ^ cmds.c:142:4: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 142 | close(ctrl_fd); | ^ cmds.c:145:11: warning: call to undeclared function 'select_on_write'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 145 | switch (select_on_write(ctrl_fd, maxt)) { | ^ cmds.c:147:4: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 147 | close(ctrl_fd); | ^ cmds.c:162:10: warning: call to undeclared function 'get_ftp_reply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 162 | scode = get_ftp_reply(host, reply, MAXFTPREPLY, &code, maxt); | ^ cmds.c:165:3: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 165 | close(hinfo[host].ctrl_fd); | ^ cmds.c:168:3: warning: call to undeclared function 'determine_server_from_open'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 168 | determine_server_from_open(host, reply); | ^ cmds.c:171:3: warning: call to undeclared function 'report_client_timeout'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 171 | report_client_timeout(host); | ^ cmds.c:175:4: warning: call to undeclared function 'report_ftp_reply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 175 | report_ftp_reply(host, reply); | ^ cmds.c:87:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 87 | ftp_open(host, hostname, port) | ^ cmds.c:188:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 188 | ftp_user(host, username) | ^ | int cmds.c:199:16: warning: call to undeclared function 'send_ftp_cmd'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 199 | if ((retval = send_ftp_cmd(host, cmd)) == -2) { | ^ cmds.c:200:3: warning: call to undeclared function 'report_client_timeout'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 200 | report_client_timeout(host); | ^ cmds.c:206:11: warning: call to undeclared function 'get_ftp_reply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 206 | retval = get_ftp_reply(host, reply, MAXFTPREPLY, &code, maxt); | ^ cmds.c:217:3: warning: call to undeclared function 'report_client_timeout'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 217 | report_client_timeout(host); | ^ cmds.c:220:3: warning: call to undeclared function 'abort_ftp_cmd'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 220 | abort_ftp_cmd(host); | ^ cmds.c:224:4: warning: call to undeclared function 'report_ftp_reply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 224 | report_ftp_reply(host, reply); | ^ cmds.c:188:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 188 | ftp_user(host, username) | ^ cmds.c:236:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 236 | ftp_password(host, password) | ^ | int cmds.c:248:11: warning: call to undeclared function 'send_ftp_cmd'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 248 | retval = send_ftp_cmd(host, cmd); | ^ cmds.c:251:3: warning: call to undeclared function 'report_client_timeout'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 251 | report_client_timeout(host); | ^ cmds.c:257:10: warning: call to undeclared function 'get_ftp_reply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 257 | scode = get_ftp_reply(host, reply, MAXFTPREPLY, &code, maxt); | ^ cmds.c:266:3: warning: call to undeclared function 'abort_ftp_cmd'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 266 | abort_ftp_cmd(host); | ^ cmds.c:269:3: warning: call to undeclared function 'report_client_timeout'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 269 | report_client_timeout(host); | ^ cmds.c:272:4: warning: call to undeclared function 'report_ftp_reply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 272 | report_ftp_reply(host, reply); | ^ cmds.c:236:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 236 | ftp_password(host, password) | ^ cmds.c:283:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 283 | ftp_account(host, account) | ^ | int cmds.c:295:16: warning: call to undeclared function 'send_ftp_cmd'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 295 | if ((retval = send_ftp_cmd(host, cmd)) == -2) { | ^ cmds.c:296:3: warning: call to undeclared function 'report_client_timeout'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 296 | report_client_timeout(host); | ^ cmds.c:302:10: warning: call to undeclared function 'get_ftp_reply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 302 | scode = get_ftp_reply(host, reply, MAXFTPREPLY, &code, maxt); | ^ cmds.c:309:3: warning: call to undeclared function 'abort_ftp_cmd'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 309 | abort_ftp_cmd(host); | ^ cmds.c:312:3: warning: call to undeclared function 'report_client_timeout'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 312 | report_client_timeout(host); | ^ cmds.c:315:4: warning: call to undeclared function 'report_ftp_reply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 315 | report_ftp_reply(host, reply); | ^ cmds.c:283:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 283 | ftp_account(host, account) | ^ cmds.c:330:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 330 | ftp_passive(host, port) | ^ | int cmds.c:342:16: warning: call to undeclared function 'send_ftp_cmd'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 342 | if ((retval = send_ftp_cmd(host, "PASV")) == -2) { | ^ cmds.c:343:3: warning: call to undeclared function 'report_client_timeout'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 343 | report_client_timeout(host); | ^ cmds.c:349:14: warning: call to undeclared function 'get_ftp_reply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 349 | retval = get_ftp_reply(host, reply, MAXFTPREPLY, &code, maxt); | ^ cmds.c:354:3: warning: call to undeclared function 'report_client_timeout'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 354 | report_client_timeout(host); | ^ cmds.c:359:3: warning: call to undeclared function 'abort_ftp_cmd'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 359 | abort_ftp_cmd(host); | ^ cmds.c:330:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 330 | ftp_passive(host, port) | ^ cmds.c:386:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 386 | ftp_type(host, mode) | ^ | int cmds.c:405:16: warning: call to undeclared function 'send_ftp_cmd'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 405 | if ((retval = send_ftp_cmd(host, cmd)) == -2) { | ^ cmds.c:406:3: warning: call to undeclared function 'report_client_timeout'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 406 | report_client_timeout(host); | ^ cmds.c:412:10: warning: call to undeclared function 'get_ftp_reply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 412 | scode = get_ftp_reply(host, reply, MAXFTPREPLY, &code, maxt); | ^ cmds.c:419:3: warning: call to undeclared function 'abort_ftp_cmd'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 419 | abort_ftp_cmd(host); | ^ cmds.c:422:3: warning: call to undeclared function 'report_client_timeout'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 422 | report_client_timeout(host); | ^ cmds.c:425:4: warning: call to undeclared function 'report_ftp_reply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 425 | report_ftp_reply(host, reply); | ^ cmds.c:386:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 386 | ftp_type(host, mode) | ^ cmds.c:441:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 441 | ftp_port(host, hostport) | ^ | int cmds.c:453:16: warning: call to undeclared function 'send_ftp_cmd'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 453 | if ((retval = send_ftp_cmd(host, cmd)) == -2) { | ^ cmds.c:454:3: warning: call to undeclared function 'report_client_timeout'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 454 | report_client_timeout(host); | ^ cmds.c:460:10: warning: call to undeclared function 'get_ftp_reply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 460 | scode = get_ftp_reply(host, reply, MAXFTPREPLY, &code, maxt); | ^ cmds.c:467:3: warning: call to undeclared function 'abort_ftp_cmd'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 467 | abort_ftp_cmd(host); | ^ cmds.c:470:3: warning: call to undeclared function 'report_client_timeout'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 470 | report_client_timeout(host); | ^ cmds.c:473:4: warning: call to undeclared function 'report_ftp_reply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 473 | report_ftp_reply(host, reply); | ^ cmds.c:441:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 441 | ftp_port(host, hostport) | ^ cmds.c:489:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 489 | ftp_system(host, print_error_msg) | ^ | int cmds.c:499:16: warning: call to undeclared function 'send_ftp_cmd'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 499 | if ((retval = send_ftp_cmd(host, "SYST")) == -2) { | ^ cmds.c:500:3: warning: call to undeclared function 'report_client_timeout'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 500 | report_client_timeout(host); | ^ cmds.c:506:10: warning: call to undeclared function 'get_ftp_reply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 506 | scode = get_ftp_reply(host, reply, MAXFTPREPLY, &code, maxt); | ^ cmds.c:509:3: warning: call to undeclared function 'determine_server_from_syst'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 509 | determine_server_from_syst(host, reply); | ^ cmds.c:514:3: warning: call to undeclared function 'abort_ftp_cmd'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 514 | abort_ftp_cmd(host); | ^ cmds.c:517:3: warning: call to undeclared function 'report_client_timeout'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 517 | report_client_timeout(host); | ^ cmds.c:520:4: warning: call to undeclared function 'report_ftp_reply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 520 | report_ftp_reply(host, reply); | ^ cmds.c:489:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 489 | ftp_system(host, print_error_msg) | ^ cmds.c:532:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 532 | ftp_allocate(host, size) | ^ | int cmds.c:547:16: warning: call to undeclared function 'send_ftp_cmd'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 547 | if ((retval = send_ftp_cmd(host, cmd)) == -2) { | ^ cmds.c:548:3: warning: call to undeclared function 'report_client_timeout'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 548 | report_client_timeout(host); | ^ cmds.c:554:10: warning: call to undeclared function 'get_ftp_reply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 554 | scode = get_ftp_reply(host, reply, MAXFTPREPLY, &code, maxt); | ^ cmds.c:561:3: warning: call to undeclared function 'abort_ftp_cmd'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 561 | abort_ftp_cmd(host); | ^ cmds.c:564:3: warning: call to undeclared function 'report_client_timeout'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 564 | report_client_timeout(host); | ^ cmds.c:567:4: warning: call to undeclared function 'report_ftp_reply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 567 | report_ftp_reply(host, reply); | ^ cmds.c:532:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 532 | ftp_allocate(host, size) | ^ --- cache.o --- 29 warnings generated. --- color.o --- --- cmds.o --- 86 warnings generated. --- color.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c color.c --- controls.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c controls.c --- color.o --- color.c:64:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 64 | color_display() | ^ | int color.c:82:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 82 | fix_horizontal_text_sb_color(widget) | ^ color.c:101:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 101 | fix_vertical_text_sb_color(widget) | ^ 3 warnings generated. --- controls.o --- controls.c:75:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 75 | start_op(grey) | ^ | int controls.c:80:3: warning: call to undeclared function 'beep'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 80 | beep(); | ^ controls.c:86:18: warning: passing arguments to 'enable_controls' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 86 | enable_controls(False); | ^ controls.c:75:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 75 | start_op(grey) | ^ controls.c:107:3: warning: call to undeclared function 'fatal_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 107 | fatal_error("Bug in end_op()"); | ^ controls.c:111:18: warning: passing arguments to 'enable_controls' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 111 | enable_controls(True); | ^ controls.c:130:35: warning: call to undeclared function 'has_selected_entries'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 130 | if (dirwin->has_selection && has_selected_entries(dirwin)) { | ^ --- ctrlconn.o --- --- controls.o --- controls.c:176:3: warning: call to undeclared function 'update_layout_mode_buttons'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 176 | update_layout_mode_buttons(dirwin); | ^ controls.c:167:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 167 | enable_controls(enable) | ^ controls.c:63:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 63 | void enable_controls(); | ^ controls.c:186:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 186 | op_in_progress() | ^ | int --- ctrlconn.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c ctrlconn.c --- controls.o --- 11 warnings generated. --- cursor.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c cursor.c cursor.c:83:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 83 | change_cursor(shape) | ^ cursor.c:196:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 196 | add_dialog_to_list(w_dialog) | ^ cursor.c:253:2: warning: call to undeclared function 'fatal_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 253 | fatal_error("Bug in remove_dialog_from_list()"); | ^ cursor.c:233:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 233 | remove_dialog_from_list(w_dialog) | ^ 4 warnings generated. --- dataconn.o --- --- ctrlconn.o --- In file included from ctrlconn.c:65: ./str.h:61:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 61 | char *strtok(); | ^ ./str.h:62:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 62 | char *strchr(); | ^ ./str.h:63:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 63 | char *strrchr(); | ^ ./str.h:64:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 64 | char *strstr(); | ^ ctrlconn.c:93:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 93 | write_tcp(host, fd, buf, n, maxtime) | ^ | int ctrlconn.c:106:11: warning: call to undeclared function 'select_on_write'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 106 | switch (select_on_write(fd, maxtime)) { | ^ ctrlconn.c:108:18: warning: call to undeclared function 'iwrite'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 108 | if ((nbytes = iwrite(fd, &buf[total_nbytes], n-total_nbytes)) < 0) { | ^ ctrlconn.c:110:5: warning: call to undeclared function 'report_perror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 110 | report_perror("Writing connection"); | ^ ctrlconn.c:93:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 93 | write_tcp(host, fd, buf, n, maxtime) | ^ ctrlconn.c:139:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 139 | select_on_write(fd, maxtime) | ^ | int ctrlconn.c:157:2: warning: call to undeclared function 'add_timevals'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 157 | add_timevals(¤t_time, &delta, &finish_time); | ^ ctrlconn.c:163:7: warning: call to undeclared function 'stop'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 163 | if (stop()) | ^ ctrlconn.c:166:7: warning: call to undeclared function 'cmp_timevals'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 166 | if (cmp_timevals(¤t_time, &finish_time) > 0) | ^ ctrlconn.c:177:10: warning: call to undeclared function 'iselect'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 177 | nfds = iselect(max_fds(), &readfds, &writefds, &exceptfds, &timeout); | ^ ctrlconn.c:177:18: warning: call to undeclared function 'max_fds'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 177 | nfds = iselect(max_fds(), &readfds, &writefds, &exceptfds, &timeout); | ^ ctrlconn.c:139:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 139 | select_on_write(fd, maxtime) | ^ ctrlconn.c:197:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 197 | read_tcp(host, fd, buf, n, maxtime) | ^ | int ctrlconn.c:209:11: warning: call to undeclared function 'select_on_read'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 209 | switch (select_on_read(fd, maxtime)) { | ^ ctrlconn.c:211:21: warning: call to undeclared function 'iread'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 211 | if ((nbytes = iread(fd, &buf[total_nbytes], n-total_nbytes)) < 0) { | ^ ctrlconn.c:213:8: warning: call to undeclared function 'report_perror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 213 | report_perror("Reading connection"); | ^ ctrlconn.c:197:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- dataconn.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c dataconn.c --- ctrlconn.o --- 197 | read_tcp(host, fd, buf, n, maxtime) | ^ ctrlconn.c:242:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 242 | select_on_read(fd, maxtime) | ^ | int ctrlconn.c:259:2: warning: call to undeclared function 'add_timevals'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 259 | add_timevals(¤t_time, &delta, &finish_time); | ^ ctrlconn.c:265:7: warning: call to undeclared function 'stop'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 265 | if (stop()) | ^ ctrlconn.c:268:7: warning: call to undeclared function 'cmp_timevals'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 268 | if (cmp_timevals(¤t_time, &finish_time) > 0) | ^ ctrlconn.c:278:10: warning: call to undeclared function 'iselect'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 278 | nfds = iselect(max_fds(), &readfds, NULL, &exceptfds, &timeout); | ^ ctrlconn.c:278:18: warning: call to undeclared function 'max_fds'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 278 | nfds = iselect(max_fds(), &readfds, NULL, &exceptfds, &timeout); | ^ ctrlconn.c:242:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 242 | select_on_read(fd, maxtime) | ^ ctrlconn.c:302:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 302 | get_ftp_reply(host, reply, maxreply, code, maxtime) | ^ | int ctrlconn.c:324:20: warning: call to undeclared function 'get_ftp_line'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 324 | if ((replycode = get_ftp_line(host, fd, line, MAXFTPLINE, maxtime)) < 0) | ^ ctrlconn.c:343:3: warning: call to undeclared function 'report_ftp_reply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 343 | report_ftp_reply(host, reply); | ^ ctrlconn.c:349:4: warning: call to undeclared function 'write_log'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 349 | write_log("*** FTP server on remote host timed out.\n"); | ^ ctrlconn.c:353:3: warning: call to undeclared function 'write_log'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 353 | write_log("*** FTP server on remote host timed out.\n"); | ^ ctrlconn.c:302:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 302 | get_ftp_reply(host, reply, maxreply, code, maxtime) | ^ ctrlconn.c:381:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 381 | get_ftp_line(host, fd, line, maxline, maxtime) | ^ | int ctrlconn.c:412:14: warning: implicit conversion from 'int' to 'char' changes value from 255 to -1 [-Wconstant-conversion] 412 | buf[0] = IAC; | ~ ^~~ ctrlconn.c:73:14: note: expanded from macro 'IAC' 73 | #define IAC 255 | ^~~ ctrlconn.c:413:14: warning: implicit conversion from 'int' to 'char' changes value from 254 to -2 [-Wconstant-conversion] 413 | buf[1] = DONT; | ~ ^~~~ ctrlconn.c:72:14: note: expanded from macro 'DONT' 72 | #define DONT 254 | ^~~ ctrlconn.c:424:14: warning: implicit conversion from 'int' to 'char' changes value from 255 to -1 [-Wconstant-conversion] 424 | buf[0] = IAC; | ~ ^~~ ctrlconn.c:73:14: note: expanded from macro 'IAC' 73 | #define IAC 255 | ^~~ ctrlconn.c:425:14: warning: implicit conversion from 'int' to 'char' changes value from 252 to -4 [-Wconstant-conversion] 425 | buf[1] = WONT; | ~ ^~~~ ctrlconn.c:70:14: note: expanded from macro 'WONT' 70 | #define WONT 252 | ^~~ ctrlconn.c:381:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 381 | get_ftp_line(host, fd, line, maxline, maxtime) | ^ ctrlconn.c:454:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 454 | send_ftp_cmd(host, cmd) | ^ | int ctrlconn.c:464:3: warning: call to undeclared function 'report_ftp_cmd'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 464 | report_ftp_cmd(host,cmd); | ^ ctrlconn.c:454:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 454 | send_ftp_cmd(host, cmd) | ^ ctrlconn.c:499:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 499 | urgent_abort(host) | ^ | int ctrlconn.c:508:3: warning: call to undeclared function 'report_ftp_cmd'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 508 | report_ftp_cmd(host, "Urgent Abort"); | ^ ctrlconn.c:511:11: warning: implicit conversion from 'int' to 'char' changes value from 255 to -1 [-Wconstant-conversion] 511 | buf[0] = IAC; | ~ ^~~ ctrlconn.c:73:14: note: expanded from macro 'IAC' 73 | #define IAC 255 | ^~~ ctrlconn.c:512:11: warning: implicit conversion from 'int' to 'char' changes value from 244 to -12 [-Wconstant-conversion] 512 | buf[1] = IP; | ~ ^~ ctrlconn.c:68:14: note: expanded from macro 'IP' 68 | #define IP 244 | ^~~ ctrlconn.c:526:11: warning: implicit conversion from 'int' to 'char' changes value from 255 to -1 [-Wconstant-conversion] 526 | buf[0] = IAC; | ~ ^~~ ctrlconn.c:73:14: note: expanded from macro 'IAC' 73 | #define IAC 255 | ^~~ ctrlconn.c:527:6: warning: call to undeclared function 'isend'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 527 | if (isend(fd, buf, 1, MSG_OOB) != 1) | ^ ctrlconn.c:529:11: warning: implicit conversion from 'int' to 'char' changes value from 242 to -14 [-Wconstant-conversion] 529 | buf[0] = DM; | ~ ^~ ctrlconn.c:67:14: note: expanded from macro 'DM' 67 | #define DM 242 /* Telnet commands */ | ^~~ ctrlconn.c:499:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 499 | urgent_abort(host) | ^ ctrlconn.c:575:2: warning: call to undeclared function 'show_abort_dialog'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 575 | show_abort_dialog(); | ^ ctrlconn.c:597:2: warning: call to undeclared function 'hide_abort_dialog'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 597 | hide_abort_dialog(); | ^ ctrlconn.c:567:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 567 | abort_ftp_cmd(host) | ^ ctrlconn.c:608:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 608 | rest_stop(seconds) | ^ | int ctrlconn.c:624:2: warning: call to undeclared function 'add_timevals'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 624 | add_timevals(¤t_time, &delta, &finish_time); | ^ ctrlconn.c:630:7: warning: call to undeclared function 'stop'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 630 | if (stop()) | ^ ctrlconn.c:633:7: warning: call to undeclared function 'cmp_timevals'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 633 | if (cmp_timevals(¤t_time, &finish_time) > 0) | ^ ctrlconn.c:641:10: warning: call to undeclared function 'iselect'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 641 | nfds = iselect(max_fds(), &readfds, NULL, &exceptfds, &timeout); | ^ ctrlconn.c:641:18: warning: call to undeclared function 'max_fds'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 641 | nfds = iselect(max_fds(), &readfds, NULL, &exceptfds, &timeout); | ^ ctrlconn.c:608:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 608 | rest_stop(seconds) | ^ 61 warnings generated. --- delete.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c delete.c --- dataconn.o --- dataconn.c:74:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 74 | init_data_conn(host) | ^ | int dataconn.c:88:9: warning: call to undeclared function 'report_perror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 88 | report_perror("Opening stream socket"); | ^ dataconn.c:98:65: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] 98 | if (getsockname(hinfo[host].ctrl_fd, (struct sockaddr *)&data, &addrlen) | ^~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/socket.h:714:78: note: passing argument to parameter here 714 | int getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict) | ^ dataconn.c:101:3: warning: call to undeclared function 'report_perror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 101 | report_perror("Gettin socket name"); | ^ dataconn.c:102:3: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 102 | close(sock); | ^ dataconn.c:107:3: warning: call to undeclared function 'report_perror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 107 | report_perror("Binding stream socket"); | ^ dataconn.c:108:3: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 108 | close(sock); | ^ dataconn.c:114:3: warning: call to undeclared function 'report_perror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 114 | report_perror("Listen"); | ^ dataconn.c:115:3: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 115 | close(sock); | ^ dataconn.c:123:50: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] 123 | if (getsockname(sock, (struct sockaddr *)&data, &addrlen) < 0) { | ^~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/socket.h:714:78: note: passing argument to parameter here 714 | int getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict) | ^ dataconn.c:125:3: warning: call to undeclared function 'report_perror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 125 | report_perror("Getting socket name"); | ^ dataconn.c:126:3: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 126 | close(sock); | ^ dataconn.c:135:16: warning: call to undeclared function 'ftp_port'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 135 | if ((retval = ftp_port(host, buf)) < 0) { | ^ dataconn.c:136:3: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 136 | close(sock); | ^ dataconn.c:74:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 74 | init_data_conn(host) | ^ dataconn.c:149:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 149 | accept_data_conn(data_fd) | ^ | int dataconn.c:158:3: warning: call to undeclared function 'write_log'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 158 | write_log("*** Will try to accept connection\n"); | ^ dataconn.c:160:16: warning: call to undeclared function 'iaccept'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 160 | new_data_fd = iaccept(data_fd, (struct sockaddr *)&remote, &addrlen); | ^ dataconn.c:162:3: warning: call to undeclared function 'report_perror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 162 | report_perror("accept"); | ^ dataconn.c:163:3: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 163 | close(data_fd); | ^ dataconn.c:170:2: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 170 | close(data_fd); | ^ dataconn.c:149:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 149 | accept_data_conn(data_fd) | ^ dataconn.c:183:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 183 | passive_data_conn(host) | ^ | int dataconn.c:196:15: warning: call to undeclared function 'ftp_passive'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 196 | if((retval = ftp_passive(host, &hostport)) < 0) | ^ dataconn.c:206:27: warning: call to undeclared function 'inet_addr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 206 | remote.sin_addr.s_addr = inet_addr(host_addr); | ^ dataconn.c:212:3: warning: call to undeclared function 'write_log'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 212 | write_log(msg); | ^ dataconn.c:217:3: warning: call to undeclared function 'report_perror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 217 | report_perror("Opening socket stream"); | ^ dataconn.c:228:3: warning: call to undeclared function 'report_perror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 228 | report_perror("Making socket stream nonblocking"); | ^ dataconn.c:229:3: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 229 | close(sock); | ^ dataconn.c:236:3: warning: call to undeclared function 'write_log'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 236 | write_log("*** Will try to connect to remote data\n"); | ^ dataconn.c:237:6: warning: call to undeclared function 'iconnect'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 237 | if (iconnect(sock, (struct sockaddr *)&remote,(int)sizeof(remote)) < 0) { | ^ dataconn.c:239:4: warning: call to undeclared function 'report_perror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 239 | report_perror("Connecting socket stream"); | ^ dataconn.c:240:4: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 240 | close(sock); | ^ dataconn.c:243:11: warning: call to undeclared function 'select_on_write'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 243 | switch (select_on_write(sock, maxt)) { | ^ dataconn.c:245:4: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 245 | close(sock); | ^ dataconn.c:183:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 183 | passive_data_conn(host) | ^ 36 warnings generated. --- diag.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c diag.c --- delete.o --- In file included from delete.c:59: ./str.h:61:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 61 | char *strtok(); | ^ ./str.h:62:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 62 | char *strchr(); | ^ ./str.h:63:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 63 | char *strrchr(); | ^ ./str.h:64:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 64 | char *strstr(); | ^ delete.c:106:7: warning: call to undeclared function 'start_op'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 106 | if (!start_op(True)) | ^ delete.c:110:5: warning: call to undeclared function 'raise_okflag'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 110 | raise_okflag(); | ^ delete.c:114:8: warning: call to undeclared function 'verify_selection'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 114 | if (!verify_selection(dirwin, dirwin, | ^ delete.c:116:4: warning: call to undeclared function 'end_op'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 116 | end_op(); | ^ delete.c:122:2: warning: call to undeclared function 'show_stop_button'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 122 | show_stop_button(dirwin); | ^ delete.c:125:5: warning: call to undeclared function 'use_busy_cursor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 125 | use_busy_cursor(); | ^ delete.c:129:12: warning: call to undeclared function 'check_connection'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 129 | retval = check_connection(dirwin->host, dirwin); | ^ delete.c:131:4: warning: call to undeclared function 'restore_prev_cursor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 131 | restore_prev_cursor(); | ^ delete.c:134:5: warning: call to undeclared function 'record_abort'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 134 | record_abort("Delete Entries"); | ^ delete.c:137:5: warning: call to undeclared function 'record_and_alert'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 137 | record_and_alert("Unable to delete entries.", dirwin->w_shell); | ^ delete.c:139:4: warning: call to undeclared function 'hide_stop_button'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 139 | hide_stop_button(); | ^ delete.c:140:4: warning: call to undeclared function 'end_op'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 140 | end_op(); | ^ delete.c:150:13: warning: call to undeclared function 'postorder_selected_items'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 150 | postorder_selected_items(&dirwin->entries[i], &head, &tail); | ^ delete.c:161:2: warning: call to undeclared function 'show_mp_monitor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 161 | show_mp_monitor(dirwin, "Now Deleting:"); | ^ delete.c:94:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 94 | cb_delete(widget, client_data, call_data) | ^ delete.c:171:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 171 | cb_delete_entries() | ^ | int delete.c:195:6: warning: call to undeclared function 'stop'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 195 | if (stop()) | ^ delete.c:202:5: warning: call to undeclared function 'record_and_alert'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 202 | record_and_alert("At least one deletion failed.", | ^ delete.c:212:34: warning: passing arguments to 'path_to_links' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 212 | first_path_links = path_to_links(hinfo[dc.dirwin->host].system, | ^ delete.c:226:2: warning: call to undeclared function 'release_path_links'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 226 | release_path_links(first_path_links); | ^ delete.c:230:29: warning: passing arguments to 'links_to_path' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 230 | dc.rel_path = links_to_path(hinfo[dc.dirwin->host].system, rel_path_links, | ^ delete.c:235:28: warning: passing arguments to 'merge_paths' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 235 | dc.full_path = merge_paths(hinfo[dc.dirwin->host].system, | ^ delete.c:244:9: warning: call to undeclared function 'local_cd'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 244 | if (local_cd(dc.full_path, False) == 0) | ^ delete.c:247:13: warning: call to undeclared function 'remote_cd'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 247 | switch (remote_cd(dc.dirwin->host, dc.full_path, False)) { | ^ delete.c:257:6: warning: call to undeclared function 'beep'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 257 | beep(); | ^ delete.c:258:10: warning: call to undeclared function 'question_dialog'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 258 | if (question_dialog(del_question, dc.dirwin->w_shell)) | ^ delete.c:264:14: warning: call to undeclared function 'get_dirlist'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 264 | switch (get_dirlist(dc.dirwin->host, dc.full_path, TABULAR, | ^ delete.c:271:7: warning: call to undeclared function 'record_and_alert'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 271 | record_and_alert(del_error_msg, dc.dirwin->w_shell); | ^ delete.c:277:7: warning: call to undeclared function 'record_and_alert'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 277 | record_and_alert( | ^ delete.c:289:6: warning: call to undeclared function 'release_array_list'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 289 | release_array_list(list); | ^ delete.c:299:2: warning: call to undeclared function 'update_mp_monitor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 299 | update_mp_monitor(dc.rel_path); | ^ delete.c:301:12: warning: call to undeclared function 'local_delete'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 301 | retval = local_delete(dc.full_path); | ^ delete.c:303:3: warning: call to undeclared function 'flush_cache_directory'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 303 | flush_cache_directory(dc.dirwin->host, dc.full_path); | ^ delete.c:304:3: warning: call to undeclared function 'parse_path'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 304 | parse_path(hinfo[dc.dirwin->host].system, dc.full_path, &dir, NULL); | ^ delete.c:310:13: warning: call to undeclared function 'remote_rmdir'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 310 | retval = remote_rmdir(dc.dirwin->host, dc.full_path); | ^ delete.c:314:12: warning: call to undeclared function 'remote_cd'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 314 | switch (remote_cd(dc.dirwin->host, dc.full_path, False)) { | ^ delete.c:323:14: warning: call to undeclared function 'remote_delete'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 323 | retval = remote_delete(dc.dirwin->host, dc.full_path); | ^ delete.c:326:13: warning: call to undeclared function 'remote_delete'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 326 | retval = remote_delete(dc.dirwin->host, dc.full_path); | ^ delete.c:334:9: warning: call to undeclared library function 'sprintf' with type 'int (char *restrict, const char *restrict, ...)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 334 | sprintf(msg, "Unable to delete %s.", dc.rel_path); | ^ delete.c:334:9: note: include the header or explicitly provide a declaration for 'sprintf' delete.c:335:9: warning: call to undeclared function 'record_warning'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 335 | record_warning(msg); | ^ delete.c:341:10: warning: call to undeclared function 'write_log'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 341 | write_log(msg); | ^ delete.c:354:2: warning: call to undeclared function 'hide_mp_monitor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 354 | hide_mp_monitor(); | ^ delete.c:355:2: warning: call to undeclared function 'record_abort'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 355 | record_abort("Delete Entries"); | ^ delete.c:356:2: warning: call to undeclared function 'write_log'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 356 | write_log("*** Deletion(s) aborted."); | ^ delete.c:357:2: warning: call to undeclared function 'dirwin_out_of_date_alert'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 357 | dirwin_out_of_date_alert(dc.dirwin); | ^ delete.c:363:11: warning: call to undeclared function 'display_dir'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 363 | retval = display_dir(dc.dirwin->host, dc.dirwin, dc.dirwin->dirname, True, | ^ delete.c:372:3: warning: call to undeclared function 'restore_lost_connection'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 372 | restore_lost_connection(dc.dirwin->host, dc.dirwin); | ^ delete.c:375:3: warning: call to undeclared function 'record_and_alert'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 375 | record_and_alert(msg1, dc.dirwin->w_shell); | ^ delete.c:382:2: warning: call to undeclared function 'restore_lost_connection'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 382 | restore_lost_connection(dc.dirwin->host, dc.dirwin); | ^ delete.c:394:3: warning: call to undeclared function 'release_linked_list'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 394 | release_linked_list(&dc.head[i]); | ^ delete.c:397:2: warning: call to undeclared function 'clear_selected_entries'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 397 | clear_selected_entries(); | ^ delete.c:398:2: warning: call to undeclared function 'update_dir_controls'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 398 | update_dir_controls(); | ^ delete.c:400:3: warning: call to undeclared function 'beep'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 400 | beep(); | ^ delete.c:401:2: warning: call to undeclared function 'restore_prev_cursor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 401 | restore_prev_cursor(); | ^ delete.c:404:2: warning: call to undeclared function 'hide_stop_button'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 404 | hide_stop_button(); | ^ delete.c:405:2: warning: call to undeclared function 'end_op'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 405 | end_op(); | ^ 60 warnings generated. --- dialogs.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c dialogs.c --- diag.o --- In file included from diag.c:67: ./str.h:61:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 61 | char *strtok(); | ^ ./str.h:62:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 62 | char *strchr(); | ^ ./str.h:63:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 63 | char *strrchr(); | ^ ./str.h:64:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 64 | char *strstr(); | ^ diag.c:129:12: error: redeclaration of 'sys_nerr' with a different type: 'int' vs 'const int' 129 | extern int sys_nerr; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:468:20: note: previous declaration is here 468 | extern __const int sys_nerr; /* perror(3) external variables */ | ^ diag.c:132:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]' 132 | extern char *sys_errlist[]; | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdio.h:469:30: note: previous declaration is here 469 | extern __const char *__const sys_errlist[]; | ^ diag.c:162:2: warning: call to undeclared function 'attach_wm_icon'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 162 | attach_wm_icon(diag.w_shell); | ^ diag.c:169:2: warning: call to undeclared function 'add_wm_delete_window_cb'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 169 | add_wm_delete_window_cb(diag.w_shell, cb_diag_close, NULL, True); | ^ diag.c:454:2: warning: call to undeclared function 'add_dialog_to_list'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 454 | add_dialog_to_list(diag.w_shell); | ^ diag.c:462:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 462 | cb_diag_close(widget, client_data, call_data) | ^ diag.c:137:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 137 | void cb_diag_close(); | ^ diag.c:478:2: warning: call to undeclared function 'help_dialog'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 478 | help_dialog(widget, False, "Diagnostics", diagnostics_help); | ^ diag.c:473:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 473 | cb_diag_help(widget, client_data, call_data) | ^ diag.c:138:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 138 | void cb_diag_help(); | ^ diag.c:492:2: warning: call to undeclared function 'traverse_to_widget'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 492 | traverse_to_widget(diag.w_closeButton); | ^ diag.c:486:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 486 | cb_popup_diagnostics(widget, client_data, call_data) | ^ diag.c:501:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 501 | write_log(msg) | ^ diag.c:515:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 515 | cb_diag_clear_log(widget, client_data, call_data) | ^ diag.c:135:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 135 | void cb_diag_clear_log(); | ^ diag.c:544:13: warning: passing 'const char *const' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 544 | write_log(sys_errlist[saved_errno]); | ^~~~~~~~~~~~~~~~~~~~~~~~ diag.c:532:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 532 | report_perror(msg) | ^ diag.c:547:3: warning: 'sprintf' will always overflow; destination buffer has size 10, but format string expands to at least 11 [-Wformat-overflow] 547 | sprintf(buf, "errno = %d\n", saved_errno); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_stdio.h:50:3: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^ diag.c:557:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 557 | report_ftp_reply(host, reply) | ^ diag.c:573:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 573 | report_ftp_cmd(host, cmd) | ^ diag.c:612:35: warning: passing arguments to 'get_filename' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 612 | if (!(logfile_name = get_filename("Save Diagnostics Log", | ^ diag.c:619:3: warning: call to undeclared function 'record_and_alert'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 619 | record_and_alert(msg, diag.w_shell); | ^ diag.c:598:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 598 | cb_diag_save_log(widget, client_data, call_data) | ^ diag.c:136:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 136 | void cb_diag_save_log(); | ^ diag.c:651:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 651 | record_warning(msg) | ^ diag.c:668:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 668 | record_abort(operation) | ^ diag.c:684:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 684 | report_retry(operation) | ^ diag.c:713:31: warning: passing arguments to 'create_pixmap' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 713 | okflag_pixmap = create_pixmap(&okflag, (unsigned long)foreground, | ^ diag.c:715:34: warning: passing arguments to 'create_pixmap' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 715 | errorflag_pixmap = create_pixmap(&errorflag, (unsigned long)foreground, | ^ diag.c:785:3: warning: call to undeclared function 'fatal_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 785 | fatal_error("Bug in cb_change_diagnostics_level()"); | ^ diag.c:771:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 771 | cb_change_diagnostics_level(widget, client_data, call_data) | ^ diag.c:141:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 141 | void cb_change_diagnostics_level(); | ^ 34 warnings and 2 errors generated. *** [diag.o] Error code 1 bmake: stopped making "all" in /var/tmp/work/net/llnlxdir/work/llnlxdir2_1_2/sources --- dialogs.o --- dialogs.c:103:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 103 | question_dialog(question, w_parent) | ^ | int dialogs.c:110:27: warning: passing arguments to 'create_question_dialog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 110 | create_question_dialog(w_parent); | ^ dialogs.c:113:26: warning: passing arguments to 'text_to_cstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 113 | string = text_to_cstring(question); | ^ dialogs.c:103:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 103 | question_dialog(question, w_parent) | ^ dialogs.c:151:2: warning: call to undeclared function 'add_wm_delete_window_cb'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 151 | add_wm_delete_window_cb(w_question, cb_question_no, NULL, False); | ^ dialogs.c:136:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 136 | create_question_dialog(w_parent) | ^ dialogs.c:93:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 93 | void create_question_dialog(); | ^ dialogs.c:167:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 167 | cb_question_yes(widget, client_data, call_data) | ^ dialogs.c:82:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 82 | void cb_question_yes(); | ^ dialogs.c:180:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 180 | cb_question_no(widget, client_data, call_data) | ^ dialogs.c:83:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 83 | void cb_question_no(); | ^ dialogs.c:207:26: warning: passing arguments to 'create_message_dialog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 207 | create_message_dialog(create_fn, title, w_parent); | ^ dialogs.c:210:26: warning: passing arguments to 'text_to_cstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 210 | string = text_to_cstring(information); | ^ dialogs.c:198:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 198 | message_dialog(create_fn, title, information, w_parent) | ^ dialogs.c:245:26: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 245 | w_message = create_fn(w_parent, "information", args, i); | ^ dialogs.c:233:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 233 | create_message_dialog(create_fn, title, w_parent) | ^ dialogs.c:92:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 92 | void create_message_dialog(); | ^ dialogs.c:265:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 265 | cb_message_ok(widget, client_data, call_data) | ^ dialogs.c:84:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 84 | void cb_message_ok(); | ^ dialogs.c:292:28: warning: passing arguments to 'create_get_filename_dialog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 292 | create_get_filename_dialog(title, selection_label, w_parent); | ^ dialogs.c:284:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 284 | get_filename(title, selection_label, w_parent) | ^ dialogs.c:335:2: warning: call to undeclared function 'add_wm_delete_window_cb'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 335 | add_wm_delete_window_cb(w_getFilename, cb_get_filename_cancel, NULL, False); | ^ dialogs.c:316:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 316 | create_get_filename_dialog(title, selection_label, w_parent) | ^ dialogs.c:91:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 91 | void create_get_filename_dialog(); | ^ dialogs.c:372:28: warning: passing arguments to 'cstring_to_text' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 372 | filename = cstring_to_text(cbs->value); | ^ dialogs.c:363:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 363 | cb_get_filename_ok(widget, client_data, call_data) | ^ dialogs.c:87:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 87 | void cb_get_filename_ok(); | ^ dialogs.c:384:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 384 | cb_get_filename_cancel(widget, client_data, call_data) | ^ dialogs.c:86:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 86 | void cb_get_filename_cancel(); | ^ dialogs.c:415:26: warning: passing arguments to 'text_to_cstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 415 | string = text_to_cstring(msg); | ^ dialogs.c:438:2: warning: call to undeclared function 'add_dialog_to_list'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 438 | add_dialog_to_list(w_dialog); | ^ dialogs.c:439:2: warning: call to undeclared function 'force_update'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 439 | force_update(w_dialog); | ^ dialogs.c:407:9: warning: variable 'w_message' set but not used [-Wunused-but-set-variable] 407 | Widget w_message; | ^ dialogs.c:400:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 400 | show_in_progress_dialog(dirwin, title, msg) | ^ dialogs.c:455:2: warning: call to undeclared function 'remove_dialog_from_list'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 455 | remove_dialog_from_list(w_dialog); | ^ dialogs.c:451:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 451 | hide_in_progress_dialog(w_dialog) | ^ dialogs.c:473:2: warning: call to undeclared function 'beep'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 473 | beep(); | ^ dialogs.c:469:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 469 | warn(information, w_parent) | ^ dialogs.c:488:2: warning: call to undeclared function 'beep'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 488 | beep(); | ^ dialogs.c:484:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 484 | info_dialog(information, w_parent) | ^ dialogs.c:512:2: warning: call to undeclared function 'record_warning'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 512 | record_warning(msg); | ^ dialogs.c:515:24: warning: passing arguments to 'create_alert_dialog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 515 | create_alert_dialog(w_parent); | ^ dialogs.c:521:26: warning: passing arguments to 'text_to_cstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 521 | string = text_to_cstring(full_msg); | ^ dialogs.c:527:2: warning: call to undeclared function 'beep'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 527 | beep(); | ^ dialogs.c:535:3: warning: call to undeclared function 'cb_popup_diagnostics'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 535 | cb_popup_diagnostics((Widget)NULL, (XtPointer)NULL, (XtPointer)NULL); | ^ dialogs.c:502:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 502 | record_and_alert(msg, w_parent) | ^ dialogs.c:560:2: warning: call to undeclared function 'add_wm_delete_window_cb'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 560 | add_wm_delete_window_cb(w_alert, cb_alert_close, NULL, False); | ^ dialogs.c:545:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 545 | create_alert_dialog(w_parent) | ^ dialogs.c:90:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 90 | void create_alert_dialog(); | ^ dialogs.c:576:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 576 | cb_alert_close(widget, client_data, call_data) | ^ dialogs.c:88:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 88 | void cb_alert_close(); | ^ dialogs.c:590:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 590 | cb_alert_diagnostics(widget, client_data, call_data) | ^ dialogs.c:89:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 89 | void cb_alert_diagnostics(); | ^ 53 warnings generated. bmake: 1 error bmake: stopped making "all" in /var/tmp/work/net/llnlxdir/work/llnlxdir2_1_2/sources *** Error code 2 Stop. bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/net/llnlxdir *** Error code 1 Stop. bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/net/llnlxdir