=> Bootstrap dependency digest>=20211023: found digest-20220214
WARNING: [license.mk] Every package should define a LICENSE.
===> Building for llnlxftp-2.1nb4
clang -Os -Wall -Wpointer-arith -no-cpp-precomp     -I/opt/pkg/include    -D__x86_64__ -D__DARWIN__                                 -DNO_ALLOCA -DCSRG_BASED        -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c abort.c
abort.c:70:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
show_abort_dialog()
^
abort.c:74:2: warning: implicit declaration of function 'add_dialog_to_list' is invalid in C99 [-Wimplicit-function-declaration]
        add_dialog_to_list(w_abortDialog);
        ^
abort.c:75:2: warning: implicit declaration of function 'force_update' is invalid in C99 [-Wimplicit-function-declaration]
        force_update(w_abortDialog);
        ^
abort.c:76:1: warning: non-void function does not return a value [-Wreturn-type]
}
^
abort.c:83:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
hide_abort_dialog()
^
abort.c:86:1: warning: non-void function does not return a value [-Wreturn-type]
}
^
6 warnings generated.
clang -Os -Wall -Wpointer-arith -no-cpp-precomp     -I/opt/pkg/include    -D__x86_64__ -D__DARWIN__                                 -DNO_ALLOCA -DCSRG_BASED        -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c aconnect.c
aconnect.c:148:16: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast]
    int host = (int)client_data;
               ^~~~~~~~~~~~~~~~
aconnect.c:151:2: warning: implicit declaration of function 'raise_okflag' is invalid in C99 [-Wimplicit-function-declaration]
        raise_okflag();
        ^
aconnect.c:155:3: warning: implicit declaration of function 'disconnect' is invalid in C99 [-Wimplicit-function-declaration]
                disconnect(host);
                ^
aconnect.c:159:2: warning: implicit declaration of function 'update_aconnect_dialog' is invalid in C99 [-Wimplicit-function-declaration]
        update_aconnect_dialog(host);
        ^
aconnect.c:163:2: warning: implicit declaration of function 'add_dialog_to_list' is invalid in C99 [-Wimplicit-function-declaration]
        add_dialog_to_list(aconnect.w_dialog);
        ^
aconnect.c:234:2: warning: implicit declaration of function 'fix_list_color' is invalid in C99 [-Wimplicit-function-declaration]
        fix_list_color(aconnect.w_hostList);
        ^
aconnect.c:332:2: warning: implicit declaration of function 'set_bg_to_sb_trough_color' is invalid in C99 [-Wimplicit-function-declaration]
        set_bg_to_sb_trough_color(aconnect.w_hostName,
        ^
aconnect.c:346:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
update_aconnect_dialog(host)
^
aconnect.c:356:5: warning: implicit declaration of function 'retrieve_hostuser_cache' is invalid in C99 [-Wimplicit-function-declaration]
    retrieve_hostuser_cache(&list, sort_caches);
    ^
aconnect.c:359:5: warning: implicit declaration of function 'reset_list' is invalid in C99 [-Wimplicit-function-declaration]
    reset_list(aconnect.w_hostList);
    ^
aconnect.c:361:7: warning: implicit declaration of function 'parse_hostuser' is invalid in C99 [-Wimplicit-function-declaration]
                if (parse_hostuser(list->entries[i], &host_part, &user_part) == 0) {
                    ^
aconnect.c:373:5: warning: implicit declaration of function 'release_array_list' is invalid in C99 [-Wimplicit-function-declaration]
    release_array_list(list);
    ^
aconnect.c:386:1: warning: non-void function does not return a value [-Wreturn-type]
}
^
aconnect.c:424:6: warning: implicit declaration of function 'parse_hostuser' is invalid in C99 [-Wimplicit-function-declaration]
        if (parse_hostuser(text, &host_part, &user_part) < 0)
            ^
aconnect.c:425:3: warning: implicit declaration of function 'fatal_error' is invalid in C99 [-Wimplicit-function-declaration]
                fatal_error("Trouble in cb_aconnect_single_selection()");
                ^
aconnect.c:444:5: warning: implicit declaration of function 'help_dialog' is invalid in C99 [-Wimplicit-function-declaration]
    help_dialog(aconnect.w_dialog, True, "Connect to Anonymous", aconnect_help);
    ^
aconnect.c:465:3: warning: implicit declaration of function 'fatal_error' is invalid in C99 [-Wimplicit-function-declaration]
                fatal_error("Programming bug in cb_aconnect_def_action()");
                ^
aconnect.c:510:9: warning: implicit declaration of function 'warning_error' is invalid in C99 [-Wimplicit-function-declaration]
        warning_error("Unable to log onto FTP server.  No user name.");
        ^
aconnect.c:516:13: warning: implicit declaration of function 'parse_hostname' is invalid in C99 [-Wimplicit-function-declaration]
    switch (parse_hostname(hostname, &host_part, &port_part)) {
            ^
aconnect.c:520:9: warning: implicit declaration of function 'warning_error' is invalid in C99 [-Wimplicit-function-declaration]
        warning_error("Unable to log onto FTP server.  No host name.");
        ^
aconnect.c:533:9: warning: implicit declaration of function 'add_to_cache' is invalid in C99 [-Wimplicit-function-declaration]
        add_to_cache(USER, hostname, username);
        ^
aconnect.c:538:12: warning: implicit declaration of function 'do_connect' is invalid in C99 [-Wimplicit-function-declaration]
                retval = do_connect(host, hostname, username, NULL, NULL,
                         ^
aconnect.c:557:5: warning: implicit declaration of function 'use_busy_cursor' is invalid in C99 [-Wimplicit-function-declaration]
    use_busy_cursor();
    ^
aconnect.c:560:9: warning: implicit declaration of function 'update_dir_displays' is invalid in C99 [-Wimplicit-function-declaration]
    if (update_dir_displays(host, False) < 0) {
        ^
aconnect.c:561:9: warning: implicit declaration of function 'restore_prev_cursor' is invalid in C99 [-Wimplicit-function-declaration]
        restore_prev_cursor();
        ^
aconnect.c:562:9: warning: implicit declaration of function 'lost_connection' is invalid in C99 [-Wimplicit-function-declaration]
        lost_connection(host);
        ^
aconnect.c:565:5: warning: implicit declaration of function 'update_xfer_controls' is invalid in C99 [-Wimplicit-function-declaration]
    update_xfer_controls();
    ^
aconnect.c:566:5: warning: implicit declaration of function 'update_dirname_menu' is invalid in C99 [-Wimplicit-function-declaration]
    update_dirname_menu(host);
    ^
aconnect.c:567:5: warning: implicit declaration of function 'update_dirpath' is invalid in C99 [-Wimplicit-function-declaration]
    update_dirpath(host);
    ^
aconnect.c:568:5: warning: implicit declaration of function 'update_dir_cache' is invalid in C99 [-Wimplicit-function-declaration]
    update_dir_cache(host);
    ^
aconnect.c:569:5: warning: implicit declaration of function 'update_hostname' is invalid in C99 [-Wimplicit-function-declaration]
    update_hostname(host);
    ^
aconnect.c:570:5: warning: implicit declaration of function 'update_host_controls' is invalid in C99 [-Wimplicit-function-declaration]
    update_host_controls(host);
    ^
aconnect.c:571:5: warning: implicit declaration of function 'restore_prev_cursor' is invalid in C99 [-Wimplicit-function-declaration]
    restore_prev_cursor();
    ^
33 warnings generated.
clang -Os -Wall -Wpointer-arith -no-cpp-precomp     -I/opt/pkg/include    -D__x86_64__ -D__DARWIN__                                 -DNO_ALLOCA -DCSRG_BASED        -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c account.c
account.c:106:5: warning: implicit declaration of function 'add_wm_delete_window_cb' is invalid in C99 [-Wimplicit-function-declaration]
    add_wm_delete_window_cb(w_accountDialog, cb_account_cancel, NULL);
    ^
account.c:166:5: warning: implicit declaration of function 'add_dialog_to_list' is invalid in C99 [-Wimplicit-function-declaration]
    add_dialog_to_list(w_accountDialog);
    ^
account.c:167:5: warning: implicit declaration of function 'use_normal_cursor' is invalid in C99 [-Wimplicit-function-declaration]
    use_normal_cursor();
    ^
account.c:172:5: warning: implicit declaration of function 'restore_prev_cursor' is invalid in C99 [-Wimplicit-function-declaration]
    restore_prev_cursor();
    ^
account.c:196:5: warning: implicit declaration of function 'center_dialog_over_dialog' is invalid in C99 [-Wimplicit-function-declaration]
    center_dialog_over_dialog(widget, w_pseudo_parent);
    ^
5 warnings generated.
clang -Os -Wall -Wpointer-arith -no-cpp-precomp     -I/opt/pkg/include    -D__x86_64__ -D__DARWIN__                                 -DNO_ALLOCA -DCSRG_BASED        -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c arconnect.c
arconnect.c:86:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
do_connect(host, hostname, username, password, account, w_pseudo_parent)
^
arconnect.c:105:2: warning: implicit declaration of function 'use_busy_cursor' is invalid in C99 [-Wimplicit-function-declaration]
        use_busy_cursor();
        ^
arconnect.c:112:6: warning: implicit declaration of function 'parse_hostname' is invalid in C99 [-Wimplicit-function-declaration]
        if (parse_hostname(hostname, &host_part, &port_part))
            ^
arconnect.c:113:3: warning: implicit declaration of function 'fatal_error' is invalid in C99 [-Wimplicit-function-declaration]
                fatal_error("Bug in do_connect()");
                ^
arconnect.c:114:11: warning: implicit declaration of function 'ftp_open' is invalid in C99 [-Wimplicit-function-declaration]
        retval = ftp_open(host, host_part, port_part);
                 ^
arconnect.c:117:3: warning: implicitly declaring library function 'sprintf' with type 'int (char *, const char *, ...)' [-Wimplicit-function-declaration]
                sprintf(buf, "Unable to connect to %s", hostname);
                ^
arconnect.c:117:3: note: include the header <stdio.h> or explicitly provide a declaration for 'sprintf'
arconnect.c:118:3: warning: implicit declaration of function 'warning_error' is invalid in C99 [-Wimplicit-function-declaration]
                warning_error(buf);
                ^
arconnect.c:119:3: warning: implicit declaration of function 'restore_prev_cursor' is invalid in C99 [-Wimplicit-function-declaration]
                restore_prev_cursor();
                ^
arconnect.c:124:10: warning: implicit declaration of function 'ftp_user' is invalid in C99 [-Wimplicit-function-declaration]
        switch (ftp_user(host, username)) {
                ^
arconnect.c:130:3: warning: implicit declaration of function 'warning_error' is invalid in C99 [-Wimplicit-function-declaration]
                warning_error("Unable to log onto FTP server");
                ^
arconnect.c:131:3: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration]
                close(hinfo[host].ctrl_fd);
                ^
arconnect.c:132:3: warning: implicit declaration of function 'restore_prev_cursor' is invalid in C99 [-Wimplicit-function-declaration]
                restore_prev_cursor();
                ^
arconnect.c:141:4: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration]
                        close(hinfo[host].ctrl_fd);
                        ^
arconnect.c:142:4: warning: implicit declaration of function 'restore_prev_cursor' is invalid in C99 [-Wimplicit-function-declaration]
                        restore_prev_cursor();
                        ^
arconnect.c:148:11: warning: implicit declaration of function 'ftp_password' is invalid in C99 [-Wimplicit-function-declaration]
        retval = ftp_password(host, passwrd);
                 ^
arconnect.c:155:3: warning: implicit declaration of function 'warning_error' is invalid in C99 [-Wimplicit-function-declaration]
                warning_error("Unable to log onto FTP server");
                ^
arconnect.c:156:3: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration]
                close(hinfo[host].ctrl_fd);
                ^
arconnect.c:157:3: warning: implicit declaration of function 'restore_prev_cursor' is invalid in C99 [-Wimplicit-function-declaration]
                restore_prev_cursor();
                ^
arconnect.c:168:4: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration]
                        close(hinfo[host].ctrl_fd);
                        ^
arconnect.c:169:4: warning: implicit declaration of function 'restore_prev_cursor' is invalid in C99 [-Wimplicit-function-declaration]
                        restore_prev_cursor();
                        ^
arconnect.c:177:6: warning: implicit declaration of function 'ftp_account' is invalid in C99 [-Wimplicit-function-declaration]
        if (ftp_account(host, acct) < 0) {
            ^
arconnect.c:178:3: warning: implicit declaration of function 'warning_error' is invalid in C99 [-Wimplicit-function-declaration]
                warning_error("Unable to log onto FTP server");
                ^
arconnect.c:180:3: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration]
                close(hinfo[host].ctrl_fd);
                ^
arconnect.c:181:3: warning: implicit declaration of function 'restore_prev_cursor' is invalid in C99 [-Wimplicit-function-declaration]
                restore_prev_cursor();
                ^
arconnect.c:190:2: warning: implicit declaration of function 'ftp_system' is invalid in C99 [-Wimplicit-function-declaration]
        ftp_system(host, False);
        ^
arconnect.c:192:3: warning: implicit declaration of function 'write_log' is invalid in C99 [-Wimplicit-function-declaration]
                write_log("*** System is ");
                ^
arconnect.c:202:3: warning: implicit declaration of function 'retrieve_cache' is invalid in C99 [-Wimplicit-function-declaration]
                retrieve_cache(DIRECTORY, hostname, &list, False);
                ^
arconnect.c:204:8: warning: implicit declaration of function 'remote_cd' is invalid in C99 [-Wimplicit-function-declaration]
                        if (remote_cd(host, list->entries[0], False, True) != 0) {
                            ^
arconnect.c:207:5: warning: implicit declaration of function 'warning_error' is invalid in C99 [-Wimplicit-function-declaration]
                                warning_error(msg);
                                ^
arconnect.c:210:3: warning: implicit declaration of function 'release_array_list' is invalid in C99 [-Wimplicit-function-declaration]
                release_array_list(list);
                ^
arconnect.c:212:6: warning: implicit declaration of function 'remote_pwd' is invalid in C99 [-Wimplicit-function-declaration]
        if (remote_pwd(host, &wd) < 0) {
            ^
arconnect.c:213:3: warning: implicit declaration of function 'warning_error' is invalid in C99 [-Wimplicit-function-declaration]
                warning_error("Unable to get working directory.  Will log out");
                ^
arconnect.c:214:3: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration]
                close(hinfo[host].ctrl_fd);
                ^
arconnect.c:215:3: warning: implicit declaration of function 'restore_prev_cursor' is invalid in C99 [-Wimplicit-function-declaration]
                restore_prev_cursor();
                ^
arconnect.c:248:2: warning: implicit declaration of function 'restore_prev_cursor' is invalid in C99 [-Wimplicit-function-declaration]
        restore_prev_cursor();
        ^
arconnect.c:266:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
parse_hostname(hostname, host_part, port_part)
^
arconnect.c:320:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
parse_hostuser(hostuser, host_part, user_part)
^
37 warnings generated.
clang -Os -Wall -Wpointer-arith -no-cpp-precomp     -I/opt/pkg/include    -D__x86_64__ -D__DARWIN__                                 -DNO_ALLOCA -DCSRG_BASED        -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c cache.c
cache.c:111:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
construct_cache_filename()
^
cache.c:119:1: warning: non-void function does not return a value [-Wreturn-type]
}
^
cache.c:133:3: warning: implicit declaration of function 'warning_error' is invalid in C99 [-Wimplicit-function-declaration]
                warning_error("Unable to save cache.");
                ^
cache.c:170:3: warning: implicit declaration of function 'fatal_error' is invalid in C99 [-Wimplicit-function-declaration]
                fatal_error("Bug in read_cache_from_file()");
                ^
cache.c:193:7: warning: implicit declaration of function 'add_to_cache' is invalid in C99 [-Wimplicit-function-declaration]
                                                add_to_cache(i, host_name, value);
                                                ^
cache.c:208:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
add_to_cache(cache_id, host_name, value)
^
cache.c:330:1: warning: non-void function does not return a value [-Wreturn-type]
}
^
cache.c:377:3: warning: implicit declaration of function 'fatal_error' is invalid in C99 [-Wimplicit-function-declaration]
                fatal_error("Bug in retrieve_cache()");
                ^
