=> "/opt/pkg/bin/bmake" ["-C", "/Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/net/llnlxftp", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for llnlxftp-2.1nb4 --- abort.o --- --- aconnect.o --- --- abort.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 abort.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 --- abort.o --- abort.c:70:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 70 | show_abort_dialog() | ^ | int abort.c:74:2: warning: call to undeclared function 'add_dialog_to_list'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 74 | add_dialog_to_list(w_abortDialog); | ^ abort.c:75:2: warning: call to undeclared function 'force_update'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 75 | force_update(w_abortDialog); | ^ abort.c:76:1: warning: non-void function does not return a value [-Wreturn-type] 76 | } | ^ abort.c:83:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 83 | hide_abort_dialog() | ^ | int abort.c:86:1: warning: non-void function does not return a value [-Wreturn-type] 86 | } | ^ 6 warnings generated. --- aconnect.o --- 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:148:16: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 148 | int host = (int)client_data; | ^~~~~~~~~~~~~~~~ aconnect.c:151:2: warning: call to undeclared function 'raise_okflag'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 151 | raise_okflag(); | ^ aconnect.c:155:3: warning: call to undeclared function 'disconnect'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 155 | disconnect(host); | ^ --- account.o --- --- aconnect.o --- aconnect.c:159:2: warning: call to undeclared function 'update_aconnect_dialog'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 159 | update_aconnect_dialog(host); | ^ aconnect.c:163:2: warning: call to undeclared function 'add_dialog_to_list'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 163 | add_dialog_to_list(aconnect.w_dialog); | ^ aconnect.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] 143 | cb_connect_to_anonymous(widget, client_data, call_data) | ^ aconnect.c:234:2: warning: call to undeclared function 'fix_list_color'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 234 | fix_list_color(aconnect.w_hostList); | ^ aconnect.c:332:2: warning: call to undeclared function 'set_bg_to_sb_trough_color'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 332 | set_bg_to_sb_trough_color(aconnect.w_hostName, | ^ aconnect.c:333:14: warning: passing arguments to 'vertical_sb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 333 | vertical_sb(XtParent(aconnect.w_hostList))); | ^ aconnect.c:335:14: warning: passing arguments to 'vertical_sb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 335 | vertical_sb(XtParent(aconnect.w_hostList))); | ^ aconnect.c:337:14: warning: passing arguments to 'vertical_sb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 337 | vertical_sb(XtParent(aconnect.w_hostList))); | ^ aconnect.c:346:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 346 | update_aconnect_dialog(host) | ^ | int aconnect.c:356:5: warning: call to undeclared function 'retrieve_hostuser_cache'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 356 | retrieve_hostuser_cache(&list, sort_caches); | ^ aconnect.c:359:5: warning: call to undeclared function 'reset_list'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 359 | reset_list(aconnect.w_hostList); | ^ aconnect.c:361:7: warning: call to undeclared function 'parse_hostuser'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 361 | if (parse_hostuser(list->entries[i], &host_part, &user_part) == 0) { | ^ aconnect.c:373:5: warning: call to undeclared function 'release_array_list'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 373 | release_array_list(list); | ^ aconnect.c:346:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 346 | update_aconnect_dialog(host) | ^ aconnect.c:386:1: warning: non-void function does not return a value [-Wreturn-type] 386 | } | ^ aconnect.c:423: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] 423 | text = cstring_to_text(selected_items[0]); | ^ aconnect.c:424:6: warning: call to undeclared function 'parse_hostuser'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 424 | if (parse_hostuser(text, &host_part, &user_part) < 0) | ^ aconnect.c:425:3: warning: call to undeclared function 'fatal_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 425 | fatal_error("Trouble in cb_aconnect_single_selection()"); | ^ aconnect.c:394:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 394 | cb_aconnect_single_selection(widget, client_data, call_data) | ^ aconnect.c:129: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] 129 | void cb_aconnect_single_selection(); | ^ aconnect.c:444:5: warning: call to undeclared function 'help_dialog'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 444 | help_dialog(aconnect.w_dialog, True, "Connect to Anonymous", aconnect_help); | ^ aconnect.c:439:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 439 | cb_aconnect_help(widget, client_data, call_data) | ^ aconnect.c:131: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] 131 | void cb_aconnect_help(); | ^ aconnect.c:465:3: warning: call to undeclared function 'fatal_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 465 | fatal_error("Programming bug in cb_aconnect_def_action()"); | ^ aconnect.c:469: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] 469 | cb_aconnect_connect(widget, client_data, call_data); | ^ aconnect.c:456:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 456 | cb_aconnect_def_action(widget, client_data, call_data) | ^ aconnect.c:132: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] 132 | void cb_aconnect_def_action(); | ^ aconnect.c:510:9: warning: call to undeclared function 'warning_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 510 | warning_error("Unable to log onto FTP server. No user name."); | ^ aconnect.c:516:13: warning: call to undeclared function 'parse_hostname'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 516 | switch (parse_hostname(hostname, &host_part, &port_part)) { | ^ aconnect.c:520:9: warning: call to undeclared function 'warning_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 520 | warning_error("Unable to log onto FTP server. No host name."); | ^ aconnect.c:533:9: warning: call to undeclared function 'add_to_cache'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 533 | add_to_cache(USER, hostname, username); | ^ --- 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 --- aconnect.c:538:12: warning: call to undeclared function 'do_connect'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 538 | retval = do_connect(host, hostname, username, NULL, NULL, | ^ aconnect.c:541:29: 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] 541 | passwrd = encrypt_password(password); | ^ aconnect.c:557:5: warning: call to undeclared function 'use_busy_cursor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 557 | use_busy_cursor(); | ^ aconnect.c:560:9: warning: call to undeclared function 'update_dir_displays'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 560 | if (update_dir_displays(host, False) < 0) { | ^ aconnect.c:561:9: warning: call to undeclared function 'restore_prev_cursor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 561 | restore_prev_cursor(); | ^ aconnect.c:562:9: warning: call to undeclared function 'lost_connection'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 562 | lost_connection(host); | ^ aconnect.c:565:5: warning: call to undeclared function 'update_xfer_controls'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 565 | update_xfer_controls(); | ^ aconnect.c:566:5: warning: call to undeclared function 'update_dirname_menu'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 566 | update_dirname_menu(host); | ^ aconnect.c:567:5: warning: call to undeclared function 'update_dirpath'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 567 | update_dirpath(host); | ^ aconnect.c:568:5: warning: call to undeclared function 'update_dir_cache'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 568 | update_dir_cache(host); | ^ aconnect.c:569:5: warning: call to undeclared function 'update_hostname'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 569 | update_hostname(host); | ^ aconnect.c:570:5: warning: call to undeclared function 'update_host_controls'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 570 | update_host_controls(host); | ^ aconnect.c:571:5: warning: call to undeclared function 'restore_prev_cursor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 571 | restore_prev_cursor(); | ^ aconnect.c:479:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 479 | cb_aconnect_connect(widget, client_data, call_data) | ^ aconnect.c:130: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] 130 | void cb_aconnect_connect(); | ^ 53 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 --- account.o --- account.c:106:5: warning: call to undeclared function 'add_wm_delete_window_cb'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 106 | add_wm_delete_window_cb(w_accountDialog, cb_account_cancel, NULL); | ^ account.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 | cb_account_ok(widget, client_data, call_data) | ^ 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] 69 | void cb_account_ok(); | ^ account.c:129:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 129 | 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(); | ^ account.c:166:5: warning: call to undeclared function 'add_dialog_to_list'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 166 | add_dialog_to_list(w_accountDialog); | ^ account.c:167:5: warning: call to undeclared function 'use_normal_cursor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 167 | use_normal_cursor(); | ^ account.c:172:5: warning: call to undeclared function 'restore_prev_cursor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 172 | restore_prev_cursor(); | ^ account.c:148:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 148 | get_account(w_pseudo_parent) | ^ account.c:196:5: warning: call to undeclared function 'center_dialog_over_dialog'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 196 | center_dialog_over_dialog(widget, w_pseudo_parent); | ^ account.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 | cb_map_account_dialog(widget, client_data, call_data) | ^ account.c:71: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] 71 | void cb_map_account_dialog(); | ^ 12 warnings generated. --- 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 --- 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:86:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 86 | do_connect(host, hostname, username, password, account, w_pseudo_parent) | ^ | int arconnect.c:105:2: warning: call to undeclared function 'use_busy_cursor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 105 | use_busy_cursor(); | ^ arconnect.c:112:6: warning: call to undeclared function 'parse_hostname'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 112 | if (parse_hostname(hostname, &host_part, &port_part)) | ^ arconnect.c:113:3: warning: call to undeclared function 'fatal_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 113 | fatal_error("Bug in do_connect()"); | ^ arconnect.c:114:11: warning: call to undeclared function 'ftp_open'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 114 | retval = ftp_open(host, host_part, port_part); | ^ arconnect.c:117: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] 117 | sprintf(buf, "Unable to connect to %s", hostname); | ^ arconnect.c:117:3: note: include the header or explicitly provide a declaration for 'sprintf' arconnect.c:118:3: warning: call to undeclared function 'warning_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 118 | warning_error(buf); | ^ arconnect.c:119:3: warning: call to undeclared function 'restore_prev_cursor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 119 | restore_prev_cursor(); | ^ arconnect.c:124:10: warning: call to undeclared function 'ftp_user'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 124 | switch (ftp_user(host, username)) { | ^ arconnect.c:130:3: warning: call to undeclared function 'warning_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 130 | warning_error("Unable to log onto FTP server"); | ^ arconnect.c:131:3: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 131 | close(hinfo[host].ctrl_fd); | ^ arconnect.c:132:3: warning: call to undeclared function 'restore_prev_cursor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 132 | restore_prev_cursor(); | ^ arconnect.c:138:29: 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] 138 | passwrd = decrypt_password(password); | ^ arconnect.c:140:30: 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] 140 | if ((passwrd = get_password(w_pseudo_parent)) == NULL) { | ^ arconnect.c:141:4: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 141 | close(hinfo[host].ctrl_fd); | ^ arconnect.c:142:4: warning: call to undeclared function 'restore_prev_cursor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 142 | restore_prev_cursor(); | ^ arconnect.c:148:11: warning: call to undeclared function 'ftp_password'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 148 | retval = ftp_password(host, passwrd); | ^ arconnect.c:155:3: warning: call to undeclared function 'warning_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 155 | warning_error("Unable to log onto FTP server"); | ^ arconnect.c:156:3: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 156 | close(hinfo[host].ctrl_fd); | ^ arconnect.c:157:3: warning: call to undeclared function 'restore_prev_cursor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 157 | restore_prev_cursor(); | ^ arconnect.c:167:26: 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] 167 | if ((acct = get_account(w_pseudo_parent)) == NULL) { | ^ arconnect.c:168:4: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 168 | close(hinfo[host].ctrl_fd); | ^ arconnect.c:169:4: warning: call to undeclared function 'restore_prev_cursor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 169 | restore_prev_cursor(); | ^ arconnect.c:177:6: warning: call to undeclared function 'ftp_account'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 177 | if (ftp_account(host, acct) < 0) { | ^ arconnect.c:178:3: warning: call to undeclared function 'warning_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 178 | warning_error("Unable to log onto FTP server"); | ^ arconnect.c:180:3: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 180 | close(hinfo[host].ctrl_fd); | ^ arconnect.c:181:3: warning: call to undeclared function 'restore_prev_cursor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 181 | restore_prev_cursor(); | ^ arconnect.c:190:2: warning: call to undeclared function 'ftp_system'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 190 | ftp_system(host, False); | ^ arconnect.c:192:3: warning: call to undeclared function 'write_log'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 192 | write_log("*** System is "); | ^ arconnect.c:193: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] 193 | write_log(system_name(hinfo[host].system)); | ^ arconnect.c:196: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] 196 | write_log(server_name(hinfo[host].server)); | ^ arconnect.c:202:3: warning: call to undeclared function 'retrieve_cache'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 202 | retrieve_cache(DIRECTORY, hostname, &list, False); | ^ arconnect.c:204:8: warning: call to undeclared function 'remote_cd'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 204 | if (remote_cd(host, list->entries[0], False, True) != 0) { | ^ arconnect.c:207:5: warning: call to undeclared function 'warning_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 207 | warning_error(msg); | ^ arconnect.c:210:3: warning: call to undeclared function 'release_array_list'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 210 | release_array_list(list); | ^ arconnect.c:212:6: warning: call to undeclared function 'remote_pwd'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 212 | if (remote_pwd(host, &wd) < 0) { | ^ arconnect.c:213:3: warning: call to undeclared function 'warning_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 213 | warning_error("Unable to get working directory. Will log out"); | ^ arconnect.c:214:3: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 214 | close(hinfo[host].ctrl_fd); | ^ arconnect.c:215:3: warning: call to undeclared function 'restore_prev_cursor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 215 | restore_prev_cursor(); | ^ arconnect.c:240: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] 240 | hinfo[host].password = encrypt_password(passwrd); | ^ arconnect.c:248:2: warning: call to undeclared function 'restore_prev_cursor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 248 | restore_prev_cursor(); | ^ arconnect.c:86:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 86 | do_connect(host, hostname, username, password, account, w_pseudo_parent) | ^ arconnect.c:266:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 266 | parse_hostname(hostname, host_part, port_part) | ^ | int arconnect.c:266: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:320:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 320 | parse_hostuser(hostuser, host_part, user_part) | ^ | int arconnect.c:320:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 50 warnings generated. --- changedir.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 changedir.c --- cache.o --- In file included from cache.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(); | ^ cache.c:111:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 111 | construct_cache_filename() | ^ | int cache.c:119:1: warning: non-void function does not return a value [-Wreturn-type] 119 | } | ^ cache.c:133:3: warning: call to undeclared function 'warning_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 133 | warning_error("Unable to save cache."); | ^ cache.c:170:3: warning: call to undeclared function 'fatal_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 170 | fatal_error("Bug in read_cache_from_file()"); | ^ cache.c:193:7: warning: call to undeclared function 'add_to_cache'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 193 | add_to_cache(i, host_name, value); | ^ cache.c:208:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 208 | add_to_cache(cache_id, host_name, value) | ^ | int cache.c:208: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:330:1: warning: non-void function does not return a value [-Wreturn-type] 330 | } | ^ cache.c:377:3: warning: call to undeclared function 'fatal_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 377 | fatal_error("Bug in retrieve_cache()"); | ^ cache.c:381:3: warning: call to undeclared function 'quicksort'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 381 | quicksort(values, hptr->cache[cache_id].count, strcmp); | ^ cache.c:395:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 395 | update_dir_cache(host) | ^ | int cache.c:395:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] cache.c:400:1: warning: non-void function does not return a value [-Wreturn-type] 400 | } | ^ cache.c:412:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 412 | retrieve_hostuser_cache(list, sort) | ^ | int cache.c:452:3: warning: call to undeclared function 'fatal_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 452 | fatal_error("Bug in retrieve_hostuser_cache()"); | ^ cache.c:456:3: warning: call to undeclared function 'quicksort'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 456 | quicksort(hostusers, hostuser_count, strcmp); | ^ cache.c:412:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 412 | retrieve_hostuser_cache(list, sort) | ^ cache.c:462:1: warning: non-void function does not return a value [-Wreturn-type] 462 | } | ^ --- changedir.o --- changedir.c:112:13: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 112 | int host = (int)client_data; | ^~~~~~~~~~~~~~~~ changedir.c:116:5: warning: call to undeclared function 'raise_okflag'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 116 | raise_okflag(); | ^ changedir.c:120:5: warning: call to undeclared function 'update_changedir_dialog'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 120 | update_changedir_dialog(host); | ^ changedir.c:123:2: warning: call to undeclared function 'add_dialog_to_list'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 123 | add_dialog_to_list(w_changeDirDialog); | ^ changedir.c:107: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.o --- 22 warnings generated. --- changedir.o --- 107 | cb_change_dir(widget, client_data, call_data) | ^ changedir.c:155:2: warning: call to undeclared function 'fix_list_color'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 155 | fix_list_color(w_list); | ^ changedir.c:158:2: warning: call to undeclared function 'set_bg_to_sb_trough_color'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 158 | set_bg_to_sb_trough_color( | ^ changedir.c:160:14: warning: passing arguments to 'vertical_sb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 160 | vertical_sb(XtParent(w_list))); | ^ changedir.c:172:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 172 | update_changedir_dialog(host) | ^ | int changedir.c:181:2: warning: call to undeclared function 'retrieve_cache'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 181 | retrieve_cache(DIRECTORY, hinfo[host].hostname, &list, sort_caches); | ^ changedir.c:196:2: warning: call to undeclared function 'release_array_list'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 196 | release_array_list(list); | ^ changedir.c:172:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 172 | update_changedir_dialog(host) | ^ changedir.c:212:1: warning: non-void function does not return a value [-Wreturn-type] 212 | } | ^ changedir.c:231:5: warning: call to undeclared function 'clear_selected_entries'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 231 | clear_selected_entries(host); | ^ changedir.c:220:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 220 | cb_changedir_ok(widget, client_data, call_data) | ^ changedir.c:98: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] 98 | void cb_changedir_ok(); | ^ changedir.c:253:5: warning: call to undeclared function 'use_busy_cursor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 253 | use_busy_cursor(); | ^ changedir.c:258:17: warning: call to undeclared function 'local_cd'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 258 | if (local_cd(host, hinfo[host].wd, True) < 0) { | ^ changedir.c:259:17: warning: call to undeclared function 'warning_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 259 | warning_error("Unable to change directory"); | ^ changedir.c:263:21: warning: call to undeclared function 'remote_cd'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 263 | switch (remote_cd(host, hinfo[host].wd, False, True)) { | ^ changedir.c:265:17: warning: call to undeclared function 'warning_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 265 | warning_error("Unable to change directory"); | ^ changedir.c:268:17: warning: call to undeclared function 'restore_prev_cursor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 268 | restore_prev_cursor(); | ^ changedir.c:269:17: warning: call to undeclared function 'lost_connection'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 269 | lost_connection(host); | ^ changedir.c:277:13: warning: call to undeclared function 'local_cd'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 277 | if (local_cd(host, new_wd, True) < 0) { | ^ changedir.c:278:13: warning: call to undeclared function 'warning_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 278 | warning_error("Unable to change directory"); | ^ changedir.c:282:13: warning: call to undeclared function 'local_pwd'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 282 | if (local_pwd(&(hinfo[host].wd)) != 0) | ^ changedir.c:283:13: warning: call to undeclared function 'fatal_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 283 | fatal_error("Unable to get local working directory"); | ^ changedir.c:285:17: warning: call to undeclared function 'remote_cd'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 285 | switch (remote_cd(host, new_wd, False, True)) { | ^ changedir.c:287:13: warning: call to undeclared function 'warning_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 287 | warning_error("Unable to change directory"); | ^ changedir.c:290:13: warning: call to undeclared function 'restore_prev_cursor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 290 | restore_prev_cursor(); | ^ changedir.c:291:13: warning: call to undeclared function 'lost_connection'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] --- cmds.o --- --- changedir.o --- 291 | lost_connection(host); | ^ changedir.c:294:13: warning: call to undeclared function 'remote_pwd'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 294 | if (remote_pwd(host, &wd) < 0) { | ^ changedir.c:295:13: warning: call to undeclared function 'restore_prev_cursor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 295 | restore_prev_cursor(); | ^ changedir.c:296:13: warning: call to undeclared function 'lost_connection'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 296 | lost_connection(host); | ^ changedir.c:304:9: warning: call to undeclared function 'update_dir_displays'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 304 | if (update_dir_displays(host, False) < 0) { | ^ changedir.c:305:9: warning: call to undeclared function 'restore_prev_cursor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 305 | restore_prev_cursor(); | ^ changedir.c:306:9: warning: call to undeclared function 'lost_connection'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 306 | lost_connection(host); | ^ changedir.c:310:5: warning: call to undeclared function 'update_xfer_controls'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 310 | update_xfer_controls(); | ^ changedir.c:311:5: warning: call to undeclared function 'update_dirname_menu'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 311 | update_dirname_menu(host); | ^ changedir.c:312:5: warning: call to undeclared function 'update_dirpath'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 312 | update_dirpath(host); | ^ changedir.c:313:5: warning: call to undeclared function 'update_dir_cache'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 313 | update_dir_cache(host); | ^ changedir.c:314:5: warning: call to undeclared function 'update_host_controls'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 314 | update_host_controls(host); | ^ changedir.c:315:5: 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(); | ^ changedir.c:329:5: warning: call to undeclared function 'help_dialog'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 329 | help_dialog(w_toplev, True, "Change Directory", help_change_dir); | ^ changedir.c:324:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 324 | cb_changedir_help(widget, client_data, call_data) | ^ changedir.c:99: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] 99 | void cb_changedir_help(); | ^ --- 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 --- changedir.o --- 46 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 color.c:65:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 65 | color_display() | ^ | int color.c:132:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 132 | fix_horizontal_text_sb_color(widget) | ^ | int color.c:132:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] color.c:142:1: warning: non-void function does not return a value [-Wreturn-type] 142 | } | ^ color.c:150:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 150 | fix_vertical_text_sb_color(widget) | ^ | int color.c:150:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] color.c:160:1: warning: non-void function does not return a value [-Wreturn-type] 160 | } | ^ --- cmds.o --- In file included from cmds.c:62: ./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:77:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 77 | ftp_open(host, ip_addr, port) | ^ | int cmds.c:93:14: warning: call to undeclared function 'inet_addr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 93 | if ((temp = inet_addr(ip_addr)) != ~0L) | ^ cmds.c:108:3: warning: call to undeclared function 'write_log'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 108 | write_log(msg); | ^ cmds.c:113:3: warning: call to undeclared function 'report_perror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 113 | report_perror(host, "Opening socket stream"); | ^ cmds.c:119:3: warning: call to undeclared function 'write_log'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 119 | write_log("*** Will try to connect to remote\n"); | ^ cmds.c:120:6: warning: call to undeclared function 'iconnect'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 120 | if (iconnect(ctrl_fd, (struct sockaddr *)&remote,(int)sizeof(remote)) < 0) { | ^ cmds.c:121:3: warning: call to undeclared function 'report_perror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 121 | report_perror(host, "Connecting socket stream"); | ^ cmds.c:122:3: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 122 | close(ctrl_fd); | ^ cmds.c:131:10: warning: call to undeclared function 'get_ftp_reply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 131 | scode = get_ftp_reply(host, reply, MAXFTPREPLY, &code, maxt, False); | ^ cmds.c:134:3: warning: call to undeclared function 'determine_server_from_open'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 134 | determine_server_from_open(host, reply); | ^ cmds.c:137:3: warning: call to undeclared function 'report_client_timeout'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 137 | report_client_timeout(host); | ^ cmds.c:139:3: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 139 | close(hinfo[host].ctrl_fd); | ^ cmds.c:141:4: warning: call to undeclared function 'print_ftp_reply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 141 | print_ftp_reply(host, reply); | ^ cmds.c:77:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 77 | ftp_open(host, ip_addr, port) | ^ --- color.o --- 7 warnings generated. --- cmds.o --- cmds.c:153:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 153 | ftp_user(host, username) | ^ | int cmds.c:164:16: warning: call to undeclared function 'send_ftp_cmd'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 164 | if ((retval = send_ftp_cmd(host, cmd)) < 0) | ^ cmds.c:168:11: warning: call to undeclared function 'get_ftp_reply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 168 | retval = get_ftp_reply(host, reply, MAXFTPREPLY, &code, maxt, False); | ^ cmds.c:175:3: warning: call to undeclared function 'report_client_timeout'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 175 | report_client_timeout(host); | ^ cmds.c:179:4: warning: call to undeclared function 'print_ftp_reply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 179 | print_ftp_reply(host, reply); | ^ cmds.c:153:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 153 | ftp_user(host, username) | ^ cmds.c:191:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 191 | ftp_password(host, password) | ^ | int cmds.c:203:11: warning: call to undeclared function 'send_ftp_cmd'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 203 | retval = send_ftp_cmd(host, cmd); | ^ cmds.c:209:10: warning: call to undeclared function 'get_ftp_reply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 209 | scode = get_ftp_reply(host, reply, MAXFTPREPLY, &code, maxt, False); | ^ cmds.c:218:3: warning: call to undeclared function 'report_client_timeout'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 218 | report_client_timeout(host); | ^ cmds.c:221:4: warning: call to undeclared function 'print_ftp_reply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 221 | print_ftp_reply(host, reply); | ^ cmds.c:191:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 191 | ftp_password(host, password) | ^ cmds.c:232:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 232 | ftp_account(host, account) | ^ | int cmds.c:244:16: warning: call to undeclared function 'send_ftp_cmd'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 244 | if ((retval = send_ftp_cmd(host, cmd)) < 0) | ^ cmds.c:248:10: warning: call to undeclared function 'get_ftp_reply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 248 | scode = get_ftp_reply(host, reply, MAXFTPREPLY, &code, maxt, False); | ^ cmds.c:255:3: warning: call to undeclared function 'report_client_timeout'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 255 | report_client_timeout(host); | ^ cmds.c:258:4: warning: call to undeclared function 'print_ftp_reply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 258 | print_ftp_reply(host, reply); | ^ cmds.c:232:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 232 | ftp_account(host, account) | ^ cmds.c:272:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 272 | ftp_passive(host, port) | ^ | int cmds.c:284:16: warning: call to undeclared function 'send_ftp_cmd'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 284 | if ((retval = send_ftp_cmd(host, "PASV")) < 0) | ^ cmds.c:288:14: warning: call to undeclared function 'get_ftp_reply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 288 | retval = get_ftp_reply(host, reply, MAXFTPREPLY, &code, maxt, False); | ^ cmds.c:293:3: warning: call to undeclared function 'report_client_timeout'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 293 | report_client_timeout(host); | ^ cmds.c:272:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 272 | ftp_passive(host, port) | ^ --- ctrlconn.o --- --- cmds.o --- cmds.c:321:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 321 | ftp_type(host, mode) | ^ | int cmds.c:340:16: warning: call to undeclared function 'send_ftp_cmd'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 340 | if ((retval = send_ftp_cmd(host, cmd)) < 0) | ^ cmds.c:344:10: warning: call to undeclared function 'get_ftp_reply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 344 | scode = get_ftp_reply(host, reply, MAXFTPREPLY, &code, maxt, False); | ^ cmds.c:351:3: warning: call to undeclared function 'report_client_timeout'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 351 | report_client_timeout(host); | ^ cmds.c:354:4: warning: call to undeclared function 'print_ftp_reply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 354 | print_ftp_reply(host, reply); | ^ cmds.c:321:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 321 | ftp_type(host, mode) | ^ cmds.c:369:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 369 | ftp_port(host, hostport) | ^ | int cmds.c:381:16: warning: call to undeclared function 'send_ftp_cmd'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 381 | if ((retval = send_ftp_cmd(host, cmd)) < 0) | ^ cmds.c:385:10: warning: call to undeclared function 'get_ftp_reply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 385 | scode = get_ftp_reply(host, reply, MAXFTPREPLY, &code, maxt, False); | ^ cmds.c:392:3: warning: call to undeclared function 'report_client_timeout'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 392 | report_client_timeout(host); | ^ cmds.c:395:4: warning: call to undeclared function 'print_ftp_reply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 395 | print_ftp_reply(host, reply); | ^ cmds.c:369:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 369 | ftp_port(host, hostport) | ^ cmds.c:411:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 411 | ftp_system(host, print_error_msg) | ^ | int cmds.c:421:16: warning: call to undeclared function 'send_ftp_cmd'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 421 | if ((retval = send_ftp_cmd(host, "SYST")) < 0) | ^ cmds.c:425:10: warning: call to undeclared function 'get_ftp_reply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 425 | scode = get_ftp_reply(host, reply, MAXFTPREPLY, &code, maxt, False); | ^ cmds.c:428:3: warning: call to undeclared function 'determine_server_from_syst'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 428 | determine_server_from_syst(host, reply); | ^ cmds.c:433:3: warning: call to undeclared function 'report_client_timeout'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 433 | report_client_timeout(host); | ^ cmds.c:436:4: warning: call to undeclared function 'print_ftp_reply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 436 | print_ftp_reply(host, reply); | ^ cmds.c:411:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 411 | ftp_system(host, print_error_msg) | ^ cmds.c:448:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 448 | ftp_allocate(host, size) | ^ | int cmds.c:460:16: warning: call to undeclared function 'send_ftp_cmd'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 460 | if ((retval = send_ftp_cmd(host, cmd)) < 0) | ^ cmds.c:464:10: warning: call to undeclared function 'get_ftp_reply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 464 | scode = get_ftp_reply(host, reply, MAXFTPREPLY, &code, maxt, False); | ^ cmds.c:471:3: warning: call to undeclared function 'report_client_timeout'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 471 | report_client_timeout(host); | ^ cmds.c:474:4: warning: call to undeclared function 'print_ftp_reply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 474 | print_ftp_reply(host, reply); | ^ cmds.c:448:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 448 | ftp_allocate(host, size) | ^ --- 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 --- cmds.o --- 66 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:112:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 112 | use_busy_cursor() | ^ | int cursor.c:115:1: warning: non-void function does not return a value [-Wreturn-type] 115 | } | ^ cursor.c:121:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 121 | use_normal_cursor() | ^ | int cursor.c:124:1: warning: non-void function does not return a value [-Wreturn-type] 124 | } | ^ cursor.c:234:2: warning: call to undeclared function 'fatal_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 234 | fatal_error("Bug in remove_dialog_from_list()"); | ^ --- 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:88:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 88 | write_tcp(host, fd, buf, n) | ^ | int ctrlconn.c:100:17: warning: call to undeclared function 'iwrite'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 100 | if ((nbytes = iwrite(fd, &buf[total_nbytes], n-total_nbytes)) < 0) { | ^ ctrlconn.c:102:4: warning: call to undeclared function 'report_perror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 102 | report_perror(host, "Writing connection"); | ^ ctrlconn.c:88:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | write_tcp(host, fd, buf, n) | ^ ctrlconn.c:123:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 123 | read_tcp(host, fd, buf, n, maxtime, process_xevents) | ^ | int ctrlconn.c:137:11: warning: call to undeclared function 'select_on_read'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 137 | switch (select_on_read(fd, maxtime, process_xevents)) { | ^ ctrlconn.c:139:21: warning: call to undeclared function 'iread'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 139 | if ((nbytes = iread(fd, &buf[total_nbytes], n-total_nbytes)) < 0) { | ^ ctrlconn.c:141:8: warning: call to undeclared function 'report_perror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 141 | report_perror(host, "Reading connection"); | ^ ctrlconn.c:123:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 123 | read_tcp(host, fd, buf, n, maxtime, process_xevents) | ^ ctrlconn.c:169:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 169 | select_on_read(fd, maxtime, process_xevents) | ^ | int ctrlconn.c:198:17: warning: call to undeclared function 'max_fds'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 198 | nfds = select(max_fds(), &readfds, NULL, &exceptfds, &timeout); | ^ ctrlconn.c:169:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 169 | select_on_read(fd, maxtime, process_xevents) | ^ ctrlconn.c:224:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 224 | get_ftp_reply(host, reply, maxreply, code, maxtime, process_xevents) | ^ | int ctrlconn.c:246:20: warning: call to undeclared function 'get_ftp_line'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 246 | if ((replycode = get_ftp_line(host, fd, line, MAXFTPLINE, maxtime, | ^ ctrlconn.c:266:3: warning: call to undeclared function 'print_ftp_reply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 266 | print_ftp_reply(host, reply); | ^ ctrlconn.c:272:4: warning: call to undeclared function 'write_log'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 272 | write_log("*** FTP server on remote host timed out.\n"); | ^ ctrlconn.c:276:3: warning: call to undeclared function 'write_log'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 276 | write_log("*** FTP server on remote host timed out.\n"); | ^ ctrlconn.c:224:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 224 | get_ftp_reply(host, reply, maxreply, code, maxtime, process_xevents) | ^ ctrlconn.c:300:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] --- cursor.o --- 5 warnings generated. --- ctrlconn.o --- 300 | get_ftp_line(host, fd, line, maxline, maxtime, process_xevents) | ^ | int ctrlconn.c:335:14: warning: implicit conversion from 'int' to 'char' changes value from 255 to -1 [-Wconstant-conversion] 335 | buf[0] = IAC; | ~ ^~~ ctrlconn.c:73:14: note: expanded from macro 'IAC' 73 | #define IAC 255 | ^~~ ctrlconn.c:336:14: warning: implicit conversion from 'int' to 'char' changes value from 254 to -2 [-Wconstant-conversion] 336 | buf[1] = DONT; | ~ ^~~~ ctrlconn.c:72:14: note: expanded from macro 'DONT' 72 | #define DONT 254 | ^~~ ctrlconn.c:348:14: warning: implicit conversion from 'int' to 'char' changes value from 255 to -1 [-Wconstant-conversion] 348 | buf[0] = IAC; | ~ ^~~ ctrlconn.c:73:14: note: expanded from macro 'IAC' 73 | #define IAC 255 | ^~~ ctrlconn.c:349:14: warning: implicit conversion from 'int' to 'char' changes value from 252 to -4 [-Wconstant-conversion] 349 | buf[1] = WONT; | ~ ^~~~ ctrlconn.c:70:14: note: expanded from macro 'WONT' 70 | #define WONT 252 | ^~~ ctrlconn.c:300:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 300 | get_ftp_line(host, fd, line, maxline, maxtime, process_xevents) | ^ ctrlconn.c:376:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 376 | send_ftp_cmd(host, cmd) | ^ | int ctrlconn.c:386:3: warning: call to undeclared function 'print_ftp_cmd'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 386 | print_ftp_cmd(host,cmd); | ^ ctrlconn.c:376:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 376 | send_ftp_cmd(host, cmd) | ^ ctrlconn.c:404:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 404 | sig_pipe() | ^ | int ctrlconn.c:407:1: warning: non-void function does not return a value [-Wreturn-type] 407 | } | ^ ctrlconn.c:417:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 417 | urgent_abort(host) | ^ | int ctrlconn.c:425:3: warning: call to undeclared function 'print_ftp_cmd'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 425 | print_ftp_cmd(host, "Urgent Abort"); | ^ ctrlconn.c:428:11: warning: implicit conversion from 'int' to 'char' changes value from 255 to -1 [-Wconstant-conversion] 428 | buf[0] = IAC; | ~ ^~~ ctrlconn.c:73:14: note: expanded from macro 'IAC' 73 | #define IAC 255 | ^~~ ctrlconn.c:429:11: warning: implicit conversion from 'int' to 'char' changes value from 244 to -12 [-Wconstant-conversion] 429 | buf[1] = IP; | ~ ^~ ctrlconn.c:68:14: note: expanded from macro 'IP' 68 | #define IP 244 | ^~~ ctrlconn.c:434:11: warning: implicit conversion from 'int' to 'char' changes value from 255 to -1 [-Wconstant-conversion] 434 | buf[0] = IAC; | ~ ^~~ ctrlconn.c:73:14: note: expanded from macro 'IAC' 73 | #define IAC 255 | ^~~ ctrlconn.c:435:6: warning: call to undeclared function 'isend'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 435 | if (isend(fd, buf, 1, MSG_OOB) != 1) | ^ ctrlconn.c:437:11: warning: implicit conversion from 'int' to 'char' changes value from 242 to -14 [-Wconstant-conversion] 437 | buf[0] = DM; | ~ ^~ ctrlconn.c:67:14: note: expanded from macro 'DM' 67 | #define DM 242 /* Telnet commands */ | ^~~ ctrlconn.c:417:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 417 | urgent_abort(host) | ^ --- 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 --- 41 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:70:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 70 | init_data_conn(host) | ^ | int dataconn.c:84:9: warning: call to undeclared function 'report_perror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 84 | report_perror(host, "Opening stream socket"); | ^ dataconn.c:94:65: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] 94 | 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:97:3: warning: call to undeclared function 'report_perror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 97 | report_perror(host, "Gettin socket name"); | ^ dataconn.c:98:3: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 98 | close(sock); | ^ dataconn.c:103:3: warning: call to undeclared function 'report_perror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 103 | report_perror(host, "Binding stream socket"); | ^ dataconn.c:104:3: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 104 | close(sock); | ^ dataconn.c:110:3: warning: call to undeclared function 'report_perror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 110 | report_perror(host, "Listen"); | ^ dataconn.c:111:3: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 111 | close(sock); | ^ dataconn.c:119:50: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] 119 | 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:121:3: warning: call to undeclared function 'report_perror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 121 | report_perror(host, "Getting socket name"); | ^ dataconn.c:122:3: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 122 | close(sock); | ^ dataconn.c:131:16: warning: call to undeclared function 'ftp_port'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 131 | if ((retval = ftp_port(host, buf)) < 0) { | ^ dataconn.c:132:3: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 132 | close(sock); | ^ dataconn.c:70:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 70 | init_data_conn(host) | ^ dataconn.c:146:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 146 | accept_data_conn(host, data_fd) | ^ | int dataconn.c:156:3: warning: call to undeclared function 'write_log'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 156 | write_log("*** Will try to accept connection\n"); | ^ dataconn.c:158:16: warning: call to undeclared function 'iaccept'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 158 | new_data_fd = iaccept(data_fd, (struct sockaddr *)&remote, &addrlen); | ^ dataconn.c:160:3: warning: call to undeclared function 'report_perror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 160 | report_perror(host, "accept"); | ^ dataconn.c:161:3: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 161 | close(data_fd); | ^ dataconn.c:168:2: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 168 | close(data_fd); | ^ dataconn.c:146:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 146 | accept_data_conn(host, data_fd) | ^ 22 warnings generated. --- destdir.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 destdir.c --- delete.o --- In file included from delete.c:60: ./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:89:13: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 89 | int host = (int)client_data; | ^~~~~~~~~~~~~~~~ delete.c:84:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 84 | cb_delete(widget, client_data, call_data) | ^ delete.c:104:13: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 104 | int host = (int)client_data; | ^~~~~~~~~~~~~~~~ delete.c:99:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 99 | cb_rdelete(widget, client_data, call_data) | ^ delete.c:123:2: warning: call to undeclared function 'raise_okflag'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 123 | raise_okflag(); | ^ delete.c:128:13: warning: call to undeclared function 'verify_selection'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 128 | retval = verify_selection(host, | ^ delete.c:138:2: warning: call to undeclared function 'use_busy_cursor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 138 | use_busy_cursor(); | ^ delete.c:141:2: warning: call to undeclared function 'show_mp_monitor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 141 | show_mp_monitor("Now Deleting:"); | ^ delete.c:142:2: warning: call to undeclared function 'clear_mp_monitor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 142 | clear_mp_monitor(); | ^ delete.c:145:2: warning: call to undeclared function 'enable_controls'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 145 | enable_controls(False); | ^ delete.c:157:31: 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] 157 | ptr->entry = cstring_to_text(selected_items[i]); | ^ delete.c:158:9: warning: call to undeclared function 'strip_off_symbol'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 158 | strip_off_symbol(hinfo[host].system, hinfo[host].server, ptr->entry); | ^ delete.c:179:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 179 | clean_up_del_ctrl() | ^ | int delete.c:194:3: warning: call to undeclared function 'release_linked_list'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 194 | release_linked_list(&del_ctrl.head[i]); | ^ delete.c:195:1: warning: non-void function does not return a value [-Wreturn-type] 195 | } | ^ delete.c:203:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 203 | cb_delete_entries() | ^ | int delete.c:223:6: warning: call to undeclared function 'mp_abort_requested'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 223 | if (mp_abort_requested()) | ^ delete.c:240:35: 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] 240 | del_ctrl.rel_path = links_to_path(hinfo[host].system, rel_path_links, | ^ delete.c:242:2: warning: call to undeclared function 'release_path_links'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 242 | release_path_links(rel_path_links); | ^ delete.c:245:34: 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] 245 | del_ctrl.full_path = merge_paths(hinfo[host].system, hinfo[host].wd, | ^ delete.c:252:8: warning: call to undeclared function 'local_cd'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 252 | if (local_cd(host, del_ctrl.full_path, False) == 0) | ^ delete.c:255:12: warning: call to undeclared function 'remote_cd'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 255 | switch (remote_cd(host, del_ctrl.full_path, True, False)) { | ^ delete.c:264:9: warning: call to undeclared function 'local_ls'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 264 | if (local_ls(del_ctrl.full_path, &list, False) != 0) { | ^ delete.c:265:6: warning: call to undeclared function 'warning_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 265 | warning_error("Unable to get directory list"); | ^ delete.c:269:13: warning: call to undeclared function 'remote_ls'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 269 | switch (remote_ls(host, del_ctrl.full_path, &list, False)) { | ^ delete.c:273:6: warning: call to undeclared function 'warning_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 273 | warning_error("Unable to get directory list"); | ^ delete.c:280:5: warning: call to undeclared function 'warning_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 280 | warning_error("Deletion recurses too deeply - aborted."); | ^ delete.c:290:4: warning: call to undeclared function 'release_array_list'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 290 | release_array_list(list); | ^ delete.c:298:2: warning: call to undeclared function 'update_mp_monitor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 298 | update_mp_monitor(del_ctrl.rel_path); | ^ delete.c:300:12: warning: call to undeclared function 'local_delete'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 300 | retval = local_delete(host, del_ctrl.full_path); | ^ delete.c:309:6: warning: call to undeclared function 'fatal_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 309 | fatal_error("Trouble in cb_delete_entries()"); | ^ delete.c:313:14: warning: call to undeclared function 'remote_rmdir'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 313 | retval = remote_rmdir(host, temp, True); | ^ delete.c:316:14: warning: call to undeclared function 'remote_rmdir'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 316 | retval = remote_rmdir(host, del_ctrl.full_path, True); | ^ delete.c:318:12: warning: call to undeclared function 'remote_cd'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 318 | switch (remote_cd(host, del_ctrl.full_path, True, False)) { | ^ delete.c:325:14: warning: call to undeclared function 'remote_delete'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 325 | retval = remote_delete(host, del_ctrl.full_path, True); | ^ delete.c:328:13: warning: call to undeclared function 'remote_delete'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 328 | retval = remote_delete(host, del_ctrl.full_path, True); | ^ delete.c:335:9: warning: call to undeclared function 'warning_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 335 | warning_error(msg); | ^ delete.c:340:10: warning: call to undeclared function 'write_log'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 340 | 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:356:3: warning: call to undeclared function 'hide_abort_dialog'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 356 | hide_abort_dialog(); | ^ delete.c:357:2: warning: call to undeclared function 'enable_controls'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 357 | enable_controls(True); | ^ delete.c:358:6: warning: call to undeclared function 'update_dir_displays'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 358 | if (update_dir_displays(host, False) < 0) | ^ delete.c:360:2: warning: call to undeclared function 'update_xfer_controls'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 360 | update_xfer_controls(); | ^ delete.c:361:2: warning: call to undeclared function 'update_host_controls'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 361 | update_host_controls(host); | ^ delete.c:363:3: warning: call to undeclared function 'beep'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 363 | beep(); | ^ delete.c:364:2: warning: call to undeclared function 'restore_prev_cursor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 364 | restore_prev_cursor(); | ^ delete.c:370:2: warning: call to undeclared function 'warning_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 370 | warning_error("Deletion(s) aborted"); | ^ delete.c:392:2: warning: call to undeclared function 'clear_selected_entries'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 392 | clear_selected_entries(host); | ^ delete.c:394:2: warning: call to undeclared function 'lost_connection'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 394 | lost_connection(host); | ^ delete.c:395:2: warning: call to undeclared function 'use_busy_cursor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 395 | use_busy_cursor(); | ^ 54 warnings generated. --- dirlist.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 dirlist.c --- destdir.o --- destdir.c:212:5: warning: call to undeclared function 'fix_list_color'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 212 | fix_list_color(destdir.w_dirList); | ^ destdir.c:243:5: warning: call to undeclared function 'raise_okflag'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 243 | raise_okflag(); | ^ destdir.c:249:29: 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] 249 | wd_links = path_to_links(destdir.system, destdir.wd); | ^ destdir.c:252:24: 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] 252 | new_wd = links_to_path(destdir.system, wd_links, indx); | ^ destdir.c:255:5: warning: call to undeclared function 'release_path_links'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 255 | release_path_links(wd_links); | ^ destdir.c:258:5: warning: call to undeclared function 'use_busy_cursor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 258 | use_busy_cursor(); | ^ destdir.c:259:11: warning: call to undeclared function 'change_destdir_directory'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 259 | retval = change_destdir_directory(new_wd); | ^ destdir.c:260:2: 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(); | ^ destdir.c:264:9: warning: call to undeclared function 'warning_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 264 | warning_error("Unable to change directory"); | ^ destdir.c:268:9: warning: call to undeclared function 'lost_connection'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 268 | lost_connection(destdir.host); | ^ destdir.c:232:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 232 | cb_destdir_set_dir(widget, client_data, call_data) | ^ destdir.c:96: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] 96 | void cb_destdir_set_dir(); | ^ destdir.c:290:5: warning: call to undeclared function 'raise_okflag'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 290 | raise_okflag(); | ^ destdir.c:293:25: 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] 293 | entry = cstring_to_text(cbs->item); | ^ destdir.c:294:2: warning: call to undeclared function 'strip_off_symbol'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 294 | strip_off_symbol(destdir.system, destdir.server, entry); | ^ destdir.c:297:22: 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] 297 | new_wd = merge_paths(destdir.system, destdir.wd, entry); | ^ destdir.c:301:5: warning: call to undeclared function 'use_busy_cursor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 301 | use_busy_cursor(); | ^ destdir.c:302:11: warning: call to undeclared function 'change_destdir_directory'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 302 | retval = change_destdir_directory(new_wd); | ^ destdir.c:303:2: warning: call to undeclared function 'restore_prev_cursor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 303 | restore_prev_cursor(); | ^ destdir.c:307:9: warning: call to undeclared function 'warning_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 307 | warning_error("Unable to change directory"); | ^ destdir.c:311:9: warning: call to undeclared function 'lost_connection'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 311 | lost_connection(destdir.host); | ^ destdir.c:279:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 279 | cb_destdir_double_click(widget, client_data, call_data) | ^ destdir.c:97: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] 97 | void cb_destdir_double_click(); | ^ destdir.c:319:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 319 | update_destdir_dirname_menu() | ^ | int destdir.c:328:29: 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] 328 | wd_links = path_to_links(destdir.system, destdir.wd); | ^ destdir.c:360:5: warning: call to undeclared function 'release_path_links'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 360 | release_path_links(wd_links); | ^ destdir.c:368:1: warning: non-void function does not return a value [-Wreturn-type] 368 | } | ^ destdir.c:377:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 377 | update_destdir_dirlist() | ^ | int destdir.c:385:5: warning: call to undeclared function 'use_busy_cursor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 385 | use_busy_cursor(); | ^ destdir.c:390:3: warning: call to undeclared function 'fatal_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 390 | fatal_error("Bug in update_destdir_dirlist()"); | ^ destdir.c:392:13: warning: call to undeclared function 'local_ls'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 392 | if (local_ls(destdir.wd, &dlist, symbol_mode) != 0) | ^ destdir.c:396:23: warning: call to undeclared function 'remote_ls'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 396 | if ((retval = remote_ls(destdir.host, destdir.wd, &dlist, | ^ destdir.c:398:13: warning: call to undeclared function 'restore_prev_cursor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 398 | restore_prev_cursor(); | ^ destdir.c:404:5: warning: call to undeclared function 'reset_list'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 404 | reset_list(destdir.w_dirList); | ^ destdir.c:414:5: warning: call to undeclared function 'release_array_list'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 414 | release_array_list(dlist); | ^ destdir.c:416:5: warning: call to undeclared function 'restore_prev_cursor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 416 | restore_prev_cursor(); | ^ destdir.c:426:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 426 | change_destdir_directory(new_wd) | ^ | int destdir.c:434:13: warning: call to undeclared function 'local_cd'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 434 | if (local_cd(destdir.host, new_wd, True) < 0) | ^ destdir.c:438:13: warning: call to undeclared function 'local_pwd'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 438 | if (local_pwd(&destdir.wd) != 0) | ^ destdir.c:439:13: warning: call to undeclared function 'fatal_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 439 | fatal_error("Unable to get local working directory"); | ^ destdir.c:441:17: warning: call to undeclared function 'remote_cd'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 441 | if ((retval = remote_cd(destdir.host, new_wd, False, True)) < 0) | ^ destdir.c:443:13: warning: call to undeclared function 'remote_pwd'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 443 | if (remote_pwd(destdir.host, &wd) < 0) | ^ destdir.c:426:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 426 | change_destdir_directory(new_wd) | ^ destdir.c:503:9: warning: call to undeclared function 'use_busy_cursor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 503 | use_busy_cursor(); | ^ destdir.c:505:9: warning: call to undeclared function 'restore_prev_cursor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 505 | restore_prev_cursor(); | ^ destdir.c:509:13: warning: call to undeclared function 'add_dialog_to_list'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 509 | add_dialog_to_list(destdir.w_dialog); | ^ destdir.c:513:13: warning: call to undeclared function 'lost_connection'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 513 | lost_connection(destdir.host); | ^ destdir.c:522:6: warning: call to undeclared function 'use_busy_cursor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 522 | use_busy_cursor(); | ^ destdir.c:524:6: warning: call to undeclared function 'restore_prev_cursor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 524 | restore_prev_cursor(); | ^ destdir.c:526:10: warning: call to undeclared function 'lost_connection'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 526 | lost_connection(destdir.host); | ^ destdir.c:532:6: warning: call to undeclared function 'add_dialog_to_list'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 532 | add_dialog_to_list(destdir.w_dialog); | ^ destdir.c:538:3: warning: call to undeclared function 'fatal_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 538 | fatal_error("Trouble in get_destination_dir()"); | ^ destdir.c:543:5: warning: call to undeclared function 'add_dialog_to_list'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 543 | add_dialog_to_list(destdir.w_dialog); | ^ destdir.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 | get_destination_dir(host, type, desired_start_dir, fallback_start_dir, | ^ destdir.c:560:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 560 | cb_destdir_ok(widget, client_data, call_data) | ^ destdir.c:94: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] 94 | void cb_destdir_ok(); | ^ destdir.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 | cb_destdir_cancel(widget, client_data, call_data) | ^ destdir.c:95: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] 95 | void cb_destdir_cancel(); | ^ destdir.c:592:5: warning: call to undeclared function 'center_dialog_over_dialog'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 592 | center_dialog_over_dialog(widget, destdir.pseudo_parent); | ^ destdir.c:587:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 587 | cb_map_destdir_dialog(widget, client_data, call_data) | ^ destdir.c:98: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] 98 | void cb_map_destdir_dialog(); | ^ 61 warnings generated. --- dirlong.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 dirlong.c --- dirlist.o --- dirlist.c:77:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 77 | update_dir_displays(host, preserve) | ^ | int dirlist.c:89:2: warning: call to undeclared function 'use_busy_cursor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 89 | use_busy_cursor(); | ^ dirlist.c:97:7: warning: call to undeclared function 'local_ls'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 97 | if (local_ls(hinfo[host].wd, &dlist, symbol_mode) != 0) | ^ dirlist.c:98:4: warning: call to undeclared function 'fatal_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 98 | fatal_error("Unable to get local directory list"); | ^ dirlist.c:101:17: warning: call to undeclared function 'remote_ls'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 101 | if ((retval = remote_ls(host, hinfo[host].wd, &dlist, symbol_mode))) { | ^ dirlist.c:102:4: warning: call to undeclared function 'restore_prev_cursor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 102 | restore_prev_cursor(); | ^ dirlist.c:121:2: warning: call to undeclared function 'update_dirlist'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 121 | update_dirlist(host, dlist); | ^ dirlist.c:124:6: warning: call to undeclared function 'dirtable_in_use'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 124 | if (dirtable_in_use(host)) | ^ dirlist.c:125:3: warning: call to undeclared function 'update_dirtable'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 125 | update_dirtable(host, dlist); | ^ dirlist.c:128:2: warning: call to undeclared function 'release_array_list'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 128 | release_array_list(dlist); | ^ dirlist.c:140:16: warning: call to undeclared function 'update_dirlong'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 140 | if ((retval = update_dirlong(host)) < 0) { | ^ dirlist.c:141:3: warning: call to undeclared function 'restore_prev_cursor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 141 | restore_prev_cursor(); | ^ dirlist.c:145:2: warning: call to undeclared function 'restore_prev_cursor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 145 | restore_prev_cursor(); | ^ dirlist.c:77:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 77 | update_dir_displays(host, preserve) | ^ dirlist.c:154:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 154 | update_dirlist(host, dlist) | ^ | int dirlist.c:162:2: warning: call to undeclared function 'reset_list'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 162 | reset_list(w_dirList[host]); | ^ dirlist.c:154:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 154 | update_dirlist(host, dlist) | ^ dirlist.c:170:1: warning: non-void function does not return a value [-Wreturn-type] 170 | } | ^ dirlist.c:177:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 177 | reset_list(w_list) | ^ | int dirlist.c:177:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] dirlist.c:182:1: warning: non-void function does not return a value [-Wreturn-type] 182 | } | ^ dirlist.c:197:13: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 197 | int host = (int)client_data; | ^~~~~~~~~~~~~~~~ dirlist.c:203:2: warning: call to undeclared function 'raise_okflag'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 203 | raise_okflag(); | ^ dirlist.c:206:2: warning: call to undeclared function 'clear_selected_entries'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 206 | clear_selected_entries(host); | ^ dirlist.c:209:25: 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] 209 | entry = cstring_to_text(cbs->item); | ^ dirlist.c:210:2: warning: call to undeclared function 'strip_off_symbol'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 210 | strip_off_symbol(hinfo[host].system, hinfo[host].server, entry); | ^ dirlist.c:213:22: 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] 213 | new_wd = merge_paths(hinfo[host].system, hinfo[host].wd, entry); | ^ dirlist.c:217:2: warning: call to undeclared function 'change_directory'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 217 | change_directory(host, new_wd); | ^ dirlist.c:192:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 192 | cb_double_click(widget, client_data, call_data) | ^ dirlist.c:237:16: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 237 | int host = (int)client_data; | ^~~~~~~~~~~~~~~~ dirlist.c:240:2: warning: call to undeclared function 'raise_okflag'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 240 | raise_okflag(); | ^ dirlist.c:243:6: warning: call to undeclared function 'dirtable_in_use'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 243 | if (dirtable_in_use(host)) { | ^ dirlist.c:246:5: warning: call to undeclared function 'select_table_entry'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 246 | select_table_entry(host, cbs->item_position-1); | ^ dirlist.c:250:4: warning: call to undeclared function 'deselect_table_entry'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 250 | deselect_table_entry(host, cbs->item_position-1); | ^ dirlist.c:255:9: warning: call to undeclared function 'clear_selected_entries'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 255 | clear_selected_entries(RIGHT); | ^ dirlist.c:260:5: warning: call to undeclared function 'update_xfer_controls'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 260 | update_xfer_controls(); | ^ dirlist.c:262:6: warning: call to undeclared function 'update_host_controls'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 262 | update_host_controls(i); | ^ dirlist.c:230:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 230 | cb_multiple_selection(widget, client_data, call_data) | ^ dirlist.c:270:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 270 | clear_selected_entries(host) | ^ | int dirlist.c:276:6: warning: call to undeclared function 'dirtable_in_use'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 276 | if (dirtable_in_use(host)) | ^ dirlist.c:277:3: warning: call to undeclared function 'clear_selected_table_entries'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 277 | clear_selected_table_entries(host); | ^ dirlist.c:270:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 270 | clear_selected_entries(host) | ^ dirlist.c:278:1: warning: non-void function does not return a value [-Wreturn-type] 278 | } | ^ 43 warnings generated. --- dirname.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 dirname.c --- dirlong.o --- In file included from dirlong.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(); | ^ dirlong.c:121:13: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 121 | int host = (int)client_data; | ^~~~~~~~~~~~~~~~ dirlong.c:124:2: warning: call to undeclared function 'raise_okflag'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 124 | raise_okflag(); | ^ dirlong.c:129:5: warning: call to undeclared function 'add_dialog_to_list'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 129 | add_dialog_to_list(dirlong[host].w_dialog); | ^ dirlong.c:132:9: warning: call to undeclared function 'update_dir_displays'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 132 | if (update_dir_displays(host, True) < 0) | ^ dirlong.c:133:9: warning: call to undeclared function 'lost_connection'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 133 | lost_connection(host); | ^ dirlong.c:116:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 116 | cb_display_dir_long(widget, client_data, call_data) | ^ dirlong.c:176:27: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] 176 | cb_dirlong_close, (XtPointer)host); | ^~~~~~~~~~~~~~~ dirlong.c:192:26: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] 192 | cb_dirlong_help, (XtPointer)host); | ^~~~~~~~~~~~~~~ dirlong.c:227:5: warning: call to undeclared function 'fix_vertical_text_sb_color'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 227 | fix_vertical_text_sb_color(dirlong[host].w_list); | ^ dirlong.c:228:5: warning: call to undeclared function 'fix_horizontal_text_sb_color'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 228 | fix_horizontal_text_sb_color(dirlong[host].w_list); | ^ dirlong.c:229:2: warning: call to undeclared function 'set_bg_to_sb_trough_color'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 229 | set_bg_to_sb_trough_color(dirlong[host].w_list, | ^ dirlong.c:230:14: warning: passing arguments to 'vertical_sb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 230 | vertical_sb(XtParent(dirlong[host].w_list))); | ^ dirlong.c:244:13: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 244 | int host = (int)client_data; | ^~~~~~~~~~~~~~~~ dirlong.c:239:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 239 | cb_dirlong_close(widget, client_data, call_data) | ^ dirlong.c:106: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] 106 | void cb_dirlong_close(); | ^ dirlong.c:255:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 255 | update_dirlong(host) | ^ | int dirlong.c:275:13: warning: call to undeclared function 'local_dir'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 275 | if (local_dir(hinfo[host].wd, &dlist) != 0) | ^ dirlong.c:276:13: warning: call to undeclared function 'fatal_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 276 | fatal_error("Unable to get local directory list"); | ^ dirlong.c:279:23: warning: call to undeclared function 'remote_dir'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 279 | if ((retval = remote_dir(host, hinfo[host].wd, &dlist))) | ^ dirlong.c:300:2: warning: call to undeclared function 'release_array_list'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 300 | release_array_list(dlist); | ^ dirlong.c:255:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 255 | update_dirlong(host) | ^ dirlong.c:316:13: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 316 | int host = (int)client_data; | ^~~~~~~~~~~~~~~~ dirlong.c:320:5: warning: call to undeclared function 'help_dialog'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 320 | help_dialog(dirlong[host].w_dialog, False, text, dirlong_help); | ^ dirlong.c:311:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 311 | cb_dirlong_help(widget, client_data, call_data) | ^ dirlong.c:107: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] 107 | void cb_dirlong_help(); | ^ --- dirname.o --- dirname.c:94:26: 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] 94 | wd_links = path_to_links(hinfo[host].system, hinfo[host].wd); | ^ dirname.c:126:5: warning: call to undeclared function 'release_path_links'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 126 | release_path_links(wd_links); | ^ dirname.c:152:16: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 152 | int host = (int)client_data; | ^~~~~~~~~~~~~~~~ dirname.c:155:2: warning: call to undeclared function 'raise_okflag'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 155 | raise_okflag(); | ^ dirname.c:165:29: 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] 165 | wd_links = path_to_links(hinfo[host].system, hinfo[host].wd); | ^ dirname.c:168:27: 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] 168 | new_wd = links_to_path(hinfo[host].system, wd_links, indx); | ^ dirname.c:171:5: warning: call to undeclared function 'release_path_links'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 171 | release_path_links(wd_links); | ^ dirname.c:174:2: warning: call to undeclared function 'change_directory'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 174 | change_directory(host, new_wd); | ^ dirname.c:144:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 144 | cb_set_dir(widget, client_data, call_data) | ^ --- dirlong.o --- 29 warnings generated. --- dirname.o --- 9 warnings generated. --- dirpath.o --- --- dirtable.o --- --- dirpath.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 dirpath.c --- dirtable.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 dirtable.c dirtable.c:149:13: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 149 | int host = (int)client_data; | ^~~~~~~~~~~~~~~~ dirtable.c:152:2: warning: call to undeclared function 'raise_okflag'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 152 | raise_okflag(); | ^ dirtable.c:157:2: warning: call to undeclared function 'add_dialog_to_list'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 157 | add_dialog_to_list(dirtable[host].w_dialog); | ^ dirtable.c:158:2: warning: call to undeclared function 'force_update'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 158 | force_update(dirtable[host].w_drawingArea); | ^ dirtable.c:161:9: warning: call to undeclared function 'update_dir_displays'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 161 | if (update_dir_displays(host, True) < 0) | ^ dirtable.c:162:9: warning: call to undeclared function 'lost_connection'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 162 | lost_connection(host); | ^ dirtable.c:144:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 144 | cb_display_dirtable(widget, client_data, call_data) | ^ dirtable.c:198:2: warning: call to undeclared function 'add_wm_delete_window_cb'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 198 | add_wm_delete_window_cb(dirtable[host].w_dialog, cb_dirtable_close, | ^ dirtable.c:199:3: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] 199 | (XtPointer)host); | ^~~~~~~~~~~~~~~ dirtable.c:218:9: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] 218 | (XtPointer)host | ^~~~~~~~~~~~~~~ dirtable.c:238:9: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] 238 | (XtPointer)host | ^~~~~~~~~~~~~~~ dirtable.c:288:23: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] 288 | cb_redraw_dirtable, (XtPointer)host); | ^~~~~~~~~~~~~~~ dirtable.c:303:9: warning: call to undeclared function 'fatal_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 303 | fatal_error("Unable to get font"); | ^ --- dirpath.o --- dirpath.c:96:13: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 96 | int host = (int)client_data; | ^~~~~~~~~~~~~~~~ dirpath.c:99:2: warning: call to undeclared function 'raise_okflag'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 99 | raise_okflag(); | ^ dirpath.c:106:2: warning: call to undeclared function 'add_dialog_to_list'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] --- dirtable.o --- dirtable.c:342:2: warning: call to undeclared function 'calc_dirtable_geometry'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] --- dirpath.o --- 106 | add_dialog_to_list(dirpath[host].w_dialog); | ^ dirpath.c:91:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- dirtable.o --- 342 | calc_dirtable_geometry(host); | ^ dirtable.c:332:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- dirpath.o --- 91 | cb_display_dirpath(widget, client_data, call_data) | ^ --- dirtable.o --- 332 | ResizeDirtable(widget, event, args, num_args) | ^ dirtable.c:371:3: warning: call to undeclared function 'fatal_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 371 | fatal_error("Bug in DirtableMouse()"); | ^ dirtable.c:377:9: warning: call to undeclared function 'entry_index'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 377 | indx = entry_index(host, event->x, event->y); | ^ dirtable.c:381:22: warning: call to undeclared function 'point_in_clipwindow'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 381 | if (indx == -1 || !point_in_clipwindow(host, event->x, event->y)) | ^ dirtable.c:384:4: warning: call to undeclared function 'toggle_table_entry'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 384 | toggle_table_entry(host, indx); | ^ dirtable.c:400:3: warning: call to undeclared function 'toggle_table_entry'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 400 | toggle_table_entry(host, indx); | ^ dirtable.c:408:2: warning: call to undeclared function 'clear_selected_entries'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 408 | clear_selected_entries(host); | ^ dirtable.c:412:2: warning: call to undeclared function 'strip_off_symbol'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 412 | strip_off_symbol(hinfo[host].system, hinfo[host].server, entry); | ^ dirtable.c:415:22: 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] 415 | new_wd = merge_paths(hinfo[host].system, hinfo[host].wd, entry); | ^ dirtable.c:419:5: warning: call to undeclared function 'change_directory'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 419 | change_directory(host, new_wd); | ^ dirtable.c:354:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 354 | DirtableMouse(widget, event, args, num_args) | ^ dirtable.c:431:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 431 | update_dirtable(host, dlist) | ^ | int dirtable.c:439:2: warning: call to undeclared function 'delete_dirtable_entries'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 439 | delete_dirtable_entries(host); | ^ dirtable.c:463:2: warning: call to undeclared function 'calc_dirtable_geometry'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 463 | calc_dirtable_geometry(host); | ^ dirtable.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 | update_dirtable(host, dlist) | ^ dirtable.c:467:1: warning: non-void function does not return a value [-Wreturn-type] 467 | } | ^ dirtable.c:479:13: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 479 | int host = (int)client_data; | ^~~~~~~~~~~~~~~~ dirtable.c:481:2: warning: call to undeclared function 'delete_dirtable_entries'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 481 | delete_dirtable_entries(host); | ^ dirtable.c:474:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 474 | cb_dirtable_close(widget, client_data, call_data) | ^ dirtable.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_dirtable_close(); | ^ dirtable.c:497:13: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 497 | int host = (int)client_data; | ^~~~~~~~~~~~~~~~ dirtable.c:501:5: warning: call to undeclared function 'help_dialog'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 501 | help_dialog(dirtable[host].w_dialog, False, text, dirtable_help); | ^ dirtable.c:492:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 492 | cb_dirtable_help(widget, client_data, call_data) | ^ dirtable.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_dirtable_help(); | ^ dirtable.c:509:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 509 | delete_dirtable_entries(host) | ^ | int dirtable.c:509:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] dirtable.c:521:1: warning: non-void function does not return a value [-Wreturn-type] 521 | } | ^ dirtable.c:528:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 528 | select_table_entry(host, indx) | ^ | int dirtable.c:533:2: warning: call to undeclared function 'draw_entry'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 533 | draw_entry(host, indx); | ^ dirtable.c:528:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 528 | select_table_entry(host, indx) | ^ dirtable.c:534:1: warning: non-void function does not return a value [-Wreturn-type] 534 | } | ^ dirtable.c:541:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 541 | deselect_table_entry(host, indx) | ^ | int dirtable.c:546:2: warning: call to undeclared function 'draw_entry'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 546 | draw_entry(host, indx); | ^ dirtable.c:541:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 541 | deselect_table_entry(host, indx) | ^ dirtable.c:547:1: warning: non-void function does not return a value [-Wreturn-type] 547 | } | ^ dirtable.c:555:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 555 | toggle_table_entry(host, indx) | ^ | int dirtable.c:562:2: warning: call to undeclared function 'raise_okflag'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 562 | raise_okflag(); | ^ dirtable.c:566:9: warning: call to undeclared function 'clear_selected_entries'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 566 | clear_selected_entries(RIGHT); | ^ dirtable.c:581:2: warning: call to undeclared function 'update_xfer_controls'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 581 | update_xfer_controls(); | ^ dirtable.c:583:9: warning: call to undeclared function 'update_host_controls'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 583 | update_host_controls(i); | ^ dirtable.c:555:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 555 | toggle_table_entry(host, indx) | ^ dirtable.c:584:1: warning: non-void function does not return a value [-Wreturn-type] 584 | } | ^ dirtable.c:591:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 591 | dirtable_in_use(host) | ^ | int dirtable.c:591:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] dirtable.c:605:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 605 | clear_selected_table_entries(host) | ^ | int dirtable.c:605:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] dirtable.c:613:1: warning: non-void function does not return a value [-Wreturn-type] 613 | } | ^ dirtable.c:626:13: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 626 | int host = (int)client_data; | ^~~~~~~~~~~~~~~~ dirtable.c:659:4: warning: call to undeclared function 'draw_entry'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 659 | draw_entry(host, indx); | ^ dirtable.c:621:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 621 | cb_redraw_dirtable(widget, client_data, call_data) | ^ dirtable.c:133: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] 133 | void cb_redraw_dirtable(); | ^ dirtable.c:669:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 669 | calc_dirtable_geometry(host) | ^ | int dirtable.c:669:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] dirtable.c:723:1: warning: non-void function does not return a value [-Wreturn-type] 723 | } | ^ dirtable.c:730:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 730 | draw_entry(host, indx) | ^ | int dirtable.c:730:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] dirtable.c:755:1: warning: non-void function does not return a value [-Wreturn-type] 755 | } | ^ dirtable.c:762:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 762 | entry_index(host, x, y) | ^ | int dirtable.c:762:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] dirtable.c:810:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 810 | point_in_clipwindow(host, x, y) | ^ | int dirtable.c:810:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] dirtable.c:854:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 854 | enable_dirtable(host, enable) | ^ | int dirtable.c:854:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] dirtable.c:859:1: warning: non-void function does not return a value [-Wreturn-type] 859 | } | ^ --- dirpath.o --- 4 warnings generated. --- fallbacks.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 fallbacks.c --- dirtable.o --- 78 warnings generated. --- flag.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 flag.c --- fallbacks.o --- fallbacks.c:249:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 249 | get_fallbacks(use_color) | ^ 1 warning generated. --- force.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 force.c --- flag.o --- flag.c:71:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 71 | init_result_flag() | ^ | int flag.c:74: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] 74 | okflag_pixmap = create_pixmap(&okflag); | ^ flag.c:75: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] 75 | errorflag_pixmap = create_pixmap(&errorflag); | ^ flag.c:83:1: warning: non-void function does not return a value [-Wreturn-type] 83 | } | ^ flag.c:89:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 89 | raise_okflag() | ^ | int flag.c:102:1: warning: non-void function does not return a value [-Wreturn-type] 102 | } | ^ flag.c:108:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 108 | raise_errorflag() | ^ | int flag.c:121:1: warning: non-void function does not return a value [-Wreturn-type] 121 | } | ^ 8 warnings generated. --- get.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 get.c --- force.o --- force.c:31:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 31 | force_update(w) | ^ | int force.c:31:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] force.c:77:1: warning: non-void function does not return a value [-Wreturn-type] 77 | } | ^ 3 warnings generated. --- goto.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 goto.c --- get.o --- In file included from get.c:64: ./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(); | ^ get.c:83:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 83 | init_get() | ^ | int get.c:107:2: warning: call to undeclared function 'snk_paths_of_xfer_node'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 107 | snk_paths_of_xfer_node(xc.current_node, NULL, &tmp_snk_path); | ^ get.c:118:41: warning: passing arguments to 'create_unique_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 118 | if ((tmp_snk_path = create_unique_name(snk_path)) == NULL) | ^ get.c:125:3: warning: call to undeclared function 'parse_path'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 125 | parse_path(SYS_UNIX, snk_path, &dir, NULL); | ^ get.c:126:12: warning: call to undeclared function 'local_mkdir'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 126 | retval = local_mkdir(xc.snk_host, dir, 0700); | ^ get.c:133:7: warning: call to undeclared function 'can_create_sinkfile'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 133 | if (!can_create_sinkfile(xc.snk_host, snk_path)) | ^ get.c:137:2: warning: call to undeclared function 'src_paths_of_xfer_node'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 137 | src_paths_of_xfer_node(xc.current_node, NULL, &full_path); | ^ get.c:138:5: warning: call to undeclared function 'parse_path'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 138 | parse_path(xc.src_host_system, full_path, &src_dir, &src_file); | ^ get.c:140:14: warning: call to undeclared function 'remote_cd'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 140 | retval = remote_cd(xc.src_host, src_dir, True, True); | ^ get.c:154:14: warning: call to undeclared function 'init_data_conn'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 154 | if ((sock = init_data_conn(xc.src_host)) < 0) { | ^ get.c:162:16: warning: call to undeclared function 'send_ftp_cmd'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 162 | if ((retval = send_ftp_cmd(xc.src_host, cmd)) < 0) { | ^ get.c:168:10: warning: call to undeclared function 'get_ftp_reply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 168 | scode = get_ftp_reply(xc.src_host, reply, MAXFTPREPLY, &code, maxt, True); | ^ get.c:171:30: warning: passing arguments to 'extract_file_len' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 171 | file_len = extract_file_len(reply); | ^ get.c:175:4: warning: call to undeclared function 'print_ftp_reply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 175 | print_ftp_reply(xc.src_host, reply); | ^ get.c:182:3: warning: call to undeclared function 'report_client_timeout'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 182 | report_client_timeout(xc.src_host); | ^ get.c:191:12: warning: call to undeclared function 'accept_data_conn'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 191 | data_fd = accept_data_conn(xc.src_host, sock); | ^ get.c:210:3: warning: call to undeclared function 'report_perror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 210 | report_perror(xc.snk_host, snk_path); | ^ get.c:211:10: warning: call to undeclared function 'abort_get'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 211 | return abort_get(); | ^ get.c:216:9: warning: call to undeclared function 'fatal_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 216 | fatal_error("Programming bug in init_get() involving tcpbuf"); | ^ get.c:234:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 234 | do_get() | ^ | int get.c:246:20: warning: call to undeclared function 'read_tcp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 246 | switch (nbytes = read_tcp(xc.src_host, xc.data_fd, tcpbuf, | ^ get.c:252:11: warning: call to undeclared function 'abort_get'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 252 | return abort_get(); | ^ get.c:273:14: warning: call to undeclared function 'abort_get'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 273 | return abort_get(); | ^ get.c:286:20: warning: call to undeclared function 'read_tcp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 286 | switch (nbytes = read_tcp(xc.src_host, xc.data_fd, tcpbuf, | ^ get.c:292:11: warning: call to undeclared function 'abort_get'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 292 | return abort_get(); | ^ get.c:296:8: warning: call to undeclared function 'iwrite'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 296 | if (iwrite(fileno(xc.snk_fp), tcpbuf, nbytes) != nbytes) { | ^ get.c:297:5: warning: call to undeclared function 'snk_paths_of_xfer_node'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 297 | snk_paths_of_xfer_node(xc.current_node, NULL, &snk_path); | ^ get.c:298:5: warning: call to undeclared function 'report_perror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 298 | report_perror(xc.snk_host, snk_path); | ^ get.c:319:10: warning: call to undeclared function 'get_ftp_reply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 319 | scode = get_ftp_reply(xc.src_host, reply, MAXFTPREPLY, &code, maxt, True); | ^ get.c:328:3: warning: call to undeclared function 'report_client_timeout'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 328 | report_client_timeout(xc.src_host); | ^ get.c:331:4: warning: call to undeclared function 'print_ftp_reply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 331 | print_ftp_reply(xc.src_host, reply); | ^ get.c:343:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 343 | abort_get() | ^ | int get.c:354:2: warning: call to undeclared function 'urgent_abort'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 354 | urgent_abort(xc.src_host); | ^ get.c:363:10: warning: call to undeclared function 'read_tcp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 363 | while (read_tcp(xc.src_host, xc.data_fd, tcpbuf, XFER_USER_TCPBUFLEN, | ^ get.c:371:12: warning: call to undeclared function 'get_ftp_reply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 371 | retval = get_ftp_reply(xc.src_host, reply, MAXFTPREPLY, &code, nsecs, | ^ get.c:384:3: warning: call to undeclared function 'report_client_timeout'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 384 | report_client_timeout(xc.src_host); | ^ 40 warnings generated. --- help.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 help.c --- goto.o --- goto.c:79:13: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 79 | int host = (int)client_data; | ^~~~~~~~~~~~~~~~ goto.c:82:2: warning: call to undeclared function 'raise_okflag'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 82 | raise_okflag(); | ^ goto.c:85:26: 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] 85 | new_wd = cstring_to_text(string); | ^ goto.c:89:2: warning: call to undeclared function 'change_directory'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 89 | change_directory(host, new_wd); | ^ goto.c:72:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 72 | cb_goto_prev_dir(widget, client_data, call_data) | ^ goto.c:98:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 98 | initialize_goto_menu(host) | ^ | int goto.c:119:31: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] 119 | cb_goto_prev_dir, (XtPointer)host); | ^~~~~~~~~~~~~~~ goto.c:98:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 98 | initialize_goto_menu(host) | ^ goto.c:122:1: warning: non-void function does not return a value [-Wreturn-type] 122 | } | ^ goto.c:144:5: warning: call to undeclared function 'retrieve_cache'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 144 | retrieve_cache(DIRECTORY, hinfo[host].hostname, &list, sort_caches); | ^ goto.c:156:2: warning: call to undeclared function 'release_array_list'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 156 | release_array_list(list); | ^ goto.c:170:13: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 170 | int host = (int)client_data; | ^~~~~~~~~~~~~~~~ goto.c:165:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 165 | cb_dir_menu(widget, client_data, call_data) | ^ 13 warnings generated. --- host.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 host.c --- help.o --- help.c:102:5: warning: call to undeclared function 'raise_okflag'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 102 | raise_okflag(); | ^ help.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 | cb_contextual_help(widget, client_data, call_data) | ^ help.c:119:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 119 | help_dialog(w_parent, modal, topic, text) | ^ | int help.c:139:35: warning: passing arguments to 'create_help_dialog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 139 | current_help = create_help_dialog(w_parent); | ^ help.c:140:2: warning: call to undeclared function 'add_dialog_to_list'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 140 | add_dialog_to_list(current_help->w_dialog); | ^ help.c:119:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 119 | help_dialog(w_parent, modal, topic, text) | ^ help.c:168:1: warning: non-void function does not return a value [-Wreturn-type] 168 | } | ^ help.c:193:2: warning: call to undeclared function 'add_wm_delete_window_cb'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 193 | add_wm_delete_window_cb(help->w_dialog, cb_help_close, NULL); | ^ help.c:253:2: warning: call to undeclared function 'fix_vertical_text_sb_color'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 253 | fix_vertical_text_sb_color(help->w_text); | ^ help.c:254:2: warning: call to undeclared function 'set_bg_to_sb_trough_color'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 254 | set_bg_to_sb_trough_color(help->w_text, | ^ help.c:255:14: warning: passing arguments to 'vertical_sb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 255 | vertical_sb(XtParent(help->w_text))); | ^ help.c:175:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 175 | create_help_dialog(w_parent) | ^ help.c:83:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 83 | struct help_st *create_help_dialog(); | ^ help.c:317:3: warning: call to undeclared function 'fatal_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 317 | fatal_error("*** Bug in cb_help_close()"); | ^ help.c:308:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 308 | cb_help_close(widget, client_data, call_data) | ^ help.c:80: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] 80 | void cb_help_close(); | ^ help.c:332:3: warning: call to undeclared function 'remove_dialog_from_list'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 332 | remove_dialog_from_list(old_help->w_dialog); | ^ help.c:336:3: warning: call to undeclared function 'remove_dialog_from_list'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 336 | remove_dialog_from_list(current_help->w_dialog); | ^ help.c:340:3: warning: call to undeclared function 'fatal_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 340 | fatal_error("Bug in cb_help_destroy()"); | ^ help.c:325:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 325 | cb_help_destroy(widget, client_data, call_data) | ^ help.c:81: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] 81 | void cb_help_destroy(); | ^ 21 warnings generated. --- lconnect.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 lconnect.c --- host.o --- host.c:78:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 78 | update_hostname(host) | ^ | int host.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] host.c:91:1: warning: non-void function does not return a value [-Wreturn-type] 91 | } | ^ host.c:116:2: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 116 | close(hinfo[host].ctrl_fd); | ^ host.c:120:2: 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] 120 | sprintf(msg, "Lost connection to \"%s\" host. Do you wish to reconnect?\n(If so, you might need to resubmit your last command.)", | ^ host.c:120:2: note: include the header or explicitly provide a declaration for 'sprintf' host.c:122:2: warning: call to undeclared function 'use_normal_cursor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 122 | use_normal_cursor(); | ^ host.c:123:6: warning: call to undeclared function 'question_dialog'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 123 | if (question_dialog(msg) == False) { | ^ host.c:124:7: warning: call to undeclared function 'update_dir_displays'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 124 | if (update_dir_displays(host, False) < 0) | ^ host.c:125:4: warning: call to undeclared function 'fatal_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 125 | fatal_error("Programming bug in lost_connection()"); | ^ host.c:126:3: warning: call to undeclared function 'update_xfer_controls'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 126 | update_xfer_controls(); | ^ host.c:127:3: warning: call to undeclared function 'update_dirname_menu'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 127 | update_dirname_menu(host); | ^ host.c:128:3: warning: call to undeclared function 'update_dirpath'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 128 | update_dirpath(host); | ^ host.c:130:3: warning: call to undeclared function 'update_host_controls'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 130 | update_host_controls(host); | ^ host.c:131:3: 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(); | ^ host.c:134:2: warning: call to undeclared function 'restore_prev_cursor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 134 | restore_prev_cursor(); | ^ host.c:137:2: warning: call to undeclared function 'use_busy_cursor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 137 | use_busy_cursor(); | ^ host.c:158:11: warning: call to undeclared function 'do_connect'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 158 | retval = do_connect(host, hostname, username, password, account, NULL); | ^ host.c:164:6: warning: call to undeclared function 'remote_cd'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 164 | || remote_cd(host, wd, False, True) < 0 | ^ host.c:165:6: warning: call to undeclared function 'remote_pwd'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 165 | || remote_pwd(host, ¤t_wd) < 0) { | ^ host.c:168:7: warning: call to undeclared function 'update_dir_displays'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 168 | if (update_dir_displays(host, False) < 0) | ^ host.c:169:4: warning: call to undeclared function 'fatal_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 169 | fatal_error("Programming bug in lost_connection()"); | ^ host.c:170:3: warning: call to undeclared function 'update_xfer_controls'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 170 | update_xfer_controls(); | ^ host.c:171:3: warning: call to undeclared function 'update_dirname_menu'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 171 | update_dirname_menu(host); | ^ host.c:172:3: warning: call to undeclared function 'update_dirpath'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 172 | update_dirpath(host); | ^ host.c:174:3: warning: call to undeclared function 'update_host_controls'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 174 | update_host_controls(host); | ^ host.c:186:6: warning: call to undeclared function 'update_dir_displays'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 186 | if (update_dir_displays(host, False) < 0) { | ^ host.c:187:3: warning: call to undeclared function 'warning_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 187 | warning_error("Unable to reconnect to remote host"); | ^ host.c:191:4: warning: call to undeclared function 'fatal_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 191 | fatal_error("Programming bug in lost_connection()"); | ^ host.c:194:4: warning: call to undeclared function 'XmListSelectItem'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 194 | XmListSelectItem(w_dirList[host], sitems[i], True); | ^ host.c:196:2: warning: call to undeclared function 'update_xfer_controls'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 196 | update_xfer_controls(); | ^ host.c:197:5: warning: call to undeclared function 'update_dirname_menu'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 197 | update_dirname_menu(host); | ^ host.c:198:2: warning: call to undeclared function 'update_dirpath'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 198 | update_dirpath(host); | ^ host.c:200:5: warning: call to undeclared function 'update_host_controls'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 200 | update_host_controls(host); | ^ host.c:220:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 220 | update_host_controls(host) | ^ | int host.c:235:23: warning: call to undeclared function 'host_selected'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 235 | sensitivity = host_selected(host); | ^ host.c:220:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 220 | update_host_controls(host) | ^ host.c:252:1: warning: non-void function does not return a value [-Wreturn-type] 252 | } | ^ host.c:259:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 259 | host_selected(host) | ^ | int host.c:262:9: warning: call to undeclared function 'selection_count'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 262 | if (selection_count(host)) | ^ host.c:259:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 259 | host_selected(host) | ^ host.c:273:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 273 | selection_count(host) | ^ | int host.c:273:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 42 warnings generated. --- lcopy.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 lcopy.c --- lconnect.o --- lconnect.c:79:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 79 | connect_to_local(host) | ^ | int lconnect.c:101:13: warning: call to undeclared function 'cuserid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 101 | username = cuserid(NULL); | ^ lconnect.c:101:11: warning: incompatible integer to pointer conversion assigning to 'char *' from 'int' [-Wint-conversion] 101 | username = cuserid(NULL); | ^ ~~~~~~~~~~~~~ lconnect.c:109:3: warning: call to undeclared function 'retrieve_cache'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 109 | retrieve_cache(DIRECTORY, hinfo[host].hostname, &list, False); | ^ lconnect.c:111:8: warning: call to undeclared function 'local_cd'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 111 | if (local_cd(host, list->entries[0], True) == 0) | ^ lconnect.c:116:5: warning: call to undeclared function 'warning_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 116 | warning_error(msg); | ^ lconnect.c:121:3: warning: call to undeclared function 'release_array_list'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 121 | release_array_list(list); | ^ lconnect.c:132:9: warning: call to undeclared function 'update_dir_displays'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 132 | if (update_dir_displays(host, False) < 0) | ^ lconnect.c:133:3: warning: call to undeclared function 'fatal_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 133 | fatal_error("*** Bug in connect_to_local()"); | ^ lconnect.c:134:2: warning: call to undeclared function 'update_xfer_controls'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 134 | update_xfer_controls(); | ^ lconnect.c:135:5: warning: call to undeclared function 'update_dirname_menu'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 135 | update_dirname_menu(host); | ^ lconnect.c:136:2: warning: call to undeclared function 'update_dirpath'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 136 | update_dirpath(host); | ^ lconnect.c:137:2: warning: call to undeclared function 'update_dir_cache'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 137 | update_dir_cache(host); | ^ lconnect.c:138:5: warning: call to undeclared function 'update_hostname'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 138 | update_hostname(host); | ^ lconnect.c:139:5: warning: call to undeclared function 'update_host_controls'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 139 | update_host_controls(host); | ^ lconnect.c:79:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 79 | connect_to_local(host) | ^ lconnect.c:140:1: warning: non-void function does not return a value [-Wreturn-type] 140 | } | ^ lconnect.c:152:13: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 152 | int host = (int)client_data; | ^~~~~~~~~~~~~~~~ lconnect.c:155:2: warning: call to undeclared function 'raise_okflag'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 155 | raise_okflag(); | ^ lconnect.c:159:9: warning: call to undeclared function 'disconnect'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 159 | disconnect(host); | ^ lconnect.c:147:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 147 | cb_connect_to_local(widget, client_data, call_data) | ^ 21 warnings generated. --- list.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 list.c --- lcopy.o --- lcopy.c:74:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 74 | init_local_copy() | ^ | int lcopy.c:89:2: warning: call to undeclared function 'snk_paths_of_xfer_node'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 89 | snk_paths_of_xfer_node(xc.current_node, NULL, &tmp_snk_file); | ^ lcopy.c:90:2: warning: call to undeclared library function 'strcpy' with type 'char *(char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 90 | strcpy(snk_file, tmp_snk_file); | ^ lcopy.c:90:2: note: include the header or explicitly provide a declaration for 'strcpy' lcopy.c:91:2: warning: call to undeclared function 'XtFree'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 91 | XtFree(tmp_snk_file); | ^ lcopy.c:95:47: warning: passing arguments to 'create_unique_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 95 | if ((tmp_snk_file = create_unique_name(snk_file)) == NULL) | ^ lcopy.c:103:9: warning: call to undeclared function 'parse_path'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 103 | parse_path(SYS_UNIX, snk_path, &dir, NULL); | ^ lcopy.c:105:18: warning: call to undeclared function 'local_mkdir'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 105 | retval = local_mkdir(xc.snk_host, dir, 0700); | ^ lcopy.c:112:10: warning: call to undeclared function 'can_create_sinkfile'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 112 | if (!can_create_sinkfile(xc.snk_host, snk_file)) | ^ lcopy.c:116:2: warning: call to undeclared function 'src_paths_of_xfer_node'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 116 | src_paths_of_xfer_node(xc.current_node, NULL, &src_file); | ^ lcopy.c:117:24: warning: call to undeclared function 'iopen2'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 117 | if ((src_file_fd = iopen2(src_file, O_RDONLY)) < 0) { | ^ lcopy.c:118:9: warning: call to undeclared function 'report_perror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 118 | report_perror(xc.src_host, src_file); | ^ lcopy.c:124:3: warning: call to undeclared function 'warning_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 124 | warning_error(msg); | ^ lcopy.c:125:9: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 125 | close(src_file_fd); | ^ lcopy.c:135:6: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 135 | if (unlink(snk_file) == -1) | ^ lcopy.c:137:4: warning: call to undeclared function 'report_perror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 137 | report_perror(xc.snk_host, snk_file); | ^ lcopy.c:138:4: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 138 | close(src_file_fd); | ^ lcopy.c:141:21: warning: call to undeclared function 'iopen3'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 141 | if ((snk_file_fd = iopen3(snk_file, O_CREAT|O_WRONLY, 0644)) < 0) { | ^ lcopy.c:142:3: warning: call to undeclared function 'report_perror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 142 | report_perror(xc.snk_host, snk_file); | ^ lcopy.c:143:3: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 143 | close(src_file_fd); | ^ lcopy.c:162:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 162 | do_local_copy() | ^ | int lcopy.c:171:7: warning: call to undeclared function 'iread'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 171 | if (iread(xc.src_file_fd, filebuf, nbytes) != nbytes) { | ^ lcopy.c:172:4: warning: call to undeclared function 'src_paths_of_xfer_node'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 172 | src_paths_of_xfer_node(xc.current_node, NULL, &src_file); | ^ lcopy.c:173:4: warning: call to undeclared function 'report_perror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 173 | report_perror(xc.src_host, src_file); | ^ lcopy.c:174:4: warning: call to undeclared function 'XtFree'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 174 | XtFree(src_file); | ^ lcopy.c:175:4: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 175 | close(xc.src_file_fd); | ^ lcopy.c:179:7: warning: call to undeclared function 'iwrite'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 179 | if (iwrite(xc.snk_file_fd, filebuf, nbytes) != nbytes) { | ^ lcopy.c:180:4: warning: call to undeclared function 'snk_paths_of_xfer_node'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 180 | snk_paths_of_xfer_node(xc.current_node, NULL, &snk_file); | ^ lcopy.c:181:4: warning: call to undeclared function 'report_perror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 181 | report_perror(xc.snk_host, snk_file); | ^ lcopy.c:182:4: warning: call to undeclared function 'XtFree'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 182 | XtFree(snk_file); | ^ lcopy.c:183:4: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 183 | close(xc.src_file_fd); | ^ lcopy.c:195:5: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 195 | close(xc.src_file_fd); | ^ lcopy.c:206:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 206 | abort_local_copy() | ^ | int lcopy.c:208:2: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 208 | close(xc.src_file_fd); | ^ 33 warnings generated. --- local.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 local.c --- list.o --- list.c:62:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 62 | add_to_linked_list(head, string) | ^ | int list.c:62:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] list.c:72:1: warning: non-void function does not return a value [-Wreturn-type] 72 | } | ^ list.c:79:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 79 | release_linked_list(head) | ^ | int list.c:79:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] list.c:90:2: warning: non-void function does not return a value [-Wreturn-type] 90 | } | ^ list.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 | create_array_list(head) | ^ list.c:157:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 157 | release_array_list(list) | ^ | int list.c:157:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] list.c:167:1: warning: non-void function does not return a value [-Wreturn-type] 167 | } | ^ list.c:173:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 173 | add_to_array_list(list, string) | ^ | int list.c:173:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] list.c:200:1: warning: non-void function does not return a value [-Wreturn-type] 200 | } | ^ list.c:206:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 206 | delete_from_array_list(list, n) | ^ | int list.c:214:3: warning: call to undeclared function 'fatal_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 214 | fatal_error("Trouble in add_to_array_list()"); | ^ list.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 | delete_from_array_list(list, n) | ^ list.c:225:1: warning: non-void function does not return a value [-Wreturn-type] 225 | } | ^ list.c:232:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 232 | duplicate_array_list(list) | ^ 18 warnings generated. --- log.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 log.c --- local.o --- local.c:78:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 78 | local_cd(host, directory, print_error_msg) | ^ | int local.c:85:16: warning: call to undeclared function 'chdir'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 85 | if ((retval = chdir(directory)) != 0) { | ^ local.c:87:4: warning: call to undeclared function 'report_perror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 87 | report_perror(host, directory); | ^ local.c:78:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 78 | local_cd(host, directory, print_error_msg) | ^ local.c:100:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 100 | local_pwd(name) | ^ | int local.c:115:16: warning: passing arguments to 'getwd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | retval = getwd(pathname); | ^ local.c:100:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 100 | local_pwd(name) | ^ local.c:132:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 132 | local_mkdir(host, directory, mode) | ^ | int local.c:139:16: warning: call to undeclared function 'mkdir'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 139 | if ((retval = mkdir(directory, mode)) != 0) | ^ local.c:140:3: warning: call to undeclared function 'report_perror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 140 | report_perror(host, directory); | ^ local.c:132:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 132 | local_mkdir(host, directory, mode) | ^ local.c:151:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 151 | local_delete(host, path) | ^ | int local.c:159:6: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 159 | if (unlink(path) == 0) | ^ local.c:162:3: warning: call to undeclared function 'parse_path'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 162 | parse_path(SYS_UNIX, path, &dir, &entry); | ^ local.c:163:48: warning: call to undeclared function 'rmdir'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 163 | result = (local_cd(host, dir, False) == 0 && rmdir(entry) == 0); | ^ local.c:170:2: warning: call to undeclared function 'report_perror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 170 | report_perror(host, path); | ^ local.c:151:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 151 | local_delete(host, path) | ^ local.c:180:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 180 | local_rename(host, old_path, new_path) | ^ | int local.c:188:3: warning: call to undeclared function 'report_perror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 188 | report_perror(host, "Rename"); | ^ local.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 | local_rename(host, old_path, new_path) | ^ local.c:197:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 197 | max_fds() | ^ | int local.c:208:17: warning: call to undeclared function 'getdtablesize'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 208 | max_files = getdtablesize(); | ^ local.c:231:9: warning: call to undeclared function 'gethostname'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 231 | if (gethostname(name, MAXHOSTNAMELEN) == -1) | ^ local.c:232:9: warning: call to undeclared function 'fatal_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 232 | fatal_error("Trouble in local_host_name()"); | ^ 24 warnings generated. --- ls.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 ls.c --- log.o --- In file included from log.c:60: ./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(); | ^ log.c:87:12: error: redeclaration of 'sys_nerr' with a different type: 'int' vs 'const int' 87 | 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 */ | ^ log.c:90:14: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]' 90 | 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[]; | ^ log.c:100:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 100 | write_log(msg) | ^ | int log.c:100:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] log.c:119:2: warning: call to undeclared function 'raise_okflag'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 119 | raise_okflag(); | ^ log.c:113:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 113 | cb_clear_log(widget, client_data, call_data) | ^ log.c:129:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 129 | report_perror(host, msg) | ^ | int log.c:150:13: warning: passing 'const char *const' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 150 | write_log(sys_errlist[saved_errno]); | ^~~~~~~~~~~~~~~~~~~~~~~~ log.c:129:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 129 | report_perror(host, msg) | ^ log.c:153:3: warning: 'sprintf' will always overflow; destination buffer has size 10, but format string expands to at least 11 [-Wformat-overflow] 153 | 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__) | ^ log.c:163:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 163 | print_ftp_reply(host, reply) | ^ | int log.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] log.c:181:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 181 | print_ftp_cmd(host, cmd) | ^ | int log.c:181:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] log.c:217:5: warning: call to undeclared function 'raise_okflag'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 217 | raise_okflag(); | ^ log.c:224:5: warning: call to undeclared function 'add_dialog_to_list'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 224 | add_dialog_to_list(w_saveLogDialog); | ^ log.c:210:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 210 | cb_save_log(widget, client_data, call_data) | ^ log.c:287:3: warning: call to undeclared function 'warning_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 287 | warning_error(msg); | ^ log.c:270:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 270 | cb_save_log_ok(widget, client_data, call_data) | ^ log.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 cb_save_log_ok(); | ^ log.c:314:5: warning: call to undeclared function 'help_dialog'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 314 | help_dialog(w_saveLogDialog, False, "Save Diagnostics Log", | ^ log.c:309:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 309 | cb_help_save_diagnostics_log(widget, client_data, call_data) | ^ log.c:94: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] 94 | void cb_help_save_diagnostics_log(); | ^ log.c:322:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 322 | show_top_of_log() | ^ | int 26 warnings and 2 errors generated. *** [log.o] Error code 1 bmake: stopped making "all" in /var/tmp/work/net/llnlxftp/work/llnlxftp2.1/sources --- ls.o --- In file included from ls.c:71: ./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(); | ^ ls.c:109:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 109 | local_ls(directory, dlist, sym_mode) | ^ | int ls.c:123:4: warning: call to undeclared function 'add_to_linked_list'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 123 | add_to_linked_list(&head, ".unreadable"); | ^ ls.c:130:12: warning: call to undeclared function 'chdir'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 130 | retval = chdir(directory); | ^ ls.c:147:5: warning: call to undeclared function 'add_to_linked_list'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 147 | add_to_linked_list(&head, entry); | ^ ls.c:149:11: warning: call to undeclared function 'add_to_linked_list'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 149 | add_to_linked_list(&head, dp->d_name); | ^ ls.c:157:31: warning: passing arguments to 'create_array_list' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 157 | *dlist = create_array_list(&head); | ^ ls.c:161:3: warning: call to undeclared function 'quicksort'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 161 | quicksort((*dlist)->entries, (*dlist)->nentries, cmp_symbol_entries); | ^ ls.c:109:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 109 | local_ls(directory, dlist, sym_mode) | ^ ls.c:174:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 174 | local_dir(directory, dlist) | ^ | int ls.c:189:2: warning: call to undeclared function 'save_sigcld_handler'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 189 | save_sigcld_handler(); | ^ ls.c:191:3: warning: call to undeclared function 'restore_sigcld_handler'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 191 | restore_sigcld_handler(); | ^ ls.c:195:18: warning: passing arguments to 'ifgets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 195 | while (ifgets(dirline, MAXDIRLINE, fp) != NULL) { | ^ ls.c:206:4: warning: call to undeclared function 'add_to_linked_list'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 206 | add_to_linked_list(&head, dirline); | ^ ls.c:208:2: warning: call to undeclared function 'restore_sigcld_handler'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 208 | restore_sigcld_handler(); | ^ ls.c:211:3: warning: call to undeclared function 'release_linked_list'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 211 | release_linked_list(&head); | ^ ls.c:218:31: warning: passing arguments to 'create_array_list' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 218 | *dlist = create_array_list(&head); | ^ ls.c:174:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 174 | local_dir(directory, dlist) | ^ ls.c:233:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 233 | remote_dirlist(host, directory, cmd, dlist) | ^ | int ls.c:270:19: warning: call to undeclared function 'remote_cd'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 270 | if ((retval = remote_cd(host, directory, False, True)) < 0) | ^ ls.c:274:17: warning: call to undeclared function 'init_data_conn'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 274 | if ((sock = init_data_conn(host)) < 0) | ^ ls.c:278:19: warning: call to undeclared function 'send_ftp_cmd'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 278 | if ((retval = send_ftp_cmd(host, cmd)) < 0) { | ^ ls.c:279:9: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 279 | close(sock); | ^ ls.c:284:10: warning: call to undeclared function 'get_ftp_reply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 284 | scode = get_ftp_reply(host, reply, MAXFTPREPLY, &code, maxt, False); | ^ ls.c:289:3: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 289 | close(sock); | ^ ls.c:292:17: warning: call to undeclared function 'write_log'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 292 | write_log("*** Directory list failed. Will retry.\n"); | ^ ls.c:296:4: warning: call to undeclared function 'print_ftp_reply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 296 | print_ftp_reply(host, reply); | ^ ls.c:311:3: warning: call to undeclared function 'report_client_timeout'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 311 | report_client_timeout(host); | ^ ls.c:320:15: warning: call to undeclared function 'accept_data_conn'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 320 | data_fd = accept_data_conn(host, sock); | ^ ls.c:321:5: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 321 | close(sock); | ^ ls.c:331:13: warning: call to undeclared function 'read_tcp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 331 | nbytes = read_tcp(host, data_fd, tcpbuf, MAXTCPBUF, maxt, False); | ^ ls.c:334:17: warning: call to undeclared function 'release_linked_list'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 334 | release_linked_list(&head); | ^ ls.c:351:17: warning: call to undeclared function 'write_log'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 351 | write_log(ftpline); | ^ ls.c:354:13: warning: call to undeclared function 'add_to_linked_list'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 354 | add_to_linked_list(&head, ftpline); | ^ ls.c:358:17: warning: call to undeclared function 'release_linked_list'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 358 | release_linked_list(&head); | ^ ls.c:377:3: warning: call to undeclared function 'release_linked_list'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 377 | release_linked_list(&head); | ^ ls.c:381:3: warning: call to undeclared function 'report_client_timeout'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 381 | report_client_timeout(host); | ^ ls.c:385:17: warning: call to undeclared function 'write_log'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 385 | write_log("*** Directory list failed. Will retry.\n"); | ^ ls.c:395:4: warning: call to undeclared function 'print_ftp_reply'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 395 | print_ftp_reply(host, reply); | ^ ls.c:404:31: warning: passing arguments to 'create_array_list' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 404 | *dlist = create_array_list(&head); | ^ ls.c:411:5: warning: call to undeclared function 'urgent_abort'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 411 | urgent_abort(host); | ^ ls.c:414:12: warning: call to undeclared function 'read_tcp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 414 | while (read_tcp(host, data_fd, tcpbuf, MAXTCPBUF, 10, False) > 0); | ^ ls.c:425:3: warning: call to undeclared function 'report_client_timeout'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 425 | report_client_timeout(host); | ^ ls.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 | remote_dirlist(host, directory, cmd, dlist) | ^ ls.c:439:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 439 | remote_ls(host, directory, dlist, sym_mode) | ^ | int ls.c:488:6: warning: call to undeclared function 'delete_from_array_list'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 488 | delete_from_array_list(dlist, i); | ^ ls.c:491:6: warning: call to undeclared function 'delete_from_array_list'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 491 | delete_from_array_list(dlist, i); | ^ ls.c:502:3: warning: call to undeclared function 'quicksort'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 502 | quicksort((*dlist)->entries, (*dlist)->nentries, cmp_symbol_entries); | ^ ls.c:439:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 439 | remote_ls(host, directory, dlist, sym_mode) | ^ ls.c:517:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 517 | remote_dir(host, directory, dlist) | ^ | int ls.c:560:5: warning: call to undeclared function 'delete_from_array_list'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 560 | delete_from_array_list(dlist, i); | ^ ls.c:517:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 517 | remote_dir(host, directory, dlist) | ^ 55 warnings generated. bmake: 1 error bmake: stopped making "all" in /var/tmp/work/net/llnlxftp/work/llnlxftp2.1/sources *** Error code 2 Stop. bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/net/llnlxftp *** Error code 1 Stop. bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/net/llnlxftp