+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/llnlxftp-2.1nb4/work.log
+ su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/llnlxftp-2.1nb4/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
WARNING: [license.mk] Every package should define a LICENSE.
===> Building for llnlxftp-2.1nb4
--- abort.o ---
--- aconnect.o ---
--- abort.o ---
cc -O2 -fno-strength-reduce -fno-strict-aliasing      -I/usr/pkg/include    -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L 				-D_POSIX_SOURCE -D_XOPEN_SOURCE 				-D_BSD_SOURCE -D_SVID_SOURCE                                 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 				  				  -DFUNCPROTO=15 -DNARROWPROTO     -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -c abort.c
--- aconnect.o ---
cc -O2 -fno-strength-reduce -fno-strict-aliasing      -I/usr/pkg/include    -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L 				-D_POSIX_SOURCE -D_XOPEN_SOURCE 				-D_BSD_SOURCE -D_SVID_SOURCE                                 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 				  				  -DFUNCPROTO=15 -DNARROWPROTO     -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -c aconnect.c
In file included from /usr/include/sys/types.h:25,
                 from /home/pbulk/build/net/llnlxftp/work/.buildlink/include/X11/Xlib.h:38,
                 from /home/pbulk/build/net/llnlxftp/work/.buildlink/include/X11/Intrinsic.h:53,
                 from /home/pbulk/build/net/llnlxftp/work/.buildlink/include/Xm/Xm.h:59,
                 from /home/pbulk/build/net/llnlxftp/work/.buildlink/include/Xm/SelectioB.h:26,
                 from aconnect.c:54:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
aconnect.c: In function 'cb_connect_to_anonymous':
aconnect.c:148:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
     int host = (int)client_data;
                ^
--- abort.o ---
In file included from /usr/include/sys/types.h:25,
                 from /home/pbulk/build/net/llnlxftp/work/.buildlink/include/X11/Xlib.h:38,
                 from /home/pbulk/build/net/llnlxftp/work/.buildlink/include/X11/Intrinsic.h:53,
                 from /home/pbulk/build/net/llnlxftp/work/.buildlink/include/Xm/Xm.h:59,
                 from abort.c:54:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
--- aconnect.o ---
aconnect.c:151:2: warning: implicit declaration of function 'raise_okflag' [-Wimplicit-function-declaration]
  raise_okflag();
  ^~~~~~~~~~~~
aconnect.c:155:3: warning: implicit declaration of function 'disconnect' [-Wimplicit-function-declaration]
   disconnect(host);
   ^~~~~~~~~~
aconnect.c:159:2: warning: implicit declaration of function 'update_aconnect_dialog'; did you mean 'create_aconnect_dialog'? [-Wimplicit-function-declaration]
  update_aconnect_dialog(host);
  ^~~~~~~~~~~~~~~~~~~~~~
  create_aconnect_dialog
aconnect.c:163:2: warning: implicit declaration of function 'add_dialog_to_list' [-Wimplicit-function-declaration]
  add_dialog_to_list(aconnect.w_dialog);
  ^~~~~~~~~~~~~~~~~~
aconnect.c: In function 'create_aconnect_dialog':
aconnect.c:234:2: warning: implicit declaration of function 'fix_list_color' [-Wimplicit-function-declaration]
  fix_list_color(aconnect.w_hostList);
  ^~~~~~~~~~~~~~