cache.c:381:3: warning: implicit declaration of function 'quicksort' is invalid in C99 [-Wimplicit-function-declaration]
                quicksort(values, hptr->cache[cache_id].count, strcmp);
                ^
cache.c:395:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
update_dir_cache(host)
^
cache.c:400:1: warning: non-void function does not return a value [-Wreturn-type]
}
^
cache.c:412:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
retrieve_hostuser_cache(list, sort)
^
cache.c:452:3: warning: implicit declaration of function 'fatal_error' is invalid in C99 [-Wimplicit-function-declaration]
                fatal_error("Bug in retrieve_hostuser_cache()");
                ^
cache.c:456:3: warning: implicit declaration of function 'quicksort' is invalid in C99 [-Wimplicit-function-declaration]
                quicksort(hostusers, hostuser_count, strcmp);
                ^
cache.c:462:1: warning: non-void function does not return a value [-Wreturn-type]
}
^
15 warnings generated.
clang -Os -Wall -Wpointer-arith -no-cpp-precomp     -I/opt/pkg/include    -D__x86_64__ -D__DARWIN__                                 -DNO_ALLOCA -DCSRG_BASED        -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c changedir.c
changedir.c:112:13: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast]
        int host = (int)client_data;
                   ^~~~~~~~~~~~~~~~
changedir.c:116:5: warning: implicit declaration of function 'raise_okflag' is invalid in C99 [-Wimplicit-function-declaration]
    raise_okflag();
    ^
changedir.c:120:5: warning: implicit declaration of function 'update_changedir_dialog' is invalid in C99 [-Wimplicit-function-declaration]
    update_changedir_dialog(host);
    ^
changedir.c:123:2: warning: implicit declaration of function 'add_dialog_to_list' is invalid in C99 [-Wimplicit-function-declaration]
        add_dialog_to_list(w_changeDirDialog);
        ^
changedir.c:155:2: warning: implicit declaration of function 'fix_list_color' is invalid in C99 [-Wimplicit-function-declaration]
        fix_list_color(w_list);
        ^
changedir.c:158:2: warning: implicit declaration of function 'set_bg_to_sb_trough_color' is invalid in C99 [-Wimplicit-function-declaration]
        set_bg_to_sb_trough_color(
        ^
changedir.c:172:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
update_changedir_dialog(host)
^
changedir.c:181:2: warning: implicit declaration of function 'retrieve_cache' is invalid in C99 [-Wimplicit-function-declaration]
        retrieve_cache(DIRECTORY, hinfo[host].hostname, &list, sort_caches);
        ^
changedir.c:196:2: warning: implicit declaration of function 'release_array_list' is invalid in C99 [-Wimplicit-function-declaration]
        release_array_list(list);
        ^
changedir.c:212:1: warning: non-void function does not return a value [-Wreturn-type]
}
^
changedir.c:231:5: warning: implicit declaration of function 'clear_selected_entries' is invalid in C99 [-Wimplicit-function-declaration]
    clear_selected_entries(host);
    ^
changedir.c:253:5: warning: implicit declaration of function 'use_busy_cursor' is invalid in C99 [-Wimplicit-function-declaration]
    use_busy_cursor();
    ^