aconnect.c:332:2: warning: implicit declaration of function 'set_bg_to_sb_trough_color' [-Wimplicit-function-declaration]
  set_bg_to_sb_trough_color(aconnect.w_hostName,
  ^~~~~~~~~~~~~~~~~~~~~~~~~
aconnect.c: At top level:
aconnect.c:346:1: warning: return type defaults to 'int' [-Wimplicit-int]
 update_aconnect_dialog(host)
 ^~~~~~~~~~~~~~~~~~~~~~
aconnect.c: In function 'update_aconnect_dialog':
aconnect.c:356:5: warning: implicit declaration of function 'retrieve_hostuser_cache' [-Wimplicit-function-declaration]
     retrieve_hostuser_cache(&list, sort_caches);
     ^~~~~~~~~~~~~~~~~~~~~~~
aconnect.c:359:5: warning: implicit declaration of function 'reset_list'; did you mean 'setbit'? [-Wimplicit-function-declaration]
     reset_list(aconnect.w_hostList);
     ^~~~~~~~~~
     setbit
aconnect.c:361:7: warning: implicit declaration of function 'parse_hostuser' [-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' [-Wimplicit-function-declaration]
     release_array_list(list);
     ^~~~~~~~~~~~~~~~~~
aconnect.c: In function 'cb_aconnect_single_selection':
aconnect.c:425:3: warning: implicit declaration of function 'fatal_error'; did you mean 'strerror'? [-Wimplicit-function-declaration]
   fatal_error("Trouble in cb_aconnect_single_selection()");
   ^~~~~~~~~~~
   strerror
aconnect.c: In function 'cb_aconnect_help':
aconnect.c:444:5: warning: implicit declaration of function 'help_dialog' [-Wimplicit-function-declaration]
     help_dialog(aconnect.w_dialog, True, "Connect to Anonymous", aconnect_help);
     ^~~~~~~~~~~
aconnect.c: In function 'cb_aconnect_connect':
aconnect.c:510:9: warning: implicit declaration of function 'warning_error' [-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' [-Wimplicit-function-declaration]
     switch (parse_hostname(hostname, &host_part, &port_part)) {
             ^~~~~~~~~~~~~~
aconnect.c:533:9: warning: implicit declaration of function 'add_to_cache' [-Wimplicit-function-declaration]
         add_to_cache(USER, hostname, username);
         ^~~~~~~~~~~~
aconnect.c:538:12: warning: implicit declaration of function 'do_connect'; did you mean 'Nonconvex'? [-Wimplicit-function-declaration]
   retval = do_connect(host, hostname, username, NULL, NULL,
            ^~~~~~~~~~
            Nonconvex
aconnect.c:557:5: warning: implicit declaration of function 'use_busy_cursor' [-Wimplicit-function-declaration]
     use_busy_cursor();
     ^~~~~~~~~~~~~~~
--- abort.o ---
abort.c:70:1: warning: return type defaults to 'int' [-Wimplicit-int]
 show_abort_dialog()
 ^~~~~~~~~~~~~~~~~
--- aconnect.o ---
aconnect.c:560:9: warning: implicit declaration of function 'update_dir_displays' [-Wimplicit-function-declaration]
     if (update_dir_displays(host, False) < 0) {
         ^~~~~~~~~~~~~~~~~~~
aconnect.c:561:9: warning: implicit declaration of function 'restore_prev_cursor' [-Wimplicit-function-declaration]
         restore_prev_cursor();
         ^~~~~~~~~~~~~~~~~~~
aconnect.c:562:9: warning: implicit declaration of function 'lost_connection'; did you mean 'XtNconnection'? [-Wimplicit-function-declaration]
         lost_connection(host);
         ^~~~~~~~~~~~~~~
         XtNconnection
aconnect.c:565:5: warning: implicit declaration of function 'update_xfer_controls' [-Wimplicit-function-declaration]
     update_xfer_controls();
     ^~~~~~~~~~~~~~~~~~~~
aconnect.c:566:5: warning: implicit declaration of function 'update_dirname_menu' [-Wimplicit-function-declaration]
     update_dirname_menu(host);
     ^~~~~~~~~~~~~~~~~~~
--- abort.o ---
abort.c: In function 'show_abort_dialog':
abort.c:74:2: warning: implicit declaration of function 'add_dialog_to_list' [-Wimplicit-function-declaration]
  add_dialog_to_list(w_abortDialog);
  ^~~~~~~~~~~~~~~~~~
--- aconnect.o ---
aconnect.c:567:5: warning: implicit declaration of function 'update_dirpath' [-Wimplicit-function-declaration]
     update_dirpath(host);
     ^~~~~~~~~~~~~~
aconnect.c:568:5: warning: implicit declaration of function 'update_dir_cache' [-Wimplicit-function-declaration]
     update_dir_cache(host);
     ^~~~~~~~~~~~~~~~
aconnect.c:569:5: warning: implicit declaration of function 'update_hostname' [-Wimplicit-function-declaration]
     update_hostname(host);
     ^~~~~~~~~~~~~~~
aconnect.c:570:5: warning: implicit declaration of function 'update_host_controls' [-Wimplicit-function-declaration]
     update_host_controls(host);
     ^~~~~~~~~~~~~~~~~~~~
--- abort.o ---
abort.c:75:2: warning: implicit declaration of function 'force_update'; did you mean 'XtNupdate'? [-Wimplicit-function-declaration]
  force_update(w_abortDialog);
  ^~~~~~~~~~~~
  XtNupdate
abort.c: At top level:
abort.c:83:1: warning: return type defaults to 'int' [-Wimplicit-int]
 hide_abort_dialog()
 ^~~~~~~~~~~~~~~~~
--- account.o ---
cc -O2 -fno-strength-reduce -fno-strict-aliasing      -I/usr/pkg/include    -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L 				-D_POSIX_SOURCE -D_XOPEN_SOURCE 				-D_BSD_SOURCE -D_SVID_SOURCE                                 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 				  				  -DFUNCPROTO=15 -DNARROWPROTO     -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -c account.c
--- arconnect.o ---
cc -O2 -fno-strength-reduce -fno-strict-aliasing      -I/usr/pkg/include    -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L 				-D_POSIX_SOURCE -D_XOPEN_SOURCE 				-D_BSD_SOURCE -D_SVID_SOURCE                                 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 				  				  -DFUNCPROTO=15 -DNARROWPROTO     -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -c arconnect.c
In file included from /usr/include/sys/types.h:25,
                 from /home/pbulk/build/net/llnlxftp/work/.buildlink/include/X11/Xlib.h:38,
                 from /home/pbulk/build/net/llnlxftp/work/.buildlink/include/X11/Intrinsic.h:53,
                 from /home/pbulk/build/net/llnlxftp/work/.buildlink/include/Xm/Xm.h:59,
                 from /home/pbulk/build/net/llnlxftp/work/.buildlink/include/Xm/TextF.h:26,
                 from arconnect.c:54:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
--- account.o ---
In file included from /usr/include/sys/types.h:25,
                 from /home/pbulk/build/net/llnlxftp/work/.buildlink/include/X11/Xlib.h:38,
                 from /home/pbulk/build/net/llnlxftp/work/.buildlink/include/X11/Intrinsic.h:53,
                 from /home/pbulk/build/net/llnlxftp/work/.buildlink/include/Xm/Xm.h:59,
                 from /home/pbulk/build/net/llnlxftp/work/.buildlink/include/Xm/SelectioB.h:26,
                 from account.c:54:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
--- arconnect.o ---
arconnect.c:86:1: warning: return type defaults to 'int' [-Wimplicit-int]
 do_connect(host, hostname, username, password, account, w_pseudo_parent)
 ^~~~~~~~~~
arconnect.c: In function 'do_connect':
arconnect.c:105:2: warning: implicit declaration of function 'use_busy_cursor' [-Wimplicit-function-declaration]
  use_busy_cursor();
  ^~~~~~~~~~~~~~~
arconnect.c:112:6: warning: implicit declaration of function 'parse_hostname'; did you mean 'gethostbyname'? [-Wimplicit-function-declaration]
  if (parse_hostname(hostname, &host_part, &port_part))
      ^~~~~~~~~~~~~~
      gethostbyname
arconnect.c:113:3: warning: implicit declaration of function 'fatal_error'; did you mean 'hstrerror'? [-Wimplicit-function-declaration]
   fatal_error("Bug in do_connect()");
   ^~~~~~~~~~~
   hstrerror
arconnect.c:114:11: warning: implicit declaration of function 'ftp_open' [-Wimplicit-function-declaration]
  retval = ftp_open(host, host_part, port_part);
           ^~~~~~~~
arconnect.c:117:3: warning: implicit declaration of function 'sprintf' [-Wimplicit-function-declaration]
   sprintf(buf, "Unable to connect to %s", hostname);
   ^~~~~~~
arconnect.c:117:3: warning: incompatible implicit declaration of built-in function 'sprintf'
arconnect.c:117:3: note: include '<stdio.h>' or provide a declaration of 'sprintf'
arconnect.c:62:1:
+#include <stdio.h>
 
arconnect.c:117:3:
   sprintf(buf, "Unable to connect to %s", hostname);
   ^~~~~~~
arconnect.c:118:3: warning: implicit declaration of function 'warning_error' [-Wimplicit-function-declaration]
   warning_error(buf);
   ^~~~~~~~~~~~~
--- account.o ---
account.c: In function 'create_account_dialog':
account.c:106:5: warning: implicit declaration of function 'add_wm_delete_window_cb' [-Wimplicit-function-declaration]
     add_wm_delete_window_cb(w_accountDialog, cb_account_cancel, NULL);
     ^~~~~~~~~~~~~~~~~~~~~~~
--- arconnect.o ---
arconnect.c:119:3: warning: implicit declaration of function 'restore_prev_cursor' [-Wimplicit-function-declaration]
   restore_prev_cursor();
   ^~~~~~~~~~~~~~~~~~~
--- account.o ---
account.c: In function 'get_account':
account.c:166:5: warning: implicit declaration of function 'add_dialog_to_list' [-Wimplicit-function-declaration]
     add_dialog_to_list(w_accountDialog);
     ^~~~~~~~~~~~~~~~~~
--- arconnect.o ---
arconnect.c:124:10: warning: implicit declaration of function 'ftp_user' [-Wimplicit-function-declaration]
  switch (ftp_user(host, username)) {
          ^~~~~~~~
arconnect.c:131:3: warning: implicit declaration of function 'close' [-Wimplicit-function-declaration]
   close(hinfo[host].ctrl_fd);
   ^~~~~
arconnect.c:148:11: warning: implicit declaration of function 'ftp_password'; did you mean 'get_password'? [-Wimplicit-function-declaration]
  retval = ftp_password(host, passwrd);
           ^~~~~~~~~~~~
           get_password
arconnect.c:177:6: warning: implicit declaration of function 'ftp_account'; did you mean 'get_account'? [-Wimplicit-function-declaration]
  if (ftp_account(host, acct) < 0) {
      ^~~~~~~~~~~
      get_account
--- account.o ---
account.c:167:5: warning: implicit declaration of function 'use_normal_cursor' [-Wimplicit-function-declaration]
     use_normal_cursor();
     ^~~~~~~~~~~~~~~~~
--- arconnect.o ---
arconnect.c:190:2: warning: implicit declaration of function 'ftp_system' [-Wimplicit-function-declaration]
  ftp_system(host, False);
  ^~~~~~~~~~
arconnect.c:192:3: warning: implicit declaration of function 'write_log' [-Wimplicit-function-declaration]
   write_log("*** System is ");
   ^~~~~~~~~
--- account.o ---
account.c:172:5: warning: implicit declaration of function 'restore_prev_cursor' [-Wimplicit-function-declaration]
     restore_prev_cursor();
     ^~~~~~~~~~~~~~~~~~~
--- arconnect.o ---
arconnect.c:202:3: warning: implicit declaration of function 'retrieve_cache' [-Wimplicit-function-declaration]
   retrieve_cache(DIRECTORY, hostname, &list, False);
   ^~~~~~~~~~~~~~
arconnect.c:204:8: warning: implicit declaration of function 'remote_cd' [-Wimplicit-function-declaration]
    if (remote_cd(host, list->entries[0], False, True) != 0) {
        ^~~~~~~~~
arconnect.c:205:5: warning: incompatible implicit declaration of built-in function 'sprintf'
     sprintf(msg, "Unable to change directory to %s",
     ^~~~~~~
arconnect.c:205:5: note: include '<stdio.h>' or provide a declaration of 'sprintf'
--- account.o ---
account.c: In function 'cb_map_account_dialog':
account.c:196:5: warning: implicit declaration of function 'center_dialog_over_dialog'; did you mean 'create_account_dialog'? [-Wimplicit-function-declaration]
     center_dialog_over_dialog(widget, w_pseudo_parent);
     ^~~~~~~~~~~~~~~~~~~~~~~~~
     create_account_dialog
--- arconnect.o ---
arconnect.c:210:3: warning: implicit declaration of function 'release_array_list' [-Wimplicit-function-declaration]
   release_array_list(list);
   ^~~~~~~~~~~~~~~~~~
arconnect.c:212:6: warning: implicit declaration of function 'remote_pwd' [-Wimplicit-function-declaration]
  if (remote_pwd(host, &wd) < 0) {
      ^~~~~~~~~~
arconnect.c: At top level:
arconnect.c:266:1: warning: return type defaults to 'int' [-Wimplicit-int]
 parse_hostname(hostname, host_part, port_part)
 ^~~~~~~~~~~~~~
arconnect.c:320:1: warning: return type defaults to 'int' [-Wimplicit-int]
 parse_hostuser(hostuser, host_part, user_part)
 ^~~~~~~~~~~~~~
--- cache.o ---
cc -O2 -fno-strength-reduce -fno-strict-aliasing      -I/usr/pkg/include    -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L 				-D_POSIX_SOURCE -D_XOPEN_SOURCE 				-D_BSD_SOURCE -D_SVID_SOURCE                                 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 				  				  -DFUNCPROTO=15 -DNARROWPROTO     -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -c cache.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from cache.c:54:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
--- changedir.o ---
cc -O2 -fno-strength-reduce -fno-strict-aliasing      -I/usr/pkg/include    -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L 				-D_POSIX_SOURCE -D_XOPEN_SOURCE 				-D_BSD_SOURCE -D_SVID_SOURCE                                 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 				  				  -DFUNCPROTO=15 -DNARROWPROTO     -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -c changedir.c
In file included from /usr/include/sys/types.h:25,
                 from /home/pbulk/build/net/llnlxftp/work/.buildlink/include/X11/Xlib.h:38,
                 from /home/pbulk/build/net/llnlxftp/work/.buildlink/include/X11/Intrinsic.h:53,
                 from /home/pbulk/build/net/llnlxftp/work/.buildlink/include/Xm/Xm.h:59,
                 from changedir.c:54:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
--- cache.o ---
cache.c:111:1: warning: return type defaults to 'int' [-Wimplicit-int]
 construct_cache_filename()
 ^~~~~~~~~~~~~~~~~~~~~~~~
cache.c: In function 'save_cache':
cache.c:133:3: warning: implicit declaration of function 'warning_error' [-Wimplicit-function-declaration]
   warning_error("Unable to save cache.");
   ^~~~~~~~~~~~~
cache.c: In function 'read_cache_from_file':
cache.c:170:3: warning: implicit declaration of function 'fatal_error'; did you mean 'strerror'? [-Wimplicit-function-declaration]
   fatal_error("Bug in read_cache_from_file()");
   ^~~~~~~~~~~
   strerror
--- changedir.o ---
changedir.c: In function 'cb_change_dir':
changedir.c:112:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  int host = (int)client_data;
             ^
--- cache.o ---
cache.c:193:7: warning: implicit declaration of function 'add_to_cache'; did you mean 'save_cache'? [-Wimplicit-function-declaration]
       add_to_cache(i, host_name, value);
       ^~~~~~~~~~~~
       save_cache
cache.c: At top level:
cache.c:208:1: warning: return type defaults to 'int' [-Wimplicit-int]
 add_to_cache(cache_id, host_name, value)
 ^~~~~~~~~~~~
--- changedir.o ---
changedir.c:116:5: warning: implicit declaration of function 'raise_okflag' [-Wimplicit-function-declaration]
     raise_okflag();
     ^~~~~~~~~~~~
--- cache.o ---
cache.c: In function 'retrieve_cache':
cache.c:381:3: warning: implicit declaration of function 'quicksort'; did you mean 'qsort'? [-Wimplicit-function-declaration]
   quicksort(values, hptr->cache[cache_id].count, strcmp);
   ^~~~~~~~~
   qsort
--- changedir.o ---
changedir.c:120:5: warning: implicit declaration of function 'update_changedir_dialog'; did you mean 'create_changedir_dialog'? [-Wimplicit-function-declaration]
     update_changedir_dialog(host);
     ^~~~~~~~~~~~~~~~~~~~~~~
     create_changedir_dialog
--- cache.o ---
cache.c: At top level:
cache.c:395:1: warning: return type defaults to 'int' [-Wimplicit-int]
 update_dir_cache(host)
 ^~~~~~~~~~~~~~~~
cache.c:412:1: warning: return type defaults to 'int' [-Wimplicit-int]
 retrieve_hostuser_cache(list, sort)
 ^~~~~~~~~~~~~~~~~~~~~~~
--- changedir.o ---
changedir.c:123:2: warning: implicit declaration of function 'add_dialog_to_list' [-Wimplicit-function-declaration]
  add_dialog_to_list(w_changeDirDialog);
  ^~~~~~~~~~~~~~~~~~
changedir.c: In function 'create_changedir_dialog':
changedir.c:155:2: warning: implicit declaration of function 'fix_list_color' [-Wimplicit-function-declaration]
  fix_list_color(w_list);
  ^~~~~~~~~~~~~~
changedir.c:158:2: warning: implicit declaration of function 'set_bg_to_sb_trough_color' [-Wimplicit-function-declaration]
  set_bg_to_sb_trough_color(
  ^~~~~~~~~~~~~~~~~~~~~~~~~
changedir.c: At top level:
changedir.c:172:1: warning: return type defaults to 'int' [-Wimplicit-int]
 update_changedir_dialog(host)
 ^~~~~~~~~~~~~~~~~~~~~~~
changedir.c: In function 'update_changedir_dialog':
changedir.c:181:2: warning: implicit declaration of function 'retrieve_cache' [-Wimplicit-function-declaration]
  retrieve_cache(DIRECTORY, hinfo[host].hostname, &list, sort_caches);
  ^~~~~~~~~~~~~~
changedir.c:196:2: warning: implicit declaration of function 'release_array_list' [-Wimplicit-function-declaration]
  release_array_list(list);
  ^~~~~~~~~~~~~~~~~~
changedir.c: In function 'cb_changedir_ok':
changedir.c:231:5: warning: implicit declaration of function 'clear_selected_entries' [-Wimplicit-function-declaration]
     clear_selected_entries(host);
     ^~~~~~~~~~~~~~~~~~~~~~
changedir.c: In function 'change_directory':
changedir.c:253:5: warning: implicit declaration of function 'use_busy_cursor' [-Wimplicit-function-declaration]
     use_busy_cursor();
     ^~~~~~~~~~~~~~~
changedir.c:258:17: warning: implicit declaration of function 'local_cd' [-Wimplicit-function-declaration]
             if (local_cd(host, hinfo[host].wd, True) < 0) {
                 ^~~~~~~~
changedir.c:259:17: warning: implicit declaration of function 'warning_error' [-Wimplicit-function-declaration]
                 warning_error("Unable to change directory");
                 ^~~~~~~~~~~~~
changedir.c:263:21: warning: implicit declaration of function 'remote_cd'; did you mean 'remove'? [-Wimplicit-function-declaration]
             switch (remote_cd(host, hinfo[host].wd, False, True)) {
                     ^~~~~~~~~
                     remove
changedir.c:268:17: warning: implicit declaration of function 'restore_prev_cursor' [-Wimplicit-function-declaration]
                 restore_prev_cursor();
                 ^~~~~~~~~~~~~~~~~~~
changedir.c:269:17: warning: implicit declaration of function 'lost_connection'; did you mean 'XtNconnection'? [-Wimplicit-function-declaration]
                 lost_connection(host);
                 ^~~~~~~~~~~~~~~
                 XtNconnection
changedir.c:282:13: warning: implicit declaration of function 'local_pwd' [-Wimplicit-function-declaration]
         if (local_pwd(&(hinfo[host].wd)) != 0)
             ^~~~~~~~~
changedir.c:283:13: warning: implicit declaration of function 'fatal_error'; did you mean 'ferror'? [-Wimplicit-function-declaration]
             fatal_error("Unable to get local working directory");
             ^~~~~~~~~~~
             ferror
changedir.c:294:13: warning: implicit declaration of function 'remote_pwd'; did you mean 'remove'? [-Wimplicit-function-declaration]
         if (remote_pwd(host, &wd) < 0) {
             ^~~~~~~~~~
             remove
changedir.c:304:9: warning: implicit declaration of function 'update_dir_displays' [-Wimplicit-function-declaration]
     if (update_dir_displays(host, False) < 0) {
         ^~~~~~~~~~~~~~~~~~~
changedir.c:310:5: warning: implicit declaration of function 'update_xfer_controls' [-Wimplicit-function-declaration]
     update_xfer_controls();
     ^~~~~~~~~~~~~~~~~~~~
changedir.c:311:5: warning: implicit declaration of function 'update_dirname_menu' [-Wimplicit-function-declaration]
     update_dirname_menu(host);
     ^~~~~~~~~~~~~~~~~~~
changedir.c:312:5: warning: implicit declaration of function 'update_dirpath' [-Wimplicit-function-declaration]
     update_dirpath(host);
     ^~~~~~~~~~~~~~
changedir.c:313:5: warning: implicit declaration of function 'update_dir_cache' [-Wimplicit-function-declaration]
     update_dir_cache(host);
     ^~~~~~~~~~~~~~~~
changedir.c:314:5: warning: implicit declaration of function 'update_host_controls' [-Wimplicit-function-declaration]
     update_host_controls(host);
     ^~~~~~~~~~~~~~~~~~~~
changedir.c: In function 'cb_changedir_help':
changedir.c:329:5: warning: implicit declaration of function 'help_dialog' [-Wimplicit-function-declaration]
     help_dialog(w_toplev, True, "Change Directory", help_change_dir);
     ^~~~~~~~~~~
--- cmds.o ---
cc -O2 -fno-strength-reduce -fno-strict-aliasing      -I/usr/pkg/include    -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L 				-D_POSIX_SOURCE -D_XOPEN_SOURCE 				-D_BSD_SOURCE -D_SVID_SOURCE                                 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 				  				  -DFUNCPROTO=15 -DNARROWPROTO     -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -c cmds.c
In file included from /usr/include/sys/types.h:25,
                 from cmds.c:54:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
cmds.c:77:1: warning: return type defaults to 'int' [-Wimplicit-int]
 ftp_open(host, ip_addr, port)
 ^~~~~~~~
cmds.c: In function 'ftp_open':
cmds.c:93:14: warning: implicit declaration of function 'inet_addr'; did you mean 'si_addr'? [-Wimplicit-function-declaration]
  if ((temp = inet_addr(ip_addr)) != ~0L)
              ^~~~~~~~~
              si_addr
--- color.o ---
--- cmds.o ---
cmds.c:108:3: warning: implicit declaration of function 'write_log' [-Wimplicit-function-declaration]
   write_log(msg);
   ^~~~~~~~~
cmds.c:113:3: warning: implicit declaration of function 'report_perror' [-Wimplicit-function-declaration]
   report_perror(host, "Opening socket stream");
   ^~~~~~~~~~~~~
--- color.o ---
cc -O2 -fno-strength-reduce -fno-strict-aliasing      -I/usr/pkg/include    -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L 				-D_POSIX_SOURCE -D_XOPEN_SOURCE 				-D_BSD_SOURCE -D_SVID_SOURCE                                 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 				  				  -DFUNCPROTO=15 -DNARROWPROTO     -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -c color.c
--- cmds.o ---
cmds.c:120:6: warning: implicit declaration of function 'iconnect'; did you mean 'connect'? [-Wimplicit-function-declaration]
  if (iconnect(ctrl_fd, (struct sockaddr *)&remote,(int)sizeof(remote)) < 0) {
      ^~~~~~~~
      connect
cmds.c:122:3: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration]
   close(ctrl_fd);
   ^~~~~
   pclose
cmds.c:131:10: warning: implicit declaration of function 'get_ftp_reply' [-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' [-Wimplicit-function-declaration]
   determine_server_from_open(host, reply);
   ^~~~~~~~~~~~~~~~~~~~~~~~~~
cmds.c:137:3: warning: implicit declaration of function 'report_client_timeout' [-Wimplicit-function-declaration]
   report_client_timeout(host);
   ^~~~~~~~~~~~~~~~~~~~~
cmds.c:141:4: warning: implicit declaration of function 'print_ftp_reply' [-Wimplicit-function-declaration]
    print_ftp_reply(host, reply);
    ^~~~~~~~~~~~~~~
cmds.c: At top level:
cmds.c:153:1: warning: return type defaults to 'int' [-Wimplicit-int]
 ftp_user(host, username)
 ^~~~~~~~
cmds.c: In function 'ftp_user':
cmds.c:164:16: warning: implicit declaration of function 'send_ftp_cmd' [-Wimplicit-function-declaration]
  if ((retval = send_ftp_cmd(host, cmd)) < 0)
                ^~~~~~~~~~~~
cmds.c: At top level:
cmds.c:191:1: warning: return type defaults to 'int' [-Wimplicit-int]
 ftp_password(host, password)
 ^~~~~~~~~~~~
cmds.c:232:1: warning: return type defaults to 'int' [-Wimplicit-int]
 ftp_account(host, account)
 ^~~~~~~~~~~
cmds.c:272:1: warning: return type defaults to 'int' [-Wimplicit-int]
 ftp_passive(host, port)
 ^~~~~~~~~~~
cmds.c:321:1: warning: return type defaults to 'int' [-Wimplicit-int]
 ftp_type(host, mode)
 ^~~~~~~~
cmds.c:369:1: warning: return type defaults to 'int' [-Wimplicit-int]
 ftp_port(host, hostport)
 ^~~~~~~~
cmds.c:411:1: warning: return type defaults to 'int' [-Wimplicit-int]
 ftp_system(host, print_error_msg)
 ^~~~~~~~~~
cmds.c: In function 'ftp_system':
cmds.c:428:3: warning: implicit declaration of function 'determine_server_from_syst' [-Wimplicit-function-declaration]
   determine_server_from_syst(host, reply);
   ^~~~~~~~~~~~~~~~~~~~~~~~~~
cmds.c: At top level:
cmds.c:448:1: warning: return type defaults to 'int' [-Wimplicit-int]
 ftp_allocate(host, size)
 ^~~~~~~~~~~~
--- color.o ---
In file included from /usr/include/sys/types.h:25,
                 from /home/pbulk/build/net/llnlxftp/work/.buildlink/include/X11/Xlib.h:38,
                 from /home/pbulk/build/net/llnlxftp/work/.buildlink/include/X11/Intrinsic.h:53,
                 from /home/pbulk/build/net/llnlxftp/work/.buildlink/include/Xm/Xm.h:59,
                 from color.c:54:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
color.c:65:1: warning: return type defaults to 'int' [-Wimplicit-int]
 color_display()
 ^~~~~~~~~~~~~
color.c:132:1: warning: return type defaults to 'int' [-Wimplicit-int]
 fix_horizontal_text_sb_color(widget)
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
color.c:150:1: warning: return type defaults to 'int' [-Wimplicit-int]
 fix_vertical_text_sb_color(widget)
 ^~~~~~~~~~~~~~~~~~~~~~~~~~
--- ctrlconn.o ---
cc -O2 -fno-strength-reduce -fno-strict-aliasing      -I/usr/pkg/include    -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L 				-D_POSIX_SOURCE -D_XOPEN_SOURCE 				-D_BSD_SOURCE -D_SVID_SOURCE                                 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 				  				  -DFUNCPROTO=15 -DNARROWPROTO     -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -c ctrlconn.c
--- cursor.o ---
cc -O2 -fno-strength-reduce -fno-strict-aliasing      -I/usr/pkg/include    -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L 				-D_POSIX_SOURCE -D_XOPEN_SOURCE 				-D_BSD_SOURCE -D_SVID_SOURCE                                 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 				  				  -DFUNCPROTO=15 -DNARROWPROTO     -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -c cursor.c
In file included from /usr/include/sys/types.h:25,
                 from /home/pbulk/build/net/llnlxftp/work/.buildlink/include/X11/Xlib.h:38,
                 from /home/pbulk/build/net/llnlxftp/work/.buildlink/include/X11/Intrinsic.h:53,
                 from /home/pbulk/build/net/llnlxftp/work/.buildlink/include/Xm/Xm.h:59,
                 from cursor.c:55:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
--- ctrlconn.o ---
In file included from /usr/include/sys/types.h:25,
                 from ctrlconn.c:54:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
--- cursor.o ---
cursor.c:112:1: warning: return type defaults to 'int' [-Wimplicit-int]
 use_busy_cursor()
 ^~~~~~~~~~~~~~~
cursor.c:121:1: warning: return type defaults to 'int' [-Wimplicit-int]
 use_normal_cursor()
 ^~~~~~~~~~~~~~~~~
cursor.c: In function 'remove_dialog_from_list':
cursor.c:234:2: warning: implicit declaration of function 'fatal_error'; did you mean 'strerror'? [-Wimplicit-function-declaration]
  fatal_error("Bug in remove_dialog_from_list()");
  ^~~~~~~~~~~
  strerror
--- ctrlconn.o ---
ctrlconn.c:88:1: warning: return type defaults to 'int' [-Wimplicit-int]
 write_tcp(host, fd, buf, n)
 ^~~~~~~~~
ctrlconn.c: In function 'write_tcp':
ctrlconn.c:100:17: warning: implicit declaration of function 'iwrite'; did you mean 'fwrite'? [-Wimplicit-function-declaration]
   if ((nbytes = iwrite(fd, &buf[total_nbytes], n-total_nbytes)) < 0) {
                 ^~~~~~
                 fwrite
ctrlconn.c:102:4: warning: implicit declaration of function 'report_perror' [-Wimplicit-function-declaration]
    report_perror(host, "Writing connection");
    ^~~~~~~~~~~~~
ctrlconn.c: At top level:
ctrlconn.c:123:1: warning: return type defaults to 'int' [-Wimplicit-int]
 read_tcp(host, fd, buf, n, maxtime, process_xevents)
 ^~~~~~~~
ctrlconn.c: In function 'read_tcp':
ctrlconn.c:137:11: warning: implicit declaration of function 'select_on_read'; did you mean 'SelectionClear'? [-Wimplicit-function-declaration]
   switch (select_on_read(fd, maxtime, process_xevents)) {
           ^~~~~~~~~~~~~~
           SelectionClear
ctrlconn.c:139:21: warning: implicit declaration of function 'iread'; did you mean 'fread'? [-Wimplicit-function-declaration]
       if ((nbytes = iread(fd, &buf[total_nbytes], n-total_nbytes)) < 0) {
                     ^~~~~
                     fread
ctrlconn.c: At top level:
ctrlconn.c:169:1: warning: return type defaults to 'int' [-Wimplicit-int]
 select_on_read(fd, maxtime, process_xevents)
 ^~~~~~~~~~~~~~
ctrlconn.c: In function 'select_on_read':
ctrlconn.c:198:17: warning: implicit declaration of function 'max_fds' [-Wimplicit-function-declaration]
   nfds = select(max_fds(), &readfds, NULL, &exceptfds, &timeout);
                 ^~~~~~~
ctrlconn.c: At top level:
ctrlconn.c:224:1: warning: return type defaults to 'int' [-Wimplicit-int]
 get_ftp_reply(host, reply, maxreply, code, maxtime, process_xevents)
 ^~~~~~~~~~~~~
ctrlconn.c: In function 'get_ftp_reply':
ctrlconn.c:246:20: warning: implicit declaration of function 'get_ftp_line'; did you mean 'get_ftp_reply'? [-Wimplicit-function-declaration]
   if ((replycode = get_ftp_line(host, fd, line, MAXFTPLINE, maxtime,
                    ^~~~~~~~~~~~
                    get_ftp_reply
ctrlconn.c:266:3: warning: implicit declaration of function 'print_ftp_reply'; did you mean 'get_ftp_reply'? [-Wimplicit-function-declaration]
   print_ftp_reply(host, reply);
   ^~~~~~~~~~~~~~~
   get_ftp_reply
ctrlconn.c:272:4: warning: implicit declaration of function 'write_log'; did you mean 'write_tcp'? [-Wimplicit-function-declaration]
    write_log("*** FTP server on remote host timed out.\n");
    ^~~~~~~~~
    write_tcp
ctrlconn.c: At top level:
ctrlconn.c:300:1: warning: return type defaults to 'int' [-Wimplicit-int]
 get_ftp_line(host, fd, line, maxline, maxtime, process_xevents)
 ^~~~~~~~~~~~
ctrlconn.c:376:1: warning: return type defaults to 'int' [-Wimplicit-int]
 send_ftp_cmd(host, cmd)
 ^~~~~~~~~~~~
ctrlconn.c: In function 'send_ftp_cmd':
ctrlconn.c:386:3: warning: implicit declaration of function 'print_ftp_cmd'; did you mean 'send_ftp_cmd'? [-Wimplicit-function-declaration]
   print_ftp_cmd(host,cmd);
   ^~~~~~~~~~~~~
   send_ftp_cmd
ctrlconn.c: At top level:
ctrlconn.c:404:1: warning: return type defaults to 'int' [-Wimplicit-int]
 sig_pipe()
 ^~~~~~~~
ctrlconn.c:417:1: warning: return type defaults to 'int' [-Wimplicit-int]
 urgent_abort(host)
 ^~~~~~~~~~~~
ctrlconn.c: In function 'urgent_abort':
ctrlconn.c:435:6: warning: implicit declaration of function 'isend'; did you mean 'send'? [-Wimplicit-function-declaration]
  if (isend(fd, buf, 1, MSG_OOB) != 1)
      ^~~~~
      send
--- dataconn.o ---
cc -O2 -fno-strength-reduce -fno-strict-aliasing      -I/usr/pkg/include    -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L 				-D_POSIX_SOURCE -D_XOPEN_SOURCE 				-D_BSD_SOURCE -D_SVID_SOURCE                                 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 				  				  -DFUNCPROTO=15 -DNARROWPROTO     -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -c dataconn.c
In file included from /usr/include/sys/types.h:25,
                 from dataconn.c:54:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
dataconn.c:70:1: warning: return type defaults to 'int' [-Wimplicit-int]
 init_data_conn(host)
 ^~~~~~~~~~~~~~
dataconn.c: In function 'init_data_conn':
dataconn.c:84:9: warning: implicit declaration of function 'report_perror' [-Wimplicit-function-declaration]
         report_perror(host, "Opening stream socket");
         ^~~~~~~~~~~~~
dataconn.c:98:3: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration]
   close(sock);
   ^~~~~
   pclose
dataconn.c:131:16: warning: implicit declaration of function 'ftp_port' [-Wimplicit-function-declaration]
  if ((retval = ftp_port(host, buf)) < 0) {
                ^~~~~~~~
dataconn.c: At top level:
dataconn.c:146:1: warning: return type defaults to 'int' [-Wimplicit-int]
 accept_data_conn(host, data_fd)
 ^~~~~~~~~~~~~~~~
dataconn.c: In function 'accept_data_conn':
dataconn.c:156:3: warning: implicit declaration of function 'write_log' [-Wimplicit-function-declaration]
   write_log("*** Will try to accept connection\n");
   ^~~~~~~~~
dataconn.c:158:16: warning: implicit declaration of function 'iaccept'; did you mean 'accept'? [-Wimplicit-function-declaration]
  new_data_fd = iaccept(data_fd, (struct sockaddr *)&remote, &addrlen);
                ^~~~~~~
                accept
--- delete.o ---
cc -O2 -fno-strength-reduce -fno-strict-aliasing      -I/usr/pkg/include    -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L 				-D_POSIX_SOURCE -D_XOPEN_SOURCE 				-D_BSD_SOURCE -D_SVID_SOURCE                                 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 				  				  -DFUNCPROTO=15 -DNARROWPROTO     -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -c delete.c
--- destdir.o ---
--- delete.o ---
In file included from /usr/include/sys/types.h:25,
                 from /home/pbulk/build/net/llnlxftp/work/.buildlink/include/X11/Xlib.h:38,
                 from /home/pbulk/build/net/llnlxftp/work/.buildlink/include/X11/Intrinsic.h:53,
                 from /home/pbulk/build/net/llnlxftp/work/.buildlink/include/Xm/Xm.h:59,
                 from /home/pbulk/build/net/llnlxftp/work/.buildlink/include/Xm/SelectioB.h:26,
                 from delete.c:54:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
--- destdir.o ---
cc -O2 -fno-strength-reduce -fno-strict-aliasing      -I/usr/pkg/include    -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L 				-D_POSIX_SOURCE -D_XOPEN_SOURCE 				-D_BSD_SOURCE -D_SVID_SOURCE                                 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 				  				  -DFUNCPROTO=15 -DNARROWPROTO     -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -c destdir.c
In file included from /usr/include/sys/types.h:25,
                 from /home/pbulk/build/net/llnlxftp/work/.buildlink/include/X11/Xlib.h:38,
                 from /home/pbulk/build/net/llnlxftp/work/.buildlink/include/X11/Intrinsic.h:53,
                 from /home/pbulk/build/net/llnlxftp/work/.buildlink/include/Xm/Xm.h:59,
                 from destdir.c:54:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
--- delete.o ---
delete.c: In function 'cb_delete':
delete.c:89:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  int host = (int)client_data;
             ^
delete.c: In function 'cb_rdelete':
delete.c:104:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  int host = (int)client_data;
             ^
--- destdir.o ---
destdir.c: In function 'create_destdir_dialog':
destdir.c:212:5: warning: implicit declaration of function 'fix_list_color' [-Wimplicit-function-declaration]
     fix_list_color(destdir.w_dirList);
     ^~~~~~~~~~~~~~
destdir.c: In function 'cb_destdir_set_dir':
destdir.c:243:5: warning: implicit declaration of function 'raise_okflag' [-Wimplicit-function-declaration]
     raise_okflag();
     ^~~~~~~~~~~~
--- delete.o ---
delete.c: In function 'init_delete':
delete.c:123:2: warning: implicit declaration of function 'raise_okflag' [-Wimplicit-function-declaration]
  raise_okflag();
  ^~~~~~~~~~~~
--- destdir.o ---
destdir.c:255:5: warning: implicit declaration of function 'release_path_links'; did you mean 'path_to_links'? [-Wimplicit-function-declaration]
     release_path_links(wd_links);
     ^~~~~~~~~~~~~~~~~~
     path_to_links
destdir.c:258:5: warning: implicit declaration of function 'use_busy_cursor' [-Wimplicit-function-declaration]
     use_busy_cursor();
     ^~~~~~~~~~~~~~~
--- delete.o ---
delete.c:128:13: warning: implicit declaration of function 'verify_selection'; did you mean 'XtNselection'? [-Wimplicit-function-declaration]
    retval = verify_selection(host,
             ^~~~~~~~~~~~~~~~
             XtNselection
delete.c:138:2: warning: implicit declaration of function 'use_busy_cursor' [-Wimplicit-function-declaration]
  use_busy_cursor();
  ^~~~~~~~~~~~~~~
--- destdir.o ---
destdir.c:259:11: warning: implicit declaration of function 'change_destdir_directory'; did you mean 'create_destdir_dialog'? [-Wimplicit-function-declaration]
  retval = change_destdir_directory(new_wd);
           ^~~~~~~~~~~~~~~~~~~~~~~~
           create_destdir_dialog
destdir.c:260:2: warning: implicit declaration of function 'restore_prev_cursor' [-Wimplicit-function-declaration]
  restore_prev_cursor();
  ^~~~~~~~~~~~~~~~~~~
--- delete.o ---
delete.c:141:2: warning: implicit declaration of function 'show_mp_monitor' [-Wimplicit-function-declaration]
  show_mp_monitor("Now Deleting:");
  ^~~~~~~~~~~~~~~
--- destdir.o ---
destdir.c:264:9: warning: implicit declaration of function 'warning_error' [-Wimplicit-function-declaration]
         warning_error("Unable to change directory");
         ^~~~~~~~~~~~~
destdir.c:268:9: warning: implicit declaration of function 'lost_connection'; did you mean 'XtNconnection'? [-Wimplicit-function-declaration]
         lost_connection(destdir.host);
         ^~~~~~~~~~~~~~~
         XtNconnection
--- delete.o ---
delete.c:142:2: warning: implicit declaration of function 'clear_mp_monitor' [-Wimplicit-function-declaration]
  clear_mp_monitor();
  ^~~~~~~~~~~~~~~~
--- destdir.o ---
destdir.c: In function 'cb_destdir_double_click':
destdir.c:294:2: warning: implicit declaration of function 'strip_off_symbol' [-Wimplicit-function-declaration]
  strip_off_symbol(destdir.system, destdir.server, entry);
  ^~~~~~~~~~~~~~~~
destdir.c: At top level:
destdir.c:319:1: warning: return type defaults to 'int' [-Wimplicit-int]
 update_destdir_dirname_menu()
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
destdir.c:377:1: warning: return type defaults to 'int' [-Wimplicit-int]
 update_destdir_dirlist()
 ^~~~~~~~~~~~~~~~~~~~~~
destdir.c: In function 'update_destdir_dirlist':
destdir.c:390:3: warning: implicit declaration of function 'fatal_error'; did you mean 'strerror'? [-Wimplicit-function-declaration]
   fatal_error("Bug in update_destdir_dirlist()");
   ^~~~~~~~~~~
   strerror
destdir.c:392:13: warning: implicit declaration of function 'local_ls' [-Wimplicit-function-declaration]
         if (local_ls(destdir.wd, &dlist, symbol_mode) != 0)
             ^~~~~~~~
destdir.c:396:23: warning: implicit declaration of function 'remote_ls' [-Wimplicit-function-declaration]
         if ((retval = remote_ls(destdir.host, destdir.wd, &dlist,
                       ^~~~~~~~~
--- delete.o ---
delete.c:145:2: warning: implicit declaration of function 'enable_controls'; did you mean 'XEnableAccessControl'? [-Wimplicit-function-declaration]
  enable_controls(False);
  ^~~~~~~~~~~~~~~
  XEnableAccessControl
--- destdir.o ---
destdir.c:404:5: warning: implicit declaration of function 'reset_list'; did you mean 'setbit'? [-Wimplicit-function-declaration]
     reset_list(destdir.w_dirList);
     ^~~~~~~~~~
     setbit
destdir.c:414:5: warning: implicit declaration of function 'release_array_list' [-Wimplicit-function-declaration]
     release_array_list(dlist);
     ^~~~~~~~~~~~~~~~~~
destdir.c: At top level:
destdir.c:426:1: warning: return type defaults to 'int' [-Wimplicit-int]
 change_destdir_directory(new_wd)
 ^~~~~~~~~~~~~~~~~~~~~~~~
--- delete.o ---
delete.c:158:9: warning: implicit declaration of function 'strip_off_symbol' [-Wimplicit-function-declaration]
         strip_off_symbol(hinfo[host].system, hinfo[host].server, ptr->entry);
         ^~~~~~~~~~~~~~~~
delete.c: At top level:
delete.c:179:1: warning: return type defaults to 'int' [-Wimplicit-int]
 clean_up_del_ctrl()
 ^~~~~~~~~~~~~~~~~
--- destdir.o ---
destdir.c: In function 'change_destdir_directory':
destdir.c:434:13: warning: implicit declaration of function 'local_cd' [-Wimplicit-function-declaration]
         if (local_cd(destdir.host, new_wd, True) < 0)
             ^~~~~~~~
destdir.c:438:13: warning: implicit declaration of function 'local_pwd' [-Wimplicit-function-declaration]
         if (local_pwd(&destdir.wd) != 0)
             ^~~~~~~~~
destdir.c:441:17: warning: implicit declaration of function 'remote_cd' [-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' [-Wimplicit-function-declaration]
         if (remote_pwd(destdir.host, &wd) < 0)
             ^~~~~~~~~~
--- delete.o ---
delete.c: In function 'clean_up_del_ctrl':
delete.c:194:3: warning: implicit declaration of function 'release_linked_list' [-Wimplicit-function-declaration]
   release_linked_list(&del_ctrl.head[i]);
   ^~~~~~~~~~~~~~~~~~~
delete.c: At top level:
delete.c:203:1: warning: return type defaults to 'int' [-Wimplicit-int]
 cb_delete_entries()
 ^~~~~~~~~~~~~~~~~
--- destdir.o ---
destdir.c: In function 'get_destination_dir':
destdir.c:509:13: warning: implicit declaration of function 'add_dialog_to_list' [-Wimplicit-function-declaration]
             add_dialog_to_list(destdir.w_dialog);
             ^~~~~~~~~~~~~~~~~~
destdir.c: In function 'cb_map_destdir_dialog':
destdir.c:592:5: warning: implicit declaration of function 'center_dialog_over_dialog'; did you mean 'create_destdir_dialog'? [-Wimplicit-function-declaration]
     center_dialog_over_dialog(widget, destdir.pseudo_parent);
     ^~~~~~~~~~~~~~~~~~~~~~~~~
     create_destdir_dialog
--- delete.o ---
delete.c: In function 'cb_delete_entries':
delete.c:223:6: warning: implicit declaration of function 'mp_abort_requested' [-Wimplicit-function-declaration]
  if (mp_abort_requested())
      ^~~~~~~~~~~~~~~~~~
delete.c:242:2: warning: implicit declaration of function 'release_path_links' [-Wimplicit-function-declaration]
  release_path_links(rel_path_links);
  ^~~~~~~~~~~~~~~~~~
delete.c:252:8: warning: implicit declaration of function 'local_cd' [-Wimplicit-function-declaration]
    if (local_cd(host, del_ctrl.full_path, False) == 0)
        ^~~~~~~~
delete.c:255:12: warning: implicit declaration of function 'remote_cd'; did you mean 'remove'? [-Wimplicit-function-declaration]
    switch (remote_cd(host, del_ctrl.full_path, True, False)) {
            ^~~~~~~~~
            remove
delete.c:264:9: warning: implicit declaration of function 'local_ls' [-Wimplicit-function-declaration]
     if (local_ls(del_ctrl.full_path, &list, False) != 0) {
         ^~~~~~~~
delete.c:265:6: warning: implicit declaration of function 'warning_error' [-Wimplicit-function-declaration]
      warning_error("Unable to get directory list");
      ^~~~~~~~~~~~~
delete.c:269:13: warning: implicit declaration of function 'remote_ls'; did you mean 'remove'? [-Wimplicit-function-declaration]
     switch (remote_ls(host, del_ctrl.full_path, &list, False)) {
             ^~~~~~~~~
             remove
delete.c:290:4: warning: implicit declaration of function 'release_array_list' [-Wimplicit-function-declaration]
    release_array_list(list);
    ^~~~~~~~~~~~~~~~~~
delete.c:298:2: warning: implicit declaration of function 'update_mp_monitor' [-Wimplicit-function-declaration]
  update_mp_monitor(del_ctrl.rel_path);
  ^~~~~~~~~~~~~~~~~
delete.c:300:12: warning: implicit declaration of function 'local_delete'; did you mean 'cb_delete'? [-Wimplicit-function-declaration]
   retval = local_delete(host, del_ctrl.full_path);
            ^~~~~~~~~~~~
            cb_delete
delete.c:309:6: warning: implicit declaration of function 'fatal_error'; did you mean 'ferror'? [-Wimplicit-function-declaration]
      fatal_error("Trouble in cb_delete_entries()");
      ^~~~~~~~~~~
      ferror
delete.c:313:14: warning: implicit declaration of function 'remote_rmdir' [-Wimplicit-function-declaration]
     retval = remote_rmdir(host, temp, True);
              ^~~~~~~~~~~~
delete.c:325:14: warning: implicit declaration of function 'remote_delete'; did you mean 'init_delete'? [-Wimplicit-function-declaration]
     retval = remote_delete(host, del_ctrl.full_path, True);
              ^~~~~~~~~~~~~
              init_delete
delete.c:340:10: warning: implicit declaration of function 'write_log' [-Wimplicit-function-declaration]
          write_log(msg);
          ^~~~~~~~~
delete.c:354:2: warning: implicit declaration of function 'hide_mp_monitor' [-Wimplicit-function-declaration]
  hide_mp_monitor();
  ^~~~~~~~~~~~~~~
delete.c:356:3: warning: implicit declaration of function 'hide_abort_dialog' [-Wimplicit-function-declaration]
   hide_abort_dialog();
   ^~~~~~~~~~~~~~~~~
delete.c:358:6: warning: implicit declaration of function 'update_dir_displays' [-Wimplicit-function-declaration]
  if (update_dir_displays(host, False) < 0)
      ^~~~~~~~~~~~~~~~~~~
delete.c:360:2: warning: implicit declaration of function 'update_xfer_controls' [-Wimplicit-function-declaration]
  update_xfer_controls();
  ^~~~~~~~~~~~~~~~~~~~
--- dirlist.o ---
cc -O2 -fno-strength-reduce -fno-strict-aliasing      -I/usr/pkg/include    -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L 				-D_POSIX_SOURCE -D_XOPEN_SOURCE 				-D_BSD_SOURCE -D_SVID_SOURCE                                 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 				  				  -DFUNCPROTO=15 -DNARROWPROTO     -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -c dirlist.c
--- delete.o ---
delete.c:361:2: warning: implicit declaration of function 'update_host_controls' [-Wimplicit-function-declaration]
  update_host_controls(host);
  ^~~~~~~~~~~~~~~~~~~~
delete.c:363:3: warning: implicit declaration of function 'beep'; did you mean 'bcmp'? [-Wimplicit-function-declaration]
   beep();
   ^~~~
   bcmp
delete.c:364:2: warning: implicit declaration of function 'restore_prev_cursor' [-Wimplicit-function-declaration]
  restore_prev_cursor();
  ^~~~~~~~~~~~~~~~~~~
--- dirlist.o ---
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from dirlist.c:54:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
--- delete.o ---
delete.c:392:2: warning: implicit declaration of function 'clear_selected_entries'; did you mean 'cb_delete_entries'? [-Wimplicit-function-declaration]
  clear_selected_entries(host);
  ^~~~~~~~~~~~~~~~~~~~~~
  cb_delete_entries
delete.c:394:2: warning: implicit declaration of function 'lost_connection'; did you mean 'XtNconnection'? [-Wimplicit-function-declaration]
  lost_connection(host);
  ^~~~~~~~~~~~~~~
  XtNconnection
--- dirlist.o ---
dirlist.c:77:1: warning: return type defaults to 'int' [-Wimplicit-int]
 update_dir_displays(host, preserve)
 ^~~~~~~~~~~~~~~~~~~
dirlist.c: In function 'update_dir_displays':
dirlist.c:89:2: warning: implicit declaration of function 'use_busy_cursor' [-Wimplicit-function-declaration]
  use_busy_cursor();
  ^~~~~~~~~~~~~~~
dirlist.c:97:7: warning: implicit declaration of function 'local_ls' [-Wimplicit-function-declaration]
   if (local_ls(hinfo[host].wd, &dlist, symbol_mode) != 0)
       ^~~~~~~~
dirlist.c:98:4: warning: implicit declaration of function 'fatal_error'; did you mean 'strerror'? [-Wimplicit-function-declaration]
    fatal_error("Unable to get local directory list");
    ^~~~~~~~~~~
    strerror
dirlist.c:101:17: warning: implicit declaration of function 'remote_ls'; did you mean 'remove'? [-Wimplicit-function-declaration]
   if ((retval = remote_ls(host, hinfo[host].wd, &dlist, symbol_mode))) {
                 ^~~~~~~~~
                 remove
dirlist.c:102:4: warning: implicit declaration of function 'restore_prev_cursor' [-Wimplicit-function-declaration]
    restore_prev_cursor();
    ^~~~~~~~~~~~~~~~~~~
dirlist.c:121:2: warning: implicit declaration of function 'update_dirlist'; did you mean 'update_dir_displays'? [-Wimplicit-function-declaration]
  update_dirlist(host, dlist);
  ^~~~~~~~~~~~~~
  update_dir_displays
dirlist.c:124:6: warning: implicit declaration of function 'dirtable_in_use' [-Wimplicit-function-declaration]
  if (dirtable_in_use(host))
      ^~~~~~~~~~~~~~~
dirlist.c:125:3: warning: implicit declaration of function 'update_dirtable'; did you mean 'XmNeditable'? [-Wimplicit-function-declaration]
   update_dirtable(host, dlist);
   ^~~~~~~~~~~~~~~
   XmNeditable
dirlist.c:128:2: warning: implicit declaration of function 'release_array_list'; did you mean 'create_null_array_list'? [-Wimplicit-function-declaration]
  release_array_list(dlist);
  ^~~~~~~~~~~~~~~~~~
  create_null_array_list
dirlist.c:140:16: warning: implicit declaration of function 'update_dirlong'; did you mean 'update_dir_displays'? [-Wimplicit-function-declaration]
  if ((retval = update_dirlong(host)) < 0) {
                ^~~~~~~~~~~~~~
                update_dir_displays
dirlist.c: At top level:
dirlist.c:154:1: warning: return type defaults to 'int' [-Wimplicit-int]
 update_dirlist(host, dlist)
 ^~~~~~~~~~~~~~
dirlist.c: In function 'update_dirlist':
dirlist.c:162:2: warning: implicit declaration of function 'reset_list'; did you mean 'setbit'? [-Wimplicit-function-declaration]
  reset_list(w_dirList[host]);
  ^~~~~~~~~~
  setbit
dirlist.c: At top level:
dirlist.c:177:1: warning: return type defaults to 'int' [-Wimplicit-int]
 reset_list(w_list)
 ^~~~~~~~~~
dirlist.c: In function 'cb_double_click':
dirlist.c:197:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  int host = (int)client_data;
             ^
dirlist.c:203:2: warning: implicit declaration of function 'raise_okflag' [-Wimplicit-function-declaration]
  raise_okflag();
  ^~~~~~~~~~~~
dirlist.c:206:2: warning: implicit declaration of function 'clear_selected_entries' [-Wimplicit-function-declaration]
  clear_selected_entries(host);
  ^~~~~~~~~~~~~~~~~~~~~~
dirlist.c:210:2: warning: implicit declaration of function 'strip_off_symbol' [-Wimplicit-function-declaration]
  strip_off_symbol(hinfo[host].system, hinfo[host].server, entry);
  ^~~~~~~~~~~~~~~~
dirlist.c:217:2: warning: implicit declaration of function 'change_directory'; did you mean 'XmNdirectory'? [-Wimplicit-function-declaration]
  change_directory(host, new_wd);
  ^~~~~~~~~~~~~~~~
  XmNdirectory
dirlist.c: In function 'cb_multiple_selection':
dirlist.c:237:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
     int host = (int)client_data;
                ^
dirlist.c:246:5: warning: implicit declaration of function 'select_table_entry' [-Wimplicit-function-declaration]
     select_table_entry(host, cbs->item_position-1);
     ^~~~~~~~~~~~~~~~~~
dirlist.c:250:4: warning: implicit declaration of function 'deselect_table_entry' [-Wimplicit-function-declaration]
    deselect_table_entry(host, cbs->item_position-1);
    ^~~~~~~~~~~~~~~~~~~~
dirlist.c:260:5: warning: implicit declaration of function 'update_xfer_controls'; did you mean 'update_dir_displays'? [-Wimplicit-function-declaration]
     update_xfer_controls();
     ^~~~~~~~~~~~~~~~~~~~
     update_dir_displays
dirlist.c:262:6: warning: implicit declaration of function 'update_host_controls' [-Wimplicit-function-declaration]
      update_host_controls(i);
      ^~~~~~~~~~~~~~~~~~~~
dirlist.c: At top level:
dirlist.c:270:1: warning: return type defaults to 'int' [-Wimplicit-int]
 clear_selected_entries(host)
 ^~~~~~~~~~~~~~~~~~~~~~
dirlist.c: In function 'clear_selected_entries':
dirlist.c:277:3: warning: implicit declaration of function 'clear_selected_table_entries'; did you mean 'clear_selected_entries'? [-Wimplicit-function-declaration]
   clear_selected_table_entries(host);
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
   clear_selected_entries
--- dirlong.o ---
cc -O2 -fno-strength-reduce -fno-strict-aliasing      -I/usr/pkg/include    -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L 				-D_POSIX_SOURCE -D_XOPEN_SOURCE 				-D_BSD_SOURCE -D_SVID_SOURCE                                 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 				  				  -DFUNCPROTO=15 -DNARROWPROTO     -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -c dirlong.c
--- dirname.o ---
--- dirlong.o ---
In file included from /usr/include/sys/types.h:25,
                 from /home/pbulk/build/net/llnlxftp/work/.buildlink/include/X11/Xlib.h:38,
                 from /home/pbulk/build/net/llnlxftp/work/.buildlink/include/X11/Intrinsic.h:53,
                 from /home/pbulk/build/net/llnlxftp/work/.buildlink/include/Xm/Xm.h:59,
                 from dirlong.c:54:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
--- dirname.o ---
cc -O2 -fno-strength-reduce -fno-strict-aliasing      -I/usr/pkg/include    -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L 				-D_POSIX_SOURCE -D_XOPEN_SOURCE 				-D_BSD_SOURCE -D_SVID_SOURCE                                 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 				  				  -DFUNCPROTO=15 -DNARROWPROTO     -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -c dirname.c
In file included from /usr/include/sys/types.h:25,
                 from /home/pbulk/build/net/llnlxftp/work/.buildlink/include/X11/Xlib.h:38,
                 from /home/pbulk/build/net/llnlxftp/work/.buildlink/include/X11/Intrinsic.h:53,
                 from /home/pbulk/build/net/llnlxftp/work/.buildlink/include/Xm/Xm.h:59,
                 from /home/pbulk/build/net/llnlxftp/work/.buildlink/include/Xm/RowColumn.h:26,
                 from dirname.c:54:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
--- dirlong.o ---
dirlong.c: In function 'cb_display_dir_long':
dirlong.c:121:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  int host = (int)client_data;
             ^
dirlong.c:124:2: warning: implicit declaration of function 'raise_okflag' [-Wimplicit-function-declaration]
  raise_okflag();
  ^~~~~~~~~~~~
dirlong.c:129:5: warning: implicit declaration of function 'add_dialog_to_list' [-Wimplicit-function-declaration]
     add_dialog_to_list(dirlong[host].w_dialog);
     ^~~~~~~~~~~~~~~~~~
--- dirname.o ---
dirname.c: In function 'update_dirname_menu':
dirname.c:126:5: warning: implicit declaration of function 'release_path_links'; did you mean 'path_to_links'? [-Wimplicit-function-declaration]
     release_path_links(wd_links);
     ^~~~~~~~~~~~~~~~~~
     path_to_links
dirname.c: In function 'cb_set_dir':
dirname.c:152:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
     int host = (int)client_data;
                ^
--- dirlong.o ---
dirlong.c:132:9: warning: implicit declaration of function 'update_dir_displays' [-Wimplicit-function-declaration]
     if (update_dir_displays(host, True) < 0)
         ^~~~~~~~~~~~~~~~~~~
--- dirname.o ---
dirname.c:155:2: warning: implicit declaration of function 'raise_okflag' [-Wimplicit-function-declaration]
  raise_okflag();
  ^~~~~~~~~~~~
--- dirlong.o ---
dirlong.c:133:9: warning: implicit declaration of function 'lost_connection'; did you mean 'XtNconnection'? [-Wimplicit-function-declaration]
         lost_connection(host);
         ^~~~~~~~~~~~~~~
         XtNconnection
dirlong.c: In function 'create_dirlong_dialog':
dirlong.c:176:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
         cb_dirlong_close, (XtPointer)host);
                           ^
dirlong.c:192:26: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
         cb_dirlong_help, (XtPointer)host);
                          ^
--- dirname.o ---
dirname.c:174:2: warning: implicit declaration of function 'change_directory'; did you mean 'XmNdirectory'? [-Wimplicit-function-declaration]
  change_directory(host, new_wd);
  ^~~~~~~~~~~~~~~~
  XmNdirectory
--- dirlong.o ---
dirlong.c:227:5: warning: implicit declaration of function 'fix_vertical_text_sb_color' [-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' [-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' [-Wimplicit-function-declaration]
  set_bg_to_sb_trough_color(dirlong[host].w_list,
  ^~~~~~~~~~~~~~~~~~~~~~~~~
dirlong.c: In function 'cb_dirlong_close':
dirlong.c:244:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  int host = (int)client_data;
             ^
dirlong.c: At top level:
dirlong.c:255:1: warning: return type defaults to 'int' [-Wimplicit-int]
 update_dirlong(host)
 ^~~~~~~~~~~~~~
dirlong.c: In function 'update_dirlong':
dirlong.c:275:13: warning: implicit declaration of function 'local_dir' [-Wimplicit-function-declaration]
         if (local_dir(hinfo[host].wd, &dlist) != 0)
             ^~~~~~~~~
dirlong.c:276:13: warning: implicit declaration of function 'fatal_error'; did you mean 'ferror'? [-Wimplicit-function-declaration]
             fatal_error("Unable to get local directory list");
             ^~~~~~~~~~~
             ferror
dirlong.c:279:23: warning: implicit declaration of function 'remote_dir'; did you mean 'remove'? [-Wimplicit-function-declaration]
         if ((retval = remote_dir(host, hinfo[host].wd, &dlist)))
                       ^~~~~~~~~~
                       remove
dirlong.c:300:2: warning: implicit declaration of function 'release_array_list'; did you mean 'create_null_array_list'? [-Wimplicit-function-declaration]
  release_array_list(dlist);
  ^~~~~~~~~~~~~~~~~~
  create_null_array_list
dirlong.c: In function 'cb_dirlong_help':
dirlong.c:316:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  int host = (int)client_data;
             ^
dirlong.c:320:5: warning: implicit declaration of function 'help_dialog' [-Wimplicit-function-declaration]
     help_dialog(dirlong[host].w_dialog, False, text, dirlong_help);
     ^~~~~~~~~~~
--- dirpath.o ---
cc -O2 -fno-strength-reduce -fno-strict-aliasing      -I/usr/pkg/include    -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L 				-D_POSIX_SOURCE -D_XOPEN_SOURCE 				-D_BSD_SOURCE -D_SVID_SOURCE                                 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 				  				  -DFUNCPROTO=15 -DNARROWPROTO     -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -c dirpath.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from dirpath.c:54:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
dirpath.c: In function 'cb_display_dirpath':
dirpath.c:96:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  int host = (int)client_data;
             ^
dirpath.c:99:2: warning: implicit declaration of function 'raise_okflag' [-Wimplicit-function-declaration]
  raise_okflag();
  ^~~~~~~~~~~~
--- dirtable.o ---
cc -O2 -fno-strength-reduce -fno-strict-aliasing      -I/usr/pkg/include    -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L 				-D_POSIX_SOURCE -D_XOPEN_SOURCE 				-D_BSD_SOURCE -D_SVID_SOURCE                                 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 				  				  -DFUNCPROTO=15 -DNARROWPROTO     -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -c dirtable.c
--- dirpath.o ---
dirpath.c:106:2: warning: implicit declaration of function 'add_dialog_to_list' [-Wimplicit-function-declaration]
  add_dialog_to_list(dirpath[host].w_dialog);
  ^~~~~~~~~~~~~~~~~~
--- dirtable.o ---
In file included from /usr/include/sys/types.h:25,
                 from /home/pbulk/build/net/llnlxftp/work/.buildlink/include/X11/Xlib.h:38,
                 from /home/pbulk/build/net/llnlxftp/work/.buildlink/include/X11/Intrinsic.h:53,
                 from /home/pbulk/build/net/llnlxftp/work/.buildlink/include/Xm/Xm.h:59,
                 from dirtable.c:54:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
--- fallbacks.o ---
cc -O2 -fno-strength-reduce -fno-strict-aliasing      -I/usr/pkg/include    -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L 				-D_POSIX_SOURCE -D_XOPEN_SOURCE 				-D_BSD_SOURCE -D_SVID_SOURCE                                 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 				  				  -DFUNCPROTO=15 -DNARROWPROTO     -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -c fallbacks.c
In file included from /usr/include/sys/types.h:25,
                 from /home/pbulk/build/net/llnlxftp/work/.buildlink/include/X11/Xlib.h:38,
                 from /home/pbulk/build/net/llnlxftp/work/.buildlink/include/X11/Intrinsic.h:53,
                 from /home/pbulk/build/net/llnlxftp/work/.buildlink/include/Xm/Xm.h:59,
                 from fallbacks.c:54:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
--- dirtable.o ---
dirtable.c: In function 'cb_display_dirtable':
dirtable.c:149:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  int host = (int)client_data;
             ^
dirtable.c:152:2: warning: implicit declaration of function 'raise_okflag' [-Wimplicit-function-declaration]
  raise_okflag();
  ^~~~~~~~~~~~
dirtable.c:157:2: warning: implicit declaration of function 'add_dialog_to_list' [-Wimplicit-function-declaration]
  add_dialog_to_list(dirtable[host].w_dialog);
  ^~~~~~~~~~~~~~~~~~
dirtable.c:158:2: warning: implicit declaration of function 'force_update'; did you mean 'XtNupdate'? [-Wimplicit-function-declaration]
  force_update(dirtable[host].w_drawingArea);
  ^~~~~~~~~~~~
  XtNupdate
dirtable.c:161:9: warning: implicit declaration of function 'update_dir_displays' [-Wimplicit-function-declaration]
     if (update_dir_displays(host, True) < 0)
         ^~~~~~~~~~~~~~~~~~~
dirtable.c:162:9: warning: implicit declaration of function 'lost_connection'; did you mean 'XtNconnection'? [-Wimplicit-function-declaration]
         lost_connection(host);
         ^~~~~~~~~~~~~~~
         XtNconnection
--- flag.o ---
--- dirtable.o ---
dirtable.c: In function 'create_dirtable_dialog':
dirtable.c:198:2: warning: implicit declaration of function 'add_wm_delete_window_cb' [-Wimplicit-function-declaration]
  add_wm_delete_window_cb(dirtable[host].w_dialog, cb_dirtable_close,
  ^~~~~~~~~~~~~~~~~~~~~~~
dirtable.c:199:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
   (XtPointer)host);
   ^
dirtable.c:218:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
         (XtPointer)host
         ^
dirtable.c:238:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
         (XtPointer)host
         ^
dirtable.c:288:23: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
   cb_redraw_dirtable, (XtPointer)host);
                       ^
--- flag.o ---
cc -O2 -fno-strength-reduce -fno-strict-aliasing      -I/usr/pkg/include    -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L 				-D_POSIX_SOURCE -D_XOPEN_SOURCE 				-D_BSD_SOURCE -D_SVID_SOURCE                                 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 				  				  -DFUNCPROTO=15 -DNARROWPROTO     -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -c flag.c
--- dirtable.o ---
dirtable.c:303:9: warning: implicit declaration of function 'fatal_error'; did you mean 'strerror'? [-Wimplicit-function-declaration]
         fatal_error("Unable to get font");
         ^~~~~~~~~~~
         strerror
dirtable.c: In function 'ResizeDirtable':
dirtable.c:342:2: warning: implicit declaration of function 'calc_dirtable_geometry'; did you mean 'cb_dirtable_close'? [-Wimplicit-function-declaration]
  calc_dirtable_geometry(host);
  ^~~~~~~~~~~~~~~~~~~~~~
  cb_dirtable_close
--- flag.o ---
In file included from /usr/include/sys/types.h:25,
                 from /home/pbulk/build/net/llnlxftp/work/.buildlink/include/X11/Xlib.h:38,
                 from /home/pbulk/build/net/llnlxftp/work/.buildlink/include/X11/Intrinsic.h:53,
                 from /home/pbulk/build/net/llnlxftp/work/.buildlink/include/Xm/Xm.h:59,
                 from flag.c:54:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
--- dirtable.o ---
dirtable.c: In function 'DirtableMouse':
dirtable.c:377:9: warning: implicit declaration of function 'entry_index'; did you mean 'rindex'? [-Wimplicit-function-declaration]
  indx = entry_index(host, event->x, event->y);
         ^~~~~~~~~~~
         rindex
dirtable.c:381:22: warning: implicit declaration of function 'point_in_clipwindow' [-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' [-Wimplicit-function-declaration]
    toggle_table_entry(host, indx);
    ^~~~~~~~~~~~~~~~~~
--- flag.o ---
flag.c:71:1: warning: return type defaults to 'int' [-Wimplicit-int]
 init_result_flag()
 ^~~~~~~~~~~~~~~~
flag.c:89:1: warning: return type defaults to 'int' [-Wimplicit-int]
 raise_okflag()
 ^~~~~~~~~~~~
flag.c:108:1: warning: return type defaults to 'int' [-Wimplicit-int]
 raise_errorflag()
 ^~~~~~~~~~~~~~~
--- dirtable.o ---
dirtable.c:408:2: warning: implicit declaration of function 'clear_selected_entries' [-Wimplicit-function-declaration]
  clear_selected_entries(host);
  ^~~~~~~~~~~~~~~~~~~~~~
dirtable.c:412:2: warning: implicit declaration of function 'strip_off_symbol' [-Wimplicit-function-declaration]
  strip_off_symbol(hinfo[host].system, hinfo[host].server, entry);
  ^~~~~~~~~~~~~~~~
dirtable.c:419:5: warning: implicit declaration of function 'change_directory'; did you mean 'XmNdirectory'? [-Wimplicit-function-declaration]
     change_directory(host, new_wd);
     ^~~~~~~~~~~~~~~~
     XmNdirectory
dirtable.c: At top level:
dirtable.c:431:1: warning: return type defaults to 'int' [-Wimplicit-int]
 update_dirtable(host, dlist)
 ^~~~~~~~~~~~~~~
--- force.o ---
cc -O2 -fno-strength-reduce -fno-strict-aliasing      -I/usr/pkg/include    -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L 				-D_POSIX_SOURCE -D_XOPEN_SOURCE 				-D_BSD_SOURCE -D_SVID_SOURCE                                 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 				  				  -DFUNCPROTO=15 -DNARROWPROTO     -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -c force.c
--- dirtable.o ---
dirtable.c: In function 'update_dirtable':
dirtable.c:439:2: warning: implicit declaration of function 'delete_dirtable_entries'; did you mean 'create_dirtable_dialog'? [-Wimplicit-function-declaration]
  delete_dirtable_entries(host);
  ^~~~~~~~~~~~~~~~~~~~~~~
  create_dirtable_dialog
dirtable.c: In function 'cb_dirtable_close':
dirtable.c:479:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  int host = (int)client_data;
             ^
dirtable.c: In function 'cb_dirtable_help':
dirtable.c:497:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  int host = (int)client_data;
             ^
dirtable.c:501:5: warning: implicit declaration of function 'help_dialog' [-Wimplicit-function-declaration]
     help_dialog(dirtable[host].w_dialog, False, text, dirtable_help);
     ^~~~~~~~~~~
dirtable.c: At top level:
dirtable.c:509:1: warning: return type defaults to 'int' [-Wimplicit-int]
 delete_dirtable_entries(host)
 ^~~~~~~~~~~~~~~~~~~~~~~
dirtable.c:528:1: warning: return type defaults to 'int' [-Wimplicit-int]
 select_table_entry(host, indx)
 ^~~~~~~~~~~~~~~~~~
dirtable.c: In function 'select_table_entry':
dirtable.c:533:2: warning: implicit declaration of function 'draw_entry' [-Wimplicit-function-declaration]
  draw_entry(host, indx);
  ^~~~~~~~~~
dirtable.c: At top level:
dirtable.c:541:1: warning: return type defaults to 'int' [-Wimplicit-int]
 deselect_table_entry(host, indx)
 ^~~~~~~~~~~~~~~~~~~~
dirtable.c:555:1: warning: return type defaults to 'int' [-Wimplicit-int]
 toggle_table_entry(host, indx)
 ^~~~~~~~~~~~~~~~~~
--- force.o ---
In file included from /usr/include/sys/types.h:25,
                 from /home/pbulk/build/net/llnlxftp/work/.buildlink/include/X11/Xlib.h:38,
                 from /home/pbulk/build/net/llnlxftp/work/.buildlink/include/X11/Intrinsic.h:53,
                 from /home/pbulk/build/net/llnlxftp/work/.buildlink/include/Xm/Xm.h:59,
                 from force.c:18:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
--- dirtable.o ---
dirtable.c: In function 'toggle_table_entry':
dirtable.c:581:2: warning: implicit declaration of function 'update_xfer_controls'; did you mean 'update_dirtable'? [-Wimplicit-function-declaration]
  update_xfer_controls();
  ^~~~~~~~~~~~~~~~~~~~
  update_dirtable
dirtable.c:583:9: warning: implicit declaration of function 'update_host_controls' [-Wimplicit-function-declaration]
         update_host_controls(i);
         ^~~~~~~~~~~~~~~~~~~~
dirtable.c: At top level:
dirtable.c:591:1: warning: return type defaults to 'int' [-Wimplicit-int]
 dirtable_in_use(host)
 ^~~~~~~~~~~~~~~
dirtable.c:605:1: warning: return type defaults to 'int' [-Wimplicit-int]
 clear_selected_table_entries(host)
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
dirtable.c: In function 'cb_redraw_dirtable':
dirtable.c:626:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  int host = (int)client_data;
             ^
dirtable.c: At top level:
dirtable.c:669:1: warning: return type defaults to 'int' [-Wimplicit-int]
 calc_dirtable_geometry(host)
 ^~~~~~~~~~~~~~~~~~~~~~
dirtable.c:730:1: warning: return type defaults to 'int' [-Wimplicit-int]
 draw_entry(host, indx)
 ^~~~~~~~~~
dirtable.c:762:1: warning: return type defaults to 'int' [-Wimplicit-int]
 entry_index(host, x, y)
 ^~~~~~~~~~~
dirtable.c:810:1: warning: return type defaults to 'int' [-Wimplicit-int]
 point_in_clipwindow(host, x, y)
 ^~~~~~~~~~~~~~~~~~~
dirtable.c:854:1: warning: return type defaults to 'int' [-Wimplicit-int]
 enable_dirtable(host, enable)
 ^~~~~~~~~~~~~~~
--- force.o ---
force.c:31:1: warning: return type defaults to 'int' [-Wimplicit-int]
 force_update(w)
 ^~~~~~~~~~~~
--- get.o ---
cc -O2 -fno-strength-reduce -fno-strict-aliasing      -I/usr/pkg/include    -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L 				-D_POSIX_SOURCE -D_XOPEN_SOURCE 				-D_BSD_SOURCE -D_SVID_SOURCE                                 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 				  				  -DFUNCPROTO=15 -DNARROWPROTO     -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -c get.c
In file included from /usr/include/sys/types.h:25,
                 from get.c:54:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
get.c:83:1: warning: return type defaults to 'int' [-Wimplicit-int]
 init_get()
 ^~~~~~~~
get.c: In function 'init_get':
get.c:107:2: warning: implicit declaration of function 'snk_paths_of_xfer_node' [-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' [-Wimplicit-function-declaration]
   parse_path(SYS_UNIX, snk_path, &dir, NULL);
   ^~~~~~~~~~
get.c:126:12: warning: implicit declaration of function 'local_mkdir' [-Wimplicit-function-declaration]
   retval = local_mkdir(xc.snk_host, dir, 0700);
            ^~~~~~~~~~~
get.c:133:7: warning: implicit declaration of function 'can_create_sinkfile' [-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' [-Wimplicit-function-declaration]
  src_paths_of_xfer_node(xc.current_node, NULL, &full_path);
  ^~~~~~~~~~~~~~~~~~~~~~
get.c:140:14: warning: implicit declaration of function 'remote_cd'; did you mean 'remove'? [-Wimplicit-function-declaration]
     retval = remote_cd(xc.src_host, src_dir, True, True);
              ^~~~~~~~~
              remove
get.c:154:14: warning: implicit declaration of function 'init_data_conn' [-Wimplicit-function-declaration]
  if ((sock = init_data_conn(xc.src_host)) < 0) {
              ^~~~~~~~~~~~~~
get.c:162:16: warning: implicit declaration of function 'send_ftp_cmd' [-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'; did you mean 'getentropy'? [-Wimplicit-function-declaration]
  scode = get_ftp_reply(xc.src_host, reply, MAXFTPREPLY, &code, maxt, True);
          ^~~~~~~~~~~~~
          getentropy
get.c:175:4: warning: implicit declaration of function 'print_ftp_reply' [-Wimplicit-function-declaration]
    print_ftp_reply(xc.src_host, reply);
    ^~~~~~~~~~~~~~~
get.c:182:3: warning: implicit declaration of function 'report_client_timeout' [-Wimplicit-function-declaration]
   report_client_timeout(xc.src_host);
   ^~~~~~~~~~~~~~~~~~~~~
get.c:191:12: warning: implicit declaration of function 'accept_data_conn' [-Wimplicit-function-declaration]
  data_fd = accept_data_conn(xc.src_host, sock);
            ^~~~~~~~~~~~~~~~
get.c:210:3: warning: implicit declaration of function 'report_perror' [-Wimplicit-function-declaration]
   report_perror(xc.snk_host, snk_path);
   ^~~~~~~~~~~~~
get.c:211:10: warning: implicit declaration of function 'abort_get'; did you mean 'init_get'? [-Wimplicit-function-declaration]
   return abort_get();
          ^~~~~~~~~
          init_get
get.c:216:9: warning: implicit declaration of function 'fatal_error'; did you mean 'ferror'? [-Wimplicit-function-declaration]
         fatal_error("Programming bug in init_get() involving tcpbuf");
         ^~~~~~~~~~~
         ferror
get.c: At top level:
get.c:234:1: warning: return type defaults to 'int' [-Wimplicit-int]
 do_get()
 ^~~~~~
get.c: In function 'do_get':
get.c:246:20: warning: implicit declaration of function 'read_tcp'; did you mean 'readlink'? [-Wimplicit-function-declaration]
   switch (nbytes = read_tcp(xc.src_host, xc.data_fd, tcpbuf,
                    ^~~~~~~~
                    readlink
get.c:296:8: warning: implicit declaration of function 'iwrite'; did you mean 'fwrite'? [-Wimplicit-function-declaration]
    if (iwrite(fileno(xc.snk_fp), tcpbuf, nbytes) != nbytes) {
        ^~~~~~
        fwrite
get.c: At top level:
get.c:343:1: warning: return type defaults to 'int' [-Wimplicit-int]
 abort_get()
 ^~~~~~~~~
get.c: In function 'abort_get':
get.c:354:2: warning: implicit declaration of function 'urgent_abort' [-Wimplicit-function-declaration]
  urgent_abort(xc.src_host);
  ^~~~~~~~~~~~
--- goto.o ---
cc -O2 -fno-strength-reduce -fno-strict-aliasing      -I/usr/pkg/include    -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L 				-D_POSIX_SOURCE -D_XOPEN_SOURCE 				-D_BSD_SOURCE -D_SVID_SOURCE                                 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 				  				  -DFUNCPROTO=15 -DNARROWPROTO     -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -c goto.c
--- help.o ---
--- goto.o ---
In file included from /usr/include/sys/types.h:25,
                 from /home/pbulk/build/net/llnlxftp/work/.buildlink/include/X11/Xlib.h:38,
                 from /home/pbulk/build/net/llnlxftp/work/.buildlink/include/X11/Intrinsic.h:53,
                 from /home/pbulk/build/net/llnlxftp/work/.buildlink/include/Xm/Xm.h:59,
                 from /home/pbulk/build/net/llnlxftp/work/.buildlink/include/Xm/PushBG.h:32,
                 from goto.c:54:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
--- help.o ---
cc -O2 -fno-strength-reduce -fno-strict-aliasing      -I/usr/pkg/include    -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L 				-D_POSIX_SOURCE -D_XOPEN_SOURCE 				-D_BSD_SOURCE -D_SVID_SOURCE                                 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 				  				  -DFUNCPROTO=15 -DNARROWPROTO     -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -c help.c
In file included from /usr/include/ctype.h:25,
                 from help.c:54:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
--- goto.o ---
goto.c: In function 'cb_goto_prev_dir':
goto.c:79:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  int host = (int)client_data;
             ^
goto.c:82:2: warning: implicit declaration of function 'raise_okflag' [-Wimplicit-function-declaration]
  raise_okflag();
  ^~~~~~~~~~~~
goto.c:89:2: warning: implicit declaration of function 'change_directory'; did you mean 'XmNdirectory'? [-Wimplicit-function-declaration]
  change_directory(host, new_wd);
  ^~~~~~~~~~~~~~~~
  XmNdirectory
goto.c: At top level:
goto.c:98:1: warning: return type defaults to 'int' [-Wimplicit-int]
 initialize_goto_menu(host)
 ^~~~~~~~~~~~~~~~~~~~
goto.c: In function 'initialize_goto_menu':
goto.c:119:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
             cb_goto_prev_dir, (XtPointer)host);
                               ^
goto.c: In function 'update_goto_menu':
goto.c:144:5: warning: implicit declaration of function 'retrieve_cache' [-Wimplicit-function-declaration]
     retrieve_cache(DIRECTORY, hinfo[host].hostname, &list, sort_caches);
     ^~~~~~~~~~~~~~
goto.c:156:2: warning: implicit declaration of function 'release_array_list' [-Wimplicit-function-declaration]
  release_array_list(list);
  ^~~~~~~~~~~~~~~~~~
goto.c: In function 'cb_dir_menu':
goto.c:170:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  int host = (int)client_data;
             ^
--- help.o ---
help.c: In function 'cb_contextual_help':
help.c:102:5: warning: implicit declaration of function 'raise_okflag' [-Wimplicit-function-declaration]
     raise_okflag();
     ^~~~~~~~~~~~
help.c: At top level:
help.c:119:1: warning: return type defaults to 'int' [-Wimplicit-int]
 help_dialog(w_parent, modal, topic, text)
 ^~~~~~~~~~~
--- host.o ---
--- help.o ---
help.c: In function 'help_dialog':
help.c:140:2: warning: implicit declaration of function 'add_dialog_to_list' [-Wimplicit-function-declaration]
  add_dialog_to_list(current_help->w_dialog);
  ^~~~~~~~~~~~~~~~~~
help.c: In function 'create_help_dialog':
help.c:193:2: warning: implicit declaration of function 'add_wm_delete_window_cb' [-Wimplicit-function-declaration]
  add_wm_delete_window_cb(help->w_dialog, cb_help_close, NULL);
  ^~~~~~~~~~~~~~~~~~~~~~~
--- host.o ---
cc -O2 -fno-strength-reduce -fno-strict-aliasing      -I/usr/pkg/include    -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L 				-D_POSIX_SOURCE -D_XOPEN_SOURCE 				-D_BSD_SOURCE -D_SVID_SOURCE                                 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 				  				  -DFUNCPROTO=15 -DNARROWPROTO     -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -c host.c
--- help.o ---
help.c:253:2: warning: implicit declaration of function 'fix_vertical_text_sb_color' [-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' [-Wimplicit-function-declaration]
  set_bg_to_sb_trough_color(help->w_text,
  ^~~~~~~~~~~~~~~~~~~~~~~~~
help.c: In function 'cb_help_close':
help.c:317:3: warning: implicit declaration of function 'fatal_error'; did you mean 'ferror'? [-Wimplicit-function-declaration]
   fatal_error("*** Bug in cb_help_close()");
   ^~~~~~~~~~~
   ferror
--- host.o ---
In file included from /usr/include/sys/types.h:25,
                 from /home/pbulk/build/net/llnlxftp/work/.buildlink/include/X11/Xlib.h:38,
                 from /home/pbulk/build/net/llnlxftp/work/.buildlink/include/X11/Intrinsic.h:53,
                 from /home/pbulk/build/net/llnlxftp/work/.buildlink/include/Xm/Xm.h:59,
                 from /home/pbulk/build/net/llnlxftp/work/.buildlink/include/Xm/LabelG.h:26,
                 from host.c:54:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
--- help.o ---
help.c: In function 'cb_help_destroy':
help.c:332:3: warning: implicit declaration of function 'remove_dialog_from_list' [-Wimplicit-function-declaration]
   remove_dialog_from_list(old_help->w_dialog);
   ^~~~~~~~~~~~~~~~~~~~~~~
--- host.o ---
host.c:78:1: warning: return type defaults to 'int' [-Wimplicit-int]
 update_hostname(host)
 ^~~~~~~~~~~~~~~
host.c: In function 'lost_connection':
host.c:116:2: warning: implicit declaration of function 'close' [-Wimplicit-function-declaration]
  close(hinfo[host].ctrl_fd);
  ^~~~~
host.c:120:2: warning: implicit declaration of function 'sprintf' [-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: warning: incompatible implicit declaration of built-in function 'sprintf'
host.c:120:2: note: include '<stdio.h>' or provide a declaration of 'sprintf'
host.c:56:1:
+#include <stdio.h>
 
host.c:120:2:
  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:122:2: warning: implicit declaration of function 'use_normal_cursor' [-Wimplicit-function-declaration]
  use_normal_cursor();
  ^~~~~~~~~~~~~~~~~
host.c:123:6: warning: implicit declaration of function 'question_dialog' [-Wimplicit-function-declaration]
  if (question_dialog(msg) == False) {
      ^~~~~~~~~~~~~~~
host.c:124:7: warning: implicit declaration of function 'update_dir_displays' [-Wimplicit-function-declaration]
   if (update_dir_displays(host, False) < 0)
       ^~~~~~~~~~~~~~~~~~~
host.c:125:4: warning: implicit declaration of function 'fatal_error'; did you mean 'strerror'? [-Wimplicit-function-declaration]
    fatal_error("Programming bug in lost_connection()");
    ^~~~~~~~~~~
    strerror
host.c:126:3: warning: implicit declaration of function 'update_xfer_controls' [-Wimplicit-function-declaration]
   update_xfer_controls();
   ^~~~~~~~~~~~~~~~~~~~
host.c:127:3: warning: implicit declaration of function 'update_dirname_menu'; did you mean 'update_hostname'? [-Wimplicit-function-declaration]
   update_dirname_menu(host);
   ^~~~~~~~~~~~~~~~~~~
   update_hostname
host.c:128:3: warning: implicit declaration of function 'update_dirpath'; did you mean 'update_hostname'? [-Wimplicit-function-declaration]
   update_dirpath(host);
   ^~~~~~~~~~~~~~
   update_hostname
--- lconnect.o ---
--- host.o ---
host.c:130:3: warning: implicit declaration of function 'update_host_controls'; did you mean 'update_hostname'? [-Wimplicit-function-declaration]
   update_host_controls(host);
   ^~~~~~~~~~~~~~~~~~~~
   update_hostname
host.c:131:3: warning: implicit declaration of function 'restore_prev_cursor' [-Wimplicit-function-declaration]
   restore_prev_cursor();
   ^~~~~~~~~~~~~~~~~~~
host.c:137:2: warning: implicit declaration of function 'use_busy_cursor' [-Wimplicit-function-declaration]
  use_busy_cursor();
  ^~~~~~~~~~~~~~~
host.c:158:11: warning: implicit declaration of function 'do_connect'; did you mean 'Nonconvex'? [-Wimplicit-function-declaration]
  retval = do_connect(host, hostname, username, password, account, NULL);
           ^~~~~~~~~~
           Nonconvex
--- lconnect.o ---
cc -O2 -fno-strength-reduce -fno-strict-aliasing      -I/usr/pkg/include    -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L 				-D_POSIX_SOURCE -D_XOPEN_SOURCE 				-D_BSD_SOURCE -D_SVID_SOURCE                                 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 				  				  -DFUNCPROTO=15 -DNARROWPROTO     -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -c lconnect.c
--- host.o ---
host.c:164:6: warning: implicit declaration of function 'remote_cd' [-Wimplicit-function-declaration]
   || remote_cd(host, wd, False, True) < 0
      ^~~~~~~~~
host.c:165:6: warning: implicit declaration of function 'remote_pwd' [-Wimplicit-function-declaration]
   || remote_pwd(host, &current_wd) < 0) {
      ^~~~~~~~~~
host.c:187:3: warning: implicit declaration of function 'warning_error' [-Wimplicit-function-declaration]
   warning_error("Unable to reconnect to remote host");
   ^~~~~~~~~~~~~
host.c:194:4: warning: implicit declaration of function 'XmListSelectItem'; did you mean 'XmCSelectedItem'? [-Wimplicit-function-declaration]
    XmListSelectItem(w_dirList[host], sitems[i], True);
    ^~~~~~~~~~~~~~~~
    XmCSelectedItem
host.c: At top level:
host.c:220:1: warning: return type defaults to 'int' [-Wimplicit-int]
 update_host_controls(host)
 ^~~~~~~~~~~~~~~~~~~~
host.c: In function 'update_host_controls':
host.c:235:23: warning: implicit declaration of function 'host_selected'; did you mean 'HostDelete'? [-Wimplicit-function-declaration]
         sensitivity = host_selected(host);
                       ^~~~~~~~~~~~~
                       HostDelete
host.c: At top level:
host.c:259:1: warning: return type defaults to 'int' [-Wimplicit-int]
 host_selected(host)
 ^~~~~~~~~~~~~
host.c: In function 'host_selected':
host.c:262:9: warning: implicit declaration of function 'selection_count'; did you mean 'SelectionRequest'? [-Wimplicit-function-declaration]
     if (selection_count(host))
         ^~~~~~~~~~~~~~~
         SelectionRequest
host.c: At top level:
host.c:273:1: warning: return type defaults to 'int' [-Wimplicit-int]
 selection_count(host)
 ^~~~~~~~~~~~~~~
--- lconnect.o ---
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from lconnect.c:54:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
--- lcopy.o ---
cc -O2 -fno-strength-reduce -fno-strict-aliasing      -I/usr/pkg/include    -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L 				-D_POSIX_SOURCE -D_XOPEN_SOURCE 				-D_BSD_SOURCE -D_SVID_SOURCE                                 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 				  				  -DFUNCPROTO=15 -DNARROWPROTO     -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -c lcopy.c
In file included from /usr/include/sys/types.h:25,
                 from lcopy.c:54:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
lcopy.c:74:1: warning: return type defaults to 'int' [-Wimplicit-int]
 init_local_copy()
 ^~~~~~~~~~~~~~~
--- lconnect.o ---
lconnect.c:79:1: warning: return type defaults to 'int' [-Wimplicit-int]
 connect_to_local(host)
 ^~~~~~~~~~~~~~~~
--- lcopy.o ---
lcopy.c: In function 'init_local_copy':
lcopy.c:89:2: warning: implicit declaration of function 'snk_paths_of_xfer_node' [-Wimplicit-function-declaration]
  snk_paths_of_xfer_node(xc.current_node, NULL, &tmp_snk_file);
  ^~~~~~~~~~~~~~~~~~~~~~
lcopy.c:90:2: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration]
  strcpy(snk_file, tmp_snk_file);
  ^~~~~~
lcopy.c:90:2: warning: incompatible implicit declaration of built-in function 'strcpy'
lcopy.c:90:2: note: include '<string.h>' or provide a declaration of 'strcpy'
lcopy.c:60:1:
+#include <string.h>
 
lcopy.c:90:2:
  strcpy(snk_file, tmp_snk_file);
  ^~~~~~
lcopy.c:91:2: warning: implicit declaration of function 'XtFree' [-Wimplicit-function-declaration]
  XtFree(tmp_snk_file);
  ^~~~~~
lcopy.c:103:9: warning: implicit declaration of function 'parse_path' [-Wimplicit-function-declaration]
         parse_path(SYS_UNIX, snk_path, &dir, NULL);
         ^~~~~~~~~~
lcopy.c:105:18: warning: implicit declaration of function 'local_mkdir' [-Wimplicit-function-declaration]
         retval = local_mkdir(xc.snk_host, dir, 0700);
                  ^~~~~~~~~~~
lcopy.c:112:10: warning: implicit declaration of function 'can_create_sinkfile' [-Wimplicit-function-declaration]
     if (!can_create_sinkfile(xc.snk_host, snk_file))
          ^~~~~~~~~~~~~~~~~~~
--- lconnect.o ---
lconnect.c: In function 'connect_to_local':
lconnect.c:101:13: warning: implicit declaration of function 'cuserid'; did you mean 'ctermid'? [-Wimplicit-function-declaration]
  username = cuserid(NULL);
             ^~~~~~~
             ctermid
lconnect.c:101:11: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
  username = cuserid(NULL);
           ^
--- lcopy.o ---
lcopy.c:116:2: warning: implicit declaration of function 'src_paths_of_xfer_node' [-Wimplicit-function-declaration]
  src_paths_of_xfer_node(xc.current_node, NULL, &src_file);
  ^~~~~~~~~~~~~~~~~~~~~~
lcopy.c:117:24: warning: implicit declaration of function 'iopen2'; did you mean 'popen'? [-Wimplicit-function-declaration]
     if ((src_file_fd = iopen2(src_file, O_RDONLY)) < 0) {
                        ^~~~~~
                        popen
lcopy.c:118:9: warning: implicit declaration of function 'report_perror' [-Wimplicit-function-declaration]
         report_perror(xc.src_host, src_file);
         ^~~~~~~~~~~~~
lcopy.c:124:3: warning: implicit declaration of function 'warning_error' [-Wimplicit-function-declaration]
   warning_error(msg);
   ^~~~~~~~~~~~~
lcopy.c:125:9: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration]
         close(src_file_fd);
         ^~~~~
         pclose
lcopy.c:135:6: warning: implicit declaration of function 'unlink'; did you mean 'unix'? [-Wimplicit-function-declaration]
  if (unlink(snk_file) == -1)
      ^~~~~~
      unix
lcopy.c:141:21: warning: implicit declaration of function 'iopen3'; did you mean 'popen'? [-Wimplicit-function-declaration]
  if ((snk_file_fd = iopen3(snk_file, O_CREAT|O_WRONLY, 0644)) < 0) {
                     ^~~~~~
                     popen
lcopy.c: At top level:
lcopy.c:162:1: warning: return type defaults to 'int' [-Wimplicit-int]
 do_local_copy()
 ^~~~~~~~~~~~~
lcopy.c: In function 'do_local_copy':
lcopy.c:171:7: warning: implicit declaration of function 'iread'; did you mean 'fread'? [-Wimplicit-function-declaration]
   if (iread(xc.src_file_fd, filebuf, nbytes) != nbytes) {
       ^~~~~
       fread
lcopy.c:179:7: warning: implicit declaration of function 'iwrite'; did you mean 'fwrite'? [-Wimplicit-function-declaration]
   if (iwrite(xc.snk_file_fd, filebuf, nbytes) != nbytes) {
       ^~~~~~
       fwrite
lcopy.c: At top level:
lcopy.c:206:1: warning: return type defaults to 'int' [-Wimplicit-int]
 abort_local_copy()
 ^~~~~~~~~~~~~~~~
--- lconnect.o ---
lconnect.c:109:3: warning: implicit declaration of function 'retrieve_cache' [-Wimplicit-function-declaration]
   retrieve_cache(DIRECTORY, hinfo[host].hostname, &list, False);
   ^~~~~~~~~~~~~~
lconnect.c:111:8: warning: implicit declaration of function 'local_cd' [-Wimplicit-function-declaration]
    if (local_cd(host, list->entries[0], True) == 0)
        ^~~~~~~~
lconnect.c:116:5: warning: implicit declaration of function 'warning_error' [-Wimplicit-function-declaration]
     warning_error(msg);
     ^~~~~~~~~~~~~
lconnect.c:121:3: warning: implicit declaration of function 'release_array_list' [-Wimplicit-function-declaration]
   release_array_list(list);
   ^~~~~~~~~~~~~~~~~~
lconnect.c:132:9: warning: implicit declaration of function 'update_dir_displays' [-Wimplicit-function-declaration]
     if (update_dir_displays(host, False) < 0)
         ^~~~~~~~~~~~~~~~~~~
lconnect.c:133:3: warning: implicit declaration of function 'fatal_error'; did you mean 'strerror'? [-Wimplicit-function-declaration]
   fatal_error("*** Bug in connect_to_local()");
   ^~~~~~~~~~~
   strerror
--- list.o ---
--- lconnect.o ---
lconnect.c:134:2: warning: implicit declaration of function 'update_xfer_controls' [-Wimplicit-function-declaration]
  update_xfer_controls();
  ^~~~~~~~~~~~~~~~~~~~
--- list.o ---
cc -O2 -fno-strength-reduce -fno-strict-aliasing      -I/usr/pkg/include    -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L 				-D_POSIX_SOURCE -D_XOPEN_SOURCE 				-D_BSD_SOURCE -D_SVID_SOURCE                                 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 				  				  -DFUNCPROTO=15 -DNARROWPROTO     -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -c list.c
--- lconnect.o ---
lconnect.c:135:5: warning: implicit declaration of function 'update_dirname_menu' [-Wimplicit-function-declaration]
     update_dirname_menu(host);
     ^~~~~~~~~~~~~~~~~~~
lconnect.c:136:2: warning: implicit declaration of function 'update_dirpath' [-Wimplicit-function-declaration]
  update_dirpath(host);
  ^~~~~~~~~~~~~~
--- list.o ---
In file included from /usr/include/sys/types.h:25,
                 from /home/pbulk/build/net/llnlxftp/work/.buildlink/include/X11/Xlib.h:38,
                 from /home/pbulk/build/net/llnlxftp/work/.buildlink/include/X11/Intrinsic.h:53,
                 from /home/pbulk/build/net/llnlxftp/work/.buildlink/include/Xm/Xm.h:59,
                 from list.c:54:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
--- lconnect.o ---
lconnect.c:137:2: warning: implicit declaration of function 'update_dir_cache' [-Wimplicit-function-declaration]
  update_dir_cache(host);
  ^~~~~~~~~~~~~~~~
lconnect.c:138:5: warning: implicit declaration of function 'update_hostname'; did you mean 'local_host_name'? [-Wimplicit-function-declaration]
     update_hostname(host);
     ^~~~~~~~~~~~~~~
     local_host_name
lconnect.c:139:5: warning: implicit declaration of function 'update_host_controls' [-Wimplicit-function-declaration]
     update_host_controls(host);
     ^~~~~~~~~~~~~~~~~~~~
lconnect.c: In function 'cb_connect_to_local':
lconnect.c:152:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  int host = (int)client_data;
             ^
lconnect.c:155:2: warning: implicit declaration of function 'raise_okflag' [-Wimplicit-function-declaration]
  raise_okflag();
  ^~~~~~~~~~~~
lconnect.c:159:9: warning: implicit declaration of function 'disconnect' [-Wimplicit-function-declaration]
         disconnect(host);
         ^~~~~~~~~~
--- list.o ---
list.c:62:1: warning: return type defaults to 'int' [-Wimplicit-int]
 add_to_linked_list(head, string)
 ^~~~~~~~~~~~~~~~~~
list.c:79:1: warning: return type defaults to 'int' [-Wimplicit-int]
 release_linked_list(head)
 ^~~~~~~~~~~~~~~~~~~
list.c:157:1: warning: return type defaults to 'int' [-Wimplicit-int]
 release_array_list(list)
 ^~~~~~~~~~~~~~~~~~
list.c:173:1: warning: return type defaults to 'int' [-Wimplicit-int]
 add_to_array_list(list, string)
 ^~~~~~~~~~~~~~~~~
list.c:206:1: warning: return type defaults to 'int' [-Wimplicit-int]
 delete_from_array_list(list, n)
 ^~~~~~~~~~~~~~~~~~~~~~
list.c: In function 'delete_from_array_list':
list.c:214:3: warning: implicit declaration of function 'fatal_error'; did you mean 'strerror'? [-Wimplicit-function-declaration]
   fatal_error("Trouble in add_to_array_list()");
   ^~~~~~~~~~~
   strerror
--- local.o ---
cc -O2 -fno-strength-reduce -fno-strict-aliasing      -I/usr/pkg/include    -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L 				-D_POSIX_SOURCE -D_XOPEN_SOURCE 				-D_BSD_SOURCE -D_SVID_SOURCE                                 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 				  				  -DFUNCPROTO=15 -DNARROWPROTO     -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -c local.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from local.c:54:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
--- log.o ---
cc -O2 -fno-strength-reduce -fno-strict-aliasing      -I/usr/pkg/include    -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L 				-D_POSIX_SOURCE -D_XOPEN_SOURCE 				-D_BSD_SOURCE -D_SVID_SOURCE                                 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 				  				  -DFUNCPROTO=15 -DNARROWPROTO     -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -c log.c
--- local.o ---
local.c:78:1: warning: return type defaults to 'int' [-Wimplicit-int]
 local_cd(host, directory, print_error_msg)
 ^~~~~~~~
local.c: In function 'local_cd':
local.c:85:16: warning: implicit declaration of function 'chdir' [-Wimplicit-function-declaration]
  if ((retval = chdir(directory)) != 0) {
                ^~~~~
local.c:87:4: warning: implicit declaration of function 'report_perror' [-Wimplicit-function-declaration]
    report_perror(host, directory);
    ^~~~~~~~~~~~~
local.c: At top level:
local.c:100:1: warning: return type defaults to 'int' [-Wimplicit-int]
 local_pwd(name)
 ^~~~~~~~~
local.c:132:1: warning: return type defaults to 'int' [-Wimplicit-int]
 local_mkdir(host, directory, mode)
 ^~~~~~~~~~~
local.c: In function 'local_mkdir':
local.c:139:16: warning: implicit declaration of function 'mkdir' [-Wimplicit-function-declaration]
  if ((retval = mkdir(directory, mode)) != 0)
                ^~~~~
local.c: At top level:
local.c:151:1: warning: return type defaults to 'int' [-Wimplicit-int]
 local_delete(host, path)
 ^~~~~~~~~~~~
local.c: In function 'local_delete':
local.c:159:6: warning: implicit declaration of function 'unlink'; did you mean 'unix'? [-Wimplicit-function-declaration]
  if (unlink(path) == 0)
      ^~~~~~
      unix
local.c:162:3: warning: implicit declaration of function 'parse_path'; did you mean 'realpath'? [-Wimplicit-function-declaration]
   parse_path(SYS_UNIX, path, &dir, &entry);
   ^~~~~~~~~~
   realpath
local.c:163:48: warning: implicit declaration of function 'rmdir' [-Wimplicit-function-declaration]
   result = (local_cd(host, dir, False) == 0 && rmdir(entry) == 0);
                                                ^~~~~
local.c: At top level:
local.c:180:1: warning: return type defaults to 'int' [-Wimplicit-int]
 local_rename(host, old_path, new_path)
 ^~~~~~~~~~~~
local.c:197:1: warning: return type defaults to 'int' [-Wimplicit-int]
 max_fds()
 ^~~~~~~
local.c: In function 'max_fds':
local.c:208:17: warning: implicit declaration of function 'getdtablesize' [-Wimplicit-function-declaration]
     max_files = getdtablesize();
                 ^~~~~~~~~~~~~
local.c: In function 'local_host_name':
local.c:231:9: warning: implicit declaration of function 'gethostname'; did you mean 'setstate'? [-Wimplicit-function-declaration]
     if (gethostname(name, MAXHOSTNAMELEN) == -1)
         ^~~~~~~~~~~
         setstate
local.c:232:9: warning: implicit declaration of function 'fatal_error'; did you mean 'strerror'? [-Wimplicit-function-declaration]
         fatal_error("Trouble in local_host_name()");
         ^~~~~~~~~~~
         strerror
--- log.o ---
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from log.c:54:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
--- ls.o ---
cc -O2 -fno-strength-reduce -fno-strict-aliasing      -I/usr/pkg/include    -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L 				-D_POSIX_SOURCE -D_XOPEN_SOURCE 				-D_BSD_SOURCE -D_SVID_SOURCE                                 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 				  				  -DFUNCPROTO=15 -DNARROWPROTO     -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -c ls.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from ls.c:54:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
--- log.o ---
log.c:90:14: error: conflicting types for 'sys_errlist'
 extern char *sys_errlist[];
              ^~~~~~~~~~~
In file included from /usr/include/stdio.h:787,
                 from log.c:54:
/usr/include/bits/sys_errlist.h:27:26: note: previous declaration of 'sys_errlist' was here
 extern const char *const sys_errlist[];
                          ^~~~~~~~~~~
log.c:100:1: warning: return type defaults to 'int' [-Wimplicit-int]
 write_log(msg)
 ^~~~~~~~~
log.c: In function 'cb_clear_log':
log.c:119:2: warning: implicit declaration of function 'raise_okflag' [-Wimplicit-function-declaration]
  raise_okflag();
  ^~~~~~~~~~~~
log.c: At top level:
log.c:129:1: warning: return type defaults to 'int' [-Wimplicit-int]
 report_perror(host, msg)
 ^~~~~~~~~~~~~
log.c:163:1: warning: return type defaults to 'int' [-Wimplicit-int]
 print_ftp_reply(host, reply)
 ^~~~~~~~~~~~~~~
log.c:181:1: warning: return type defaults to 'int' [-Wimplicit-int]
 print_ftp_cmd(host, cmd)
 ^~~~~~~~~~~~~
--- ls.o ---
ls.c:109:1: warning: return type defaults to 'int' [-Wimplicit-int]
 local_ls(directory, dlist, sym_mode)
 ^~~~~~~~
ls.c: In function 'local_ls':
ls.c:123:4: warning: implicit declaration of function 'add_to_linked_list' [-Wimplicit-function-declaration]
    add_to_linked_list(&head, ".unreadable");
    ^~~~~~~~~~~~~~~~~~
ls.c:130:12: warning: implicit declaration of function 'chdir'; did you mean 'mkdir'? [-Wimplicit-function-declaration]
   retval = chdir(directory);
            ^~~~~
            mkdir
ls.c:161:3: warning: implicit declaration of function 'quicksort' [-Wimplicit-function-declaration]
   quicksort((*dlist)->entries, (*dlist)->nentries, cmp_symbol_entries);
   ^~~~~~~~~
ls.c: At top level:
ls.c:174:1: warning: return type defaults to 'int' [-Wimplicit-int]
 local_dir(directory, dlist)
 ^~~~~~~~~
--- log.o ---
log.c: In function 'cb_save_log':
log.c:224:5: warning: implicit declaration of function 'add_dialog_to_list' [-Wimplicit-function-declaration]
     add_dialog_to_list(w_saveLogDialog);
     ^~~~~~~~~~~~~~~~~~
--- ls.o ---
ls.c: In function 'local_dir':
ls.c:189:2: warning: implicit declaration of function 'save_sigcld_handler'; did you mean 'sa_handler'? [-Wimplicit-function-declaration]
  save_sigcld_handler();
  ^~~~~~~~~~~~~~~~~~~
  sa_handler
--- log.o ---
log.c: In function 'cb_save_log_ok':
log.c:287:3: warning: implicit declaration of function 'warning_error' [-Wimplicit-function-declaration]
   warning_error(msg);
   ^~~~~~~~~~~~~
--- ls.o ---
ls.c:191:3: warning: implicit declaration of function 'restore_sigcld_handler' [-Wimplicit-function-declaration]
   restore_sigcld_handler();
   ^~~~~~~~~~~~~~~~~~~~~~
--- log.o ---
log.c: In function 'cb_help_save_diagnostics_log':
log.c:314:5: warning: implicit declaration of function 'help_dialog' [-Wimplicit-function-declaration]
     help_dialog(w_saveLogDialog, False, "Save Diagnostics Log",
     ^~~~~~~~~~~
log.c: At top level:
log.c:322:1: warning: return type defaults to 'int' [-Wimplicit-int]
 show_top_of_log()
 ^~~~~~~~~~~~~~~
--- ls.o ---
ls.c:211:3: warning: implicit declaration of function 'release_linked_list' [-Wimplicit-function-declaration]
   release_linked_list(&head);
   ^~~~~~~~~~~~~~~~~~~
ls.c: At top level:
ls.c:233:1: warning: return type defaults to 'int' [-Wimplicit-int]
 remote_dirlist(host, directory, cmd, dlist)
 ^~~~~~~~~~~~~~
ls.c: In function 'remote_dirlist':
ls.c:270:19: warning: implicit declaration of function 'remote_cd'; did you mean 'remove'? [-Wimplicit-function-declaration]
     if ((retval = remote_cd(host, directory, False, True)) < 0)
                   ^~~~~~~~~
                   remove
--- log.o ---
*** [log.o] Error code 1

bmake: stopped making "all" in /home/pbulk/build/net/llnlxftp/work/llnlxftp2.1/sources
--- ls.o ---
ls.c:274:17: warning: implicit declaration of function 'init_data_conn' [-Wimplicit-function-declaration]
     if ((sock = init_data_conn(host)) < 0)
                 ^~~~~~~~~~~~~~
ls.c:278:19: warning: implicit declaration of function 'send_ftp_cmd' [-Wimplicit-function-declaration]
     if ((retval = send_ftp_cmd(host, cmd)) < 0) {
                   ^~~~~~~~~~~~
ls.c:279:9: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration]
         close(sock);
         ^~~~~
         pclose
ls.c:284:10: warning: implicit declaration of function 'get_ftp_reply' [-Wimplicit-function-declaration]
  scode = get_ftp_reply(host, reply, MAXFTPREPLY, &code, maxt, False);
          ^~~~~~~~~~~~~
ls.c:292:17: warning: implicit declaration of function 'write_log' [-Wimplicit-function-declaration]
                 write_log("*** Directory list failed.  Will retry.\n");
                 ^~~~~~~~~
ls.c:296:4: warning: implicit declaration of function 'print_ftp_reply' [-Wimplicit-function-declaration]
    print_ftp_reply(host, reply);
    ^~~~~~~~~~~~~~~
ls.c:311:3: warning: implicit declaration of function 'report_client_timeout' [-Wimplicit-function-declaration]
   report_client_timeout(host);
   ^~~~~~~~~~~~~~~~~~~~~
ls.c:320:15: warning: implicit declaration of function 'accept_data_conn' [-Wimplicit-function-declaration]
     data_fd = accept_data_conn(host, sock);
               ^~~~~~~~~~~~~~~~
ls.c:331:13: warning: implicit declaration of function 'read_tcp'; did you mean 'readdir'? [-Wimplicit-function-declaration]
    nbytes = read_tcp(host, data_fd, tcpbuf, MAXTCPBUF, maxt, False);
             ^~~~~~~~
             readdir
ls.c:411:5: warning: implicit declaration of function 'urgent_abort' [-Wimplicit-function-declaration]
     urgent_abort(host);
     ^~~~~~~~~~~~
ls.c: At top level:
ls.c:439:1: warning: return type defaults to 'int' [-Wimplicit-int]
 remote_ls(host, directory, dlist, sym_mode)
 ^~~~~~~~~
ls.c: In function 'remote_ls':
ls.c:488:6: warning: implicit declaration of function 'delete_from_array_list'; did you mean 'create_array_list'? [-Wimplicit-function-declaration]
      delete_from_array_list(dlist, i);
      ^~~~~~~~~~~~~~~~~~~~~~
      create_array_list
ls.c: At top level:
ls.c:517:1: warning: return type defaults to 'int' [-Wimplicit-int]
 remote_dir(host, directory, dlist)
 ^~~~~~~~~~
bmake: 1 error

bmake: stopped making "all" in /home/pbulk/build/net/llnlxftp/work/llnlxftp2.1/sources
*** Error code 2

Stop.
bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/net/llnlxftp
*** Error code 1

Stop.
bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/net/llnlxftp