changedir.c:258:17: warning: implicit declaration of function 'local_cd' is invalid in C99 [-Wimplicit-function-declaration]
            if (local_cd(host, hinfo[host].wd, True) < 0) {
                ^
changedir.c:259:17: warning: implicit declaration of function 'warning_error' is invalid in C99 [-Wimplicit-function-declaration]
                warning_error("Unable to change directory");
                ^
changedir.c:263:21: warning: implicit declaration of function 'remote_cd' is invalid in C99 [-Wimplicit-function-declaration]
            switch (remote_cd(host, hinfo[host].wd, False, True)) {
                    ^
changedir.c:265:17: warning: implicit declaration of function 'warning_error' is invalid in C99 [-Wimplicit-function-declaration]
                warning_error("Unable to change directory");
                ^
changedir.c:268:17: warning: implicit declaration of function 'restore_prev_cursor' is invalid in C99 [-Wimplicit-function-declaration]
                restore_prev_cursor();
                ^
changedir.c:269:17: warning: implicit declaration of function 'lost_connection' is invalid in C99 [-Wimplicit-function-declaration]
                lost_connection(host);
                ^
changedir.c:277:13: warning: implicit declaration of function 'local_cd' is invalid in C99 [-Wimplicit-function-declaration]
        if (local_cd(host, new_wd, True) < 0) {
            ^
changedir.c:278:13: warning: implicit declaration of function 'warning_error' is invalid in C99 [-Wimplicit-function-declaration]
            warning_error("Unable to change directory");
            ^
changedir.c:282:13: warning: implicit declaration of function 'local_pwd' is invalid in C99 [-Wimplicit-function-declaration]
        if (local_pwd(&(hinfo[host].wd)) != 0)
            ^
changedir.c:283:13: warning: implicit declaration of function 'fatal_error' is invalid in C99 [-Wimplicit-function-declaration]
            fatal_error("Unable to get local working directory");
            ^
changedir.c:285:17: warning: implicit declaration of function 'remote_cd' is invalid in C99 [-Wimplicit-function-declaration]
        switch (remote_cd(host, new_wd, False, True)) {
                ^
changedir.c:287:13: warning: implicit declaration of function 'warning_error' is invalid in C99 [-Wimplicit-function-declaration]
            warning_error("Unable to change directory");
            ^
changedir.c:290:13: warning: implicit declaration of function 'restore_prev_cursor' is invalid in C99 [-Wimplicit-function-declaration]
            restore_prev_cursor();
            ^
changedir.c:291:13: warning: implicit declaration of function 'lost_connection' is invalid in C99 [-Wimplicit-function-declaration]
            lost_connection(host);
            ^
changedir.c:294:13: warning: implicit declaration of function 'remote_pwd' is invalid in C99 [-Wimplicit-function-declaration]
        if (remote_pwd(host, &wd) < 0) {
            ^
changedir.c:295:13: warning: implicit declaration of function 'restore_prev_cursor' is invalid in C99 [-Wimplicit-function-declaration]
            restore_prev_cursor();
            ^
changedir.c:296:13: warning: implicit declaration of function 'lost_connection' is invalid in C99 [-Wimplicit-function-declaration]
            lost_connection(host);
            ^
changedir.c:304:9: warning: implicit declaration of function 'update_dir_displays' is invalid in C99 [-Wimplicit-function-declaration]
    if (update_dir_displays(host, False) < 0) {
        ^
changedir.c:305:9: warning: implicit declaration of function 'restore_prev_cursor' is invalid in C99 [-Wimplicit-function-declaration]
        restore_prev_cursor();
        ^
changedir.c:306:9: warning: implicit declaration of function 'lost_connection' is invalid in C99 [-Wimplicit-function-declaration]
        lost_connection(host);
        ^
changedir.c:310:5: warning: implicit declaration of function 'update_xfer_controls' is invalid in C99 [-Wimplicit-function-declaration]
    update_xfer_controls();
    ^
changedir.c:311:5: warning: implicit declaration of function 'update_dirname_menu' is invalid in C99 [-Wimplicit-function-declaration]
    update_dirname_menu(host);
    ^
changedir.c:312:5: warning: implicit declaration of function 'update_dirpath' is invalid in C99 [-Wimplicit-function-declaration]
    update_dirpath(host);
    ^
changedir.c:313:5: warning: implicit declaration of function 'update_dir_cache' is invalid in C99 [-Wimplicit-function-declaration]
    update_dir_cache(host);
    ^
changedir.c:314:5: warning: implicit declaration of function 'update_host_controls' is invalid in C99 [-Wimplicit-function-declaration]
    update_host_controls(host);
    ^
changedir.c:315:5: warning: implicit declaration of function 'restore_prev_cursor' is invalid in C99 [-Wimplicit-function-declaration]
    restore_prev_cursor();
    ^
changedir.c:329:5: warning: implicit declaration of function 'help_dialog' is invalid in C99 [-Wimplicit-function-declaration]
    help_dialog(w_toplev, True, "Change Directory", help_change_dir);
    ^
39 warnings generated.
clang -Os -Wall -Wpointer-arith -no-cpp-precomp     -I/opt/pkg/include    -D__x86_64__ -D__DARWIN__                                 -DNO_ALLOCA -DCSRG_BASED        -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c cmds.c
cmds.c:77:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
ftp_open(host, ip_addr, port)
^
cmds.c:93:14: warning: implicit declaration of function 'inet_addr' is invalid in C99 [-Wimplicit-function-declaration]
        if ((temp = inet_addr(ip_addr)) != ~0L)
                    ^
cmds.c:108:3: warning: implicit declaration of function 'write_log' is invalid in C99 [-Wimplicit-function-declaration]
                write_log(msg);
                ^
cmds.c:113:3: warning: implicit declaration of function 'report_perror' is invalid in C99 [-Wimplicit-function-declaration]
                report_perror(host, "Opening socket stream");
                ^
cmds.c:119:3: warning: implicit declaration of function 'write_log' is invalid in C99 [-Wimplicit-function-declaration]
                write_log("*** Will try to connect to remote\n");
                ^
cmds.c:120:6: warning: implicit declaration of function 'iconnect' is invalid in C99 [-Wimplicit-function-declaration]
        if (iconnect(ctrl_fd, (struct sockaddr *)&remote,(int)sizeof(remote)) < 0) {
            ^
cmds.c:121:3: warning: implicit declaration of function 'report_perror' is invalid in C99 [-Wimplicit-function-declaration]
                report_perror(host, "Connecting socket stream");
                ^
cmds.c:122:3: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration]
                close(ctrl_fd);
                ^
cmds.c:131:10: warning: implicit declaration of function 'get_ftp_reply' is invalid in C99 [-Wimplicit-function-declaration]
        scode = get_ftp_reply(host, reply, MAXFTPREPLY, &code, maxt, False);
                ^
cmds.c:134:3: warning: implicit declaration of function 'determine_server_from_open' is invalid in C99 [-Wimplicit-function-declaration]
                determine_server_from_open(host, reply);
                ^
cmds.c:137:3: warning: implicit declaration of function 'report_client_timeout' is invalid in C99 [-Wimplicit-function-declaration]
                report_client_timeout(host);
                ^
cmds.c:139:3: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration]
                close(hinfo[host].ctrl_fd);
                ^
cmds.c:141:4: warning: implicit declaration of function 'print_ftp_reply' is invalid in C99 [-Wimplicit-function-declaration]
                        print_ftp_reply(host, reply);
                        ^
cmds.c:153:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
ftp_user(host, username)
^
cmds.c:164:16: warning: implicit declaration of function 'send_ftp_cmd' is invalid in C99 [-Wimplicit-function-declaration]
        if ((retval = send_ftp_cmd(host, cmd)) < 0)
                      ^
cmds.c:168:11: warning: implicit declaration of function 'get_ftp_reply' is invalid in C99 [-Wimplicit-function-declaration]
        retval = get_ftp_reply(host, reply, MAXFTPREPLY, &code, maxt, False);
                 ^
cmds.c:175:3: warning: implicit declaration of function 'report_client_timeout' is invalid in C99 [-Wimplicit-function-declaration]
                report_client_timeout(host);
                ^
cmds.c:179:4: warning: implicit declaration of function 'print_ftp_reply' is invalid in C99 [-Wimplicit-function-declaration]
                        print_ftp_reply(host, reply);
                        ^
cmds.c:191:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
ftp_password(host, password)
^
cmds.c:203:11: warning: implicit declaration of function 'send_ftp_cmd' is invalid in C99 [-Wimplicit-function-declaration]
        retval = send_ftp_cmd(host, cmd);
                 ^
cmds.c:209:10: warning: implicit declaration of function 'get_ftp_reply' is invalid in C99 [-Wimplicit-function-declaration]
        scode = get_ftp_reply(host, reply, MAXFTPREPLY, &code, maxt, False);
                ^
cmds.c:218:3: warning: implicit declaration of function 'report_client_timeout' is invalid in C99 [-Wimplicit-function-declaration]
                report_client_timeout(host);
                ^
cmds.c:221:4: warning: implicit declaration of function 'print_ftp_reply' is invalid in C99 [-Wimplicit-function-declaration]
                        print_ftp_reply(host, reply);
                        ^
cmds.c:232:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
ftp_account(host, account)
^
cmds.c:244:16: warning: implicit declaration of function 'send_ftp_cmd' is invalid in C99 [-Wimplicit-function-declaration]
        if ((retval = send_ftp_cmd(host, cmd)) < 0)
                      ^
cmds.c:248:10: warning: implicit declaration of function 'get_ftp_reply' is invalid in C99 [-Wimplicit-function-declaration]
        scode = get_ftp_reply(host, reply, MAXFTPREPLY, &code, maxt, False);
                ^
cmds.c:255:3: warning: implicit declaration of function 'report_client_timeout' is invalid in C99 [-Wimplicit-function-declaration]
                report_client_timeout(host);
                ^
cmds.c:258:4: warning: implicit declaration of function 'print_ftp_reply' is invalid in C99 [-Wimplicit-function-declaration]
                        print_ftp_reply(host, reply);
                        ^
cmds.c:272:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
ftp_passive(host, port)
^
cmds.c:284:16: warning: implicit declaration of function 'send_ftp_cmd' is invalid in C99 [-Wimplicit-function-declaration]
        if ((retval = send_ftp_cmd(host, "PASV")) < 0)
                      ^
cmds.c:288:14: warning: implicit declaration of function 'get_ftp_reply' is invalid in C99 [-Wimplicit-function-declaration]
    retval = get_ftp_reply(host, reply, MAXFTPREPLY, &code, maxt, False);
             ^
cmds.c:293:3: warning: implicit declaration of function 'report_client_timeout' is invalid in C99 [-Wimplicit-function-declaration]
                report_client_timeout(host);
                ^
cmds.c:321:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
ftp_type(host, mode)
^
cmds.c:340:16: warning: implicit declaration of function 'send_ftp_cmd' is invalid in C99 [-Wimplicit-function-declaration]
        if ((retval = send_ftp_cmd(host, cmd)) < 0)
                      ^
cmds.c:344:10: warning: implicit declaration of function 'get_ftp_reply' is invalid in C99 [-Wimplicit-function-declaration]
        scode = get_ftp_reply(host, reply, MAXFTPREPLY, &code, maxt, False);
                ^
cmds.c:351:3: warning: implicit declaration of function 'report_client_timeout' is invalid in C99 [-Wimplicit-function-declaration]
                report_client_timeout(host);
                ^
cmds.c:354:4: warning: implicit declaration of function 'print_ftp_reply' is invalid in C99 [-Wimplicit-function-declaration]
                        print_ftp_reply(host, reply);
                        ^
cmds.c:369:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
ftp_port(host, hostport)
^
cmds.c:381:16: warning: implicit declaration of function 'send_ftp_cmd' is invalid in C99 [-Wimplicit-function-declaration]
        if ((retval = send_ftp_cmd(host, cmd)) < 0)
                      ^
cmds.c:385:10: warning: implicit declaration of function 'get_ftp_reply' is invalid in C99 [-Wimplicit-function-declaration]
        scode = get_ftp_reply(host, reply, MAXFTPREPLY, &code, maxt, False);
                ^
cmds.c:392:3: warning: implicit declaration of function 'report_client_timeout' is invalid in C99 [-Wimplicit-function-declaration]
                report_client_timeout(host);
                ^
cmds.c:395:4: warning: implicit declaration of function 'print_ftp_reply' is invalid in C99 [-Wimplicit-function-declaration]
                        print_ftp_reply(host, reply);
                        ^
cmds.c:411:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
ftp_system(host, print_error_msg)
^
cmds.c:421:16: warning: implicit declaration of function 'send_ftp_cmd' is invalid in C99 [-Wimplicit-function-declaration]
        if ((retval = send_ftp_cmd(host, "SYST")) < 0)
                      ^
cmds.c:425:10: warning: implicit declaration of function 'get_ftp_reply' is invalid in C99 [-Wimplicit-function-declaration]
        scode = get_ftp_reply(host, reply, MAXFTPREPLY, &code, maxt, False);
                ^
cmds.c:428:3: warning: implicit declaration of function 'determine_server_from_syst' is invalid in C99 [-Wimplicit-function-declaration]
                determine_server_from_syst(host, reply);
                ^
cmds.c:433:3: warning: implicit declaration of function 'report_client_timeout' is invalid in C99 [-Wimplicit-function-declaration]
                report_client_timeout(host);
                ^
cmds.c:436:4: warning: implicit declaration of function 'print_ftp_reply' is invalid in C99 [-Wimplicit-function-declaration]
                        print_ftp_reply(host, reply);
                        ^
cmds.c:448:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
ftp_allocate(host, size)
^
cmds.c:460:16: warning: implicit declaration of function 'send_ftp_cmd' is invalid in C99 [-Wimplicit-function-declaration]
        if ((retval = send_ftp_cmd(host, cmd)) < 0)
                      ^
cmds.c:464:10: warning: implicit declaration of function 'get_ftp_reply' is invalid in C99 [-Wimplicit-function-declaration]
        scode = get_ftp_reply(host, reply, MAXFTPREPLY, &code, maxt, False);
                ^
cmds.c:471:3: warning: implicit declaration of function 'report_client_timeout' is invalid in C99 [-Wimplicit-function-declaration]
                report_client_timeout(host);
                ^
cmds.c:474:4: warning: implicit declaration of function 'print_ftp_reply' is invalid in C99 [-Wimplicit-function-declaration]
                        print_ftp_reply(host, reply);
                        ^
53 warnings generated.
clang -Os -Wall -Wpointer-arith -no-cpp-precomp     -I/opt/pkg/include    -D__x86_64__ -D__DARWIN__                                 -DNO_ALLOCA -DCSRG_BASED        -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c color.c
color.c:65:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
color_display()
^
color.c:132:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
fix_horizontal_text_sb_color(widget)
^
color.c:142:1: warning: non-void function does not return a value [-Wreturn-type]
}
^
color.c:150:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
fix_vertical_text_sb_color(widget)
^
color.c:160:1: warning: non-void function does not return a value [-Wreturn-type]
}
^
5 warnings generated.
clang -Os -Wall -Wpointer-arith -no-cpp-precomp     -I/opt/pkg/include    -D__x86_64__ -D__DARWIN__                                 -DNO_ALLOCA -DCSRG_BASED        -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c ctrlconn.c
ctrlconn.c:88:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
write_tcp(host, fd, buf, n)
^
ctrlconn.c:100:17: warning: implicit declaration of function 'iwrite' is invalid in C99 [-Wimplicit-function-declaration]
                if ((nbytes = iwrite(fd, &buf[total_nbytes], n-total_nbytes)) < 0) {
                              ^
ctrlconn.c:102:4: warning: implicit declaration of function 'report_perror' is invalid in C99 [-Wimplicit-function-declaration]
                        report_perror(host, "Writing connection");
                        ^
ctrlconn.c:123:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
read_tcp(host, fd, buf, n, maxtime, process_xevents)
^
ctrlconn.c:137:11: warning: implicit declaration of function 'select_on_read' is invalid in C99 [-Wimplicit-function-declaration]
                switch (select_on_read(fd, maxtime, process_xevents)) {
                        ^
ctrlconn.c:139:21: warning: implicit declaration of function 'iread' is invalid in C99 [-Wimplicit-function-declaration]
                    if ((nbytes = iread(fd, &buf[total_nbytes], n-total_nbytes)) < 0) {
                                  ^
ctrlconn.c:141:8: warning: implicit declaration of function 'report_perror' is invalid in C99 [-Wimplicit-function-declaration]
                        report_perror(host, "Reading connection");
                        ^
ctrlconn.c:169:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
select_on_read(fd, maxtime, process_xevents)
^
ctrlconn.c:198:17: warning: implicit declaration of function 'max_fds' is invalid in C99 [-Wimplicit-function-declaration]
                nfds = select(max_fds(), &readfds, NULL, &exceptfds, &timeout);
                              ^
ctrlconn.c:224:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
get_ftp_reply(host, reply, maxreply, code, maxtime, process_xevents)
^
ctrlconn.c:246:20: warning: implicit declaration of function 'get_ftp_line' is invalid in C99 [-Wimplicit-function-declaration]
                if ((replycode = get_ftp_line(host, fd, line, MAXFTPLINE, maxtime,
                                 ^
ctrlconn.c:266:3: warning: implicit declaration of function 'print_ftp_reply' is invalid in C99 [-Wimplicit-function-declaration]
                print_ftp_reply(host, reply);
                ^
ctrlconn.c:272:4: warning: implicit declaration of function 'write_log' is invalid in C99 [-Wimplicit-function-declaration]
                        write_log("*** FTP server on remote host timed out.\n");
                        ^
ctrlconn.c:276:3: warning: implicit declaration of function 'write_log' is invalid in C99 [-Wimplicit-function-declaration]
                write_log("*** FTP server on remote host timed out.\n");
                ^
ctrlconn.c:300:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
get_ftp_line(host, fd, line, maxline, maxtime, process_xevents)
^
ctrlconn.c:335:14: warning: implicit conversion from 'int' to 'char' changes value from 255 to -1 [-Wconstant-conversion]
                                buf[0] = IAC;
                                       ~ ^~~
ctrlconn.c:73:14: note: expanded from macro 'IAC'
#define IAC  255
             ^~~
ctrlconn.c:336:14: warning: implicit conversion from 'int' to 'char' changes value from 254 to -2 [-Wconstant-conversion]
                                buf[1] = DONT;
                                       ~ ^~~~
ctrlconn.c:72:14: note: expanded from macro 'DONT'
#define DONT 254
             ^~~
ctrlconn.c:348:14: warning: implicit conversion from 'int' to 'char' changes value from 255 to -1 [-Wconstant-conversion]
                                buf[0] = IAC;
                                       ~ ^~~
ctrlconn.c:73:14: note: expanded from macro 'IAC'
#define IAC  255
             ^~~
ctrlconn.c:349:14: warning: implicit conversion from 'int' to 'char' changes value from 252 to -4 [-Wconstant-conversion]
                                buf[1] = WONT;
                                       ~ ^~~~
ctrlconn.c:70:14: note: expanded from macro 'WONT'
#define WONT 252
             ^~~
ctrlconn.c:376:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
send_ftp_cmd(host, cmd)
^
ctrlconn.c:386:3: warning: implicit declaration of function 'print_ftp_cmd' is invalid in C99 [-Wimplicit-function-declaration]
                print_ftp_cmd(host,cmd);
                ^
ctrlconn.c:404:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
sig_pipe()
^
ctrlconn.c:407:1: warning: non-void function does not return a value [-Wreturn-type]
}
^
ctrlconn.c:417:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
urgent_abort(host)
^
ctrlconn.c:425:3: warning: implicit declaration of function 'print_ftp_cmd' is invalid in C99 [-Wimplicit-function-declaration]
                print_ftp_cmd(host, "Urgent Abort");
                ^
ctrlconn.c:435:6: warning: implicit declaration of function 'isend' is invalid in C99 [-Wimplicit-function-declaration]
        if (isend(fd, buf, 1, MSG_OOB) != 1)
            ^
ctrlconn.c:428:11: warning: implicit conversion from 'int' to 'char' changes value from 255 to -1 [-Wconstant-conversion]
        buf[0] = IAC;
               ~ ^~~
ctrlconn.c:73:14: note: expanded from macro 'IAC'
#define IAC  255
             ^~~
ctrlconn.c:429:11: warning: implicit conversion from 'int' to 'char' changes value from 244 to -12 [-Wconstant-conversion]
        buf[1] = IP;
               ~ ^~
ctrlconn.c:68:14: note: expanded from macro 'IP'
#define IP   244
             ^~~
ctrlconn.c:434:11: warning: implicit conversion from 'int' to 'char' changes value from 255 to -1 [-Wconstant-conversion]
        buf[0] = IAC;
               ~ ^~~
ctrlconn.c:73:14: note: expanded from macro 'IAC'
#define IAC  255
             ^~~
ctrlconn.c:437:11: warning: implicit conversion from 'int' to 'char' changes value from 242 to -14 [-Wconstant-conversion]
        buf[0] = DM;
               ~ ^~
ctrlconn.c:67:14: note: expanded from macro 'DM'
#define DM   242   /* Telnet commands */
             ^~~
30 warnings generated.
clang -Os -Wall -Wpointer-arith -no-cpp-precomp     -I/opt/pkg/include    -D__x86_64__ -D__DARWIN__                                 -DNO_ALLOCA -DCSRG_BASED        -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c cursor.c
cursor.c:112:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
use_busy_cursor()
^
cursor.c:115:1: warning: non-void function does not return a value [-Wreturn-type]
}
^
cursor.c:121:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
use_normal_cursor()
^
cursor.c:124:1: warning: non-void function does not return a value [-Wreturn-type]
}
^
cursor.c:234:2: warning: implicit declaration of function 'fatal_error' is invalid in C99 [-Wimplicit-function-declaration]
        fatal_error("Bug in remove_dialog_from_list()");
        ^
5 warnings generated.
clang -Os -Wall -Wpointer-arith -no-cpp-precomp     -I/opt/pkg/include    -D__x86_64__ -D__DARWIN__                                 -DNO_ALLOCA -DCSRG_BASED        -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c dataconn.c
dataconn.c:70:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
init_data_conn(host)
^
dataconn.c:84:9: warning: implicit declaration of function 'report_perror' is invalid in C99 [-Wimplicit-function-declaration]
        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]
        if (getsockname(hinfo[host].ctrl_fd, (struct sockaddr *)&data, &addrlen)
                                                                       ^~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/sys/socket.h:710:78: note: passing argument to parameter here
int     getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict)
                                                                             ^
dataconn.c:97:3: warning: implicit declaration of function 'report_perror' is invalid in C99 [-Wimplicit-function-declaration]
                report_perror(host, "Gettin socket name");
                ^
dataconn.c:98:3: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration]
                close(sock);
                ^
dataconn.c:103:3: warning: implicit declaration of function 'report_perror' is invalid in C99 [-Wimplicit-function-declaration]
                report_perror(host, "Binding stream socket");
                ^
dataconn.c:104:3: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration]
                close(sock);
                ^
dataconn.c:110:3: warning: implicit declaration of function 'report_perror' is invalid in C99 [-Wimplicit-function-declaration]
                report_perror(host, "Listen");
                ^
dataconn.c:111:3: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration]
                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]
        if (getsockname(sock, (struct sockaddr *)&data, &addrlen) < 0) {
                                                        ^~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/sys/socket.h:710:78: note: passing argument to parameter here
int     getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict)
                                                                             ^
dataconn.c:121:3: warning: implicit declaration of function 'report_perror' is invalid in C99 [-Wimplicit-function-declaration]
                report_perror(host, "Getting socket name");
                ^
dataconn.c:122:3: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration]
                close(sock);
                ^
dataconn.c:131:16: warning: implicit declaration of function 'ftp_port' is invalid in C99 [-Wimplicit-function-declaration]
        if ((retval = ftp_port(host, buf)) < 0) {
                      ^
dataconn.c:132:3: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration]
                close(sock);
                ^
dataconn.c:146:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
accept_data_conn(host, data_fd)
^
dataconn.c:156:3: warning: implicit declaration of function 'write_log' is invalid in C99 [-Wimplicit-function-declaration]
                write_log("*** Will try to accept connection\n");
                ^
dataconn.c:158:16: warning: implicit declaration of function 'iaccept' is invalid in C99 [-Wimplicit-function-declaration]
        new_data_fd = iaccept(data_fd, (struct sockaddr *)&remote, &addrlen);
                      ^
dataconn.c:160:3: warning: implicit declaration of function 'report_perror' is invalid in C99 [-Wimplicit-function-declaration]
                report_perror(host, "accept");
                ^
dataconn.c:161:3: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration]
                close(data_fd);
                ^
dataconn.c:168:2: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration]
        close(data_fd);
        ^
20 warnings generated.
clang -Os -Wall -Wpointer-arith -no-cpp-precomp     -I/opt/pkg/include    -D__x86_64__ -D__DARWIN__                                 -DNO_ALLOCA -DCSRG_BASED        -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c delete.c
delete.c:89:13: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast]
        int host = (int)client_data;
                   ^~~~~~~~~~~~~~~~
delete.c:104:13: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast]
        int host = (int)client_data;
                   ^~~~~~~~~~~~~~~~
delete.c:123:2: warning: implicit declaration of function 'raise_okflag' is invalid in C99 [-Wimplicit-function-declaration]
        raise_okflag();
        ^
delete.c:128:13: warning: implicit declaration of function 'verify_selection' is invalid in C99 [-Wimplicit-function-declaration]
                        retval = verify_selection(host,
                                 ^
delete.c:138:2: warning: implicit declaration of function 'use_busy_cursor' is invalid in C99 [-Wimplicit-function-declaration]
        use_busy_cursor();
        ^
delete.c:141:2: warning: implicit declaration of function 'show_mp_monitor' is invalid in C99 [-Wimplicit-function-declaration]
        show_mp_monitor("Now Deleting:");
        ^
delete.c:142:2: warning: implicit declaration of function 'clear_mp_monitor' is invalid in C99 [-Wimplicit-function-declaration]
        clear_mp_monitor();
        ^
delete.c:145:2: warning: implicit declaration of function 'enable_controls' is invalid in C99 [-Wimplicit-function-declaration]
        enable_controls(False);
        ^
delete.c:158:9: warning: implicit declaration of function 'strip_off_symbol' is invalid in C99 [-Wimplicit-function-declaration]
        strip_off_symbol(hinfo[host].system, hinfo[host].server, ptr->entry);
        ^
delete.c:179:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
clean_up_del_ctrl()
^
delete.c:194:3: warning: implicit declaration of function 'release_linked_list' is invalid in C99 [-Wimplicit-function-declaration]
                release_linked_list(&del_ctrl.head[i]);
                ^
delete.c:195:1: warning: non-void function does not return a value [-Wreturn-type]
}
^
delete.c:203:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
cb_delete_entries()
^
delete.c:223:6: warning: implicit declaration of function 'mp_abort_requested' is invalid in C99 [-Wimplicit-function-declaration]
        if (mp_abort_requested())
            ^
delete.c:242:2: warning: implicit declaration of function 'release_path_links' is invalid in C99 [-Wimplicit-function-declaration]
        release_path_links(rel_path_links);
        ^
delete.c:252:8: warning: implicit declaration of function 'local_cd' is invalid in C99 [-Wimplicit-function-declaration]
                        if (local_cd(host, del_ctrl.full_path, False) == 0)
                            ^
delete.c:255:12: warning: implicit declaration of function 'remote_cd' is invalid in C99 [-Wimplicit-function-declaration]
                        switch (remote_cd(host, del_ctrl.full_path, True, False)) {
                                ^
delete.c:264:9: warning: implicit declaration of function 'local_ls' is invalid in C99 [-Wimplicit-function-declaration]
                                if (local_ls(del_ctrl.full_path, &list, False) != 0) {
                                    ^
delete.c:265:6: warning: implicit declaration of function 'warning_error' is invalid in C99 [-Wimplicit-function-declaration]
                                        warning_error("Unable to get directory list");
                                        ^
delete.c:269:13: warning: implicit declaration of function 'remote_ls' is invalid in C99 [-Wimplicit-function-declaration]
                                switch (remote_ls(host, del_ctrl.full_path, &list, False)) {
                                        ^
delete.c:273:6: warning: implicit declaration of function 'warning_error' is invalid in C99 [-Wimplicit-function-declaration]
                                        warning_error("Unable to get directory list");
                                        ^
delete.c:280:5: warning: implicit declaration of function 'warning_error' is invalid in C99 [-Wimplicit-function-declaration]
                                warning_error("Deletion recurses too deeply - aborted.");
                                ^
delete.c:290:4: warning: implicit declaration of function 'release_array_list' is invalid in C99 [-Wimplicit-function-declaration]
                        release_array_list(list);
                        ^
delete.c:298:2: warning: implicit declaration of function 'update_mp_monitor' is invalid in C99 [-Wimplicit-function-declaration]
        update_mp_monitor(del_ctrl.rel_path);
        ^
delete.c:300:12: warning: implicit declaration of function 'local_delete' is invalid in C99 [-Wimplicit-function-declaration]
                retval = local_delete(host, del_ctrl.full_path);
                         ^
delete.c:309:6: warning: implicit declaration of function 'fatal_error' is invalid in C99 [-Wimplicit-function-declaration]
                                        fatal_error("Trouble in cb_delete_entries()");
                                        ^
delete.c:313:14: warning: implicit declaration of function 'remote_rmdir' is invalid in C99 [-Wimplicit-function-declaration]
                                retval = remote_rmdir(host, temp, True);
                                         ^
delete.c:316:14: warning: implicit declaration of function 'remote_rmdir' is invalid in C99 [-Wimplicit-function-declaration]
                                retval = remote_rmdir(host, del_ctrl.full_path, True);
                                         ^
delete.c:318:12: warning: implicit declaration of function 'remote_cd' is invalid in C99 [-Wimplicit-function-declaration]
                        switch (remote_cd(host, del_ctrl.full_path, True, False)) {
                                ^
delete.c:325:14: warning: implicit declaration of function 'remote_delete' is invalid in C99 [-Wimplicit-function-declaration]
                                retval = remote_delete(host, del_ctrl.full_path, True);
                                         ^
delete.c:328:13: warning: implicit declaration of function 'remote_delete' is invalid in C99 [-Wimplicit-function-declaration]
                        retval = remote_delete(host, del_ctrl.full_path, True);
                                 ^
delete.c:335:9: warning: implicit declaration of function 'warning_error' is invalid in C99 [-Wimplicit-function-declaration]
        warning_error(msg);
        ^
delete.c:340:10: warning: implicit declaration of function 'write_log' is invalid in C99 [-Wimplicit-function-declaration]
                write_log(msg);
                ^
delete.c:354:2: warning: implicit declaration of function 'hide_mp_monitor' is invalid in C99 [-Wimplicit-function-declaration]
        hide_mp_monitor();
        ^
delete.c:356:3: warning: implicit declaration of function 'hide_abort_dialog' is invalid in C99 [-Wimplicit-function-declaration]
                hide_abort_dialog();
                ^
delete.c:357:2: warning: implicit declaration of function 'enable_controls' is invalid in C99 [-Wimplicit-function-declaration]
        enable_controls(True);
        ^
delete.c:358:6: warning: implicit declaration of function 'update_dir_displays' is invalid in C99 [-Wimplicit-function-declaration]
        if (update_dir_displays(host, False) < 0)
            ^
delete.c:360:2: warning: implicit declaration of function 'update_xfer_controls' is invalid in C99 [-Wimplicit-function-declaration]
        update_xfer_controls();
        ^
delete.c:361:2: warning: implicit declaration of function 'update_host_controls' is invalid in C99 [-Wimplicit-function-declaration]
        update_host_controls(host);
        ^
delete.c:363:3: warning: implicit declaration of function 'beep' is invalid in C99 [-Wimplicit-function-declaration]
                beep();
                ^
delete.c:364:2: warning: implicit declaration of function 'restore_prev_cursor' is invalid in C99 [-Wimplicit-function-declaration]
        restore_prev_cursor();
        ^
delete.c:370:2: warning: implicit declaration of function 'warning_error' is invalid in C99 [-Wimplicit-function-declaration]
        warning_error("Deletion(s) aborted");
        ^
delete.c:392:2: warning: implicit declaration of function 'clear_selected_entries' is invalid in C99 [-Wimplicit-function-declaration]
        clear_selected_entries(host);
        ^
delete.c:394:2: warning: implicit declaration of function 'lost_connection' is invalid in C99 [-Wimplicit-function-declaration]
        lost_connection(host);
        ^
delete.c:395:2: warning: implicit declaration of function 'use_busy_cursor' is invalid in C99 [-Wimplicit-function-declaration]
        use_busy_cursor();
        ^
45 warnings generated.
clang -Os -Wall -Wpointer-arith -no-cpp-precomp     -I/opt/pkg/include    -D__x86_64__ -D__DARWIN__                                 -DNO_ALLOCA -DCSRG_BASED        -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c destdir.c
destdir.c:212:5: warning: implicit declaration of function 'fix_list_color' is invalid in C99 [-Wimplicit-function-declaration]
    fix_list_color(destdir.w_dirList);
    ^
destdir.c:243:5: warning: implicit declaration of function 'raise_okflag' is invalid in C99 [-Wimplicit-function-declaration]
    raise_okflag();
    ^
destdir.c:255:5: warning: implicit declaration of function 'release_path_links' is invalid in C99 [-Wimplicit-function-declaration]
    release_path_links(wd_links);
    ^
destdir.c:258:5: warning: implicit declaration of function 'use_busy_cursor' is invalid in C99 [-Wimplicit-function-declaration]
    use_busy_cursor();
    ^
destdir.c:259:11: warning: implicit declaration of function 'change_destdir_directory' is invalid in C99 [-Wimplicit-function-declaration]
        retval = change_destdir_directory(new_wd);
                 ^
destdir.c:260:2: warning: implicit declaration of function 'restore_prev_cursor' is invalid in C99 [-Wimplicit-function-declaration]
        restore_prev_cursor();
        ^
destdir.c:264:9: warning: implicit declaration of function 'warning_error' is invalid in C99 [-Wimplicit-function-declaration]
        warning_error("Unable to change directory");
        ^
destdir.c:268:9: warning: implicit declaration of function 'lost_connection' is invalid in C99 [-Wimplicit-function-declaration]
        lost_connection(destdir.host);
        ^
destdir.c:290:5: warning: implicit declaration of function 'raise_okflag' is invalid in C99 [-Wimplicit-function-declaration]
    raise_okflag();
    ^
destdir.c:294:2: warning: implicit declaration of function 'strip_off_symbol' is invalid in C99 [-Wimplicit-function-declaration]
        strip_off_symbol(destdir.system, destdir.server, entry);
        ^
destdir.c:301:5: warning: implicit declaration of function 'use_busy_cursor' is invalid in C99 [-Wimplicit-function-declaration]
    use_busy_cursor();
    ^
destdir.c:302:11: warning: implicit declaration of function 'change_destdir_directory' is invalid in C99 [-Wimplicit-function-declaration]
        retval = change_destdir_directory(new_wd);
                 ^
destdir.c:303:2: warning: implicit declaration of function 'restore_prev_cursor' is invalid in C99 [-Wimplicit-function-declaration]
        restore_prev_cursor();
        ^
destdir.c:307:9: warning: implicit declaration of function 'warning_error' is invalid in C99 [-Wimplicit-function-declaration]
        warning_error("Unable to change directory");
        ^
destdir.c:311:9: warning: implicit declaration of function 'lost_connection' is invalid in C99 [-Wimplicit-function-declaration]
        lost_connection(destdir.host);
        ^
destdir.c:319:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
update_destdir_dirname_menu()
^
destdir.c:360:5: warning: implicit declaration of function 'release_path_links' is invalid in C99 [-Wimplicit-function-declaration]
    release_path_links(wd_links);
    ^
destdir.c:368:1: warning: non-void function does not return a value [-Wreturn-type]
}
^
destdir.c:377:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
update_destdir_dirlist()
^
destdir.c:385:5: warning: implicit declaration of function 'use_busy_cursor' is invalid in C99 [-Wimplicit-function-declaration]
    use_busy_cursor();
    ^
destdir.c:390:3: warning: implicit declaration of function 'fatal_error' is invalid in C99 [-Wimplicit-function-declaration]
                fatal_error("Bug in update_destdir_dirlist()");
                ^
destdir.c:392:13: warning: implicit declaration of function 'local_ls' is invalid in C99 [-Wimplicit-function-declaration]
        if (local_ls(destdir.wd, &dlist, symbol_mode) != 0)
            ^
destdir.c:396:23: warning: implicit declaration of function 'remote_ls' is invalid in C99 [-Wimplicit-function-declaration]
        if ((retval = remote_ls(destdir.host, destdir.wd, &dlist,
                      ^
destdir.c:398:13: warning: implicit declaration of function 'restore_prev_cursor' is invalid in C99 [-Wimplicit-function-declaration]
            restore_prev_cursor();
            ^
destdir.c:404:5: warning: implicit declaration of function 'reset_list' is invalid in C99 [-Wimplicit-function-declaration]
    reset_list(destdir.w_dirList);
    ^
destdir.c:414:5: warning: implicit declaration of function 'release_array_list' is invalid in C99 [-Wimplicit-function-declaration]
    release_array_list(dlist);
    ^
destdir.c:416:5: warning: implicit declaration of function 'restore_prev_cursor' is invalid in C99 [-Wimplicit-function-declaration]
    restore_prev_cursor();
    ^
destdir.c:426:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
change_destdir_directory(new_wd)
^
destdir.c:434:13: warning: implicit declaration of function 'local_cd' is invalid in C99 [-Wimplicit-function-declaration]
        if (local_cd(destdir.host, new_wd, True) < 0)
            ^
destdir.c:438:13: warning: implicit declaration of function 'local_pwd' is invalid in C99 [-Wimplicit-function-declaration]
        if (local_pwd(&destdir.wd) != 0)
            ^
destdir.c:439:13: warning: implicit declaration of function 'fatal_error' is invalid in C99 [-Wimplicit-function-declaration]
            fatal_error("Unable to get local working directory");
            ^
destdir.c:441:17: warning: implicit declaration of function 'remote_cd' is invalid in C99 [-Wimplicit-function-declaration]
                if ((retval = remote_cd(destdir.host, new_wd, False, True)) < 0)
                              ^
destdir.c:443:13: warning: implicit declaration of function 'remote_pwd' is invalid in C99 [-Wimplicit-function-declaration]
        if (remote_pwd(destdir.host, &wd) < 0)
            ^
destdir.c:503:9: warning: implicit declaration of function 'use_busy_cursor' is invalid in C99 [-Wimplicit-function-declaration]
        use_busy_cursor();
        ^
destdir.c:505:9: warning: implicit declaration of function 'restore_prev_cursor' is invalid in C99 [-Wimplicit-function-declaration]
        restore_prev_cursor();
        ^
destdir.c:509:13: warning: implicit declaration of function 'add_dialog_to_list' is invalid in C99 [-Wimplicit-function-declaration]
            add_dialog_to_list(destdir.w_dialog);
            ^
destdir.c:513:13: warning: implicit declaration of function 'lost_connection' is invalid in C99 [-Wimplicit-function-declaration]
            lost_connection(destdir.host);
            ^
destdir.c:522:6: warning: implicit declaration of function 'use_busy_cursor' is invalid in C99 [-Wimplicit-function-declaration]
            use_busy_cursor();
            ^
destdir.c:524:6: warning: implicit declaration of function 'restore_prev_cursor' is invalid in C99 [-Wimplicit-function-declaration]
            restore_prev_cursor();
            ^
destdir.c:526:10: warning: implicit declaration of function 'lost_connection' is invalid in C99 [-Wimplicit-function-declaration]
                lost_connection(destdir.host);
                ^
destdir.c:532:6: warning: implicit declaration of function 'add_dialog_to_list' is invalid in C99 [-Wimplicit-function-declaration]
            add_dialog_to_list(destdir.w_dialog);
            ^
destdir.c:538:3: warning: implicit declaration of function 'fatal_error' is invalid in C99 [-Wimplicit-function-declaration]
                fatal_error("Trouble in get_destination_dir()");
                ^
destdir.c:543:5: warning: implicit declaration of function 'add_dialog_to_list' is invalid in C99 [-Wimplicit-function-declaration]
    add_dialog_to_list(destdir.w_dialog);
    ^
destdir.c:592:5: warning: implicit declaration of function 'center_dialog_over_dialog' is invalid in C99 [-Wimplicit-function-declaration]
    center_dialog_over_dialog(widget, destdir.pseudo_parent);
    ^
44 warnings generated.
clang -Os -Wall -Wpointer-arith -no-cpp-precomp     -I/opt/pkg/include    -D__x86_64__ -D__DARWIN__                                 -DNO_ALLOCA -DCSRG_BASED        -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c dirlist.c
dirlist.c:77:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
update_dir_displays(host, preserve)
^
dirlist.c:89:2: warning: implicit declaration of function 'use_busy_cursor' is invalid in C99 [-Wimplicit-function-declaration]
        use_busy_cursor();
        ^
dirlist.c:97:7: warning: implicit declaration of function 'local_ls' is invalid in C99 [-Wimplicit-function-declaration]
                if (local_ls(hinfo[host].wd, &dlist, symbol_mode) != 0)
                    ^
dirlist.c:98:4: warning: implicit declaration of function 'fatal_error' is invalid in C99 [-Wimplicit-function-declaration]
                        fatal_error("Unable to get local directory list");
                        ^
dirlist.c:101:17: warning: implicit declaration of function 'remote_ls' is invalid in C99 [-Wimplicit-function-declaration]
                if ((retval = remote_ls(host, hinfo[host].wd, &dlist, symbol_mode))) {
                              ^
dirlist.c:102:4: warning: implicit declaration of function 'restore_prev_cursor' is invalid in C99 [-Wimplicit-function-declaration]
                        restore_prev_cursor();
                        ^
dirlist.c:121:2: warning: implicit declaration of function 'update_dirlist' is invalid in C99 [-Wimplicit-function-declaration]
        update_dirlist(host, dlist);
        ^
dirlist.c:124:6: warning: implicit declaration of function 'dirtable_in_use' is invalid in C99 [-Wimplicit-function-declaration]
        if (dirtable_in_use(host))
            ^
dirlist.c:125:3: warning: implicit declaration of function 'update_dirtable' is invalid in C99 [-Wimplicit-function-declaration]
                update_dirtable(host, dlist);
                ^
dirlist.c:128:2: warning: implicit declaration of function 'release_array_list' is invalid in C99 [-Wimplicit-function-declaration]
        release_array_list(dlist);
        ^
dirlist.c:140:16: warning: implicit declaration of function 'update_dirlong' is invalid in C99 [-Wimplicit-function-declaration]
        if ((retval = update_dirlong(host)) < 0) {
                      ^
dirlist.c:141:3: warning: implicit declaration of function 'restore_prev_cursor' is invalid in C99 [-Wimplicit-function-declaration]
                restore_prev_cursor();
                ^
dirlist.c:145:2: warning: implicit declaration of function 'restore_prev_cursor' is invalid in C99 [-Wimplicit-function-declaration]
        restore_prev_cursor();
        ^
dirlist.c:154:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
update_dirlist(host, dlist)
^
dirlist.c:162:2: warning: implicit declaration of function 'reset_list' is invalid in C99 [-Wimplicit-function-declaration]
        reset_list(w_dirList[host]);
        ^
dirlist.c:170:1: warning: non-void function does not return a value [-Wreturn-type]
}
^
dirlist.c:177:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
reset_list(w_list)
^
dirlist.c:182:1: warning: non-void function does not return a value [-Wreturn-type]
}
^
dirlist.c:197:13: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast]
        int host = (int)client_data;
                   ^~~~~~~~~~~~~~~~
dirlist.c:203:2: warning: implicit declaration of function 'raise_okflag' is invalid in C99 [-Wimplicit-function-declaration]
        raise_okflag();
        ^
dirlist.c:206:2: warning: implicit declaration of function 'clear_selected_entries' is invalid in C99 [-Wimplicit-function-declaration]
        clear_selected_entries(host);
        ^
dirlist.c:210:2: warning: implicit declaration of function 'strip_off_symbol' is invalid in C99 [-Wimplicit-function-declaration]
        strip_off_symbol(hinfo[host].system, hinfo[host].server, entry);
        ^
dirlist.c:217:2: warning: implicit declaration of function 'change_directory' is invalid in C99 [-Wimplicit-function-declaration]
        change_directory(host, new_wd);
        ^
dirlist.c:237:16: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast]
    int host = (int)client_data;
               ^~~~~~~~~~~~~~~~
dirlist.c:240:2: warning: implicit declaration of function 'raise_okflag' is invalid in C99 [-Wimplicit-function-declaration]
        raise_okflag();
        ^
dirlist.c:243:6: warning: implicit declaration of function 'dirtable_in_use' is invalid in C99 [-Wimplicit-function-declaration]
        if (dirtable_in_use(host)) {
            ^
dirlist.c:246:5: warning: implicit declaration of function 'select_table_entry' is invalid in C99 [-Wimplicit-function-declaration]
                                select_table_entry(host, cbs->item_position-1);
                                ^
dirlist.c:250:4: warning: implicit declaration of function 'deselect_table_entry' is invalid in C99 [-Wimplicit-function-declaration]
                        deselect_table_entry(host, cbs->item_position-1);
                        ^
dirlist.c:255:9: warning: implicit declaration of function 'clear_selected_entries' is invalid in C99 [-Wimplicit-function-declaration]
        clear_selected_entries(RIGHT);
        ^
dirlist.c:260:5: warning: implicit declaration of function 'update_xfer_controls' is invalid in C99 [-Wimplicit-function-declaration]
    update_xfer_controls();
    ^
dirlist.c:262:6: warning: implicit declaration of function 'update_host_controls' is invalid in C99 [-Wimplicit-function-declaration]
        update_host_controls(i);
        ^
dirlist.c:270:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
clear_selected_entries(host)
^
dirlist.c:276:6: warning: implicit declaration of function 'dirtable_in_use' is invalid in C99 [-Wimplicit-function-declaration]
        if (dirtable_in_use(host))
            ^
dirlist.c:277:3: warning: implicit declaration of function 'clear_selected_table_entries' is invalid in C99 [-Wimplicit-function-declaration]
                clear_selected_table_entries(host);
                ^
dirlist.c:278:1: warning: non-void function does not return a value [-Wreturn-type]
}
^
35 warnings generated.
clang -Os -Wall -Wpointer-arith -no-cpp-precomp     -I/opt/pkg/include    -D__x86_64__ -D__DARWIN__                                 -DNO_ALLOCA -DCSRG_BASED        -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c dirlong.c
dirlong.c:121:13: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast]
        int host = (int)client_data;
                   ^~~~~~~~~~~~~~~~
dirlong.c:124:2: warning: implicit declaration of function 'raise_okflag' is invalid in C99 [-Wimplicit-function-declaration]
        raise_okflag();
        ^
dirlong.c:129:5: warning: implicit declaration of function 'add_dialog_to_list' is invalid in C99 [-Wimplicit-function-declaration]
    add_dialog_to_list(dirlong[host].w_dialog);
    ^
dirlong.c:132:9: warning: implicit declaration of function 'update_dir_displays' is invalid in C99 [-Wimplicit-function-declaration]
    if (update_dir_displays(host, True) < 0)
        ^
dirlong.c:133:9: warning: implicit declaration of function 'lost_connection' is invalid in C99 [-Wimplicit-function-declaration]
        lost_connection(host);
        ^
dirlong.c:176:27: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast]
        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]
        cb_dirlong_help, (XtPointer)host);
                         ^~~~~~~~~~~~~~~
dirlong.c:227:5: warning: implicit declaration of function 'fix_vertical_text_sb_color' is invalid in C99 [-Wimplicit-function-declaration]
    fix_vertical_text_sb_color(dirlong[host].w_list);
    ^
dirlong.c:228:5: warning: implicit declaration of function 'fix_horizontal_text_sb_color' is invalid in C99 [-Wimplicit-function-declaration]
    fix_horizontal_text_sb_color(dirlong[host].w_list);
    ^
dirlong.c:229:2: warning: implicit declaration of function 'set_bg_to_sb_trough_color' is invalid in C99 [-Wimplicit-function-declaration]
        set_bg_to_sb_trough_color(dirlong[host].w_list,
        ^
dirlong.c:244:13: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast]
        int host = (int)client_data;
                   ^~~~~~~~~~~~~~~~
dirlong.c:255:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
update_dirlong(host)
^
dirlong.c:275:13: warning: implicit declaration of function 'local_dir' is invalid in C99 [-Wimplicit-function-declaration]
        if (local_dir(hinfo[host].wd, &dlist) != 0)
            ^
dirlong.c:276:13: warning: implicit declaration of function 'fatal_error' is invalid in C99 [-Wimplicit-function-declaration]
            fatal_error("Unable to get local directory list");
            ^
dirlong.c:279:23: warning: implicit declaration of function 'remote_dir' is invalid in C99 [-Wimplicit-function-declaration]
        if ((retval = remote_dir(host, hinfo[host].wd, &dlist)))
                      ^
dirlong.c:300:2: warning: implicit declaration of function 'release_array_list' is invalid in C99 [-Wimplicit-function-declaration]
        release_array_list(dlist);
        ^
dirlong.c:316:13: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast]
        int host = (int)client_data;
                   ^~~~~~~~~~~~~~~~
dirlong.c:320:5: warning: implicit declaration of function 'help_dialog' is invalid in C99 [-Wimplicit-function-declaration]
    help_dialog(dirlong[host].w_dialog, False, text, dirlong_help);
    ^
18 warnings generated.
clang -Os -Wall -Wpointer-arith -no-cpp-precomp     -I/opt/pkg/include    -D__x86_64__ -D__DARWIN__                                 -DNO_ALLOCA -DCSRG_BASED        -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c dirname.c
dirname.c:126:5: warning: implicit declaration of function 'release_path_links' is invalid in C99 [-Wimplicit-function-declaration]
    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]
    int host = (int)client_data;
               ^~~~~~~~~~~~~~~~
dirname.c:155:2: warning: implicit declaration of function 'raise_okflag' is invalid in C99 [-Wimplicit-function-declaration]
        raise_okflag();
        ^
dirname.c:171:5: warning: implicit declaration of function 'release_path_links' is invalid in C99 [-Wimplicit-function-declaration]
    release_path_links(wd_links);
    ^
dirname.c:174:2: warning: implicit declaration of function 'change_directory' is invalid in C99 [-Wimplicit-function-declaration]
        change_directory(host, new_wd);
        ^
5 warnings generated.
clang -Os -Wall -Wpointer-arith -no-cpp-precomp     -I/opt/pkg/include    -D__x86_64__ -D__DARWIN__                                 -DNO_ALLOCA -DCSRG_BASED        -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c dirpath.c
dirpath.c:96:13: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast]
        int host = (int)client_data;
                   ^~~~~~~~~~~~~~~~
dirpath.c:99:2: warning: implicit declaration of function 'raise_okflag' is invalid in C99 [-Wimplicit-function-declaration]
        raise_okflag();
        ^
dirpath.c:106:2: warning: implicit declaration of function 'add_dialog_to_list' is invalid in C99 [-Wimplicit-function-declaration]
        add_dialog_to_list(dirpath[host].w_dialog);
        ^
3 warnings generated.
clang -Os -Wall -Wpointer-arith -no-cpp-precomp     -I/opt/pkg/include    -D__x86_64__ -D__DARWIN__                                 -DNO_ALLOCA -DCSRG_BASED        -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]
        int host = (int)client_data;
                   ^~~~~~~~~~~~~~~~
dirtable.c:152:2: warning: implicit declaration of function 'raise_okflag' is invalid in C99 [-Wimplicit-function-declaration]
        raise_okflag();
        ^
dirtable.c:157:2: warning: implicit declaration of function 'add_dialog_to_list' is invalid in C99 [-Wimplicit-function-declaration]
        add_dialog_to_list(dirtable[host].w_dialog);
        ^
dirtable.c:158:2: warning: implicit declaration of function 'force_update' is invalid in C99 [-Wimplicit-function-declaration]
        force_update(dirtable[host].w_drawingArea);
        ^
dirtable.c:161:9: warning: implicit declaration of function 'update_dir_displays' is invalid in C99 [-Wimplicit-function-declaration]
    if (update_dir_displays(host, True) < 0)
        ^
dirtable.c:162:9: warning: implicit declaration of function 'lost_connection' is invalid in C99 [-Wimplicit-function-declaration]
        lost_connection(host);
        ^
dirtable.c:198:2: warning: implicit declaration of function 'add_wm_delete_window_cb' is invalid in C99 [-Wimplicit-function-declaration]
        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]
                (XtPointer)host);
                ^~~~~~~~~~~~~~~
dirtable.c:218:9: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast]
        (XtPointer)host
        ^~~~~~~~~~~~~~~
dirtable.c:238:9: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast]
        (XtPointer)host
        ^~~~~~~~~~~~~~~
dirtable.c:288:23: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast]
                cb_redraw_dirtable, (XtPointer)host);
                                    ^~~~~~~~~~~~~~~
dirtable.c:303:9: warning: implicit declaration of function 'fatal_error' is invalid in C99 [-Wimplicit-function-declaration]
        fatal_error("Unable to get font");
        ^
dirtable.c:342:2: warning: implicit declaration of function 'calc_dirtable_geometry' is invalid in C99 [-Wimplicit-function-declaration]
        calc_dirtable_geometry(host);
        ^
dirtable.c:371:3: warning: implicit declaration of function 'fatal_error' is invalid in C99 [-Wimplicit-function-declaration]
                fatal_error("Bug in DirtableMouse()");
                ^
dirtable.c:377:9: warning: implicit declaration of function 'entry_index' is invalid in C99 [-Wimplicit-function-declaration]
        indx = entry_index(host, event->x, event->y);
               ^
dirtable.c:381:22: warning: implicit declaration of function 'point_in_clipwindow' is invalid in C99 [-Wimplicit-function-declaration]
                if (indx == -1 || !point_in_clipwindow(host, event->x, event->y))
                                   ^
dirtable.c:384:4: warning: implicit declaration of function 'toggle_table_entry' is invalid in C99 [-Wimplicit-function-declaration]
                        toggle_table_entry(host, indx);
                        ^
dirtable.c:400:3: warning: implicit declaration of function 'toggle_table_entry' is invalid in C99 [-Wimplicit-function-declaration]
                toggle_table_entry(host, indx);
                ^
dirtable.c:408:2: warning: implicit declaration of function 'clear_selected_entries' is invalid in C99 [-Wimplicit-function-declaration]
        clear_selected_entries(host);
        ^
dirtable.c:412:2: warning: implicit declaration of function 'strip_off_symbol' is invalid in C99 [-Wimplicit-function-declaration]
        strip_off_symbol(hinfo[host].system, hinfo[host].server, entry);
        ^
dirtable.c:419:5: warning: implicit declaration of function 'change_directory' is invalid in C99 [-Wimplicit-function-declaration]
    change_directory(host, new_wd);
    ^
dirtable.c:431:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
update_dirtable(host, dlist)
^
dirtable.c:439:2: warning: implicit declaration of function 'delete_dirtable_entries' is invalid in C99 [-Wimplicit-function-declaration]
        delete_dirtable_entries(host);
        ^
dirtable.c:463:2: warning: implicit declaration of function 'calc_dirtable_geometry' is invalid in C99 [-Wimplicit-function-declaration]
        calc_dirtable_geometry(host);
        ^
dirtable.c:467:1: warning: non-void function does not return a value [-Wreturn-type]
}
^
dirtable.c:479:13: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast]
        int host = (int)client_data;
                   ^~~~~~~~~~~~~~~~
dirtable.c:481:2: warning: implicit declaration of function 'delete_dirtable_entries' is invalid in C99 [-Wimplicit-function-declaration]
        delete_dirtable_entries(host);
        ^
dirtable.c:497:13: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast]
        int host = (int)client_data;
                   ^~~~~~~~~~~~~~~~
dirtable.c:501:5: warning: implicit declaration of function 'help_dialog' is invalid in C99 [-Wimplicit-function-declaration]
    help_dialog(dirtable[host].w_dialog, False, text, dirtable_help);
    ^
dirtable.c:509:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
delete_dirtable_entries(host)
^
dirtable.c:521:1: warning: non-void function does not return a value [-Wreturn-type]
}
^
dirtable.c:528:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
select_table_entry(host, indx)
^
dirtable.c:533:2: warning: implicit declaration of function 'draw_entry' is invalid in C99 [-Wimplicit-function-declaration]
        draw_entry(host, indx);
        ^
dirtable.c:534:1: warning: non-void function does not return a value [-Wreturn-type]
}
^
dirtable.c:541:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
deselect_table_entry(host, indx)
^
dirtable.c:546:2: warning: implicit declaration of function 'draw_entry' is invalid in C99 [-Wimplicit-function-declaration]
        draw_entry(host, indx);
        ^
dirtable.c:547:1: warning: non-void function does not return a value [-Wreturn-type]
}
^
dirtable.c:555:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
toggle_table_entry(host, indx)
^
dirtable.c:562:2: warning: implicit declaration of function 'raise_okflag' is invalid in C99 [-Wimplicit-function-declaration]
        raise_okflag();
        ^
dirtable.c:566:9: warning: implicit declaration of function 'clear_selected_entries' is invalid in C99 [-Wimplicit-function-declaration]
        clear_selected_entries(RIGHT);
        ^
dirtable.c:581:2: warning: implicit declaration of function 'update_xfer_controls' is invalid in C99 [-Wimplicit-function-declaration]
        update_xfer_controls();
        ^
dirtable.c:583:9: warning: implicit declaration of function 'update_host_controls' is invalid in C99 [-Wimplicit-function-declaration]
        update_host_controls(i);
        ^
dirtable.c:584:1: warning: non-void function does not return a value [-Wreturn-type]
}
^
dirtable.c:591:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
dirtable_in_use(host)
^
dirtable.c:605:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
clear_selected_table_entries(host)
^
dirtable.c:613:1: warning: non-void function does not return a value [-Wreturn-type]
}
^
dirtable.c:626:13: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast]
        int host = (int)client_data;
                   ^~~~~~~~~~~~~~~~
dirtable.c:659:4: warning: implicit declaration of function 'draw_entry' is invalid in C99 [-Wimplicit-function-declaration]
                        draw_entry(host, indx);
                        ^
dirtable.c:669:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
calc_dirtable_geometry(host)
^
dirtable.c:723:1: warning: non-void function does not return a value [-Wreturn-type]
}
^
dirtable.c:730:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
draw_entry(host, indx)
^
dirtable.c:755:1: warning: non-void function does not return a value [-Wreturn-type]
}
^
dirtable.c:762:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
entry_index(host, x, y)
^
dirtable.c:810:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
point_in_clipwindow(host, x, y)
^
dirtable.c:854:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
enable_dirtable(host, enable)
^
dirtable.c:859:1: warning: non-void function does not return a value [-Wreturn-type]
}
^
56 warnings generated.
clang -Os -Wall -Wpointer-arith -no-cpp-precomp     -I/opt/pkg/include    -D__x86_64__ -D__DARWIN__                                 -DNO_ALLOCA -DCSRG_BASED        -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c fallbacks.c
clang -Os -Wall -Wpointer-arith -no-cpp-precomp     -I/opt/pkg/include    -D__x86_64__ -D__DARWIN__                                 -DNO_ALLOCA -DCSRG_BASED        -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c flag.c
flag.c:71:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
init_result_flag()
^
flag.c:83:1: warning: non-void function does not return a value [-Wreturn-type]
}
^
flag.c:89:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
raise_okflag()
^
flag.c:102:1: warning: non-void function does not return a value [-Wreturn-type]
}
^
flag.c:108:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
raise_errorflag()
^
flag.c:121:1: warning: non-void function does not return a value [-Wreturn-type]
}
^
6 warnings generated.
clang -Os -Wall -Wpointer-arith -no-cpp-precomp     -I/opt/pkg/include    -D__x86_64__ -D__DARWIN__                                 -DNO_ALLOCA -DCSRG_BASED        -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c force.c
force.c:31:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
force_update(w)
^
force.c:77:1: warning: non-void function does not return a value [-Wreturn-type]
}
^
2 warnings generated.
clang -Os -Wall -Wpointer-arith -no-cpp-precomp     -I/opt/pkg/include    -D__x86_64__ -D__DARWIN__                                 -DNO_ALLOCA -DCSRG_BASED        -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c get.c
get.c:83:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
init_get()
^
get.c:107:2: warning: implicit declaration of function 'snk_paths_of_xfer_node' is invalid in C99 [-Wimplicit-function-declaration]
        snk_paths_of_xfer_node(xc.current_node, NULL, &tmp_snk_path);
        ^
get.c:125:3: warning: implicit declaration of function 'parse_path' is invalid in C99 [-Wimplicit-function-declaration]
                parse_path(SYS_UNIX, snk_path, &dir, NULL);
                ^
get.c:126:12: warning: implicit declaration of function 'local_mkdir' is invalid in C99 [-Wimplicit-function-declaration]
                retval = local_mkdir(xc.snk_host, dir, 0700);
                         ^
get.c:133:7: warning: implicit declaration of function 'can_create_sinkfile' is invalid in C99 [-Wimplicit-function-declaration]
        if (!can_create_sinkfile(xc.snk_host, snk_path))
             ^
get.c:137:2: warning: implicit declaration of function 'src_paths_of_xfer_node' is invalid in C99 [-Wimplicit-function-declaration]
        src_paths_of_xfer_node(xc.current_node, NULL, &full_path);
        ^
get.c:138:5: warning: implicit declaration of function 'parse_path' is invalid in C99 [-Wimplicit-function-declaration]
    parse_path(xc.src_host_system, full_path, &src_dir, &src_file);
    ^
get.c:140:14: warning: implicit declaration of function 'remote_cd' is invalid in C99 [-Wimplicit-function-declaration]
    retval = remote_cd(xc.src_host, src_dir, True, True);
             ^
get.c:154:14: warning: implicit declaration of function 'init_data_conn' is invalid in C99 [-Wimplicit-function-declaration]
        if ((sock = init_data_conn(xc.src_host)) < 0) {
                    ^
get.c:162:16: warning: implicit declaration of function 'send_ftp_cmd' is invalid in C99 [-Wimplicit-function-declaration]
        if ((retval = send_ftp_cmd(xc.src_host, cmd)) < 0) {
                      ^
get.c:168:10: warning: implicit declaration of function 'get_ftp_reply' is invalid in C99 [-Wimplicit-function-declaration]
        scode = get_ftp_reply(xc.src_host, reply, MAXFTPREPLY, &code, maxt, True);
                ^
get.c:175:4: warning: implicit declaration of function 'print_ftp_reply' is invalid in C99 [-Wimplicit-function-declaration]
                        print_ftp_reply(xc.src_host, reply);
                        ^
get.c:182:3: warning: implicit declaration of function 'report_client_timeout' is invalid in C99 [-Wimplicit-function-declaration]
                report_client_timeout(xc.src_host);
                ^
get.c:191:12: warning: implicit declaration of function 'accept_data_conn' is invalid in C99 [-Wimplicit-function-declaration]
        data_fd = accept_data_conn(xc.src_host, sock);
                  ^
get.c:210:3: warning: implicit declaration of function 'report_perror' is invalid in C99 [-Wimplicit-function-declaration]
                report_perror(xc.snk_host, snk_path);
                ^
get.c:211:10: warning: implicit declaration of function 'abort_get' is invalid in C99 [-Wimplicit-function-declaration]
                return abort_get();
                       ^
get.c:216:9: warning: implicit declaration of function 'fatal_error' is invalid in C99 [-Wimplicit-function-declaration]
        fatal_error("Programming bug in init_get() involving tcpbuf");
        ^
get.c:234:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
do_get()
^
get.c:246:20: warning: implicit declaration of function 'read_tcp' is invalid in C99 [-Wimplicit-function-declaration]
                switch (nbytes = read_tcp(xc.src_host, xc.data_fd, tcpbuf,
                                 ^
get.c:252:11: warning: implicit declaration of function 'abort_get' is invalid in C99 [-Wimplicit-function-declaration]
                        return abort_get();
                               ^
get.c:273:14: warning: implicit declaration of function 'abort_get' is invalid in C99 [-Wimplicit-function-declaration]
                                                return abort_get();
                                                       ^
get.c:286:20: warning: implicit declaration of function 'read_tcp' is invalid in C99 [-Wimplicit-function-declaration]
                switch (nbytes = read_tcp(xc.src_host, xc.data_fd, tcpbuf,
                                 ^
get.c:292:11: warning: implicit declaration of function 'abort_get' is invalid in C99 [-Wimplicit-function-declaration]
                        return abort_get();
                               ^
get.c:296:8: warning: implicit declaration of function 'iwrite' is invalid in C99 [-Wimplicit-function-declaration]
                        if (iwrite(fileno(xc.snk_fp), tcpbuf, nbytes) != nbytes) {
                            ^
get.c:297:5: warning: implicit declaration of function 'snk_paths_of_xfer_node' is invalid in C99 [-Wimplicit-function-declaration]
                                snk_paths_of_xfer_node(xc.current_node, NULL, &snk_path);
                                ^
get.c:298:5: warning: implicit declaration of function 'report_perror' is invalid in C99 [-Wimplicit-function-declaration]
                                report_perror(xc.snk_host, snk_path);
                                ^
get.c:319:10: warning: implicit declaration of function 'get_ftp_reply' is invalid in C99 [-Wimplicit-function-declaration]
        scode = get_ftp_reply(xc.src_host, reply, MAXFTPREPLY, &code, maxt, True);
                ^
get.c:328:3: warning: implicit declaration of function 'report_client_timeout' is invalid in C99 [-Wimplicit-function-declaration]
                report_client_timeout(xc.src_host);
                ^
get.c:331:4: warning: implicit declaration of function 'print_ftp_reply' is invalid in C99 [-Wimplicit-function-declaration]
                        print_ftp_reply(xc.src_host, reply);
                        ^
get.c:343:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
abort_get()
^
get.c:354:2: warning: implicit declaration of function 'urgent_abort' is invalid in C99 [-Wimplicit-function-declaration]
        urgent_abort(xc.src_host);
        ^
get.c:363:10: warning: implicit declaration of function 'read_tcp' is invalid in C99 [-Wimplicit-function-declaration]
                while (read_tcp(xc.src_host, xc.data_fd, tcpbuf, XFER_USER_TCPBUFLEN,
                       ^
get.c:371:12: warning: implicit declaration of function 'get_ftp_reply' is invalid in C99 [-Wimplicit-function-declaration]
                retval = get_ftp_reply(xc.src_host, reply, MAXFTPREPLY, &code, nsecs,
                         ^
get.c:384:3: warning: implicit declaration of function 'report_client_timeout' is invalid in C99 [-Wimplicit-function-declaration]
                report_client_timeout(xc.src_host);
                ^
34 warnings generated.
clang -Os -Wall -Wpointer-arith -no-cpp-precomp     -I/opt/pkg/include    -D__x86_64__ -D__DARWIN__                                 -DNO_ALLOCA -DCSRG_BASED        -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c goto.c
goto.c:79:13: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast]
        int host = (int)client_data;
                   ^~~~~~~~~~~~~~~~
goto.c:82:2: warning: implicit declaration of function 'raise_okflag' is invalid in C99 [-Wimplicit-function-declaration]
        raise_okflag();
        ^
goto.c:89:2: warning: implicit declaration of function 'change_directory' is invalid in C99 [-Wimplicit-function-declaration]
        change_directory(host, new_wd);
        ^
goto.c:98:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
initialize_goto_menu(host)
^
goto.c:119:31: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast]
            cb_goto_prev_dir, (XtPointer)host);
                              ^~~~~~~~~~~~~~~
goto.c:122:1: warning: non-void function does not return a value [-Wreturn-type]
}
^
goto.c:144:5: warning: implicit declaration of function 'retrieve_cache' is invalid in C99 [-Wimplicit-function-declaration]
    retrieve_cache(DIRECTORY, hinfo[host].hostname, &list, sort_caches);
    ^
goto.c:156:2: warning: implicit declaration of function 'release_array_list' is invalid in C99 [-Wimplicit-function-declaration]
        release_array_list(list);
        ^
goto.c:170:13: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast]
        int host = (int)client_data;
                   ^~~~~~~~~~~~~~~~
9 warnings generated.
clang -Os -Wall -Wpointer-arith -no-cpp-precomp     -I/opt/pkg/include    -D__x86_64__ -D__DARWIN__                                 -DNO_ALLOCA -DCSRG_BASED        -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c help.c
help.c:102:5: warning: implicit declaration of function 'raise_okflag' is invalid in C99 [-Wimplicit-function-declaration]
    raise_okflag();
    ^
help.c:119:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
help_dialog(w_parent, modal, topic, text)
^
help.c:140:2: warning: implicit declaration of function 'add_dialog_to_list' is invalid in C99 [-Wimplicit-function-declaration]
        add_dialog_to_list(current_help->w_dialog);
        ^
help.c:168:1: warning: non-void function does not return a value [-Wreturn-type]
}
^
help.c:193:2: warning: implicit declaration of function 'add_wm_delete_window_cb' is invalid in C99 [-Wimplicit-function-declaration]
        add_wm_delete_window_cb(help->w_dialog, cb_help_close, NULL);
        ^
help.c:253:2: warning: implicit declaration of function 'fix_vertical_text_sb_color' is invalid in C99 [-Wimplicit-function-declaration]
        fix_vertical_text_sb_color(help->w_text);
        ^
help.c:254:2: warning: implicit declaration of function 'set_bg_to_sb_trough_color' is invalid in C99 [-Wimplicit-function-declaration]
        set_bg_to_sb_trough_color(help->w_text,
        ^
help.c:317:3: warning: implicit declaration of function 'fatal_error' is invalid in C99 [-Wimplicit-function-declaration]
                fatal_error("*** Bug in cb_help_close()");
                ^
help.c:332:3: warning: implicit declaration of function 'remove_dialog_from_list' is invalid in C99 [-Wimplicit-function-declaration]
                remove_dialog_from_list(old_help->w_dialog);
                ^
help.c:336:3: warning: implicit declaration of function 'remove_dialog_from_list' is invalid in C99 [-Wimplicit-function-declaration]
                remove_dialog_from_list(current_help->w_dialog);
                ^
help.c:340:3: warning: implicit declaration of function 'fatal_error' is invalid in C99 [-Wimplicit-function-declaration]
                fatal_error("Bug in cb_help_destroy()");
                ^
11 warnings generated.
clang -Os -Wall -Wpointer-arith -no-cpp-precomp     -I/opt/pkg/include    -D__x86_64__ -D__DARWIN__                                 -DNO_ALLOCA -DCSRG_BASED        -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c host.c
host.c:78:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
update_hostname(host)
^
host.c:91:1: warning: non-void function does not return a value [-Wreturn-type]
}
^
host.c:116:2: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration]
        close(hinfo[host].ctrl_fd);
        ^
host.c:120:2: warning: implicitly declaring library function 'sprintf' with type 'int (char *, const char *, ...)' [-Wimplicit-function-declaration]
        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 <stdio.h> or explicitly provide a declaration for 'sprintf'
host.c:122:2: warning: implicit declaration of function 'use_normal_cursor' is invalid in C99 [-Wimplicit-function-declaration]
        use_normal_cursor();
        ^
host.c:123:6: warning: implicit declaration of function 'question_dialog' is invalid in C99 [-Wimplicit-function-declaration]
        if (question_dialog(msg) == False) {
            ^
host.c:124:7: warning: implicit declaration of function 'update_dir_displays' is invalid in C99 [-Wimplicit-function-declaration]
                if (update_dir_displays(host, False) < 0)
                    ^
host.c:125:4: warning: implicit declaration of function 'fatal_error' is invalid in C99 [-Wimplicit-function-declaration]
                        fatal_error("Programming bug in lost_connection()");
                        ^
host.c:126:3: warning: implicit declaration of function 'update_xfer_controls' is invalid in C99 [-Wimplicit-function-declaration]
                update_xfer_controls();
                ^
host.c:127:3: warning: implicit declaration of function 'update_dirname_menu' is invalid in C99 [-Wimplicit-function-declaration]
                update_dirname_menu(host);
                ^
host.c:128:3: warning: implicit declaration of function 'update_dirpath' is invalid in C99 [-Wimplicit-function-declaration]
                update_dirpath(host);
                ^
host.c:130:3: warning: implicit declaration of function 'update_host_controls' is invalid in C99 [-Wimplicit-function-declaration]
                update_host_controls(host);
                ^
host.c:131:3: warning: implicit declaration of function 'restore_prev_cursor' is invalid in C99 [-Wimplicit-function-declaration]
                restore_prev_cursor();
                ^
host.c:134:2: warning: implicit declaration of function 'restore_prev_cursor' is invalid in C99 [-Wimplicit-function-declaration]
        restore_prev_cursor();
        ^
host.c:137:2: warning: implicit declaration of function 'use_busy_cursor' is invalid in C99 [-Wimplicit-function-declaration]
        use_busy_cursor();
        ^
host.c:158:11: warning: implicit declaration of function 'do_connect' is invalid in C99 [-Wimplicit-function-declaration]
        retval = do_connect(host, hostname, username, password, account, NULL);
                 ^
host.c:164:6: warning: implicit declaration of function 'remote_cd' is invalid in C99 [-Wimplicit-function-declaration]
                || remote_cd(host, wd, False, True) < 0
                   ^
host.c:165:6: warning: implicit declaration of function 'remote_pwd' is invalid in C99 [-Wimplicit-function-declaration]
                || remote_pwd(host, &current_wd) < 0) {
                   ^
host.c:168:7: warning: implicit declaration of function 'update_dir_displays' is invalid in C99 [-Wimplicit-function-declaration]
                if (update_dir_displays(host, False) < 0)
                    ^
host.c:169:4: warning: implicit declaration of function 'fatal_error' is invalid in C99 [-Wimplicit-function-declaration]
                        fatal_error("Programming bug in lost_connection()");
                        ^
host.c:170:3: warning: implicit declaration of function 'update_xfer_controls' is invalid in C99 [-Wimplicit-function-declaration]
                update_xfer_controls();
                ^
host.c:171:3: warning: implicit declaration of function 'update_dirname_menu' is invalid in C99 [-Wimplicit-function-declaration]
                update_dirname_menu(host);
                ^
host.c:172:3: warning: implicit declaration of function 'update_dirpath' is invalid in C99 [-Wimplicit-function-declaration]
                update_dirpath(host);
                ^
host.c:174:3: warning: implicit declaration of function 'update_host_controls' is invalid in C99 [-Wimplicit-function-declaration]
                update_host_controls(host);
                ^
host.c:186:6: warning: implicit declaration of function 'update_dir_displays' is invalid in C99 [-Wimplicit-function-declaration]
        if (update_dir_displays(host, False) < 0) {
            ^
host.c:187:3: warning: implicit declaration of function 'warning_error' is invalid in C99 [-Wimplicit-function-declaration]
                warning_error("Unable to reconnect to remote host");
                ^
host.c:191:4: warning: implicit declaration of function 'fatal_error' is invalid in C99 [-Wimplicit-function-declaration]
                        fatal_error("Programming bug in lost_connection()");
                        ^
host.c:194:4: warning: implicit declaration of function 'XmListSelectItem' is invalid in C99 [-Wimplicit-function-declaration]
                        XmListSelectItem(w_dirList[host], sitems[i], True);
                        ^
host.c:196:2: warning: implicit declaration of function 'update_xfer_controls' is invalid in C99 [-Wimplicit-function-declaration]
        update_xfer_controls();
        ^
host.c:197:5: warning: implicit declaration of function 'update_dirname_menu' is invalid in C99 [-Wimplicit-function-declaration]
    update_dirname_menu(host);
    ^
host.c:198:2: warning: implicit declaration of function 'update_dirpath' is invalid in C99 [-Wimplicit-function-declaration]
        update_dirpath(host);
        ^
host.c:200:5: warning: implicit declaration of function 'update_host_controls' is invalid in C99 [-Wimplicit-function-declaration]
    update_host_controls(host);
    ^
host.c:220:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
update_host_controls(host)
^
host.c:235:23: warning: implicit declaration of function 'host_selected' is invalid in C99 [-Wimplicit-function-declaration]
        sensitivity = host_selected(host);
                      ^
host.c:252:1: warning: non-void function does not return a value [-Wreturn-type]
}
^
host.c:259:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
host_selected(host)
^
host.c:262:9: warning: implicit declaration of function 'selection_count' is invalid in C99 [-Wimplicit-function-declaration]
    if (selection_count(host))
        ^
host.c:273:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
selection_count(host)
^
38 warnings generated.
clang -Os -Wall -Wpointer-arith -no-cpp-precomp     -I/opt/pkg/include    -D__x86_64__ -D__DARWIN__                                 -DNO_ALLOCA -DCSRG_BASED        -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c lconnect.c
lconnect.c:79:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
connect_to_local(host)
^
lconnect.c:101:13: warning: implicit declaration of function 'cuserid' is invalid in C99 [-Wimplicit-function-declaration]
        username = cuserid(NULL);
                   ^
lconnect.c:101:11: warning: incompatible integer to pointer conversion assigning to 'char *' from 'int' [-Wint-conversion]
        username = cuserid(NULL);
                 ^ ~~~~~~~~~~~~~
lconnect.c:109:3: warning: implicit declaration of function 'retrieve_cache' is invalid in C99 [-Wimplicit-function-declaration]
                retrieve_cache(DIRECTORY, hinfo[host].hostname, &list, False);
                ^
lconnect.c:111:8: warning: implicit declaration of function 'local_cd' is invalid in C99 [-Wimplicit-function-declaration]
                        if (local_cd(host, list->entries[0], True) == 0)
                            ^
lconnect.c:116:5: warning: implicit declaration of function 'warning_error' is invalid in C99 [-Wimplicit-function-declaration]
                                warning_error(msg);
                                ^
lconnect.c:121:3: warning: implicit declaration of function 'release_array_list' is invalid in C99 [-Wimplicit-function-declaration]
                release_array_list(list);
                ^
lconnect.c:132:9: warning: implicit declaration of function 'update_dir_displays' is invalid in C99 [-Wimplicit-function-declaration]
    if (update_dir_displays(host, False) < 0)
        ^
lconnect.c:133:3: warning: implicit declaration of function 'fatal_error' is invalid in C99 [-Wimplicit-function-declaration]
                fatal_error("*** Bug in connect_to_local()");
                ^
lconnect.c:134:2: warning: implicit declaration of function 'update_xfer_controls' is invalid in C99 [-Wimplicit-function-declaration]
        update_xfer_controls();
        ^
lconnect.c:135:5: warning: implicit declaration of function 'update_dirname_menu' is invalid in C99 [-Wimplicit-function-declaration]
    update_dirname_menu(host);
    ^
lconnect.c:136:2: warning: implicit declaration of function 'update_dirpath' is invalid in C99 [-Wimplicit-function-declaration]
        update_dirpath(host);
        ^
lconnect.c:137:2: warning: implicit declaration of function 'update_dir_cache' is invalid in C99 [-Wimplicit-function-declaration]
        update_dir_cache(host);
        ^
lconnect.c:138:5: warning: implicit declaration of function 'update_hostname' is invalid in C99 [-Wimplicit-function-declaration]
    update_hostname(host);
    ^
lconnect.c:139:5: warning: implicit declaration of function 'update_host_controls' is invalid in C99 [-Wimplicit-function-declaration]
    update_host_controls(host);
    ^
lconnect.c:140:1: warning: non-void function does not return a value [-Wreturn-type]
}
^
lconnect.c:152:13: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast]
        int     host = (int)client_data;
                       ^~~~~~~~~~~~~~~~
lconnect.c:155:2: warning: implicit declaration of function 'raise_okflag' is invalid in C99 [-Wimplicit-function-declaration]
        raise_okflag();
        ^
lconnect.c:159:9: warning: implicit declaration of function 'disconnect' is invalid in C99 [-Wimplicit-function-declaration]
        disconnect(host);
        ^
19 warnings generated.
clang -Os -Wall -Wpointer-arith -no-cpp-precomp     -I/opt/pkg/include    -D__x86_64__ -D__DARWIN__                                 -DNO_ALLOCA -DCSRG_BASED        -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c lcopy.c
lcopy.c:74:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
init_local_copy()
^
lcopy.c:89:2: warning: implicit declaration of function 'snk_paths_of_xfer_node' is invalid in C99 [-Wimplicit-function-declaration]
        snk_paths_of_xfer_node(xc.current_node, NULL, &tmp_snk_file);
        ^
lcopy.c:90:2: warning: implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration]
        strcpy(snk_file, tmp_snk_file);
        ^
lcopy.c:90:2: note: include the header <string.h> or explicitly provide a declaration for 'strcpy'
lcopy.c:91:2: warning: implicit declaration of function 'XtFree' is invalid in C99 [-Wimplicit-function-declaration]
        XtFree(tmp_snk_file);
        ^
lcopy.c:103:9: warning: implicit declaration of function 'parse_path' is invalid in C99 [-Wimplicit-function-declaration]
        parse_path(SYS_UNIX, snk_path, &dir, NULL);
        ^
lcopy.c:105:18: warning: implicit declaration of function 'local_mkdir' is invalid in C99 [-Wimplicit-function-declaration]
        retval = local_mkdir(xc.snk_host, dir, 0700);
                 ^
lcopy.c:112:10: warning: implicit declaration of function 'can_create_sinkfile' is invalid in C99 [-Wimplicit-function-declaration]
    if (!can_create_sinkfile(xc.snk_host, snk_file))
         ^
lcopy.c:116:2: warning: implicit declaration of function 'src_paths_of_xfer_node' is invalid in C99 [-Wimplicit-function-declaration]
        src_paths_of_xfer_node(xc.current_node, NULL, &src_file);
        ^
lcopy.c:117:24: warning: implicit declaration of function 'iopen2' is invalid in C99 [-Wimplicit-function-declaration]
    if ((src_file_fd = iopen2(src_file, O_RDONLY)) < 0) {
                       ^
lcopy.c:118:9: warning: implicit declaration of function 'report_perror' is invalid in C99 [-Wimplicit-function-declaration]
        report_perror(xc.src_host, src_file);
        ^
lcopy.c:124:3: warning: implicit declaration of function 'warning_error' is invalid in C99 [-Wimplicit-function-declaration]
                warning_error(msg);
                ^
lcopy.c:125:9: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration]
        close(src_file_fd);
        ^
lcopy.c:135:6: warning: implicit declaration of function 'unlink' is invalid in C99 [-Wimplicit-function-declaration]
        if (unlink(snk_file) == -1)
            ^
lcopy.c:137:4: warning: implicit declaration of function 'report_perror' is invalid in C99 [-Wimplicit-function-declaration]
                        report_perror(xc.snk_host, snk_file);
                        ^
lcopy.c:138:4: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration]
                        close(src_file_fd);
                        ^
lcopy.c:141:21: warning: implicit declaration of function 'iopen3' is invalid in C99 [-Wimplicit-function-declaration]
        if ((snk_file_fd = iopen3(snk_file, O_CREAT|O_WRONLY, 0644)) < 0) {
                           ^
lcopy.c:142:3: warning: implicit declaration of function 'report_perror' is invalid in C99 [-Wimplicit-function-declaration]
                report_perror(xc.snk_host, snk_file);
                ^
lcopy.c:143:3: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration]
                close(src_file_fd);
                ^
lcopy.c:162:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
do_local_copy()
^
lcopy.c:171:7: warning: implicit declaration of function 'iread' is invalid in C99 [-Wimplicit-function-declaration]
                if (iread(xc.src_file_fd, filebuf, nbytes) != nbytes) {
                    ^
lcopy.c:172:4: warning: implicit declaration of function 'src_paths_of_xfer_node' is invalid in C99 [-Wimplicit-function-declaration]
                        src_paths_of_xfer_node(xc.current_node, NULL, &src_file);
                        ^
lcopy.c:173:4: warning: implicit declaration of function 'report_perror' is invalid in C99 [-Wimplicit-function-declaration]
                        report_perror(xc.src_host, src_file);
                        ^
lcopy.c:174:4: warning: implicit declaration of function 'XtFree' is invalid in C99 [-Wimplicit-function-declaration]
                        XtFree(src_file);
                        ^
lcopy.c:175:4: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration]
                        close(xc.src_file_fd);
                        ^
lcopy.c:179:7: warning: implicit declaration of function 'iwrite' is invalid in C99 [-Wimplicit-function-declaration]
                if (iwrite(xc.snk_file_fd, filebuf, nbytes) != nbytes) {
                    ^
lcopy.c:180:4: warning: implicit declaration of function 'snk_paths_of_xfer_node' is invalid in C99 [-Wimplicit-function-declaration]
                        snk_paths_of_xfer_node(xc.current_node, NULL, &snk_file);
                        ^
lcopy.c:181:4: warning: implicit declaration of function 'report_perror' is invalid in C99 [-Wimplicit-function-declaration]
                        report_perror(xc.snk_host, snk_file);
                        ^
lcopy.c:182:4: warning: implicit declaration of function 'XtFree' is invalid in C99 [-Wimplicit-function-declaration]
                        XtFree(snk_file);
                        ^
lcopy.c:183:4: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration]
                        close(xc.src_file_fd);
                        ^
lcopy.c:195:5: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration]
    close(xc.src_file_fd);
    ^
lcopy.c:206:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
abort_local_copy()
^
lcopy.c:208:2: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration]
        close(xc.src_file_fd);
        ^
32 warnings generated.
clang -Os -Wall -Wpointer-arith -no-cpp-precomp     -I/opt/pkg/include    -D__x86_64__ -D__DARWIN__                                 -DNO_ALLOCA -DCSRG_BASED        -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c list.c
list.c:62:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
add_to_linked_list(head, string)
^
list.c:72:1: warning: non-void function does not return a value [-Wreturn-type]
}
^
list.c:79:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
release_linked_list(head)
^
list.c:90:2: warning: non-void function does not return a value [-Wreturn-type]
 }
 ^
list.c:157:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
release_array_list(list)
^
list.c:167:1: warning: non-void function does not return a value [-Wreturn-type]
}
^
list.c:173:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
add_to_array_list(list, string)
^
list.c:200:1: warning: non-void function does not return a value [-Wreturn-type]
}
^
list.c:206:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
delete_from_array_list(list, n)
^
list.c:214:3: warning: implicit declaration of function 'fatal_error' is invalid in C99 [-Wimplicit-function-declaration]
                fatal_error("Trouble in add_to_array_list()");
                ^
list.c:225:1: warning: non-void function does not return a value [-Wreturn-type]
}
^
11 warnings generated.
clang -Os -Wall -Wpointer-arith -no-cpp-precomp     -I/opt/pkg/include    -D__x86_64__ -D__DARWIN__                                 -DNO_ALLOCA -DCSRG_BASED        -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c local.c
local.c:78:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
local_cd(host, directory, print_error_msg)
^
local.c:85:16: warning: implicit declaration of function 'chdir' is invalid in C99 [-Wimplicit-function-declaration]
        if ((retval = chdir(directory)) != 0) {
                      ^
local.c:87:4: warning: implicit declaration of function 'report_perror' is invalid in C99 [-Wimplicit-function-declaration]
                        report_perror(host, directory);
                        ^
local.c:100:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
local_pwd(name)
^
local.c:132:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
local_mkdir(host, directory, mode)
^
local.c:139:16: warning: implicit declaration of function 'mkdir' is invalid in C99 [-Wimplicit-function-declaration]
        if ((retval = mkdir(directory, mode)) != 0)
                      ^
local.c:140:3: warning: implicit declaration of function 'report_perror' is invalid in C99 [-Wimplicit-function-declaration]
                report_perror(host, directory);
                ^
local.c:151:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
local_delete(host, path)
^
local.c:159:6: warning: implicit declaration of function 'unlink' is invalid in C99 [-Wimplicit-function-declaration]
        if (unlink(path) == 0)
            ^
local.c:162:3: warning: implicit declaration of function 'parse_path' is invalid in C99 [-Wimplicit-function-declaration]
                parse_path(SYS_UNIX, path, &dir, &entry);
                ^
local.c:163:48: warning: implicit declaration of function 'rmdir' is invalid in C99 [-Wimplicit-function-declaration]
                result = (local_cd(host, dir, False) == 0 && rmdir(entry) == 0);
                                                             ^
local.c:170:2: warning: implicit declaration of function 'report_perror' is invalid in C99 [-Wimplicit-function-declaration]
        report_perror(host, path);
        ^
local.c:180:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
local_rename(host, old_path, new_path)
^
local.c:188:3: warning: implicit declaration of function 'report_perror' is invalid in C99 [-Wimplicit-function-declaration]
                report_perror(host, "Rename");
                ^
local.c:197:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
max_fds()
^
local.c:208:17: warning: implicit declaration of function 'getdtablesize' is invalid in C99 [-Wimplicit-function-declaration]
    max_files = getdtablesize();
                ^
local.c:231:9: warning: implicit declaration of function 'gethostname' is invalid in C99 [-Wimplicit-function-declaration]
    if (gethostname(name, MAXHOSTNAMELEN) == -1)
        ^
local.c:232:9: warning: implicit declaration of function 'fatal_error' is invalid in C99 [-Wimplicit-function-declaration]
        fatal_error("Trouble in local_host_name()");
        ^
18 warnings generated.
clang -Os -Wall -Wpointer-arith -no-cpp-precomp     -I/opt/pkg/include    -D__x86_64__ -D__DARWIN__                                 -DNO_ALLOCA -DCSRG_BASED        -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c log.c
log.c:87:12: error: redeclaration of 'sys_nerr' with a different type: 'int' vs 'const int'
extern int sys_nerr;
           ^
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:360:20: note: previous declaration is here
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 []'
extern char *sys_errlist[];
             ^
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/stdio.h:361:30: note: previous declaration is here
extern __const char *__const sys_errlist[];
                             ^
log.c:100:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
write_log(msg)
^
log.c:119:2: warning: implicit declaration of function 'raise_okflag' is invalid in C99 [-Wimplicit-function-declaration]
        raise_okflag();
        ^
log.c:129:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
report_perror(host, msg)
^
log.c:150:13: warning: passing 'const char *const' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
                write_log(sys_errlist[saved_errno]);
                          ^~~~~~~~~~~~~~~~~~~~~~~~
log.c:153:3: warning: 'sprintf' will always overflow; destination buffer has size 10, but format string expands to at least 11 [-Wfortify-source]
                sprintf(buf, "errno = %d\n", saved_errno);
                ^
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/secure/_stdio.h:47:3: note: expanded from macro 'sprintf'
  __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
  ^
log.c:163:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
print_ftp_reply(host, reply)
^
log.c:181:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
print_ftp_cmd(host, cmd)
^
log.c:217:5: warning: implicit declaration of function 'raise_okflag' is invalid in C99 [-Wimplicit-function-declaration]
    raise_okflag();
    ^
log.c:224:5: warning: implicit declaration of function 'add_dialog_to_list' is invalid in C99 [-Wimplicit-function-declaration]
    add_dialog_to_list(w_saveLogDialog);
    ^
log.c:287:3: warning: implicit declaration of function 'warning_error' is invalid in C99 [-Wimplicit-function-declaration]
                warning_error(msg);
                ^
log.c:314:5: warning: implicit declaration of function 'help_dialog' is invalid in C99 [-Wimplicit-function-declaration]
    help_dialog(w_saveLogDialog, False, "Save Diagnostics Log",
    ^
log.c:322:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
show_top_of_log()
^
12 warnings and 2 errors generated.
*** [log.o] Error code 1

bmake: stopped in /Users/pbulk/build/net/llnlxftp/work/llnlxftp2.1/sources
1 error

bmake: stopped in /Users/pbulk/build/net/llnlxftp/work/llnlxftp2.1/sources
*** Error code 2

Stop.
bmake[1]: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/net/llnlxftp
*** Error code 1

Stop.
bmake: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/net/llnlxftp